Bug 3767 – All programs compiled with DMD 2.040 on Mac OS X 10.5.8 are Segmentation fault.

Status
RESOLVED
Resolution
FIXED
Severity
blocker
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
x86
OS
Mac OS X
Creation time
2010-02-03T20:18:00Z
Last change time
2015-06-09T01:27:38Z
Assigned to
nobody
Creator
kamaboco

Comments

Comment #0 by kamaboco — 2010-02-03T20:18:06Z
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 $
Comment #1 by clugdbug — 2010-02-03T23:57:39Z
Is this the same as bug 3428?
Comment #2 by sean — 2010-06-07T21:07:39Z
Can't reproduce with DMD 2.046.