[Issue 1960] New: Thread Class Causes SEGV If Not Started

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Mar 30 14:43:42 PDT 2008


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

           Summary: Thread Class Causes SEGV If Not Started
           Product: D
           Version: 2.012
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: bcwhite at pobox.com


Creating and destructing an instance of Thread will cause a SEGV if nothing is
done in between.

--------------------
import std.thread;
void main(char[][] argv)
{
    scope Thread t = new Thread();
    printf("never mind...\n");
}
--------------------

dragon:~/tmp> dmd dtest.d
dragon:~/tmp> ./dtest
never mind...
Segmentation fault


-- 



More information about the Digitalmars-d-bugs mailing list