ID:1332234
 
BYOND Version:499.1201
Operating System:Windows 7 Pro 64-bit
Web Browser:Chrome 28.0.1500.72
Applies to:Dream Seeker
Status: Open

Issue hasn't been assigned a status value.

Faulting application name: dreamseeker.exe, version: 4.0.499.1201, time stamp: 0x51e604b3
Faulting module name: byondcore.dll, version: 4.0.499.1201, time stamp: 0x51e60470
Exception code: 0xc00000fd
Fault offset: 0x0010e2c7
Faulting process id: 0xd3c
Faulting application start time: 0x01ce8787665801be
Faulting application path: C:\Program Files (x86)\BYOND\bin\dreamseeker.exe
Faulting module path: C:\Program Files (x86)\BYOND\bin\byondcore.dll
Report Id: dc32142c-f37a-11e2-adaa-20cf30e81171


Relevant code:

mob
verb/save_type()
var/savefile/f = new("world_turf_save")
var/list/l = list()

for(var/turf/t in world)
var/turf_save/turf_save = new
turf_save.x = t.x
turf_save.y = t.y
turf_save.z = t.z
turf_save.type_save = t.type

l += turf_save

f << l

verb/load_type()
var/savefile/f = new("world_turf_save")

var/list/l

f >> l

for(var/turf_save/t in l)
new t.type_save(locate(t.x,t.y,t.z))

turf_save
var/x
var/y
var/z
var/type_save

atom
Write(savefile/f)
..()
f["icon"] << null
f["underlays"] << null
f["overlays"] << null


The crash happens on load_type

was testing as a server/client in same thread ala run in dream maker

world.maxx was about 2064 and world.maxy was 64, file size about 23 mb
Another relevant crash / code


Faulting application name: dreamseeker.exe, version: 4.0.499.1201, time stamp: 0x51e604b3
Faulting module name: byondcore.dll, version: 4.0.499.1201, time stamp: 0x51e60470
Exception code: 0xc00000fd
Fault offset: 0x0010e2a0
Faulting process id: 0x1fc
Faulting application start time: 0x01ce878840527433
Faulting application path: C:\Program Files (x86)\BYOND\bin\dreamseeker.exe
Faulting module path: C:\Program Files (x86)\BYOND\bin\byondcore.dll
Report Id: 9c66dbc5-f37b-11e2-adaa-20cf30e81171


mob
verb/save_type()
var/savefile/f = new("world_turf_save")
var/list/l = list()

for(var/turf/t in world)
var/turf_save/turf_save = new
turf_save.x = t.x
turf_save.y = t.y
turf_save.z = t.z
turf_save.type_save = "[t.type]"

l += turf_save

f << l

verb/load_type()
var/savefile/f = new("world_turf_save")

var/list/l

f >> l

for(var/turf_save/t in l)
var/ttype = text2path(t.type_save)
new ttype(locate(t.x,t.y,t.z))

turf_save
var/x
var/y
var/z
var/type_save
atom
Write(savefile/f)
..()
f["icon"] << null
f["underlays"] << null
f["overlays"] << null