|
Boost : |
From: Seth (bugs_at_[hidden])
Date: 2024-07-01 00:19:48
On Thu, Jun 27, 2024, at 9:25 AM, Bhuyan, Jyotideep wrote:
> Hi Seth,
> Further investigating on the same line as you have pointed out, We could see in the call stack it is pointing to any.hpp (Boost version 1.78 ) clone() function which is a pure virtual method. It is causing a crash since it is leading to the call __purecall() method of ucrtbase.dll (windows 10) which in turn calls the abort method to terminate the process.
> Can you please advise on how to resolve this issue?
I already gave all the analysis I could give. You may be able to create a minimal reproducer and post that. Then we can help. Sometimes creating a minimal reproducer allows you to spot the problem yourself.
>
> Additionally, just wanted to understand why a pure virtual method call is happening from the constructor.
FWIW it's not caused by the `any` constructor, which merely calls the clone of the object being copied. Again, my best analysis is in my first message.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk