Crash bug fighting Khim (3.5.0)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • wobbly
    Prophet
    • May 2012
    • 2631

    Crash bug fighting Khim (3.5.0)

    I'm pretty sure it's him doing it, At least it seems like I wander round the level all I like as long as I don't go near him. If he wakes however with-in 1 to 20 turns or so the game crashes. You'll be able to see him if you move down the corridor to the left on the save.
    Attached Files
  • Nick
    Vanilla maintainer
    • Apr 2007
    • 9637

    #2
    There's a known bug in the monster list where a special character in the monster's name hits the window boundary. To test, resize or just close the monster list window, and see if it still happens.
    One for the Dark Lord on his dark throne
    In the Land of Mordor where the Shadows lie.

    Comment

    • wobbly
      Prophet
      • May 2012
      • 2631

      #3
      Tried this just now with the monster list window closed, still crashed the moment Khim woke up.

      Edit: Windows 7 (Nvidia). I'm not certain it's not something up on my end with the OS, as I've been getting intermittent BSOD, but this crash to the desktop is not something it would usually do.

      Comment

      • PowerWyrm
        Prophet
        • Apr 2008
        • 2986

        #4
        Originally posted by wobbly
        Tried this just now with the monster list window closed, still crashed the moment Khim woke up.

        Edit: Windows 7 (Nvidia). I'm not certain it's not something up on my end with the OS, as I've been getting intermittent BSOD, but this crash to the desktop is not something it would usually do.
        The bug will happen even if the window is closed, because the code doesn't check whether the window is visible or not. Check again, but this time disable the monster list with the '=' menu.
        PWMAngband variant maintainer - check https://github.com/draconisPW/PWMAngband (or http://www.mangband.org/forum/viewforum.php?f=9) to learn more about this new variant!

        Comment

        • wobbly
          Prophet
          • May 2012
          • 2631

          #5
          Thanks that did in fact work. Odd that it's not causing a crash when it displays his name in the window, as far as I can tell it wasn't crashing till he tried casting a spell.

          Comment

          • Nick
            Vanilla maintainer
            • Apr 2007
            • 9637

            #6
            Originally posted by wobbly
            Thanks that did in fact work. Odd that it's not causing a crash when it displays his name in the window, as far as I can tell it wasn't crashing till he tried casting a spell.
            I think the display is different for sleeping and awake monsters - so it probably crashed when he woke up and the game tried to write his name into the awake section. Or else I'm wrong again
            One for the Dark Lord on his dark throne
            In the Land of Mordor where the Shadows lie.

            Comment

            • Carnivean
              Knight
              • Sep 2013
              • 527

              #7
              I thought it was meant to be a length bug, so dropping the (asleep) from the end of the name might be the trigger.

              So the solution then is to one shot him in his sleep.

              Comment

              • Derakon
                Prophet
                • Dec 2009
                • 9022

                #8
                If I recall correctly, the bug is due to accented names, specifically the game failing to correctly count the number of characters in the name when it has accents in it. Adding/removing non-accented characters from the end of the name shouldn't make a difference, I think.

                Comment

                • wobbly
                  Prophet
                  • May 2012
                  • 2631

                  #9
                  Thing is I'm wearing a helm of telepathy, so I can watch him awake & moving from out of sight just fine.

                  Awake & out of Los is ok.
                  Asleep & within Los is ok.
                  Sometimes the crash is immediate, sometimes it takes several rounds.
                  I don't ever see him cast, no matter how many turns before the crash
                  Closing the monster list from the = menu fixes the problem

                  Comment

                  • MattB
                    Veteran
                    • Mar 2013
                    • 1214

                    #10
                    I suspect it might be that as you, and he, move around, the string that says where he is changes until it collides exactly with the odd 'i' in his name, then boom.

                    I've said this before, but surely the easy fix is to change Mi'm (accented) to Mim (unaccented).

                    Comment

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