www.digitalmars.com         C & C++   DMDScript  

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
next sibling 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
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=3767


Sean Kelly <sean invisibleduck.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |sean invisibleduck.org
         Resolution|                            |FIXED


--- Comment #2 from Sean Kelly <sean invisibleduck.org> 2010-06-07 21:07:39 PDT
---
Can't reproduce with DMD 2.046.

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