Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Vanilla

Reply
 
Thread Tools Display Modes
Old October 21, 2021, 17:32   #1
robinjohnson
Scout
 
Join Date: Oct 2021
Posts: 40
robinjohnson is on a distinguished road
Bug: crash after Single Combat in 4.2.3

I have a promising Paladin who is heading for my second win (first was a Ranger a couple of weeks ago.) I started Single Combat with a greater demonic quythulg. As soon as the fight ends the game crashes. If I start Angband again and open the savefile, I'm back at the start of the single combat. When I kill the quythulg, it crashes again.

I had a couple of similar issues earlier, with the game crashing on Recall and then carrying on from my last single combat when I opened it again, but this time there doesn't seem to any way to get out. Booooo.
robinjohnson is offline   Reply With Quote
Old October 21, 2021, 19:21   #2
backwardsEric
Swordsman
 
Join Date: Aug 2019
Posts: 350
backwardsEric is on a distinguished road
Quote:
Originally Posted by robinjohnson View Post
I have a promising Paladin who is heading for my second win (first was a Ranger a couple of weeks ago.) I started Single Combat with a greater demonic quythulg. As soon as the fight ends the game crashes. If I start Angband again and open the savefile, I'm back at the start of the single combat. When I kill the quythulg, it crashes again.

I had a couple of similar issues earlier, with the game crashing on Recall and then carrying on from my last single combat when I opened it again, but this time there doesn't seem to any way to get out. Booooo.
Posting the save file here (compress it with zip first) could help track down what went wrong. If you remember more about what led to final or earlier crashes, that would be helpful. Details that could be relevant are whether you had used Single Combat more than once on that level, saved previously on that level, and, if you had saved previously, was that while in Single Combat.
backwardsEric is offline   Reply With Quote
Old October 22, 2021, 11:58   #3
robinjohnson
Scout
 
Join Date: Oct 2021
Posts: 40
robinjohnson is on a distinguished road
I've attached the save file ("Robin"), which opens at the beginning of the single combat.

In the zip, there's also "Robin428844.new", which I think was partly created when the game tried to put me back in the dungeon level. If I try to open that, I get "Savefile corrupted - Couldn't load block monsters". There's also another one of those .new files, which was created similarly at a previous crash, which happened when I got "yanked upwards" by a Word of Recall spell. The game application just closes after the "--more--" without any message that I can see (it's possible it prints some something immediately before closing the window.)

I'm not sure whether I'd saved on that level previously - it's probable, as I was playing for 10 minutes or so at a time during work breaks - but I definitely never saved during Single Combat. I'd used Single Combat several times previously on that level and others. It was great for preventing summoning storms.

I'm now unsure quite of the order in which things happened (sorry, memory problems). It's possible that I DID get out of this Single Combat the first time I played it, and the game didn't crash till I Recalled again. There'd definitely been crashes before that, though, and I'm almost certain those happened on a different dungeon level.

I don't know if this is relevant, but at one point I spent hundreds of turns in Single "Combat" with a quythulg (it might have been this one, but I think it was a previous one) leaning on "." in order to heal and recharge my rings, which felt a bit dirty. If that's what killed me, it'd feel a little bit deserved.

I'm playing on Windows 10 with the official distribution, using the roguelike keyset.

(I don't suppose there's any way to get my character back? Thanks to everyone who works on the game, all the same. I hadn't played since 2-point-something till I got back into it this time; it's so much less grindy, and the classes feel a lot more different to each other, even late in the game.)
Attached Files
File Type: zip save.zip (55.5 KB, 101 views)

Last edited by robinjohnson; October 22, 2021 at 12:13.
robinjohnson is offline   Reply With Quote
Old October 22, 2021, 13:05   #4
Nick
Vanilla maintainer
 
Nick's Avatar
 
Join Date: Apr 2007
Location: Canberra, Australia
Age: 57
Posts: 9,481
Donated: $60
Nick will become famous soon enoughNick will become famous soon enough
This should work fine now - the Single Combat is over, and you're back in town. The .new files are failed saves from when something has gone wrong, so it's not surprising they don't open. I don't think your recharging stunt had anything to do with the problems

backwardsEric - there were some extraneous chunks in the chunk_list that (2 extra level 76 known chunks and a level 74 known). Deleting those before exiting single combat, and setting chunk_list_max to 3 (for the regular and known level 76, and the Town) was all that was needed. There is clearly an infrequent bug in Single Combat (maybe to do with that segfault we saw recently), but I'm actually quite impressed at the game's ability to recover from it...
Attached Files
File Type: zip Robin.zip (15.4 KB, 106 views)
__________________
One for the Dark Lord on his dark throne
In the Land of Mordor where the Shadows lie.
Nick is offline   Reply With Quote
Old October 22, 2021, 13:22   #5
robinjohnson
Scout
 
Join Date: Oct 2021
Posts: 40
robinjohnson is on a distinguished road
Quote:
Originally Posted by Nick View Post
This should work fine now - the Single Combat is over, and you're back in town
Amazing, thank you so much!
robinjohnson is offline   Reply With Quote
Old October 25, 2021, 05:02   #6
kineahora
Apprentice
 
Join Date: Sep 2021
Location: New York
Posts: 82
kineahora is on a distinguished road
Quote:
Originally Posted by Nick View Post
This should work fine now - the Single Combat is over, and you're back in town. The .new files are failed saves from when something has gone wrong, so it's not surprising they don't open. I don't think your recharging stunt had anything to do with the problems

backwardsEric - there were some extraneous chunks in the chunk_list that (2 extra level 76 known chunks and a level 74 known). Deleting those before exiting single combat, and setting chunk_list_max to 3 (for the regular and known level 76, and the Town) was all that was needed. There is clearly an infrequent bug in Single Combat (maybe to do with that segfault we saw recently), but I'm actually quite impressed at the game's ability to recover from it...
That crash file I had posted the other week was also single-combat related.
This is almost certainly the newest part of the code and one that alters regular game play the most. Not surprising to me that bugs still need ironing...

Single combat is really a cool thing very new to the game and I think one of the best additions to the game, along with fractional speeds, since 1990.
kineahora is offline   Reply With Quote
Old October 25, 2021, 21:22   #7
robinjohnson
Scout
 
Join Date: Oct 2021
Posts: 40
robinjohnson is on a distinguished road
It's happening again. This is my first Single Combat on this level, which I've just arrived on. I got commanded to return by a Q and cast SC on it; I don't think I've killed any other monsters or found any objects.

It was crashing with Recall again earlier, on a level where I'd used SC multiple times. (I don't know if this is relevant, but there were three or four vaults on that level, so probably hundreds of objects in dozens of piles.) I was able to leave that level by the stairs, then Recall. I don't remember any more details.

Last edited by robinjohnson; October 25, 2021 at 21:41.
robinjohnson is offline   Reply With Quote
Old October 25, 2021, 21:23   #8
robinjohnson
Scout
 
Join Date: Oct 2021
Posts: 40
robinjohnson is on a distinguished road
(oops, attachment made into a zip and attached successfully this time!)
Attached Files
File Type: zip Robin.zip (25.9 KB, 105 views)
robinjohnson is offline   Reply With Quote
Old October 25, 2021, 21:47   #9
Nick
Vanilla maintainer
 
Nick's Avatar
 
Join Date: Apr 2007
Location: Canberra, Australia
Age: 57
Posts: 9,481
Donated: $60
Nick will become famous soon enoughNick will become famous soon enough
Fixed version attached (I'm getting better at this).

You may find this doesn't happen if you use the latest nightly release from the releases page.
Attached Files
File Type: zip Robin.zip (22.6 KB, 104 views)
__________________
One for the Dark Lord on his dark throne
In the Land of Mordor where the Shadows lie.
Nick is offline   Reply With Quote
Old October 25, 2021, 21:49   #10
robinjohnson
Scout
 
Join Date: Oct 2021
Posts: 40
robinjohnson is on a distinguished road
Quote:
Originally Posted by Nick View Post
You may find this doesn't happen if you use the latest nightly release
Thank you for doing that so quickly! And I'll try those nightly releases.
robinjohnson 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
Bug in Single Combat Spell m.galimberti Vanilla 11 June 10, 2021 20:19
Ammo Disappears in Single Combat cjslates Vanilla 4 June 2, 2021 00:23
Bugs in 4.2.1 Single Combat Ugramoth Vanilla 7 March 23, 2021 07:56
Single combat! Pete Mack AAR 2 March 13, 2021 23:32
Crash save related to Single Combat Pete Mack Vanilla 6 March 12, 2021 21:32


All times are GMT +1. The time now is 02:24.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.