https://issues.dlang.org/show_bug.cgi?id=14607
Issue ID: 14607 Summary: dmd crashes intermittently when building in 32 bit mode Product: D Version: D2 Hardware: x86 OS: Mac OS X Status: NEW Severity: major Priority: P1 Component: DMD Assignee: nob...@puremagic.com Reporter: and...@erdani.com I've been spending a fair amount of time on this, thinking the problem is with the D program; I'd been using -run to run after compilation, but compiler crashes even without -run. The command line is: ../dmd/src/dmd -conf= -I../druntime/import -w -dip25 -m32 -g -debug -main -unittest generated/osx/debug/32/libphobos2.a -defaultlib= -debuglib= -L-lcurl -cov std/experimental/allocator/affix_allocator.d On OSX it sometimes works, sometimes (about one in 10 times) crashes. The crash messages: segmentation fault ../dmd/src/dmd -conf= -I../druntime/import -w -dip25 -m32 -g -debug -main dmd(38716,0x7fff709b1300) malloc: *** error for object 0x101a37208: incorrect checksum for freed object - object was probably modified after being freed. I'm using the master dmd as of right now. Will get back when I have a reduced test case. --