ID:1410849
 
Resolved
The maximum proc recursion depth in Linux has been lowered to 400; the old limit was too high and did not properly catch infinite recursion in some cases.
BYOND Version:501
Operating System:FreeBSD
Web Browser:
Applies to:Dream Daemon
Status: Resolved (506.1242)

This issue has been resolved.
DreamDaemon hard crashes due to a stack overflow caused by a recursive function call in DM.

Normally this would trigger an error but due to recursion depth limit checking being too high on Unix builds, this doesn't happen.

Debugging the issue with Lummox JR has determined that a maximum recursion depth of 500 would be safer than the current maximum recursion depth of 1000.
A minor addendum if there's someone else bothered by this issue and needs a fix now: file offset 0x511662 in libbyond.so in the 501.1217 FreeBSD build is the stack recursion limit with a value bytes of E8 03 (1000). I've patched this manually to bytes of C8 00 (200) since I cannot wait for the next update.
Lummox JR resolved issue with message:
The maximum proc recursion depth in Linux has been lowered to 400; the old limit was too high and did not properly catch infinite recursion in some cases.
For 506.1240 FreeBSD build the file offset 0x4B6660.