www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Access violation in gcx.Gcx.mark

reply bobef <adsad askdfkasjflaflajf.asdasd> writes:
Unhandled Exception: EXCEPTION_ACCESS_VIOLATION(0xc0000005) at gcx.Gcx.mark
(0x00464194) thread(1652)
->us


Any idea what this is? I'm using some revision of Tango between 0.99.7 and
0.99.8 with dmd 1.035.

Thanks!
Dec 12 2009
parent bobef <blahbalhblahlbag blahblaghblah.blah> writes:
bobef Wrote:

 Unhandled Exception: EXCEPTION_ACCESS_VIOLATION(0xc0000005) at gcx.Gcx.mark
(0x00464194) thread(1652)
 ->us

 
 Any idea what this is? I'm using some revision of Tango between 0.99.7 and
0.99.8 with dmd 1.035.
 
 Thanks!
 
Is this scenario possible -> Thread 1 is inside a C function call. Thread 2 causes the garbage collector to try suspend all threads. Thread 1 messes up because it is still inside the C function and GC is trying to suspend/mark/else stuff, so I get a crash ? If so, how can I guarantee GC will not be triggered while C function is executing? Thanks!
Jan 01 2010