www.digitalmars.com         C & C++   DMDScript  
Archives

D Programming
digitalmars.D
digitalmars.D.bugs
digitalmars.D.dtl
digitalmars.D.ide
digitalmars.D.dwt
digitalmars.D.announce
digitalmars.D.learn
digitalmars.D.debugger
D.gnu
D

C/C++ Programming
c++
c++.announce
c++.atl
c++.beta
c++.chat
c++.command-line
c++.dos
c++.dos.16-bits
c++.dos.32-bits
c++.idde
c++.mfc
c++.rtl
c++.stl
c++.stl.hp
c++.stl.port
c++.stl.sgi
c++.stlsoft
c++.windows
c++.windows.16-bits
c++.windows.32-bits
c++.wxwindows

digitalmars.empire
digitalmars.DMDScript
electronics


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

reply d-bugmail puremagic.com writes:
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 puremagic.com
        ReportedBy: kamaboco gmail.com


--- Comment #0 from kamaboco 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: -------
Feb 03 2010
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=3767


Don <clugdbug yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|critical                    |blocker


--- Comment #1 from Don <clugdbug yahoo.com.au> 2010-02-03 23:57:39 PST ---
Is this the same as bug 3428?

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Feb 03 2010