ID:1615194
 
BYOND Version:506
Operating System:Linux
Web Browser:Firefox 30.0
Applies to:Dream Daemon
Status: Open

Issue hasn't been assigned a status value.
Descriptive Problem Summary:
DreamDaemon crashes out completely giving a long detailed crash report.

I'd like to be detailed about this crash report, but so far it happens at very random intervals and I'm unable to reproduce it. It happens rarely when save file operations are done.

Below is a very cryptic log file. Every time it happens, it corrupts the log file to be practically unreadable. If required I can submit a download link to the 'core' file.



Tue Jul 1 13:14:38 2014
World opened on network port 52378.
Welcome BYOND! (5.0 Beta Version 506.1247)
The BYOND hub reports that port 52378 is reachable.
BUG: Corrupt block header
BUG: Fmem block size at 0 is 1819438967/999978 with type 100.
BUG: Error reading file memory structureFile offset: 0
Real position: 5/999978
BUG: Ccorrupt or invalid savefile '(null)1BB5926C'
BUG: Corrupt block header
BUG: Fmem block size at 0 is 67324752/71001956 with type 10.
BUG: Error reading file memory structureFile offset: 0
Real position: 5/71001956
BUG: Ccorrupt or invalid savefile '(null)2D8A78AF'
BUG: Writing invalid root to savefile '(null)5BDAD9B7' (parent=0)
BUG: Writing self-parent to savefile '(null)5BDAD9B7' (id=0)
BUG: Orphan savefile buffer €šŽ@We&>'LOXag:4ܗ $@0o09BJ'!-x/ Duƫ„œ  ƒ exported to /home/dmb/nick/rph/(null)5BDAD9B7_lost.txt
BUG: Orphan savefile buffer €šŽ@We&>'LOXag:4ܗ $@0o09BJ'!-x/ Duƫ„œ  ƒ exported to /home/dmb/nick/rph/(null)5BDAD9B7_lost.txt
BUG: Orphan savefile buffer €šŽ@We&>'LOXag:4ܗ $@0o09BJ'!-x/ Duƫ„œ  ƒ exported to /home/dmb/nick/rph/(null)5BDAD9B7_lost.txt
BUG: Orphan savefile buffer €šŽ@We&>'LOXag:4ܗ $@0o09BJ'!-x/ Duƫ„œ  ƒ exported to /home/dmb/nick/rph/(null)5BDAD9B7_lost.txt
BUG: Orphan savefile buffer S\en€ޤž€ šm`~"OH+,::€€Œ Ft|x'0tK~]fopŽ#,5 exported to /home/dmb/nick/rph/(null)5BDAD9B7_lost.txt
BUG: Orphan savefile buffer S\en€̭€`res0LURajsq򩲻€s 9BKT\=?=RGּ  €(T exported to /home/dmb/nick/rph/(null)5BDAD9B7_lost.txt
BUG: Orphan savefile buffer S\en€ߩŒ€š)ziE+幯Xq 55€+]9ImwA09Twfox€ ͵Y exported to /home/dmb/nick/rph/(null)5BDAD9B7_lost.txt
BUG: Orphan savefile buffer S\enr€ߪ€  ۔wwF_'#5|€ž € )>{es'}tBaT]fgx œ#-/ exported to /home/dmb/nick/rph/(null)5BDAD9B7_lost.txt
BUG: Orphan savefile buffer S\enм€ƒϯ%;Z_km4<GNX)j;|€qv Mߡ '89PJW]gox€œœ")5 exported to /home/dmb/nick/rph/(null)5BDAD9B7_lost.txt
BUG: Orphan savefile buffer S\en„€€„Žiw{zzKEBkjs|  ĩtsKT]g*ȓ2k^ƒ' exported to /home/dmb/nick/rph/(null)5BDAD9B7_lost.txt
BUG: Orphan savefile buffer S\enI€€„Žiw{zzKEBkjs|  ĩtsKT]g*ȓ2k^ƒ' exported to /home/dmb/nick/rph/(null)5BDAD9B7_lost.txt
BUG: Orphan savefile buffer S\enŸ€ X "+9t
ajsN€Ž`@yf}xBKm€ž œ„ /6 exported to /home/dmb/nick/rph/(null)5BDAD9B7_lost.txt
BUG: Orphan savefile buffer S\en=* ѩ€`res0LURajsq򩲻
&ZšBKT\=?=RGּ  €(T exported to /home/dmb/nick/rph/(null)5BDAD9B7_lost.txt
BUG: Orphan savefile buffer S\en"€ѩ€`res0LURajsq򩲻TxvEBKT \=?=RGּ  €(T exported to /home/dmb/nick/rph/(null)5BDAD9B7_lost.txt
BUG: Orphan savefile buffer S\en€ѩ€`res0LURajsq򩲻„s; BKT\=?=RGּ  €(T exported to /home/dmb/nick/rph/(null)5BDAD9B7_lost.txt
BUG: Orphan savefile buffer S\en4€€󩼸Œ€X[xXJY\*1O exported to /home/dmb/nick/rph/(null)5BDAD9B7_lost.txt
BUG: Orphan savefile buffer S\en€€󩼸Œ€X[xXJY\*1O exported to /home/dmb/nick/rph/(null)5BDAD9B7_lost.txt
BUG: Orphan savefile buffer S\enž€€󩼸Œ€X[xXJY\*1O exported to /home/dmb/nick/rph/(null)5BDAD9B7_lost.txt
BUG: Orphan savefile buffer S\enš€סœŸŽ`-
s| %Ž9BJU]eox€쥮€ž"*5 exported to /home/dmb/nick/rph/(null)5BDAD9B7_lost.txt
BUG: Orphan savefile buffer S\en€ €€€滪€ž
&2art exported to /home/dmb/nick/rph/(null)5BDAD9B7_lost.txt
BUG: Orphan savefile buffer S\en3Ÿ€€Ž€";~{ X`kr|Ž MZėAX
09BCT_g}x€š œU#, exported to /home/dmb/nick/rph/(null)5BDAD9B7_lost.txt
BUG: Orphan savefile buffer S\en€  €ԧm`~"OH+,::€€ʻ ‚Ft|x'0tK~]fopŒ  #,5 exported to /home/dmb/nick/rph/(null)5BDAD9B7_lost.txt
BUG: Orphan savefile buffer S\en €ԧm`~"OH+,::€€ʻ  Ft|x'0tK~]fop Žxa#,5 exported to /home/dmb/nick/rph/(null)5BDAD9B7_lost.txt
BUG: Orphan savefile buffer S\en<€ґ- hm}{FNY`j|Ž_H)N?'01BNUcfjx œy}% exported to /home/dmb/nick/rph/(null)5BDAD9B7_lost.txt
BUG: Orphan savefile buffer S\enF€€ԧ€`res0LURajsq򩲻z /BKT\=?=RGּ  €(T exported to /home/dmb/nick/rph/(null)5BDAD9B7_lost.txt
BUG: Orphan savefile buffer S\en{œ€ԧ€`res0LURajsq򩲻z/ BKT\=?=RGּ  €(T exported to /home/dmb/nick/rph/(null)5BDAD9B7_lost.txt
BUG: Orphan savefile buffer S\en3€€ԧ€`res0LURajsq򩲻z /BKT\=?=RGּ  €(T exported to /home/dmb/nick/rph/(null)5BDAD9B7_lost.txt
BUG: Orphan savefile buffer S\enf€€ԧ€`res0LURajsq򩲻z /BKT\=?=RGּ  €(T exported to /home/dmb/nick/rph/(null)5BDAD9B7_lost.txt
BUG: Orphan savefile buffer S\en€ʡŽiw{zzKEBkjs| € VKT]g*ȓ2k^ƒ' exported to /home/dmb/nick/rph/(null)5BDAD9B7_lost.txt
BUG: Orphan savefile buffer S\en€ʡ€`res0LURajsq򩲻œߴa BKT\=?=RGּ  €(T exported to /home/dmb/nick/rph/(null)5BDAD9B7_lost.txt
BUG: Orphan savefile buffer S\enž€ʡ€`res0LURajsq򩲻  ٰaBKT\=?=RGּ  €(T exported to /home/dmb/nick/rph/(null)5BDAD9B7_lost.txt
BUG: Orphan savefile buffer S\en€€ǝ1v)U[py<€)TayBJ U\fx cDQ€;#,= exported to /home/dmb/nick/rph/(null)5BDAD9B7_lost.txt
BUG: Ccorrupt or invalid savefile '(null)5BDAD9B7'
BUG: Attempting auto-recovery of '/home/dmb/nick/rph/(null)5BDAD9B7'
BUG: Failed to backup savefile; aborting
BUG: Aborted restoration
BUG: Crashing due to an illegal operation!

Backtrace for BYOND 506.1247 on Linux:
Generated at Tue Jul 1 14:03:09 2014

DreamDaemon [0x8048000, 0x0], [0x8048000, 0x804bb14]
libbyond.so [0xf727a000, 0x0], 0x18736b
[0xf7742000, 0xf7742410], [0xf7742000, 0xf7742410]
libbyond.so [0xf727a000, 0x0], 0x18736b
libbyond.so [0xf727a000, 0x0], 0x18e5c3
libbyond.so [0xf727a000, 0x0], 0x193317
libbyond.so [0xf727a000, 0x0], 0x20050f
libbyond.so [0xf727a000, 0x0], 0x20e115
libbyond.so [0xf727a000, 0x0], 0x204fff
libbyond.so [0xf727a000, 0x0], 0x21dccc
libbyond.so 0x2bb1d0, 0x2bb31a
libbyond.so 0x28a730, 0x28a932
DreamDaemon [0x8048000, 0x0], [0x8048000, 0x804aed4]
libc.so.6 0x193e0, 0x194d3 (__libc_start_main)
DreamDaemon [0x8048000, 0x0], [0x8048000, 0x804a771]

Recent proc calls:
/Lobby/proc/Import15
/mob/Titlescreen/proc/getFilter
/client/proc/wake_lights
/client/proc/unwake_lights
/client/proc/light_search
/client/proc/light_search
/client/proc/wake_lights
/client/proc/unwake_lights
/client/proc/light_search
/client/proc/light_search
/client/proc/wake_lights
/client/proc/unwake_lights
/client/proc/light_search
/client/proc/light_search
/client/proc/wake_lights
/client/proc/unwake_lights

To help the BYOND developers debug this, please send the above trace as part
of a very detailed bug report: http://www.byond.com/members/?command=view_tracker&tracker=1


DreamDaemon will now produce a file called 'core' that you can send to the
BYOND developers for more analysis. For instructions, please contact us at
http://www.byond.com/support/
It looks like a savefile is corrupt when DD tries to access it. does Import15() use savefiles?
In response to Topkasa
Topkasa wrote:
It looks like a savefile is corrupt when DD tries to access it. does Import15() use savefiles?

It does.
Do you happen to have a copy of a savefile you know causes the crash? The savefile code is an area where we've always had some random issues that have been difficult to solve, but if there's a specific file causing instability then it might be possible to trace the issue in a test environment.
In response to Lummox JR
Unfortunately not. That specific function is accessible to my players to use, so I don't have access to it. Would there be any information detailing it in 'core'?
I'm not sure, but I doubt it'd be easy to tell the filename from the core's info. I strongly suggest putting in some debugging so you have something printing out to a log, preferably via text2file() which I think will flush, spitting out the filenames being accessed so that you can get a handle on which files seem to be causing the problem.