[Issue 15019] New: [ICE] Heisencrash with -fPIC and non-trivial projects

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sun Sep 6 14:47:33 PDT 2015


https://issues.dlang.org/show_bug.cgi?id=15019

          Issue ID: 15019
           Summary: [ICE] Heisencrash with -fPIC and non-trivial projects
           Product: D
           Version: D2
          Hardware: x86
                OS: Mac OS X
            Status: NEW
          Severity: major
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: aliloko at gmail.com

Created attachment 1547
  --> https://issues.dlang.org/attachment.cgi?id=1547&action=edit
Repro kit

OS version: OS X 10.10.4

DMD version: 2.068.0

How to reproduce: 

Use ./build.sh in the attachment several time. DMD will occasionally crash with
one of the following errors:

  - dmd(1328,0x7fff72416300) malloc: *** error for object 0x100a58c08:
incorrect checksum for freed object - object was probably modified after being
freed.

  - Assertion failed: (0), function merge2, file mtype.c, line 1701.

  - dmd failed with exit code -11.

This is a heisenbug. I haven't reduced the testcase further since it tends to
make the bug disappear or more rare.

--


More information about the Digitalmars-d-bugs mailing list