OS X Snow Leopard 1.09 REV B Crash after leveling (with crash dump)

Discussion in 'Bugs' started by Stupid Beard, Jan 8, 2012.

  1. Stupid Beard

    Stupid Beard Member

    Hey,

    I just got two levels back to back in a zoo followed by the game deciding I'd played enough for today so it viciously murdered itself. Looking through the crash dump and making a few guesses about your code, I don't think it really has anything to do with leveling.

    I've cut the crash report down quite a lot to remove useless information since it's a bit long in full. If you want the full dump let me know and I can post it or email it.

    Code:
    Process:        dredmor [4290]
    Path:            /Users/<me>/Library/Application Support/Steam/SteamApps/common/dungeons of dredmor/Dungeons of Dredmor.app/Contents/MacOS/dredmor
    Identifier:      com.gaslampgames.dredmor
    Version:        ??? (1.0)
    Code Type:      X86 (Native)
    Parent Process:  launchd [192]
     
    Date/Time:      2012-01-08 18:49:35.420 +0000
    OS Version:      Mac OS X 10.6.8 (10K549)
    Report Version:  6
     
    Exception Type:  EXC_CRASH (SIGABRT)
    Exception Codes: 0x0000000000000000, 0x0000000000000000
    Crashed Thread:  0  MainThrd  Dispatch queue: com.apple.main-thread
     
    Application Specific Information:
    abort() called
     
    Thread 0 Crashed:  MainThrd  Dispatch queue: com.apple.main-thread
    0  libSystem.B.dylib                0x92607c5a __kill + 10
    1  libSystem.B.dylib                0x92607c4c kill$UNIX2003 + 32
    2  libSystem.B.dylib                0x9269a5a5 raise + 26
    3  libSystem.B.dylib                0x926b06e4 abort + 93
    4  libstdc++.6.dylib                0x96814fda __gnu_cxx::__verbose_terminate_handler() + 433
    5  libstdc++.6.dylib                0x9681317a __cxxabiv1::__terminate(void (*)()) + 10
    6  libstdc++.6.dylib                0x968131ba __cxxabiv1::__unexpected(void (*)()) + 0
    7  libstdc++.6.dylib                0x968132b8 __gxx_exception_cleanup(_Unwind_Reason_Code, _Unwind_Exception*) + 0
    8  libstdc++.6.dylib                0x96813658 operator new(unsigned long) + 101
    9  libstdc++.6.dylib                0x96813703 operator new[](unsigned long) + 17
    10  com.gaslampgames.dredmor          0x0009d810 Sprite::LoadPNGSeries(char const*, int, int, int, int) + 32
    11  com.gaslampgames.dredmor          0x000aa1bb SpriteMgr_AutoLoadPNGSeries(char const*, char const*, int, int, int, int) + 795
    12  com.gaslampgames.dredmor          0x000733ad EffectAt(int, int, char const*, int, int, bool, int) + 141
    13  com.gaslampgames.dredmor          0x0003ff6b Hittable::HandleSpellMines() + 155
    14  com.gaslampgames.dredmor          0x000eb5a4 Monster::Update() + 52
    15  com.gaslampgames.dredmor          0x0001f93b GameTick() + 219
    16  com.gaslampgames.dredmor          0x0012fd98 ParsePlayerInput() + 6488
    17  com.gaslampgames.dredmor          0x000b294f Mainloop() + 63
    18  com.gaslampgames.dredmor          0x000b2adb PlayGameWithLoadFilename(std::string) + 107
    19  com.gaslampgames.dredmor          0x000b598c SDL_main + 4908
    20  com.gaslampgames.dredmor          0x001b997c -[SDLMain applicationDidFinishLaunching:] + 76
    21  com.apple.Foundation              0x96849db3 _nsnote_callback + 176
    22  com.apple.CoreFoundation          0x97033763 __CFXNotificationPost + 947
    23  com.apple.CoreFoundation          0x9703316a _CFXNotificationPostNotification + 186
    24  com.apple.Foundation              0x9683ec50 -[NSNotificationCenter postNotificationName:object:userInfo:] + 128
    25  com.apple.Foundation              0x9684c05d -[NSNotificationCenter postNotificationName:object:] + 56
    26  com.apple.AppKit                  0x903f3216 -[NSApplication _postDidFinishNotification] + 125
    27  com.apple.AppKit                  0x903f3126 -[NSApplication _sendFinishLaunchingNotification] + 74
    28  com.apple.AppKit                  0x9054a339 -[NSApplication(NSAppleEventHandling) _handleAEOpen:] + 274
    29  com.apple.AppKit                  0x90549f59 -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] + 101
    30  com.apple.Foundation              0x9687f1f8 -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:] + 511
    31  com.apple.Foundation              0x9687efbc _NSAppleEventManagerGenericHandler + 228
    32  com.apple.AE                      0x9527bf5c aeDispatchAppleEvent(AEDesc const*, AEDesc*, unsigned long, unsigned char*) + 166
    33  com.apple.AE                      0x9527be5b dispatchEventAndSendReply(AEDesc const*, AEDesc*) + 43
    34  com.apple.AE                      0x9527bd65 aeProcessAppleEvent + 197
    35  com.apple.HIToolbox              0x96b780f5 AEProcessAppleEvent + 50
    36  com.apple.AppKit                  0x903c37d2 _DPSNextEvent + 1420
    37  com.apple.AppKit                  0x903c2dd6 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 156
    38  com.apple.AppKit                  0x903851f3 -[NSApplication run] + 821
    39  com.gaslampgames.dredmor          0x001ba126 main + 1590
    40  com.gaslampgames.dredmor          0x00010b4d _start + 208
    41  com.gaslampgames.dredmor          0x00010a7c start + 40
     
    Thread 1:  Dispatch queue: com.apple.libdispatch-manager
    0  libSystem.B.dylib                0x925cd382 kevent + 10
    1  libSystem.B.dylib                0x925cda9c _dispatch_mgr_invoke + 215
    2  libSystem.B.dylib                0x925ccf59 _dispatch_queue_invoke + 163
    3  libSystem.B.dylib                0x925cccfe _dispatch_worker_thread2 + 240
    4  libSystem.B.dylib                0x925cc781 _pthread_wqthread + 390
    5  libSystem.B.dylib                0x925cc5c6 start_wqthread + 30
     
    Thread 2:  MainThrd
    0  libSystem.B.dylib                0x925cd382 kevent + 10
    1  steamclient.dylib                0x15a53472 OSXHelpers::CIOPollingHelper::RealRun() + 244
    2  libtier0_s.dylib                  0x01ab4433 CatchAndWriteMiniDump_Impl(CatchAndWriteContext_t&) + 1992
    3  libtier0_s.dylib                  0x01ab475c CatchAndWriteMiniDumpForVoidPtrFn + 78
    4  steamclient.dylib                0x15a530a9 OSXHelpers::CIOPollingHelper::Run() + 41
    5  libtier0_s.dylib                  0x01ab7b27 SteamThreadTools::CThread::ThreadProc(void*) + 309
    6  libSystem.B.dylib                0x925d4259 _pthread_start + 345
    7  libSystem.B.dylib                0x925d40de thread_start + 34
     
    Thread 3:
    0  com.apple.framework.IOKit        0x97350a33 iokit_user_client_trap + 7
    1  com.apple.audio.CoreAudio        0x948b775a IOA_HWDevice::WriteOutputData(unsigned long, unsigned long, unsigned long, unsigned long long) + 108
    2  com.apple.audio.CoreAudio        0x948b7576 IOA_SingleDevice::WriteOutputData(AudioTimeStamp const&, unsigned long) + 422
    3  com.apple.audio.CoreAudio        0x948b6e59 IOA_Device::CallIOProcs(AudioTimeStamp const&, AudioTimeStamp const&, AudioTimeStamp const&) + 573
    4  com.apple.audio.CoreAudio        0x948b6b7e HP_IOThread::PerformIO(AudioTimeStamp const&, double) + 620
    5  com.apple.audio.CoreAudio        0x948b3f40 HP_IOThread::WorkLoop() + 2506
    6  com.apple.audio.CoreAudio        0x948b3571 HP_IOThread::ThreadEntry(HP_IOThread*) + 17
    7  com.apple.audio.CoreAudio        0x948b3488 CAPThread::Entry(CAPThread*) + 140
    8  libSystem.B.dylib                0x925d4259 _pthread_start + 345
    9  libSystem.B.dylib                0x925d40de thread_start + 34
     
    Thread 0 crashed with X86 Thread State (32-bit):
      eax: 0x00000000  ebx: 0x926b0693  ecx: 0xbfffdd5c  edx: 0x92607c5a
      edi: 0xa0292b30  esi: 0x96817e2f  ebp: 0xbfffdd78  esp: 0xbfffdd5c
      ss: 0x00000023  efl: 0x00200286  eip: 0x92607c5a  cs: 0x0000000b
      ds: 0x00000023  es: 0x00000023  fs: 0x00000000  gs: 0x0000000f
      cr2: 0x9681015d