Need help with debugging Segfault
Ali Çehreli
acehreli at yahoo.com
Sat Dec 1 21:50:39 PST 2012
On 12/01/2012 08:44 PM, d coder wrote:
> ==4453== Invalid read of size 8
> ==4453== at 0x44EFF5: _D4nett5mule5Mule3esl6__dtorMFZv
> (../src/nett/mule.d:115)
Are you accessing any resource in Mule's destructor, which is maintained
by the GC? If so, it is possible that that resource has already been
finalized.
The destruction order of GC-maintained resuorces is not deterministic as
e.g. in C++. It is quite possible that the member of an object is
destroyed before the object itself.
Ali
More information about the Digitalmars-d
mailing list