Fatal bug in r1867

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Nightmarjoo
    Adept
    • May 2007
    • 104

    Fatal bug in r1867

    When I run into a tile next to the ugly brown permament wall of the map edge, game crashes.
    Attached Files
    My first winner! http://angband.oook.cz/ladder-show.php?id=9326 Link, the Kobold Warrior!

    My second winner! http://angband.oook.cz/ladder-show.php?id=9369 Cailet, the Hobbit Mage!

    Damned be those who use High Elves, for they are the race of the weak!
  • Marble Dice
    Swordsman
    • Jun 2008
    • 412

    #2
    Your savefile does not crash for me when I run down towards the permanent edge of the map. What platform are you on, and are you compiling your own development version?

    Comment

    • Nightmarjoo
      Adept
      • May 2007
      • 104

      #3
      That's weird, I can repeat it 100% of the time from that spot in the save-file. Windows xp, and no, just running from the extracted zip I got from rephial.

      Hm, doesn't work when running against the top edge, but so far has worked (crashed) everytime when running from a spot not adjacent the wall/edge to a spot adjacent to one.
      Last edited by Nightmarjoo; December 28, 2009, 18:59.
      My first winner! http://angband.oook.cz/ladder-show.php?id=9326 Link, the Kobold Warrior!

      My second winner! http://angband.oook.cz/ladder-show.php?id=9369 Cailet, the Hobbit Mage!

      Damned be those who use High Elves, for they are the race of the weak!

      Comment

      • Faust
        Adept
        • Apr 2007
        • 129

        #4
        I am also getting this bug on XP with nightlies from rephial.
        Attached Files

        Comment

        • Marble Dice
          Swordsman
          • Jun 2008
          • 412

          #5
          I filed ticket #1057 for this crash, I'll try to reproduce it with the standard nightly distribution.

          Comment

          • Nightmarjoo
            Adept
            • May 2007
            • 104

            #6
            Same thing happening in r1876
            My first winner! http://angband.oook.cz/ladder-show.php?id=9326 Link, the Kobold Warrior!

            My second winner! http://angband.oook.cz/ladder-show.php?id=9369 Cailet, the Hobbit Mage!

            Damned be those who use High Elves, for they are the race of the weak!

            Comment

            • Marble Dice
              Swordsman
              • Jun 2008
              • 412

              #7
              Frustrating, I'm also on Windows XP and I still can't reproduce this, with my own compiled development version, or a nightly downloaded from rephial. I might see if I can find anything just from source analysis, but I'm not very hopeful.

              Comment

              • Nightmarjoo
                Adept
                • May 2007
                • 104

                #8
                I'm using service pack 2 if it matters.
                My first winner! http://angband.oook.cz/ladder-show.php?id=9326 Link, the Kobold Warrior!

                My second winner! http://angband.oook.cz/ladder-show.php?id=9369 Cailet, the Hobbit Mage!

                Damned be those who use High Elves, for they are the race of the weak!

                Comment

                • Faust
                  Adept
                  • Apr 2007
                  • 129

                  #9
                  It only happens on the top (north) wall and only when you run into it, walking into it or running along it does nothing. I have managed to reproduce this every time i've tried including in the town.

                  Comment

                  • Nightmarjoo
                    Adept
                    • May 2007
                    • 104

                    #10
                    lol for me I've only had it work on the bottom row, and it didn't work on the top when I tried it. Didn't try it on left or right.
                    My first winner! http://angband.oook.cz/ladder-show.php?id=9326 Link, the Kobold Warrior!

                    My second winner! http://angband.oook.cz/ladder-show.php?id=9369 Cailet, the Hobbit Mage!

                    Damned be those who use High Elves, for they are the race of the weak!

                    Comment

                    • Nightmarjoo
                      Adept
                      • May 2007
                      • 104

                      #11
                      I downloaded the newest nightly (r1884) created a character without changing options, turned debug mode on and got myself a great digger and dug to the bottom of the level and tried running into the wall to see how this nightly would react, and it didn't crash. So I changed the options to my normal options, and it crashed. Some quick experimentation showed that the game did not crash when "Map remembers all torch lit grids" (view_torch_grids) was on, and did crash when it was off.
                      My first winner! http://angband.oook.cz/ladder-show.php?id=9326 Link, the Kobold Warrior!

                      My second winner! http://angband.oook.cz/ladder-show.php?id=9369 Cailet, the Hobbit Mage!

                      Damned be those who use High Elves, for they are the race of the weak!

                      Comment

                      • Nightmarjoo
                        Adept
                        • May 2007
                        • 104

                        #12
                        Nevermind, r1886 still crashing even with remember torch lit squares on. I thought maybe it had to do with not being able to see the permament wall from where you're running from (with remember torchlit squares on), but that's not the case.

                        It's definitely not happening with the top row though.
                        Last edited by Nightmarjoo; January 8, 2010, 14:49.
                        My first winner! http://angband.oook.cz/ladder-show.php?id=9326 Link, the Kobold Warrior!

                        My second winner! http://angband.oook.cz/ladder-show.php?id=9369 Cailet, the Hobbit Mage!

                        Damned be those who use High Elves, for they are the race of the weak!

                        Comment

                        • Faust
                          Adept
                          • Apr 2007
                          • 129

                          #13
                          I've been testing in the town with r1886 (trying one block at a time) and it seems that it isn't every square that is affected but only some of them. The top right always triggers a crash for me and then roughly every 1 in 3 squares (still haven't triggered it on the bottom).

                          Comment

                          • Magnate
                            Angband Devteam member
                            • May 2007
                            • 5110

                            #14
                            Originally posted by Faust
                            I've been testing in the town with r1886 (trying one block at a time) and it seems that it isn't every square that is affected but only some of them. The top right always triggers a crash for me and then roughly every 1 in 3 squares (still haven't triggered it on the bottom).
                            Presumably you are all obedient Microsoft users? I cannot reproduce this on Linux at all, so assume it must be some obscure Windows memory management bug. If anyone on a non-Windows platform can reproduce this, please shout ASAP.
                            "Been away so long I hardly knew the place, gee it's good to be back home" - The Beatles

                            Comment

                            • Nick
                              Vanilla maintainer
                              • Apr 2007
                              • 9637

                              #15
                              Originally posted by Magnate
                              Presumably you are all obedient Microsoft users? I cannot reproduce this on Linux at all, so assume it must be some obscure Windows memory management bug. If anyone on a non-Windows platform can reproduce this, please shout ASAP.
                              Much as I prefer pretty much any other OS to Windows, I have to say it may well not be a Windows problem. Linux will often allow you to do things you shouldn't really, where Windows will object. It sounds to me like an array overrun, but the inconsistency is hard to fathom.
                              One for the Dark Lord on his dark throne
                              In the Land of Mordor where the Shadows lie.

                              Comment

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