Descriptive Problem Summary:
dm.exe will silently crash on build and exit with error code 123 with no errors output to the console.
Numbered Steps to Reproduce Problem:
1. Download https://github.com/DamianX/vgstation13/archive/ fc5bd6fb41f995837cde7f07db8a3cf936cc1cca.zip
2. Use dm.exe to build the project.
3. A short time after "loading tgstation.dmm" it will silently crash.
Code Snippet (if applicable) to Reproduce Problem:
Expected Results:
Build.
Actual Results:
Silent crash on build.
This problem occurs on both Linux and Windows.
Linux build via Travis: https://travis-ci.org/vgstation-coders/vgstation13/builds/ 330997771#L742
We have been unable to find a workaround for this, as we cannot even diagnose the problem. It seems to work on at least one of our other maps (test_tiny.dmm).
ID:2338657
Jan 19 2018, 2:43 pm (Edited on Jan 19 2018, 3:50 pm)
|
|||||||||||||
Resolved
| |||||||||||||
Whoops, wrong zip. I'll update the OP as well.
https://github.com/DamianX/vgstation13/archive/ fc5bd6fb41f995837cde7f07db8a3cf936cc1cca.zip |
Faulting application name: dm.exe, version: 5.0.512.1404, time stamp: 0x5a6257b2
Faulting module name: byondcore.dll, version: 5.0.512.1404, time stamp: 0x5a6257b2 Exception code: 0xc0000005 Fault offset: 0x0008a8bf Faulting process id: 0x2e00 Faulting application start time: 0x01d391783a7badf0 Faulting application path: c:\Program Files (x86)\BYOND\bin\dm.exe Faulting module path: c:\Program Files (x86)\BYOND\bin\byondcore.dll |
When running this through the debugger I found it ran out of memory but didn't throw an exception. I'm adding some sanity checking there but it's possible memory is the issue. The debugger tends to exacerbate such things, though, so I'll keep testing and also try a release mode test.
[edit] On a subsequent run I got no memory errors, but did get a crash in the map handling. I believe that explains your crash and will have that fixed in the next release. |
BTW, the error I get when this is fixed is this:
maps\tgstation.dmm:12900:error: undefined map symbol: "bBC" So there's a problem in your map file, and that's triggering a bug. |
https://gist.github.com/MrStonedOne/ 6995943127dc9cadec117892ba13a6f6
How ever one thing I noticed it is not actually getting to the stage where it loads the map. loading tgstation.dmm never prints but i can confirm the loader for it is checked in the dme.
Were these errors last minute additions from something getting unchecked?