[Issue 5579] New: Segfault on first call to GC after starting new thread
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Feb 14 17:49:01 PST 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5579
Summary: Segfault on first call to GC after starting new thread
Product: D
Version: D2
Platform: x86
OS/Version: Windows
Status: NEW
Severity: regression
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: dsimcha at yahoo.com
--- Comment #0 from David Simcha <dsimcha at yahoo.com> 2011-02-14 17:46:30 PST ---
The following code segfaults on about 50% of runs. This happens in both 32-bit
and 64-bit Linux and on Windows, regardless of how the -O, -inline, and
-release flags are set.
import core.memory, core.thread;
void doNothing() {}
void main() {
auto t = new Thread(&doNothing);
t.start;
GC.collect();
}
--
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