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: nob...@puremagic.com
        ReportedBy: kamab...@gmail.com


--- Comment #0 from kamab...@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: -------

Reply via email to