Any guides on debugging DMD crash?

Matt Jones matthew.brennan.jones at gmail.com
Sun Mar 22 23:13:41 UTC 2020


On Sunday, 22 March 2020 at 22:37:08 UTC, Stefan Koch wrote:
> 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

I hope so. Thanks!


More information about the Digitalmars-d mailing list