[Issue 3619] New: Thread crash on exit

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Dec 15 18:51:13 PST 2009


http://d.puremagic.com/issues/show_bug.cgi?id=3619

           Summary: Thread crash on exit
           Product: D
           Version: 2.036
          Platform: x86
        OS/Version: Mac OS X
            Status: NEW
          Severity: normal
          Priority: P2
         Component: druntime
        AssignedTo: sean at invisibleduck.org
        ReportedBy: michel.fortin at michelf.com


--- Comment #0 from Michel Fortin <michel.fortin at michelf.com> 2009-12-15 21:51:09 EST ---
The program below crashes with DMD 2.037 under Mac OS X 10.6 with a null
dereference when the thread finishes.

import core.thread;

void threadFunc() { }

void main() {
    auto thread = new Thread(&threadFunc);
    thread.start();
    thread.join();
}

-- 
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