June 27, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8305

           Summary: DMD Segfaults on Certain Imports
           Product: D
           Version: D2
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: regression
          Priority: P2
         Component: DMD
        AssignedTo: nobody@puremagic.com
        ReportedBy: SyntaxColoring@gmail.com


--- Comment #0 from SyntaxColoring@gmail.com 2012-06-26 17:58:35 PDT ---
Commit 31f97
(shttps://github.com/D-Programming-Language/dmd/commit/31f974a03de4372a7f95801b3e4f5a09f052ee1e)
introduced a bug that causes DMD to crash with a segmentation fault upon
invocation.

It looks like importing certain modules, like std.stdio, causes the crash.  (A simple "Hello world" program cannot be compiled.)  The modules do not have to be actually used; only imported.  Importing an empty module does not trigger the crash.

Tested under a completely new installation of Arch Linux.  32-bit everything. I built a Git checkout of DMD, but pointed it to the imports and binaries from the 2.059 .zip file from dlang.org.  (I was in the process of upgrading the entire toolchain, and Phobos and DRuntime cannot be compiled with an older DMD.)

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
June 27, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8305


Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |bugzilla@digitalmars.com
         Resolution|                            |WORKSFORME


--- Comment #1 from Walter Bright <bugzilla@digitalmars.com> 2012-06-26 18:33:29 PDT ---
You'll need to rebuild druntime and phobos to go with 2.060.

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