Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Vanilla

Reply
 
Thread Tools Display Modes
Old February 25, 2011, 22:25   #1
Max Stats
Swordsman
 
Join Date: Jun 2010
Posts: 324
Max Stats is on a distinguished road
BUG: Using non-existent item by number causes crash

My current character, a warrior, has a macro to use a staff of identify by number. My staff got toasted, and I didn't notice. Next time I used the macro, it crashed the game. After further testing, I found that it didn't matter if I used a macro or not, nor was it limited to staffs. Choosing any command that requires an item selection and then pressing a number key when you don't have an applicable item in your inventory corresponding to that number will cause a crash. The issue tracker says to post your issue here before opening a ticket, so I need to see if anyone else can reproduce this error before I open a ticket.

Specs:
Version is 3.2.
Platform is Linux, compiled from source.
Keyset used is irrelevant, the bug appears either way.
Not sure if it is related to this bug.
Max Stats is offline   Reply With Quote
Old February 25, 2011, 22:42   #2
PowerDiver
Prophet
 
Join Date: Mar 2008
Posts: 2,712
PowerDiver is on a distinguished road
Using 3.2.0, compiled myself in linux, and the comp 99 savefile I do not get a crash with 'r' '1'.
PowerDiver is offline   Reply With Quote
Old February 25, 2011, 23:10   #3
Bodkin
Scout
 
Bodkin's Avatar
 
Join Date: Apr 2007
Location: Southern California
Posts: 34
Bodkin is on a distinguished road
I get the same problem in Windows, and I've been able to reproduce it on three different computers (WinXP and Windows 7). It only works if you autoinscribe your items.

Steps:
1. Use the squelch menu to autoinscribe a hotkey onto an item -- say, inscribe @r1 on all ID scrolls.
2. Use up all your ID scrolls.
3. 'r' '1'
4. Stare at desktop and feel sad.
Bodkin is offline   Reply With Quote
Old February 25, 2011, 23:59   #4
Max Stats
Swordsman
 
Join Date: Jun 2010
Posts: 324
Max Stats is on a distinguished road
Thanks, I think that is good confirmation. Opened ticket.
Max Stats is offline   Reply With Quote
Old February 26, 2011, 00:20   #5
myshkin
Angband Devteam member
 
Join Date: Apr 2007
Posts: 334
myshkin is on a distinguished road
I've had no success reproducing this behavior in 3.2.0 or the nightlies. Could you attach a savefile and any associated preferences files?
myshkin is offline   Reply With Quote
Old February 26, 2011, 19:36   #6
Max Stats
Swordsman
 
Join Date: Jun 2010
Posts: 324
Max Stats is on a distinguished road
Unfortunately this character has been lost and a new character does not give the same behavior. There must be something that has to happen along the way that triggers this. If I encounter it again, I will send a savefile.
Max Stats is offline   Reply With Quote
Old February 26, 2011, 21:17   #7
d_m
Angband Devteam member
 
d_m's Avatar
 
Join Date: Aug 2008
Location: Philadelphia, PA, USA
Age: 39
Posts: 1,516
d_m is on a distinguished road
I just tested the nightly under WINE and it seems OK. I believe this issue has been fixed. If you try the most recent nightly do you see the problem?
__________________
linux->xterm->screen->pmacs
d_m is offline   Reply With Quote
Old February 27, 2011, 20:58   #8
Max Stats
Swordsman
 
Join Date: Jun 2010
Posts: 324
Max Stats is on a distinguished road
I have reproduced the bug with my new character, still under 3.2. When I load this character and type 'Z9' to use my Staff of Identify, it crashes. I use the roguelike keyset, but it happens with 'u9' under the standard keyset as well. It works OK if I use the letter instead of the number. Attaching save file and pref file (program compiled from source under Linux). I will try to download the nightly and see if the bug reproduces under it.
Attached Files
File Type: zip SaveAndPref.zip (20.8 KB, 157 views)
Max Stats is offline   Reply With Quote
Old February 27, 2011, 23:29   #9
d_m
Angband Devteam member
 
d_m's Avatar
 
Join Date: Aug 2008
Location: Philadelphia, PA, USA
Age: 39
Posts: 1,516
d_m is on a distinguished road
Quote:
Originally Posted by Max Stats View Post
I have reproduced the bug with my new character, still under 3.2. When I load this character and type 'Z9' to use my Staff of Identify, it crashes. I use the roguelike keyset, but it happens with 'u9' under the standard keyset as well. It works OK if I use the letter instead of the number. Attaching save file and pref file (program compiled from source under Linux). I will try to download the nightly and see if the bug reproduces under it.
Please let me know if you still see this in the nightly, or if it's fixed. I can't reproduce it in the nightly anymore.

Thanks!
__________________
linux->xterm->screen->pmacs
d_m is offline   Reply With Quote
Old February 28, 2011, 00:24   #10
Max Stats
Swordsman
 
Join Date: Jun 2010
Posts: 324
Max Stats is on a distinguished road
As far as I can tell, the bug is gone under the nightly.
Max Stats 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
Crash bug Napsterbater Vanilla 6 February 26, 2011 09:56
Crash Bug? Rizwan Vanilla 4 February 25, 2010 12:58
r1896 crash bug mbell999 Development 0 January 17, 2010 21:08
r1806 - crash bug Psi Development 16 December 9, 2009 14:46
[FA] Crash Bug Zikke Variants 8 February 19, 2009 04:20


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


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