[Issue 14511] Profiler does not work with multithreaded programs
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Tue Jan 12 06:27:32 PST 2016
https://issues.dlang.org/show_bug.cgi?id=14511
zoteman94 at gmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
CC| |zoteman94 at gmail.com
Resolution|FIXED |---
--- Comment #4 from zoteman94 at gmail.com ---
static int bar[];
void main () {
import std.concurrency : spawn;
spawn ( & foo );
}
void foo () {
bar ~= 0;
}
This program segfaults if compiled with -profile=gc. Seems to happen at rt_term
of runAll at dmain2.d.
--
More information about the Digitalmars-d-bugs
mailing list