Viewing Issue Simple Details Jump to Notes ] Wiki ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0008567 [DCSS] Bug Report crash always 2014-05-17 18:51 2016-06-28 10:51
Reporter Kate View Status public  
Assigned To
Priority normal Resolution reopened  
Status new   Product Branch 0.15 ancient branch
Summary 0008567: Crash on loading game after save transfer
Description On transferring from 953de00 to 6f76ed4, my CDO save crashes on load, seemingly while unmarshalling artefacts in Lair:2 (where a lot of old artefacts are stashed). I can't duplicate the crash locally in debug mode, it successfully loads and appears to fix up the artefacts correctly (replacing Hunger+/- with Stealth+/-).

Edit: I can't get it to crash locally in any form, with either debug or non-debug compiles. It takes a very long time to load the first time though, presumably while fixing up the artefacts?

Log: http://crawl.develz.org/morgues/trunk/MarvinPA/crash-MarvinPA-20140517-131040.txt [^]

Save: http://crawl.develz.org/saves/dumps/MarvinPA-6f76ed4-140517-1631.tar.bz2 [^]
Additional Information
Tags No tags attached.
Attached Files ? file icon Atomjack-CDO-20150922.cs [^] (1,850,443 bytes) 2015-10-27 23:49
bz2 file icon MarvinPA-6f76ed4-140517-1631.tar.bz2 [^] (3,650,751 bytes) 2016-06-25 20:00

- Relationships

-  Notes
(0026198)
Kate (developer)
2014-05-18 15:21

Looking at it in debug mode, it looks like possibly what's taking so long to load the first time is running dactions on every floor in the game, not adjusting artefacts?
(0026200)
Kate (developer)
2014-05-18 20:42

I bisected and narrowed down the huge delay on loading the game to ffe63d8: http://s-z.org/neil/git/?p=crawl.git;a=commitdiff;h=ffe63d874a0e [^]

_count_all_gold() looks like it is causing every level to be loaded and checked for gold.
(0026205)
Kate (developer)
2014-05-19 02:08

Should be fixed, gold from all generated levels isn't counted on load now. Saves transferred from pre-Gozag will only have a 50 gold fee as a result, this seems probably fine though (and probably not a significant change anyway since previously only gold that had been left on the floor on old levels was counted, not gold that had already been picked up).
(0026208)
Kate (developer)
2014-05-19 14:37

Hmm, apparently whatever was causing it to crash in Lair:2 is still happening. The save does load now since it's not visiting every generated level on load, but travelling to Lair:2 still crashes, so maybe it is an artefact problem after all.
(0026245)
Kate (developer)
2014-05-21 00:40

Looking at the save locally, there is an artefact plate mail with the SustAb property in the Lair:2 stash, which shouldn't be possible at all (before 48ad150 it's a plate of {rC+ Dex+3}, afterwards it's {rC+ Dex+3 SustAb}). But I still can't get the save to actually crash locally with any combination of optimised/debug/whatever builds, so I'm not sure if that's actually the issue or not.
(0026246)
Kate (developer)
2014-05-21 00:59

More notes, possibly entirely unrelated to the crash: statues all across the dungeon appear to be remembered as stone arches when looking at them on the X map. Travelling to look at them reveals that they are in fact still statues, though.
(0029684)
Kate (developer)
2015-10-27 23:52

This Atomjack save file has a similar crash and contains the Staff of Olgreb {rPois SustAt}, so it seems likely that it must be somehow related to artefacts incorrectly getting the SustAt property on save upgrade???
(0029808)
st (reporter)
2015-11-16 21:42

http://crawl.develz.org/saves/dumps/mudo-2d311b1-151116-2041.tar.bz2 [^]

Here's another broken save

- Issue History
Date Modified Username Field Change
2014-05-17 18:51 Kate New Issue
2014-05-17 18:52 Kate Description Updated
2014-05-17 18:53 Kate Summary Crash on loading game => Crash on loading game, while unmarshalling artefacts
2014-05-17 18:59 Kate Description Updated
2014-05-17 19:12 Kate Description Updated
2014-05-18 15:21 Kate Note Added: 0026198
2014-05-18 15:22 Kate Summary Crash on loading game, while unmarshalling artefacts => Crash on loading game after save transfer
2014-05-18 20:42 Kate Note Added: 0026200
2014-05-19 02:08 Kate Note Added: 0026205
2014-05-19 02:08 Kate Status new => resolved
2014-05-19 02:08 Kate Fixed in Branch => 0.15 development branch
2014-05-19 02:08 Kate Resolution open => done
2014-05-19 02:08 Kate Assigned To => Kate
2014-05-19 14:37 Kate Assigned To Kate =>
2014-05-19 14:37 Kate Note Added: 0026208
2014-05-19 14:37 Kate Status resolved => new
2014-05-19 14:37 Kate Resolution done => reopened
2014-05-21 00:40 Kate Note Added: 0026245
2014-05-21 00:59 Kate Note Added: 0026246
2015-10-27 23:49 Kate File Added: Atomjack-CDO-20150922.cs
2015-10-27 23:52 Kate Note Added: 0029684
2015-11-16 21:42 st Note Added: 0029808
2016-06-25 20:00 Kate File Added: MarvinPA-6f76ed4-140517-1631.tar.bz2
2016-06-28 10:51 DocvePeR Note Added: 0030695
2016-06-28 10:51 DocvePeR Note Deleted: 0030695


Mantis 1.1.8[^]
Copyright © 2000 - 2009 Mantis Group
Powered by Mantis Bugtracker