[ Several tens of thousands of similar lines of "BUG:" ]
...
...
...
BUG: Bad ref (f:4630181) in DecRefCount(DM keymapping.dm:151)
BUG: Bad ref (f:4630181) in IncRefCount(DM keymapping.dm:151)
BUG: Bad ref (f:4630181) in DecRefCount(DM keymapping.dm:151)
BUG: Bad ref (f:4630181) in IncRefCount(DM keymapping.dm:151)
BUG: Bad ref (f:4630181) in DecRefCount(DM keymapping.dm:151)
BUG: Bad ref (f:4630181) in DecRefCount
BUG: Bad ref (f:4561055) in DecRefCount
BUG: Bad ref (f:4646475) in DecRefCount
BUG: Bad ref (f:4653090) in DecRefCount
BUG: Bad ref (f:4653091) in DecRefCount
BUG: Bad ref (f:4643525) in IncRefCount(DM _spell.dm:27)
BUG: Bad ref (f:4643525) in DecRefCount(DM _spell.dm:27)
BUG: Bad ref (f:4643546) in IncRefCount(DM _player.dm:374)
BUG: Bad ref (f:4643546) in DecRefCount(DM _player.dm:374)
BUG: Crashing due to an illegal operation!
Backtrace for BYOND 510.1346 on Linux:
Generated at Wed Jul 27 13:58:22 2016
DreamDaemon [0x8048000, 0x0], [0x8048000, 0x804bb24]
libbyond.so [0xf7269000, 0x0], 0x1ed3e8
[0xf77b2000, 0xf77b2410], [0xf77b2000, 0xf77b2410]
libbyond.so [0xf7269000, 0x0], 0x1ed3e8
libbyond.so [0xf7269000, 0x0], 0x1eefcb
libbyond.so [0xf7269000, 0x0], 0x213a12
libbyond.so [0xf7269000, 0x0], 0x2151ae
libbyond.so [0xf7269000, 0x0], 0x215533
libbyond.so 0x32e770, 0x32e88a
libbyond.so 0x2f8600, 0x2f8802
DreamDaemon [0x8048000, 0x0], [0x8048000, 0x804ae34]
libc.so.6 0x16d60, 0x16e46 (__libc_start_main)
DreamDaemon [0x8048000, 0x0], [0x8048000, 0x804a731]
Recent proc calls:
/mob/player/proc/UnChannel
/mob/player/Logout
/client/proc/SaveKeymap
/client/Del
/mob/player/proc/UnChannel
/mob/player/Logout
/client/proc/SaveKeymap
/client/Del
/mob/player/proc/UnChannel
/mob/player/Logout
/client/proc/SaveKeymap
/client/Del
/mob/player/proc/UnChannel
/mob/player/Logout
/client/proc/SaveKeymap
/client/Del
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
At around Wed Jul 27 13:58:22 2016 (EST) our server at Eternia crashed with the above output. We've checked the relevant procs for errors on our part, but it all seems good.
As result of this crash, however, all players who were online at the time had their savefiles irreversibly corrupted. I was personally naive enough to neglect implementing a proper file backup system for a case like this, so now we have quite a few unhappy players!
The players with corrupted savefiles would log back in and generate errors much like this:
Wed Jul 27 15:23:59 2016
World opened on network port 5000.
Welcome BYOND! (5.0 Public Version 510.1346)
The BYOND hub reports that port 5000 is reachable.
BUG: Finished erasure with refcount=1 (ref=5:9) DM (keymapping.dm:170)
BUG: Bad ref (5:9) in DecRefCount(DM keymapping.dm:170)
BUG: Corrupt block header
BUG: Fmem block size at 1207 is 1174066936/120058 with type 81.
BUG: Error reading file memory structureFile offset: 1207
Real position: 1212/120058
BUG: Ccorrupt or invalid savefile 'saves/bindings/zeltzen4lyfe_bindings.sav'
BUG: Attempting auto-recovery of '/root/Eternia/saves/bindings/zeltzen4lyfe_bindings.sav'
BUG: Backed up old savefile as '/root/Eternia/saves/bindings/zeltzen4lyfe_bindings_bad_000.sav' and exported text to '/root/Eternia/saves/bindings/zeltzen4lyfe_bindings_bad_000.txt'. REMOVE OR RENAME THESE FILES. If too many of these files build up, auto-recovery will be disabled.
Any information on this would be extremely appreciated. We'd like to avoid a similar scenario.
The actual root cause is probably not discernable.