[Issue 8305] New: DMD Segfaults on Certain Imports

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Jun 26 17:56:11 PDT 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 at puremagic.com
        ReportedBy: SyntaxColoring at gmail.com


--- Comment #0 from SyntaxColoring at 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: -------


More information about the Digitalmars-d-bugs mailing list