r1953 crash bug

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Zikke
    Veteran
    • Jun 2008
    • 1069

    r1953 crash bug

    Since I upgraded to r1953, my game has crashed several times with the same error. Each time, the character file is no longer usable. It crashes at random times, not always when doing something. I have seen it 6 times now, only with the new version and with new character files.

    The error is:


    Assertion failed!
    Program: C:\....etcetc.....\angband.exe
    File: z-bitflag.c
    Line: 56

    Expression flag_offset < size
    A(3.1.0b) CWS "Fyren_V" NEW L:50 DL:127 A++ R+++ Sp+ w:The Great Axe of Eonwe
    A/FA W H- D c-- !f PV+++ s? d P++ M+
    C- S+ I- !So B ac++ GHB? SQ? !RQ V F:
  • Marble Dice
    Swordsman
    • Jun 2008
    • 412

    #2
    What platform are you on? Do you roll your own, or use nightlies?

    Comment

    • Zikke
      Veteran
      • Jun 2008
      • 1069

      #3
      I use nightlies. I upgraded to r1951 today and the very next game and the following games started doing this.

      I have Vista 32bit. For the most part, it has been very stable with Angband. I never use weird tiles or anything like that. The only thing I change with the visuals is set the walls and permanent walls to the block character, which I did for this character. The weird thing is, it didn't crash right away; I got to about clvl 11 before it happened. Then other games were clvl 5 or 7.
      A(3.1.0b) CWS "Fyren_V" NEW L:50 DL:127 A++ R+++ Sp+ w:The Great Axe of Eonwe
      A/FA W H- D c-- !f PV+++ s? d P++ M+
      C- S+ I- !So B ac++ GHB? SQ? !RQ V F:

      Comment

      • Marble Dice
        Swordsman
        • Jun 2008
        • 412

        #4
        r1952 includes more descriptive error messages which will help locate this problem.

        Comment

        • Zikke
          Veteran
          • Jun 2008
          • 1069

          #5
          Error in flag_has(o-ptr->known_flags, flag): FlagID[97] Size[12] FlagOff[12] FlagBV[1]



          Hope that means something to you, cuz it's Greek to me
          A(3.1.0b) CWS "Fyren_V" NEW L:50 DL:127 A++ R+++ Sp+ w:The Great Axe of Eonwe
          A/FA W H- D c-- !f PV+++ s? d P++ M+
          C- S+ I- !So B ac++ GHB? SQ? !RQ V F:

          Comment

          • Marble Dice
            Swordsman
            • Jun 2008
            • 412

            #6
            I think r1954 addresses this problem, please try it out.

            Comment

            • Zikke
              Veteran
              • Jun 2008
              • 1069

              #7
              It works! Thank you!

              I didn't want to lose this character because my rogue found a Main Gauche (+2, +7) on dlvl 2, so now I can actually enjoy a swift RNG death.
              A(3.1.0b) CWS "Fyren_V" NEW L:50 DL:127 A++ R+++ Sp+ w:The Great Axe of Eonwe
              A/FA W H- D c-- !f PV+++ s? d P++ M+
              C- S+ I- !So B ac++ GHB? SQ? !RQ V F:

              Comment

              • Malak Darkhunter
                Knight
                • May 2007
                • 730

                #8
                I have revision 54 and my game has crashed 2 times so far, Vista 32 bit, never seen this happen before, get a similar message as above.
                Usually happens during combat. When I resume the game it takes me back to the begining of the level, so not much harm done.

                Comment

                • Zikke
                  Veteran
                  • Jun 2008
                  • 1069

                  #9
                  Today my game crashed again. When I restarted it, it was fine thereafter.
                  A(3.1.0b) CWS "Fyren_V" NEW L:50 DL:127 A++ R+++ Sp+ w:The Great Axe of Eonwe
                  A/FA W H- D c-- !f PV+++ s? d P++ M+
                  C- S+ I- !So B ac++ GHB? SQ? !RQ V F:

                  Comment

                  • Zikke
                    Veteran
                    • Jun 2008
                    • 1069

                    #10
                    Actually it has crashed several more times today.
                    A(3.1.0b) CWS "Fyren_V" NEW L:50 DL:127 A++ R+++ Sp+ w:The Great Axe of Eonwe
                    A/FA W H- D c-- !f PV+++ s? d P++ M+
                    C- S+ I- !So B ac++ GHB? SQ? !RQ V F:

                    Comment

                    • Marble Dice
                      Swordsman
                      • Jun 2008
                      • 412

                      #11
                      Is it the exact same message, or a similar one with slightly different values? If it's different, please post the message here, otherwise I'll go back and re-examine this.

                      Comment

                      • Zikke
                        Veteran
                        • Jun 2008
                        • 1069

                        #12
                        It doesn't give me the long verbose error message after I upgraded to 1953. It's the short version that I first posted. Next time it comes up, I'll see the exact values and post it.
                        A(3.1.0b) CWS "Fyren_V" NEW L:50 DL:127 A++ R+++ Sp+ w:The Great Axe of Eonwe
                        A/FA W H- D c-- !f PV+++ s? d P++ M+
                        C- S+ I- !So B ac++ GHB? SQ? !RQ V F:

                        Comment

                        • Marble Dice
                          Swordsman
                          • Jun 2008
                          • 412

                          #13
                          There's probably more than one crash bug floating around, so any time you get a crash, please post the exact error message here, whether it's detailed or general. That goes for anyone else seeing crashes, too. Thanks!

                          Comment

                          • HebrewToYou
                            Rookie
                            • Mar 2010
                            • 9

                            #14
                            Repeated Crashes in r1954

                            This crash has been occurring fairly regularly...

                            Hope this is enough information...

                            Code:
                            Process:         angband [12234]
                            Path:            /Applications/Angband.app/Contents/MacOS/angband
                            Identifier:      net.thangorodrim.Angband
                            Version:         3.1.2 (3.1.2)
                            Code Type:       X86 (Native)
                            Parent Process:  launchd [103]
                            
                            Date/Time:       2010-03-10 10:14:20.114 -0800
                            OS Version:      Mac OS X 10.6.2 (10C540)
                            Report Version:  6
                            
                            Interval Since Last Report:          187709 sec
                            Crashes Since Last Report:           1
                            Per-App Interval Since Last Report:  52572 sec
                            Per-App Crashes Since Last Report:   1
                            Anonymous UUID:                      AF98FE16-9423-44C4-A5C8-EC898328B91A
                            
                            Exception Type:  EXC_CRASH (SIGABRT)
                            Exception Codes: 0x0000000000000000, 0x0000000000000000
                            Crashed Thread:  0  Dispatch queue: com.apple.main-thread
                            
                            Application Specific Information:
                            abort() called
                            
                            Thread 0 Crashed:  Dispatch queue: com.apple.main-thread
                            0   libSystem.B.dylib             	0x989c4732 __kill + 10
                            1   libSystem.B.dylib             	0x989c4724 kill$UNIX2003 + 32
                            2   libSystem.B.dylib             	0x98a5798d raise + 26
                            3   libSystem.B.dylib             	0x98a6da44 abort + 93
                            4   net.thangorodrim.Angband      	0x000afad4 0x1000 + 715476
                            5   net.thangorodrim.Angband      	0x000a36b7 flag_on + 119
                            6   net.thangorodrim.Angband      	0x000a3710 flags_mask + 80
                            7   net.thangorodrim.Angband      	0x0003f852 make_attack_spell + 4370
                            8   net.thangorodrim.Angband      	0x000452c6 process_monsters + 774
                            9   net.thangorodrim.Angband      	0x0001d1c8 play_game + 3256
                            10  net.thangorodrim.Angband      	0x000aca0f AngbandGame + 255
                            11  com.apple.HIToolbox           	0x94ff3e29 DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 1567
                            12  com.apple.HIToolbox           	0x94ff30f0 SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 411
                            13  com.apple.HIToolbox           	0x94ff2f4f SendEventToEventTargetWithOptions + 58
                            14  com.apple.HIToolbox           	0x95027b2c ToolboxEventDispatcherHandler(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*) + 3006
                            15  com.apple.HIToolbox           	0x94ff427a DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 2672
                            16  com.apple.HIToolbox           	0x94ff30f0 SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 411
                            17  com.apple.HIToolbox           	0x95015981 SendEventToEventTarget + 52
                            18  com.apple.HIToolbox           	0x9519e81b ToolboxEventDispatcher + 86
                            19  com.apple.HIToolbox           	0x9519e953 RunApplicationEventLoop + 243
                            20  net.thangorodrim.Angband      	0x000aeb1d main + 2813
                            21  net.thangorodrim.Angband      	0x00001cb9 _start + 208
                            22  net.thangorodrim.Angband      	0x00001be8 start + 40
                            
                            Thread 1:  Dispatch queue: com.apple.libdispatch-manager
                            0   libSystem.B.dylib             	0x9898a0ea kevent + 10
                            1   libSystem.B.dylib             	0x9898a804 _dispatch_mgr_invoke + 215
                            2   libSystem.B.dylib             	0x98989cc3 _dispatch_queue_invoke + 163
                            3   libSystem.B.dylib             	0x98989a68 _dispatch_worker_thread2 + 234
                            4   libSystem.B.dylib             	0x989894f1 _pthread_wqthread + 390
                            5   libSystem.B.dylib             	0x98989336 start_wqthread + 30
                            
                            Thread 2:
                            0   libSystem.B.dylib             	0x98982856 select$DARWIN_EXTSN + 10
                            1   com.apple.CoreFoundation      	0x900bdddd __CFSocketManager + 1085
                            2   libSystem.B.dylib             	0x98990fbd _pthread_start + 345
                            3   libSystem.B.dylib             	0x98990e42 thread_start + 34
                            
                            Thread 0 crashed with X86 Thread State (32-bit):
                              eax: 0x00000000  ebx: 0x98a6d9f3  ecx: 0xbfffd55c  edx: 0x989c4732
                              edi: 0x00000018  esi: 0x00000040  ebp: 0xbfffd578  esp: 0xbfffd55c
                               ss: 0x0000001f  efl: 0x00000286  eip: 0x989c4732   cs: 0x00000007
                               ds: 0x0000001f   es: 0x0000001f   fs: 0x00000000   gs: 0x00000037
                              cr2: 0x000a7868

                            Comment

                            • Marble Dice
                              Swordsman
                              • Jun 2008
                              • 412

                              #15
                              Originally posted by HebrewToYou
                              This crash has been occurring fairly regularly...

                              Hope this is enough information...
                              Oh wow, I bet it has. This particular crash is fixed in r1958, thanks for the detailed report.

                              Comment

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