r1806 - crash bug

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Psi
    Knight
    • Apr 2007
    • 870

    r1806 - crash bug

    Playing r1806 with randarts on Vista.

    Attempting to activate the phial occasionally crashes the game. I have had this happen four times now. Each time reloading takes me back to the start of the level.

    I then started saving before activating. However on reload the crash did not happen - (infact I failed to activate).
  • Magnate
    Angband Devteam member
    • May 2007
    • 5110

    #2
    The bug is in the lite_room code. It's been reported as ticket #1022. We haven't traced it yet - seems like it was introduced quite recently (since ~r1780 or so).
    "Been away so long I hardly knew the place, gee it's good to be back home" - The Beatles

    Comment

    • miyazaki
      Adept
      • Jan 2009
      • 227

      #3
      I am playing v1802 on Vista with randarts and I haven't seen this at all. I will try to use my phial more to see if I can make it crash!

      Comment

      • Psi
        Knight
        • Apr 2007
        • 870

        #4
        I haven't had this crash since starting a new game - perhaps it was somehow related to the prev game being started on an earlier nightly build? I'm still saving before illuminating for now though.

        Some more bugs I've encountered in this build...

        - I have had a crash when I tried to open a door. Of course it worked when I reloaded.

        - Items in quiver do not display in char dumps

        - Items in quiver do not seem to pseudo

        - autofire ('h' command) appears to target correctly even when confused

        Comment

        • Psi
          Knight
          • Apr 2007
          • 870

          #5
          Another quiver bug...

          I had two stacks of average ammo - one inscribed {f0}, two stacks of good ammo and one stack of ego ammo. After a big fight I was picking up my ammo and it seemed there was some confusion between my two average stacks and the inscription. Anyway the outcome was that my good and ego stacks just vanished and all I was left with was the average ammo. Nasty.

          It may have been the case that on retrieving the bolts, one stack gathered in my inventory and one in my quiver (both may have become inscribed {f0} by then). I then wielded the inv stack and when I checked all my decent ammo had gone.

          btw what is the max amount of ammo in the quiver?

          Comment

          • d_m
            Angband Devteam member
            • Aug 2008
            • 1517

            #6
            Originally posted by Psi
            Another quiver bug...

            I had two stacks of average ammo - one inscribed {f0}, two stacks of good ammo and one stack of ego ammo. After a big fight I was picking up my ammo and it seemed there was some confusion between my two average stacks and the inscription. Anyway the outcome was that my good and ego stacks just vanished and all I was left with was the average ammo. Nasty.

            It may have been the case that on retrieving the bolts, one stack gathered in my inventory and one in my quiver (both may have become inscribed {f0} by then). I then wielded the inv stack and when I checked all my decent ammo had gone.

            btw what is the max amount of ammo in the quiver?
            Sorry about that!

            The quiver has 10 slots (0-9) and each slot can hold a stack of up to 99 missiles.

            I will try to replicate this... so far I haven't seen ammo vanish. Was all the ammo identified? Which kind(s) of ammo did you fire?
            linux->xterm->screen->pmacs

            Comment

            • Psi
              Knight
              • Apr 2007
              • 870

              #7
              I used a stack of average bolts and then it started firing my bolts of venom before I realised and started firing a few of my good bolts instead. All of this ammo was identified. As I wandered over my ammo to pick it up I repeatedly noticed an odd message about 'worn' ammo accumulating in my inventory (I expected it to to my quiver). At this point I wielded it again and then checked my quiver to see what I had. This was when I realised that both stacks of good and one stack of ego had gone. There should have been roughly 60-70 bolts.

              I have tried shooting when confused (unintentionally) again and still have no problems hitting everything.

              Regarding the lighting bug I've realised that this was on WinXP. I play the game off a USB stick and the illumination works on Vista but crashes frequently on XP.

              Comment

              • d_m
                Angband Devteam member
                • Aug 2008
                • 1517

                #8
                OK, as of r1810 the lighting bug should be fixed. Since I'm at work I haven't been able to do any serious work on the other issues.

                Please let me know if you can confirm the fix, or if you are able to reproduce the bug on r1810.
                linux->xterm->screen->pmacs

                Comment

                • Psi
                  Knight
                  • Apr 2007
                  • 870

                  #9
                  Originally posted by d_m
                  OK, as of r1810 the lighting bug should be fixed. Since I'm at work I haven't been able to do any serious work on the other issues.

                  Please let me know if you can confirm the fix, or if you are able to reproduce the bug on r1810.
                  Just downloaded r1811. Tried to open my savefile from dead char but get:

                  Assertion failed!
                  File: savefile.c
                  Line: 123

                  Expression: buffer_pos < buffer_size

                  Tried creating new char using same savefile in r1806 and then loading that into r1811, but still fails.

                  New chars created and saved in r1811 will load.

                  Comment

                  • Magnate
                    Angband Devteam member
                    • May 2007
                    • 5110

                    #10
                    Originally posted by Psi
                    Just downloaded r1811. Tried to open my savefile from dead char but get:

                    Assertion failed!
                    File: savefile.c
                    Line: 123

                    Expression: buffer_pos < buffer_size

                    Tried creating new char using same savefile in r1806 and then loading that into r1811, but still fails.

                    New chars created and saved in r1811 will load.
                    That's my fault, and not related to d_m's fix at all. I broke savefiles in r1807 when changing the artifact structure. Sorry.
                    "Been away so long I hardly knew the place, gee it's good to be back home" - The Beatles

                    Comment

                    • Psi
                      Knight
                      • Apr 2007
                      • 870

                      #11
                      Originally posted by Magnate
                      That's my fault, and not related to d_m's fix at all. I broke savefiles in r1807 when changing the artifact structure. Sorry.
                      No worries at all. Just flagging it up incase it wasn't expected.

                      Comment

                      • d_m
                        Angband Devteam member
                        • Aug 2008
                        • 1517

                        #12
                        Originally posted by Psi
                        I haven't had this crash since starting a new game - perhaps it was somehow related to the prev game being started on an earlier nightly build? I'm still saving before illuminating for now though.

                        Some more bugs I've encountered in this build...

                        - I have had a crash when I tried to open a door. Of course it worked when I reloaded.

                        - Items in quiver do not display in char dumps

                        - Items in quiver do not seem to pseudo

                        - autofire ('h' command) appears to target correctly even when confused
                        All of these should be fixed as of r1816.

                        Also, I really can't replicate a problem with ego or good ammo disappearing. I've tried playing through a bunch of rangers as well as doing various stuff in debug mode.

                        I have a bug open for it (#1028) but it would be great to get another report of the phenomenon. If I can't reproduce it in the next week or so and no one else reports it then it might have just been a fluke.
                        linux->xterm->screen->pmacs

                        Comment

                        • Psi
                          Knight
                          • Apr 2007
                          • 870

                          #13
                          Thanks muchly. When I kill off my latest character I'll have a go at reproducing the vanishing ammo feat.

                          One thing I noticed when going to r1813 yesterday was that I had to change all the fonts in my .ini to 8x13c from 8x13 else nothing displayed.

                          Comment

                          • Psi
                            Knight
                            • Apr 2007
                            • 870

                            #14
                            Originally posted by d_m
                            I have a bug open for it (#1028) but it would be great to get another report of the phenomenon. If I can't reproduce it in the next week or so and no one else reports it then it might have just been a fluke.
                            I *think* I've just had it again.

                            I *probably* had used all my quiver slots.
                            I wielded an unid'd stack of arrows from the floor.
                            I got a message about some bolts of wounding that were previously in my quiver.
                            I found some bolts of wounding were now in my inventory.
                            I could then wield them back into my quiver.
                            I believe I used to have two stacks of wounding ammo, but now I had one.
                            I noticed that my speed was +22 when I expected +23.
                            I exited and reloaded and my speed was +23 again.

                            I believe the bolts that vanished were still contributing to my encumbrance until I reloaded.

                            Comment

                            • d_m
                              Angband Devteam member
                              • Aug 2008
                              • 1517

                              #15
                              OK, so it sounds like a bug that hits when the quiver is full... I will play with it a bunch and see if I can find something. I could imagine an off-by-one error meaning your bolts get put into a slot that doesn't get saved (or displayed) but does count against you in some way. That's why after saving and reloading it would be gone.
                              linux->xterm->screen->pmacs

                              Comment

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