core.exception.InvalidMemoryOperationError@(0)
Vladimir Panteleev via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sat Jan 24 16:43:41 PST 2015
On Saturday, 24 January 2015 at 12:16:38 UTC, Bayan Rafeh wrote:
> This problem is a tough one. I've been getting this error when
> I run my unittests, and apparently it is caused by attempting
> an allocation in the destructor from what little I could find
> online about the subject.
>
> The error is triggered once all my tests are complete, so I'm
> assuming the garbage collector is running before termination,
> but I tried placing logging messages in all my destructors and
> I didn't get anything, so none of them are being called.
>
> Is there any other possible reason to get this error?
Hi,
I created a wiki page which I hope will help you solve this
problem:
http://wiki.dlang.org/InvalidMemoryOperationError
Hope this helps.
More information about the Digitalmars-d-learn
mailing list