ID:2954918
 
BYOND Version:515
Operating System:Windows 11 Home
Web Browser:Chrome 131.0.0.0
Applies to:Dream Daemon
Status: Open

Issue hasn't been assigned a status value.
I am having a problem where crashes happen seemingly at random. It does seem related to my code because older versions of my game don't crash like this. The problem is that I am not getting any runtime errors, even with logging on or in console mode. I have done my best to try to reproduce it or have any information about what leads to it but it will happen without anyone doing anything but walking around in game. I have been testing with a team mate where it is only us two on and we will be doing nothing but walking around and it can crash, though at other times it can go for hours with multiple people on and not crash. If I log a single character in and do absolutely nothing it doesn't seem to crash though. I am at a loss of how to figure it out, seems like some really specific conditions are being met to create an infinite loop or something. Here is the event viewer info. So sorry to post this without much info but its about to kill my project so this is the last hope I have to avoid that.

The byond version I most recently have had it compiled in is 515.1647.


Log Name:      Application
Source: Application Error
Date: 12/7/2024 12:36:01 PM
Event ID: 1000
Task Category: Application Crashing Events
Level: Error
Keywords:
User:
Computer: PC
Description:
Faulting application name: dreamdaemon.exe, version: 5.0.515.1647, time stamp: 0x6750c978
Faulting module name: ucrtbase.dll, version: 10.0.22621.3593, time stamp: 0x84b62951
Exception code: 0xc00000fd
Fault offset: 0x000d4c55
Faulting process id: 0x0x30EC
Faulting application start time: 0x0x1DB48D0535484C8
Faulting application path: C:\Program Files (x86)\BYOND\bin\dreamdaemon.exe
Faulting module path: C:\Windows\System32\ucrtbase.dll
Report Id: 89bdcd55-ab80-4421-9ddf-d56497ab962f
Faulting package full name:
Faulting package-relative application ID:
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Application Error" Guid="{a0e9b465-b939-57d7-b27d-95d8e925ff57}" />
<EventID>1000</EventID>
<Version>0</Version>
<Level>2</Level>
<Task>100</Task>
<Opcode>0</Opcode>
<Keywords>0x8000000000000000</Keywords>
<TimeCreated SystemTime="2024-12-07T18:36:01.9985993Z" />
<EventRecordID>50927</EventRecordID>
<Correlation />
<Execution ProcessID="14180" ThreadID="8020" />
<Channel>Application</Channel>
<Computer>PC</Computer>
<Security UserID="S-1-5-21-3647093619-2485950414-1695353386-1004" />
</System>
<EventData>
<Data Name="AppName">dreamdaemon.exe</Data>
<Data Name="AppVersion">5.0.515.1647</Data>
<Data Name="AppTimeStamp">6750c978</Data>
<Data Name="ModuleName">ucrtbase.dll</Data>
<Data Name="ModuleVersion">10.0.22621.3593</Data>
<Data Name="ModuleTimeStamp">84b62951</Data>
<Data Name="ExceptionCode">c00000fd</Data>
<Data Name="FaultingOffset">000d4c55</Data>
<Data Name="ProcessId">0x30ec</Data>
<Data Name="ProcessCreationTime">0x1db48d0535484c8</Data>
<Data Name="AppPath">C:\Program Files (x86)\BYOND\bin\dreamdaemon.exe</Data>
<Data Name="ModulePath">C:\Windows\System32\ucrtbase.dll</Data>
<Data Name="IntegratorReportId">89bdcd55-ab80-4421-9ddf-d56497ab962f</Data>
<Data Name="PackageFullName">
</Data>
<Data Name="PackageRelativeAppId">
</Data>
</EventData>
</Event>



I can send the minidump to you on discord when you read this. Discord name is FoxHaste
This crash is a stack overflow, which tends to happen most often when Move() gets called recursively. I would look at whether you have any code in Move/Enter/Entered/Bumped and so on that end up calling more movement routines or calling step().