ID:1934067
 
Resolved
The server could sometimes crash when reducing map size.
BYOND Version:508
Operating System:Windows 7 Pro 64-bit
Web Browser:Chrome 45.0.2454.85
Applies to:Dream Daemon
Status: Resolved (509.1300)

This issue has been resolved.
Descriptive Problem Summary:
Dreamseeker crashes on start if world.maxz is reduced on world/New()
I attempted to use dreammaker run or running .dmb directly, I didn't use dream daemon in my tests.

Numbered Steps to Reproduce Problem:
1. Run a game with the below snippet

Code Snippet (if applicable) to Reproduce Problem:
world
New()
..()

world.maxz = 1


Expected Results:
World to run with reduced maxz

Actual Results:
Crash

Does the problem occur:
Every time? Or how often? Every time
In other games? Yes
In other user accounts? Yes
On other computers? Didn't try

Did the problem NOT occur in any earlier versions? If so, what was the last version that worked? (Visit http://www.byond.com/download/build to download old versions for testing.)

Build 508.1289 works fine, crash occurs from 508.1290 and above. It also doesn't happen if you wait a bit before reducing world.maxz.
My server crashes reliably when Unloading a map with LummoxJR.SwapMaps.
Version 508.1299

*** Error in `DreamDaemon': free(): corrupted unsorted chunks: 0x0ad0d9e0 ***


Downgrading to 507.1286 fixes it. Will try and get a test case later on. Bed time!
Lummox JR resolved issue with message:
The server could sometimes crash when reducing map size.