[Gc] (Win32) attempt to unregister first GC thread will cause a
jean.claude.beaudoin at gmail.com
Wed Dec 16 04:30:21 PST 2009
Hello BDW-GC maintainers,
In file win32_threads.c there is a special case for the static allocation
of the first GC_thread structure.
If someone calls GC_unregister_my_thread() on that very first GC thread
there will be a segmentation violation inside GC_delete_thread() when
it tries to call GC_INTERNAL_FREE().
I attached to this message a patch against 7.2alpha4 that seems to fix the problem.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 451 bytes
Desc: not available
Url : http://napali.hpl.hp.com/pipermail/gc/attachments/20091216/c0b6d69f/gc_fix.bin
More information about the Gc