BUG: Using non-existent item by number causes crash

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Max Stats
    Swordsman
    • Jun 2010
    • 324

    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.
    If beauty is in the eye of the beholder, then why are beholders so freaking ugly?
  • PowerDiver
    Prophet
    • Mar 2008
    • 2820

    #2
    Using 3.2.0, compiled myself in linux, and the comp 99 savefile I do not get a crash with 'r' '1'.

    Comment

    • Bodkin
      Scout
      • Apr 2007
      • 34

      #3
      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.

      Comment

      • Max Stats
        Swordsman
        • Jun 2010
        • 324

        #4
        Thanks, I think that is good confirmation. Opened ticket.
        If beauty is in the eye of the beholder, then why are beholders so freaking ugly?

        Comment

        • myshkin
          Angband Devteam member
          • Apr 2007
          • 334

          #5
          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?

          Comment

          • Max Stats
            Swordsman
            • Jun 2010
            • 324

            #6
            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.
            If beauty is in the eye of the beholder, then why are beholders so freaking ugly?

            Comment

            • d_m
              Angband Devteam member
              • Aug 2008
              • 1517

              #7
              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

              Comment

              • Max Stats
                Swordsman
                • Jun 2010
                • 324

                #8
                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
                If beauty is in the eye of the beholder, then why are beholders so freaking ugly?

                Comment

                • d_m
                  Angband Devteam member
                  • Aug 2008
                  • 1517

                  #9
                  Originally posted by Max Stats
                  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

                  Comment

                  • Max Stats
                    Swordsman
                    • Jun 2010
                    • 324

                    #10
                    As far as I can tell, the bug is gone under the nightly.
                    If beauty is in the eye of the beholder, then why are beholders so freaking ugly?

                    Comment

                    • d_m
                      Angband Devteam member
                      • Aug 2008
                      • 1517

                      #11
                      Originally posted by Max Stats
                      As far as I can tell, the bug is gone under the nightly.
                      Awesome! Thanks again for testing it.
                      linux->xterm->screen->pmacs

                      Comment

                      Working...
                      😀
                      😂
                      🥰
                      😘
                      🤢
                      😎
                      😞
                      😡
                      👍
                      👎