ID:2292154
 
BYOND Version:511
Operating System:Linux
Web Browser:Firefox 57.0
Applies to:Dream Daemon
Status: Open

Issue hasn't been assigned a status value.
Descriptive Problem Summary:
DreamDaemon sporadically crashes when doing overlay operations. (Tested on both Windows 10 x64 with 511.1385 and on Ubuntu 17.04 with 511.1385)

Expected Results:
Overlay operations to work normally or runtime.

Actual Results:
Daemon crashes with message:
BUG: Crashing due to an illegal operation!

The stack trace shows that the last code executed was operating on overlays,
crashing on this line: https://github.com/Aurorastation/Aurora.3/blob/development/ code/controllers/subsystems/overlays.dm#L62

Backtrace:
DreamDaemon [0x8048000, 0x0], [0x8048000, 0x804bb24]
libbyond.so [0xf7252000, 0x0], 0x204b10
 [0xf77bc000, 0xf77bccb0], [0xf77bc000, 0xf77bccb0]
libbyond.so [0xf7252000, 0x0], 0x204b10
libbyond.so [0xf7252000, 0x0], 0x2396dc
libbyond.so [0xf7252000, 0x0], 0x2406a1
libbyond.so [0xf7252000, 0x0], 0x246659
libbyond.so [0xf7252000, 0x0], 0x27413e
libbyond.so [0xf7252000, 0x0], 0x24f257
libbyond.so [0xf7252000, 0x0], 0x26a84e
libbyond.so [0xf7252000, 0x0], 0x2766ca
libbyond.so [0xf7252000, 0x0], 0x254e1f
libbyond.so [0xf7252000, 0x0], 0x26a84e
libbyond.so [0xf7252000, 0x0], 0x273083
libbyond.so [0xf7252000, 0x0], 0x273ba0
libbyond.so [0xf7252000, 0x0], 0x251c2c
libbyond.so [0xf7252000, 0x0], 0x25ab7b
libbyond.so [0xf7252000, 0x0], 0x25ab7b
libbyond.so [0xf7252000, 0x0], 0x25ab7b
libbyond.so [0xf7252000, 0x0], 0x25ab7b
libbyond.so [0xf7252000, 0x0], 0x26a61c
libbyond.so [0xf7252000, 0x0], 0x26bc0d
libbyond.so [0xf7252000, 0x0], 0x226e29
libbyond.so 0x33ccd0, 0x33cdea
libbyond.so 0x303e30, 0x304032
DreamDaemon [0x8048000, 0x0], [0x8048000, 0x804ae34]
libc.so.6 0x18180, 0x18276 (__libc_start_main)
DreamDaemon [0x8048000, 0x0], [0x8048000, 0x804a731]


Core dump available on request (file is large).

Does the problem occur:
Every time? Or how often? Sporadic, haven't been able to reliably reproduce.
In other games? N/A
In other user accounts? N/A
On other computers? Occurs on both Windows and Linux, though both were running on the same physical machine.

When does the problem NOT occur?
Directly adding/subtracting similar overlays does not seem to cause issues, but running them through this overlay controller occasionally does.

Did the problem NOT occur in any earlier versions? If so, what was the last version that worked? Did not test other versions, code requires 511.