Viewing Issue Simple Details Jump to Notes ] Wiki ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0002404 [DCSS] Bug Report crash have not tried 2010-08-29 22:42 2011-03-04 01:16
Reporter pablo View Status public  
Assigned To Matthew Cline
Priority normal Resolution done  
Status resolved   Product Branch 0.7 ancient branch
Summary 0002404: crash going upstairs with monster following (cannot restore save game)
Description When my character went upstairs from the shoals to the lair
the game crashed. Furthermore, when restarting the game, it
does not allow me to restore the game.

Attached crash dump.

crash report states:
ASSERT(!(monster->flags & MF_TAKING_STAIRS)) in '' at line 2261 failed.

Crash caused by signal 0000006: Aborted

Obtained 20 stack frames.
stone-soup-tiles(_Z17write_stack_traceP8_IO_FILEi+0x28) [0x991ef8]: write_stack_trace(_IO_FILE*, int)
stone-soup-tiles(_Z13do_crash_dumpv+0x289) [0x539de9]: do_crash_dump()
stone-soup-tiles() [0x992152]
/lib/ [0x7f13fd5905e0]:
/lib/ [0x7f13fd590565]:
/lib/ [0x7f13fd5919e6]:
stone-soup-tiles() [0x53986f]
stone-soup-tiles(_Z12AssertFailedPKcS0_i+0x92) [0x539a62]: AssertFailed(char const*, char const*, int)
stone-soup-tiles(_Z17monster_polymorphP8monsters12monster_type15poly_power_typeb+0xa64) [0x7b3f34]: monster_polymorph(monsters*, monster_type, poly_power_type, bool)
stone-soup-tiles(_Z15setup_mons_castP8monstersR4bolt10spell_typeb+0x5a8) [0x77d4b8]: setup_mons_cast(monsters*, bolt&, spell_type, bool)
stone-soup-tiles(_Z9mons_castP8monstersR4bolt10spell_typebb+0x26) [0x780846]: mons_cast(monsters*, bolt&, spell_type, bool, bool)
stone-soup-tiles(_Z16handle_mon_spellP8monstersR4bolt+0x878) [0x788f28]: handle_mon_spell(monsters*, bolt&)
stone-soup-tiles() [0x76cc88]
stone-soup-tiles(_Z19handle_monster_moveP8monsters+0x1138) [0x776f78]: handle_monster_move(monsters*)
stone-soup-tiles(_Z15handle_monstersv+0x8a) [0x7783fa]: handle_monsters()
stone-soup-tiles(_Z12world_reactsv+0xdfb) [0x6f8fab]: world_reacts()
stone-soup-tiles() [0x703523]
stone-soup-tiles(main+0x455) [0x704be5]:
/lib/ [0x7f13fd57cc4d]:
stone-soup-tiles() [0x4c2a29]
Additional Information
Tags No tags attached.
Attached Files txt file icon crash-_-20100829-221804.txt [^] (41,927 bytes) 2010-08-29 22:42 [Show Content]

- Relationships

-  Notes
rob (developer)
2010-09-07 15:47

I reproduced this in wizard mode with a statue spells:polymorph_other and some friendly rats. If you go down stairs with your rats and the statue polymorphs one of them that turn, the assert triggers.

I'm unsure whether the assert is unnecessary or whether the polymorph code actually breaks on stair-travelling monsters however.
rob (developer)
2010-09-07 15:55

Matthew: the assert is yours, can you have a look?
jpeg (manager)
2011-03-03 22:16

Still happens in 81b92e8d.
jpeg (manager)
2011-03-04 01:16

Fixed by disallowing polymorphing monsters taking stairs. It wouldn't actually cause any problems, but it could be confusing to the player.

- Issue History
Date Modified Username Field Change
2010-08-29 22:42 pablo New Issue
2010-08-29 22:42 pablo File Added: crash-_-20100829-221804.txt
2010-09-07 15:47 rob Note Added: 0008081
2010-09-07 15:47 rob Status new => confirmed
2010-09-07 15:54 rob Assigned To => Matthew Cline
2010-09-07 15:55 rob Note Added: 0008082
2011-03-03 22:16 jpeg Note Added: 0011460
2011-03-04 01:16 jpeg Note Added: 0011465
2011-03-04 01:16 jpeg Status confirmed => resolved
2011-03-04 01:16 jpeg Fixed in Branch => 0.8 development branch
2011-03-04 01:16 jpeg Resolution open => done

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