digitalmars.D.learn - DMD crashes without giving any info
- simendsjo (11/11) Sep 13 2013 What should I do when DMD keeps crashing and doesn't give me any
- nazriel (5/16) Sep 13 2013 Run it via GDB, OllyDBG, [putyourfavouritedebugerhere]
- simendsjo (3/23) Sep 13 2013 Way over my head. Tried OllyDBG, but I wasn't able to set the
- simendsjo (5/8) Sep 13 2013 The error is Access Violation when reading 00000004.
- bearophile (6/8) Sep 13 2013 I suggest to look for stack overflows in the program (and/or
- simendsjo (3/9) Sep 13 2013 I don't see any dmd option to increase stack space.
- simendsjo (2/2) Sep 13 2013 Added a bug report:
What should I do when DMD keeps crashing and doesn't give me any output? I'm using dmd 2.063.2 on win8. This is all that -v gives me before crashing.. binary C:\dmd\windows\bin\dmd.exe version v2.063.2 config C:\dmd\windows\bin\sc.ini parse app I've tried compiling just object files, and an exe and removed all -debug -g etc. Is there any way to get more verbose info from dmd?
Sep 13 2013
On Friday, 13 September 2013 at 12:41:44 UTC, simendsjo wrote:What should I do when DMD keeps crashing and doesn't give me any output? I'm using dmd 2.063.2 on win8. This is all that -v gives me before crashing.. binary C:\dmd\windows\bin\dmd.exe version v2.063.2 config C:\dmd\windows\bin\sc.ini parse app I've tried compiling just object files, and an exe and removed all -debug -g etc. Is there any way to get more verbose info from dmd?Run it via GDB, OllyDBG, [putyourfavouritedebugerhere] Example: gdb /c/d/dmd2/bin/dmd.exe gdb> r /path/to/your/code.d
Sep 13 2013
On Friday, 13 September 2013 at 12:45:06 UTC, nazriel wrote:On Friday, 13 September 2013 at 12:41:44 UTC, simendsjo wrote:Way over my head. Tried OllyDBG, but I wasn't able to set the current working directory...What should I do when DMD keeps crashing and doesn't give me any output? I'm using dmd 2.063.2 on win8. This is all that -v gives me before crashing.. binary C:\dmd\windows\bin\dmd.exe version v2.063.2 config C:\dmd\windows\bin\sc.ini parse app I've tried compiling just object files, and an exe and removed all -debug -g etc. Is there any way to get more verbose info from dmd?Run it via GDB, OllyDBG, [putyourfavouritedebugerhere] Example: gdb /c/d/dmd2/bin/dmd.exe gdb> r /path/to/your/code.d
Sep 13 2013
On Friday, 13 September 2013 at 12:45:06 UTC, nazriel wrote:On Friday, 13 September 2013 at 12:41:44 UTC, simendsjo wrote:(...)The error is Access Violation when reading 00000004. I cannot be more helpful as I don't know assembly. 00421DDB |. 8B46 04 MOV EAX,DWORD PTR DS:[ESI+4]Is there any way to get more verbose info from dmd?Run it via GDB, OllyDBG, [putyourfavouritedebugerhere]
Sep 13 2013
simendsjo:What should I do when DMD keeps crashing and doesn't give me any output?I suggest to look for stack overflows in the program (and/or increase the stack space). Since some time it has stopped giving a "stack overflow" message. Bye, bearophile
Sep 13 2013
On Friday, 13 September 2013 at 12:53:17 UTC, bearophile wrote:simendsjo:I don't see any dmd option to increase stack space. I tried adding -L/STACK:16000000, but it still crashes.What should I do when DMD keeps crashing and doesn't give me any output?I suggest to look for stack overflows in the program (and/or increase the stack space). Since some time it has stopped giving a "stack overflow" message.
Sep 13 2013
Added a bug report: http://d.puremagic.com/issues/show_bug.cgi?id=11023
Sep 13 2013