[Issue 5579] Segfault on first call to GC after starting new thread
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Feb 14 21:33:56 PST 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5579
Walter Bright <bugzilla at digitalmars.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bugzilla at digitalmars.com
--- Comment #1 from Walter Bright <bugzilla at digitalmars.com> 2011-02-14 21:31:23 PST ---
It faults on this code in druntime/src/rt/lifetime.d:
==================================
// we expect this to be called with the lock in place
extern(C) void rt_processGCMarks(void[] tls)
{
// called after the mark routine to eliminate block cache data when it
// might be ready to sweep
debug(PRINTF) printf("processing GC Marks, %x\n", tls.ptr);
auto cache = *cast(BlkInfo **)(tls.ptr + __blkcache_offset);
^^^^^^^^^^^^^^^^^^^^^^^^^^^
=================================
Both tls.ptr and __blkcache_offset are NULL.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list