core.exception.InvalidMemoryOperationError@(0)

Bayan Rafeh via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Jan 24 04:16:37 PST 2015


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?


More information about the Digitalmars-d-learn mailing list