Descriptive Problem Summary:
Dream Daemon closes unexpectedly, presumably because of an "in world" for loop.
The following link is a zip containing the baystation12 source code, modified so that it calls "world.Reboot()" if it managed to not crash after initializing all subsystems.
https://github.com/DamianX/Baystation12/archive/Crash.zip
Numbered Steps to Reproduce Problem:
- Download the zip, extract, compile the project.
- Open DD, run it.
- The game will automatically reboot until the problem manifests itself.
To be clear: the issue is present in the original source code, even without this auto-reboot modification. The modification is only to make it easier to reproduce.
Expected Results:
The game shouldn't crash.
Actual Results:
The game might crash.
Does the problem occur:
Every time? Or how often? Seems to happen randomly.
In other games? I've only experienced this issue while working on baystation.
In other user accounts? N/A
On other computers? Other people have verified this happens.
Did the problem NOT occur in any earlier versions? If so, what was the last version that worked? I couldn't reproduce the problem on 511.1385 but due to the random nature of it, I could have simply been lucky.
ID:2392568
Aug 17 2018, 9:14 am
|
|||||||||||||
Resolved
| |||||||||||||
Windows event viewer. If DD is really crashing then it's leaving evidence behind. If it's closing outright there may well be some specific code in the game causing that.
|
Faulting application name: dreamdaemon.exe, version: 5.0.512.1446, time stamp: 0x5b6de4f8 Edit: memory usage seems normal. https://i.imgur.com/PzNmkW7.png Let me know if there's anything else that can help. |
Okay, it looks like this is a repeat of a bug that's been reported on and off for SS13 where sometimes it's trying to access an appearance var of a turf, and for whatever reason the turf appearance is null. That should never, ever happen.
I suspect something internal is passing a point where it triggers this bug, and the repeated reboots are getting it there faster. But I have no idea what can lead to this. The code for handling unique cells should be bulletproof at this point. [edit] Hmm, I found something that might explain this after all. Sometimes it takes looking at the same piece of code dozens of times, apparently. |
Also, were you monitoring memory usage at all during this process? I'm curious if the rapid-fire reboots were responsible for a leak that got out of control.