OS X Lion Crash when loading save file (save and callstack included)

Discussion in 'Bugs' started by Colin Day, Dec 25, 2011.

  1. Colin Day

    Colin Day Member

    v 1.0.9 - Crash every time when loading save file on level 2 created in same 1.0.9 program. Attached is the save file in a .zip. Also included in the zip is the OSX Lion callstack. Seems to happen to many other save files and many other uers in the forums.

    0 com.gaslampgames.dredmor 0x0006edaf Level::Load(__sFILE*) + 1231
    1 com.gaslampgames.dredmor 0x00085305 LoadGame(char const*) + 949
    2 com.gaslampgames.dredmor 0x000b2dea PlayGameWithLoadFilename(std::string) + 74
    3 com.gaslampgames.dredmor 0x000b5c9f SDL_main + 4879
     

    Attached Files:

  2. drongobot

    drongobot Member

    I get the same error with almost exactly the same callstack. If it helps, I've attached mine too.

    I hope this bug gets fixed soon, I love this game but I have to keep starting again because of this :(
     

    Attached Files:

  3. drongobot

    drongobot Member

    Forgot to mention, I'm also using Mac OSX Lion. It's happened to several of my characters, both before and after installing the DLC.
     
  4. corrodedlotus

    corrodedlotus Member

    This happens to me too :( Seems like it happens on later floors. Before, all I had to do was to load the autosave but now even the autosave crashes for me as well :( This is happening in the DLC btw

    Tried to reproduce it:
    1. Create new game(will the skill choices matter?)
    2. Walk around, level up once or twice
    3. Go to level 2(even if level 1 isn't fully explored - also happens if fully explored)
    4. Pwn some diggles
    5. Save
    6. Quit game completely
    7. Start it up again
    8. Load saved game. Breaks

    My log report:

    Process: dredmor [7545]
    Path: /Users/USER/Library/Application Support/Steam/*/Dungeons of Dredmor.app/Contents/MacOS/dredmor
    Identifier: com.gaslampgames.dredmor
    Version: ??? (1.0)
    Code Type: X86 (Native)
    Parent Process: launchd [348]

    Date/Time: 2012-01-04 09:50:50.966 +0800
    OS Version: Mac OS X 10.7.2 (11C74)
    Report Version: 9

    Interval Since Last Report: 152856 sec
    Crashes Since Last Report: 9
    Per-App Interval Since Last Report: 41236 sec
    Per-App Crashes Since Last Report: 6
    Anonymous UUID: 6CAB6F47-0F7D-4E24-8F8C-2881F7648C72

    Crashed Thread: 1 Dispatch queue: com.apple.libdispatch-manager

    Exception Type: EXC_CRASH (SIGBUS)
    Exception Codes: 0x0000000000000000, 0x0000000000000000

    Application Specific Information:
    objc[7545]: garbage collection is OFF

    Thread 0:: MainThrd Dispatch queue: com.apple.main-thread
    0 com.gaslampgames.dredmor 0x0006edaf Level::Load(__sFILE*) + 1231
    1 com.gaslampgames.dredmor 0x00085305 LoadGame(char const*) + 949
    2 com.gaslampgames.dredmor 0x000b2dea PlayGameWithLoadFilename(std::string) + 74
    3 com.gaslampgames.dredmor 0x000b5c9f SDL_main + 4879
    4 com.gaslampgames.dredmor 0x001b9b3c -[SDLMain applicationDidFinishLaunching:] + 76
    5 com.apple.Foundation 0x93d30f49 __-[NSNotificationCenter addObserver:selector:name:eek:bject:]_block_invoke_1 + 49
    6 com.apple.CoreFoundation 0x95134ff3 ___CFXNotificationPost_block_invoke_1 + 275
    7 com.apple.CoreFoundation 0x950ffd78 _CFXNotificationPost + 2776
    8 com.apple.Foundation 0x93d1c136 -[NSNotificationCenter postNotificationName:eek:bject:userInfo:] + 92
    9 com.apple.AppKit 0x9abc3d05 -[NSApplication _postDidFinishNotification] + 259
    10 com.apple.AppKit 0x9abc39f8 -[NSApplication _sendFinishLaunchingNotification] + 84
    11 com.apple.AppKit 0x9abc2518 -[NSApplication(NSAppleEventHandling) _handleAEOpenEvent:] + 277
    12 com.apple.AppKit 0x9abc222e -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] + 377
    13 com.apple.CoreFoundation 0x9514d548 -[NSObject performSelector:withObject:withObject:] + 72
    14 com.apple.Foundation 0x93d5621a __-[NSAppleEventManager setEventHandler:andSelector:forEventClass:andEventID:]_block_invoke_1 + 121
    15 com.apple.Foundation 0x93d54fcd -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:] + 476
    16 com.apple.Foundation 0x93d54da1 _NSAppleEventManagerGenericHandler + 234
    17 com.apple.AE 0x9b6e8045 aeDispatchAppleEvent(AEDesc const*, AEDesc*, unsigned long, unsigned char*) + 202
    18 com.apple.AE 0x9b6d1b67 _ZL25dispatchEventAndSendReplyPK6AEDescPS_ + 43
    19 com.apple.AE 0x9b6d1a54 aeProcessAppleEvent + 253
    20 com.apple.HIToolbox 0x94b96fea AEProcessAppleEvent + 103
    21 com.apple.AppKit 0x9abbf2af _DPSNextEvent + 1301
    22 com.apple.AppKit 0x9abbe8ab -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 113
    23 com.apple.AppKit 0x9abbac22 -[NSApplication run] + 911
    24 com.gaslampgames.dredmor 0x001ba2e6 main + 1590
    25 com.gaslampgames.dredmor 0x00010ccd _start + 208
    26 com.gaslampgames.dredmor 0x00010bfc start + 40

    Thread 1 Crashed:: Dispatch queue: com.apple.libdispatch-manager
    0 libsystem_kernel.dylib 0x9140090a kevent + 10
    1 libdispatch.dylib 0x9485dc58 _dispatch_mgr_invoke + 969
    2 libdispatch.dylib 0x9485c6a7 _dispatch_mgr_thread + 53

    Thread 2:: MainThrd
    0 libsystem_kernel.dylib 0x9140090a kevent + 10
    1 steamclient.dylib 0x05e5b58e OSXHelpers::CIOPollingHelper::RealRun() + 244
    2 libtier0_s.dylib 0x01ab2433 CatchAndWriteMiniDump_Impl(CatchAndWriteContext_t&) + 1992
    3 libtier0_s.dylib 0x01ab275c CatchAndWriteMiniDumpForVoidPtrFn + 78
    4 steamclient.dylib 0x05e5b1c5 OSXHelpers::CIOPollingHelper::Run() + 41
    5 libtier0_s.dylib 0x01ab5b27 SteamThreadTools::CThread::ThreadProc(void*) + 309
    6 libsystem_c.dylib 0x953f8ed9 _pthread_start + 335
    7 libsystem_c.dylib 0x953fc6de thread_start + 34

    Thread 3:
    0 libsystem_kernel.dylib 0x9140002e __workq_kernreturn + 10
    1 libsystem_c.dylib 0x953faccf _pthread_wqthread + 773
    2 libsystem_c.dylib 0x953fc6fe start_wqthread + 30

    Thread 4:
    0 libsystem_kernel.dylib 0x9140002e __workq_kernreturn + 10
    1 libsystem_c.dylib 0x953faccf _pthread_wqthread + 773
    2 libsystem_c.dylib 0x953fc6fe start_wqthread + 30

    Thread 1 crashed with X86 Thread State (32-bit):
    eax: 0x00000004 ebx: 0xac96fc40 ecx: 0xb00805dc edx: 0x9140090a
    edi: 0xb0080720 esi: 0x9485d8a0 ebp: 0xb0080738 esp: 0xb00805dc
    ss: 0x00000023 efl: 0x00000247 eip: 0x9140090a cs: 0x0000000b
    ds: 0x00000023 es: 0x00000023 fs: 0x00000023 gs: 0x0000000f
    cr2: 0x13be4dfc
    Logical CPU: 0
     
  5. Same problem as the above two users. I only seem to have the problem at Dungeon level 3 or lower. Autosave used to work, but now it crashes as well. I am using the latest version of Mac OS X: Lion, had no problems with this game all through December. I got my first crash on Dec. 28, but the autosave load worked so I figured it was a SteamCloud issue. Once January hit, though, all my saves would not load. At the time, I was playing the basic game. Yesterday, I attempted to uninstall and reinstall the game, with no success. Afterwards, I downloaded the DLC from Steam. Still had the same problem. Please fix this soon, I love this game and I finally have a character that can survive monster zoos (4 and counting)! It sounds like this bug is cross-platform, I noticed a Windows 7 user with the same problem elsewhere.
     
  6. New version just downloaded, seems to work! At least, the loading save file bug is fixed. Yay!
     
  7. nebre8

    nebre8 Member

    still waiting for a fix to the fix that restored the crashing saved games bug that the hotfix fixed :(
    OSX Lion running 9.01 rev B via Steam
     

    Attached Files:

  8. nebre8

    nebre8 Member

    feel like a voice in the wilderness here - still can't load saved games without crashing and see no community traffic from other OSX Lion users, nor any response from developers - if there is another thread or forum that addresses this, please direct me!
     
  9. Daynab

    Daynab Community Moderator Staff Member

    What's really strange is the bug with savegames crashing after floor 2 was affecting everybody, but then got fixed, somehow it didn't work for everybody. Are you all on 1.09RevB? Either way I reported this to gaslamp, they're aware of it.
     
  10. Nicholas

    Nicholas Technology Director Staff Member

    Yeah, we're sort of puzzling over this one. Doesn't mean we've forgotten about you folks.
     
  11. nebre8

    nebre8 Member

    ... good to know (as another week goes by)