[Issue 3767] New: All programs compiled with DMD 2.040 on Mac OS X 10.5.8 are Segmentation fault.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Feb 3 20:18:07 PST 2010


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

           Summary: All programs compiled with DMD 2.040 on Mac OS X
                    10.5.8 are Segmentation fault.
           Product: D
           Version: 2.040
          Platform: x86
        OS/Version: Mac OS X
            Status: NEW
          Severity: critical
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: kamaboco at gmail.com


--- Comment #0 from kamaboco at gmail.com 2010-02-03 20:18:06 PST ---
Crash on static ctor?

$ cat main.d
void main(){}
$ dmd main.d
$ ./main
Segmentation fault
$ cat crash.d 
import std.c.stdio;

shared static this ()  { fprintf(stderr,"shared static this ()\n"); }
shared static ~this () { fprintf(stderr,"shared static ~this ()\n");}

static this () { fprintf(stderr,"static this ()\n"); }
static ~this () { fprintf(stderr,"static ~this ()\n"); }

void main(){ fprintf(stderr,"ok\n"); }
$ dmd crash.d
$ ./crash
shared static this ()
Segmentation fault
$

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