Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Vanilla

Reply
 
Thread Tools Display Modes
Old April 11, 2011, 23:31   #1
fph
Knight
 
Join Date: Apr 2009
Location: Berlin / Italy
Posts: 571
fph is on a distinguished road
Nightly chardump bug

Started playing an old character with r7dda-blah (the April 9 nightly); when I take a chardump, the file is written only partially and then the game crashes. Apparently, the crash happens when the game tries to write the weight of my main weapon (which is also the first object weight that gets written to the savefile). The crash does not happen if I create a new character and save its chardump.

I am playing the Windows nightly using Wine 1.2.2 on Ubuntu 10.04.2 (too lazy to compile ). I attach the savefile for easier debugging.

The reason why I wanted to take a chardump is that I have just found a randart phial that can be activated for mass genocide. WTF?
(btw, currently at 107HP; if I had first activated it in the wrong place, probably it could have killed me...)
Attached Files
File Type: zip savefile.zip (15.6 KB, 115 views)
fph is offline   Reply With Quote
Old April 11, 2011, 23:35   #2
Magnate
Angband Devteam member
 
Join Date: May 2007
Location: London, UK
Posts: 5,054
Magnate is on a distinguished road
Send a message via MSN to Magnate Send a message via Yahoo to Magnate Send a message via Skype™ to Magnate
Quote:
Originally Posted by fph View Post
Started playing an old character with r7dda-blah (the April 9 nightly); when I take a chardump, the file is written only partially and then the game crashes. Apparently, the crash happens when the game tries to write the weight of my main weapon (which is also the first object weight that gets written to the savefile). The crash does not happen if I create a new character and save its chardump.

I am playing the Windows nightly using Wine 1.2.2 on Ubuntu 10.04.2 (too lazy to compile ). I attach the savefile for easier debugging.

The reason why I wanted to take a chardump is that I have just found a randart phial that can be activated for mass genocide. WTF?
That indicates that something is corrupted, as the Phial cannot get that activation. So that's probably why the dump is crashing for that savefile.

If anybody else gets a crash from a chardump, please post here.
Magnate is offline   Reply With Quote
Old April 12, 2011, 18:50   #3
fph
Knight
 
Join Date: Apr 2009
Location: Berlin / Italy
Posts: 571
fph is on a distinguished road
Quote:
Originally Posted by Magnate View Post
That indicates that something is corrupted, as the Phial cannot get that activation. So that's probably why the dump is crashing for that savefile.
Ok, I imagined something like that. Was savefile compatibility changed recently? This character was created with a nightly not too far ago (post-3.2 IIRC). Otherwise I should start worrying about my hard disk...
fph is offline   Reply With Quote
Old April 12, 2011, 21:37   #4
Magnate
Angband Devteam member
 
Join Date: May 2007
Location: London, UK
Posts: 5,054
Magnate is on a distinguished road
Send a message via MSN to Magnate Send a message via Yahoo to Magnate Send a message via Skype™ to Magnate
Don't worry, myshkin worked it out with some splendid savefile-fu.

The maul your character is carrying was dropped by a monster which has subsequently been deleted from monster.txt (Soldier - there was a consolidation of similar monsters a while back). So the "origin_xtra" field (which monster dropped it) contains a now-illegal value, which causes the crash (it doesn't point to a name that can be printed).

We can fix this for the future by checking explicitly for this in describe_origin, and actually printing "dropped by a monster which no longer exists, at 2500 feet"!
Magnate is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
New nightly Magnate Vanilla 199 May 6, 2011 03:51
YAWP nightly mbell999 AAR 1 December 12, 2010 22:09
Nightly version Philip Vanilla 2 December 1, 2010 18:28
Stacking bug in current nightly Magnate Vanilla 2 November 28, 2010 14:39
Yet Another Chardump Advice Post... bigmcstrongmuscle Vanilla 19 July 18, 2009 14:16


All times are GMT +1. The time now is 23:32.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2018, vBulletin Solutions, Inc.