Viewing Issue Simple Details Jump to Notes ] Wiki ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0003081 [DCSS] Bug Report major always 2010-12-28 16:27 2011-01-03 00:34
Reporter Robsoie View Status public  
Assigned To galehar
Priority normal Resolution done  
Status resolved   Product Branch 0.8 ancient branch
Summary 0003081: Pressing Escape in some situation close the game.
Description Window XP SP3
crawl_tiles-0.8.0-a0-4116-gd08ecb6

In the attached saved game, use the character Dispel Undead spell to kill the Shadow a few tiles to the north.

On your keyboard, pressing Z then the spell key C , aiming the spell and pressing ENTER will work without a problem.

But using the tile interface by clicking on the Dispel Undead spell icon (the 3rd one on that save) then clicking on the Shadow -only once- will not make the "aiming" cursor disappear after the Shadow is killed, and then pressing Escape to remove the aiming cursor will crash (or close as there's no error message) the game .

Same thing happen for the "Pain" spell (even if the Shadow is immune to it, you can try), leading me to think it happens with every offensive spell used by the mouse interface (never happen with the keyboard shortcut).
Additional Information
Tags No tags attached.
Attached Files rar file icon saves.rar [^] (930,703 bytes) 2010-12-28 16:27

- Relationships

-  Notes
(0009991)
jpeg (manager)
2010-12-28 18:38

I can't reproduce this, neither in master nor in d08ecb6, even if I have both the spell and monster tab open at the same time (the latter in the inventory area). The "aiming cursor" doesn't get stuck, so there's nothing to escape and no crash.
(0010012)
Robsoie (reporter)
2010-12-29 15:44
edited on: 2010-12-29 15:44

Maybe i have not explained very well how to reproduce it exactly, so here is exactly what i do and lead every time into the crash :

After loading the save :
http://img34.imageshack.us/img34/2701/clipboard01jm.jpg [^]

I put my cursor on the Dispell Undead icon :
http://img59.imageshack.us/img59/9880/clipboard015.jpg [^]

I click on it, the shadow is then automatically targetted
http://img402.imageshack.us/img402/6357/clipboard04f.jpg [^]

I put my aiming cursor on the shadow
http://img402.imageshack.us/img402/6357/clipboard04f.jpg [^]

And i click -once-
http://img156.imageshack.us/img156/4787/clipboard05t.jpg [^]
The message about the shadow being destroyed appears, but notice that the spell aiming yellow line is not removed, i can always move the aiming cursor with the yellow line of sight following.
http://img708.imageshack.us/img708/367/clipboard06r.jpg [^]

So now i press Escape and as a result the game immediately close without error message.
Reproduced every time i tried.

(0010018)
galehar (administrator)
2010-12-29 23:46

Under Linux, I can't reproduce the bug either. Will try under XP.
(0010031)
nicolae (reporter)
2010-12-30 09:23
edited on: 2010-12-30 09:37

I have the same bug, which I've noticed using SpEn, HeWz, DDNe in both crawl_tiles-0.8.0-a0-4116-gd08ecb6 and crawl_tiles-0.8.0-a0-4149-gdf784e8, under Windows Vista. I haven't tried it in crawl_tiles-0.8.0-a0-4194-gf51c8e8, the latest trunk build, although that's because that build crashes on startup for me.

I'm posting because I think I discovered something else that could be helpful in reproducing the bug. It only seems to happen if the game is "fresh", i.e. hasn't been restored from a save. Before saving (or crashing) and restoring, the bug happens every single time I cast from the tiles spell tab. But when reloading that saved character, the double-cast bug stops happening in that particular game, at least as far as I can tell.

Edit: Which, now that I think of it, is probably why none of the devs can reproduce the bug with the posted savegame.

(0010063)
nicolae (reporter)
2010-12-30 18:14

It turns out that if you play long enough after saving the bug does come back.
(0010071)
galehar (administrator)
2010-12-31 00:38
edited on: 2010-12-31 00:39

Found how to reproduce the bug. After having memorised or forgotten a spell, any click in the spell tab is counted twice. It doesn't always crashes the game though.

(0010142)
galehar (administrator)
2011-01-03 00:34

Fixed. Thanks for reporting!

- Issue History
Date Modified Username Field Change
2010-12-28 16:27 Robsoie New Issue
2010-12-28 16:27 Robsoie File Added: saves.rar
2010-12-28 18:38 jpeg Note Added: 0009991
2010-12-29 15:44 Robsoie Note Added: 0010012
2010-12-29 15:44 Robsoie Note Edited: 0010012
2010-12-29 23:46 galehar Note Added: 0010018
2010-12-29 23:46 galehar Issue Monitored: galehar
2010-12-30 09:23 nicolae Note Added: 0010031
2010-12-30 09:36 nicolae Note Edited: 0010031
2010-12-30 09:37 nicolae Note Edited: 0010031
2010-12-30 18:14 nicolae Note Added: 0010063
2010-12-31 00:37 galehar Assigned To => galehar
2010-12-31 00:38 galehar Note Added: 0010071
2010-12-31 00:38 galehar Status new => assigned
2010-12-31 00:39 galehar Note Edited: 0010071
2011-01-03 00:34 galehar Note Added: 0010142
2011-01-03 00:34 galehar Status assigned => resolved
2011-01-03 00:34 galehar Fixed in Branch => 0.8 development branch
2011-01-03 00:34 galehar Resolution open => done


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