core.exception.InvalidMemoryOperationError
NCrashed via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Thu Jul 10 10:13:21 PDT 2014
On Thursday, 10 July 2014 at 15:36:53 UTC, francesco cattoglio
wrote:
> A code I'm working on stops working and starts printing an
> infinite loop of
> core.exception.InvalidMemoryOperationError
> to the command line output. The code is quite complex and the
> bug seems to present itself almost in random situation so I
> would like to try to understand the issue better before looking
> for the wrong line of code hiding somewhere. I've read it might
> be that something is trying to allocate during a destructor
> call, but it sounds really strange to me that there's a
> neverending amount of exceptions being thrown. This is the
> first exception being thrown (nothing is thrown before the
> infinite loop begins).
>
> Anyone has suggestions/ideas/heard of a similar stuff before?
I had the same issue with Derelict bindings. Bindings symbols
could be already unloaded when a destructor tries to use them.
More information about the Digitalmars-d-learn
mailing list