ID:2275657
 
Resolved
BYOND Version:511
Operating System:Windows Server 2012 R2 Standard
Web Browser:Chrome 59.0.3071.115
Applies to:Dream Daemon
Status: Resolved

This issue has been resolved.
Descriptive Problem Summary:
Every now and then, for the past month, DreamDaemon has been crashing on our server from access violations. We've not been able to find a way to replicate it, as it appears at such odd intervals and has no globally noticeable errors before it happens (nothing breaks visibly, it just up and dies).

It could possibly be DD running out of memory, which has happened before, however, that usually results in a whole bunch of runtime shenanigans before it dies and I've not heard any reports about that happening for these crashes. Our server uses a stable amount of RAM now as well, 1.4 gigs to be exact, so I doubt it's the issue.

Numbered Steps to Reproduce Problem:
Download, clone and compile this codebase: https://github.com/Aurorastation/Aurora.3
Run it with DD 511.1385 on Windows Server 2012 R2 for a few days with players playing and see if it dies or not.

Code Snippet (if applicable) to Reproduce Problem:


Expected Results:
Runtime error or something similar: a safe catch of the seg fault by DreamDaemon.

Actual Results:
Uncaught access violations propagating to the main stack and thus killing DreamDaemon immediately. (Two stack traces at the bottom of the post.)

Does the problem occur:
Every time? Or how often? Roughly once every 3 days.
In other games? Not tested.
In other user accounts? Not applicable.
On other computers? Not tested. I can boot up DD to run the codebase empty cycles, but I highly doubt it can be replicated without players actively utilizing the code.

When does the problem NOT occur? Never.

Did the problem NOT occur in any earlier versions? If so, what was the last version that worked? The latest 510 build was stable, however, our codebase was updated to rely on 511 features, such as mutable appearance and what have you.

Workarounds:
None found that apply.

-------------------------------------

Stack 1:
Problem signature:
Problem Event Name: APPCRASH
Application Name: dreamdaemon.exe
Application Version: 5.0.511.1385
Application Timestamp: 594200b3
Fault Module Name: byondcore.dll
Fault Module Version: 5.0.511.1385
Fault Module Timestamp: 5942004b
Exception Code: c0000005
Exception Offset: 00167d6d
OS Version: 6.3.9600.2.0.0.272.7
Locale ID: 2057
Additional Information 1: 5861
Additional Information 2: 5861822e1919d7c014bbb064c64908b2
Additional Information 3: 5f25
Additional Information 4: 5f2531ae070278f893fa99352dadd49e

Stack 2:
Problem signature:
Problem Event Name: APPCRASH
Application Name: dreamdaemon.exe
Application Version: 5.0.511.1385
Application Timestamp: 594200b3
Fault Module Name: MSVCR120.dll
Fault Module Version: 12.0.21005.1
Fault Module Timestamp: 524f7ce6
Exception Code: c0000005
Exception Offset: 0000f8c5
OS Version: 6.3.9600.2.0.0.272.7
Locale ID: 2057
Additional Information 1: 5861
Additional Information 2: 5861822e1919d7c014bbb064c64908b2
Additional Information 3: 5f25
Additional Information 4: 5f2531ae070278f893fa99352dadd49e

(Trace 3. Date: 04AUG2017)
Problem signature:
Problem Event Name: APPCRASH
Application Name: dreamdaemon.exe
Application Version: 5.0.511.1385
Application Timestamp: 594200b3
Fault Module Name: MSVCR120.dll
Fault Module Version: 12.0.21005.1
Fault Module Timestamp: 524f7ce6
Exception Code: c0000005
Exception Offset: 0000f8c5
OS Version: 6.3.9600.2.0.0.272.7
Locale ID: 2057
Additional Information 1: 5861
Additional Information 2: 5861822e1919d7c014bbb064c64908b2
Additional Information 3: 5f25
Additional Information 4: 5f2531ae070278f893fa99352dadd49e
Lummox JR resolved issue