Attempting to world/Reboot or world/Del (which is what I assume the stop button in DreamDaemon does), DreamDaemon immediately crashes.
Easy to test, just checkout https://github.com/VOREStation/VOREStation/archive/ aro-shelterquol.zip and compile it. Start DreamDaemon (no need to connect), and wait a few seconds until the timer starts counting up, then click Stop. DD will immediately crash.
This also occurs when calling world/Reboot().
Numbered Steps to Reproduce Problem:
Compile code (linked above)
Start in DreamDaemon
Attempt to stop DreamDaemon
Code Snippet (if applicable) to Reproduce Problem: N/A
Expected Results: Normal server shutdown or reboot.
Actual Results: DreamDaemon immediately crashes.
Does the problem occur:
Every time? Or how often? Every time
In other games? No
In other user accounts? Yes
On other computers? Yes
When does the problem NOT occur?
I have a commit in our Git repository that it doesn't occur prior to, but it's a merge commit, and as such is just a bunch of other commits. A developer is trying to bisect the commit history to find when it started, but meanwhile it's obviously a Byond bug, so I'll report it here.
Did the problem NOT occur in any earlier versions? If so, what was the last version that worked? Occurs in at least all the 512s I've tested (the 142x builds)
Workarounds:
None found.
On Linux, when I called world/Reboot() and it crashed, it provided a crash dump:
(Also note the 'Delete icon', is that a debug message you accidentally left in on Linux? It's not produced by our code, and is spammed to world.log quite a bit on Linux)
Delete icon BUG: Crashing due to an illegal operation! Backtrace for BYOND 512.1421 on Linux: Generated at Mon May 14 23:10:36 2018 DreamDaemon [0x8048000, 0x0], [0x8048000, 0x804bb24] libbyond.so [0xf71df000, 0x0], 0x2086f9 [0xf7767000, 0xf7767bd0], [0xf7767000, 0xf7767bd0] libbyond.so [0xf71df000, 0x0], 0x2086f9 libbyond.so [0xf71df000, 0x0], 0x21f1c9 libbyond.so [0xf71df000, 0x0], 0x22002b libbyond.so [0xf71df000, 0x0], 0x240f32 libbyond.so [0xf71df000, 0x0], 0x24270e libbyond.so [0xf71df000, 0x0], 0x242aa3 libbyond.so 0x35ee30, 0x35ef4a libbyond.so 0x325460, 0x325662 DreamDaemon [0x8048000, 0x0], [0x8048000, 0x804ae34] libc.so.6 0x18540, 0x18637 (__libc_start_main) DreamDaemon [0x8048000, 0x0], [0x8048000, 0x804a731] Recent proc calls: /proc/key_name /proc/log_access_out /datum/nanomanager/proc/close_user_uis /datum/nanomanager/proc/user_logout /mob/Logout /mob/observer/dead/Logout /client/Del /datum/effect/effect/system/ion_trail_follow/start /datum/effect/effect/system/ion_trail_follow/start /datum/effect/effect/system/ion_trail_follow/start /datum/effect/effect/system/ion_trail_follow/start /datum/effect/effect/system/ion_trail_follow/start /datum/effect/effect/system/ion_trail_follow/start /datum/effect/effect/system/ion_trail_follow/start /datum/effect/effect/system/ion_trail_follow/start /datum/controller/processScheduler/proc/start
https://github.com/VOREStation/VOREStation/commit/ e3e1a7ad9cc877c55f02f8d6b388809fcc07396b