Any guides on debugging DMD crash?

Stefan Koch uplink.coder at googlemail.com
Sun Mar 22 22:37:08 UTC 2020


On Sunday, 22 March 2020 at 22:33:13 UTC, Matt Jones wrote:
> Does anyone have a guide on how to debug DMD crashes? I've been 
> getting compiler crashes on version 2.087.1 through 2.091.0 
> (only release mode on both Windows 10 and Linux). Version 
> 2.086.1 was the last one that worked:
>
> dub run --arch=x86_64 --build=release
>
> C:\D\dmd2\windows\bin\dmd.exe failed with exit code -1073741795.
>
> Here is the smallest code snippet I could make crash: 
> https://github.com/workhorsy/crash_dmd

Ah very interesting!

Unfortunately I am not good at writing guides, but I will debug 
this and record a video, of what I do.
Would that be acceptable to you?
-
Stefan


More information about the Digitalmars-d mailing list