FORUM ARCHIVED

OS X Snow Leopard 1.0.11 / YHTNTEP does not load, Crashes to Desktop

Discussion in 'Bugs' started by r_b_bergstrom, Jun 5, 2012.

  1. r_b_bergstrom

    r_b_bergstrom Will Mod for Digglebucks

    Nicholas, I feel your pain... and now you can feel mine. :confused:

    Not sure if it's some late change to 1.0.11, or YHTNTEP itself, or something gummy with Steam... but I cannot for the life of me get the new updated version to get past the launcher. Regardless of whether or not I choose any mods, once I click the "start" button it fades to black and then crashes to desk top before ever giving me the option to name the expansions.

    Here's the apple bug report. I don't have any debug text from Terminal because I'm trying to start it through Steam.
    Code:
    Process:        dredmor [1903]
    Path:            /Users/r_b_bergstrom/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 [107]
     
    Date/Time:      2012-06-05 15:45:38.319 -0700
    OS Version:      Mac OS X 10.6.8 (10K549)
    Report Version:  6
     
    Interval Since Last Report:          193887 sec
    Crashes Since Last Report:          3
    Per-App Interval Since Last Report:  146319 sec
    Per-App Crashes Since Last Report:  3
    Anonymous UUID:                      C9B7374B-BEC9-4B10-9423-D34EB27181F0
     
    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                0x912a7c5a __kill + 10
    1  libSystem.B.dylib                0x912a7c4c kill$UNIX2003 + 32
    2  libSystem.B.dylib                0x9133a5a5 raise + 26
    3  libSystem.B.dylib                0x913506e4 abort + 93
    4  libstdc++.6.dylib                0x96d57fda __gnu_cxx::__verbose_terminate_handler() + 433
    5  libstdc++.6.dylib                0x96d5617a __cxxabiv1::__terminate(void (*)()) + 10
    6  libstdc++.6.dylib                0x96d561ba __cxxabiv1::__unexpected(void (*)()) + 0
    7  libstdc++.6.dylib                0x96d562b8 __gxx_exception_cleanup(_Unwind_Reason_Code, _Unwind_Exception*) + 0
    8  libstdc++.6.dylib                0x96d56658 operator new(unsigned long) + 101
    9  libstdc++.6.dylib                0x96d56703 operator new[](unsigned long) + 17
    10  com.gaslampgames.dredmor          0x0019644a CopyFromSteamCloud(char const*, char const*, unsigned int*) + 298
    11  com.gaslampgames.dredmor          0x00197b54 InitSteamCloud() + 2516
    12  com.gaslampgames.dredmor          0x000c6abb SDL_main + 4027
    13  com.gaslampgames.dredmor          0x001f47ac -[SDLMain applicationDidFinishLaunching:] + 76
    14  com.apple.Foundation              0x980e5db3 _nsnote_callback + 176
    15  com.apple.CoreFoundation          0x91f09763 __CFXNotificationPost + 947
    16  com.apple.CoreFoundation          0x91f0916a _CFXNotificationPostNotification + 186
    17  com.apple.Foundation              0x980dac50 -[NSNotificationCenter postNotificationName:object:userInfo:] + 128
    18  com.apple.Foundation              0x980e805d -[NSNotificationCenter postNotificationName:object:] + 56
    19  com.apple.AppKit                  0x993a2216 -[NSApplication _postDidFinishNotification] + 125
    20  com.apple.AppKit                  0x993a2126 -[NSApplication _sendFinishLaunchingNotification] + 74
    21  com.apple.AppKit                  0x994f9339 -[NSApplication(NSAppleEventHandling) _handleAEOpen:] + 274
    22  com.apple.AppKit                  0x994f8f59 -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] + 101
    23  com.apple.Foundation              0x9811b1f8 -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:] + 511
    24  com.apple.Foundation              0x9811afbc _NSAppleEventManagerGenericHandler + 228
    25  com.apple.AE                      0x908a3f5c aeDispatchAppleEvent(AEDesc const*, AEDesc*, unsigned long, unsigned char*) + 166
    26  com.apple.AE                      0x908a3e5b dispatchEventAndSendReply(AEDesc const*, AEDesc*) + 43
    27  com.apple.AE                      0x908a3d65 aeProcessAppleEvent + 197
    28  com.apple.HIToolbox              0x988d1197 AEProcessAppleEvent + 50
    29  com.apple.AppKit                  0x993727d2 _DPSNextEvent + 1420
    30  com.apple.AppKit                  0x99371dd6 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 156
    31  com.apple.AppKit                  0x993341f3 -[NSApplication run] + 821
    32  com.gaslampgames.dredmor          0x001f4f56 main + 1590
    33  com.gaslampgames.dredmor          0x00011619 start + 53
     
    Thread 1:  Dispatch queue: com.apple.libdispatch-manager
    0  libSystem.B.dylib                0x9126d382 kevent + 10
    1  libSystem.B.dylib                0x9126da9c _dispatch_mgr_invoke + 215
    2  libSystem.B.dylib                0x9126cf59 _dispatch_queue_invoke + 163
    3  libSystem.B.dylib                0x9126ccfe _dispatch_worker_thread2 + 240
    4  libSystem.B.dylib                0x9126c781 _pthread_wqthread + 390
    5  libSystem.B.dylib                0x9126c5c6 start_wqthread + 30
     
    Thread 2:  IOPollingHelperThread
    0  libSystem.B.dylib                0x9126d382 kevent + 10
    1  steamclient.dylib                0x13791cfc OSXHelpers::CIOPollingHelper::RealRun() + 254
    2  libtier0_s.dylib                  0x12927ddd CatchAndWriteContext_t::Invoke() + 159
    3  libtier0_s.dylib                  0x12927981 CatchAndWriteMiniDumpExForVoidPtrFn + 86
    4  libtier0_s.dylib                  0x129279ab CatchAndWriteMiniDumpForVoidPtrFn + 37
    5  steamclient.dylib                0x13791bed OSXHelpers::CIOPollingHelper::Run() + 41
    6  libtier0_s.dylib                  0x1292b0bc SteamThreadTools::CThread::ThreadExceptionWrapper(void*) + 16
    7  libtier0_s.dylib                  0x12927ddd CatchAndWriteContext_t::Invoke() + 159
    8  libtier0_s.dylib                  0x12927981 CatchAndWriteMiniDumpExForVoidPtrFn + 86
    9  libtier0_s.dylib                  0x129279ab CatchAndWriteMiniDumpForVoidPtrFn + 37
    10  libtier0_s.dylib                  0x1292b034 SteamThreadTools::CThread::ThreadProc(void*) + 204
    11  libSystem.B.dylib                0x91274259 _pthread_start + 345
    12  libSystem.B.dylib                0x912740de thread_start + 34
     
    Thread 3:
    0  libSystem.B.dylib                0x91246b5a semaphore_timedwait_signal_trap + 10
    1  libSystem.B.dylib                0x912746e1 _pthread_cond_wait + 1066
    2  libSystem.B.dylib                0x912a35a8 pthread_cond_timedwait_relative_np + 47
    3  com.apple.audio.CoreAudio        0x9a7823ab CAGuard::WaitFor(unsigned long long) + 219
    4  com.apple.audio.CoreAudio        0x9a7853dd CAGuard::WaitUntil(unsigned long long) + 289
    5  com.apple.audio.CoreAudio        0x9a782cda HP_IOThread::WorkLoop() + 1892
    6  com.apple.audio.CoreAudio        0x9a782571 HP_IOThread::ThreadEntry(HP_IOThread*) + 17
    7  com.apple.audio.CoreAudio        0x9a782488 CAPThread::Entry(CAPThread*) + 140
    8  libSystem.B.dylib                0x91274259 _pthread_start + 345
    9  libSystem.B.dylib                0x912740de thread_start + 34
     
    Thread 4:
    0  libSystem.B.dylib                0x91274aa2 __semwait_signal + 10
    1  libSystem.B.dylib                0x912a09c5 nanosleep$UNIX2003 + 188
    2  SDL                              0x003d4a06 SDL_Delay + 84
    3  com.gaslampgames.dredmor          0x001213db OpenAL_PumpThread(void*) + 43
    4  SDL                              0x003c84de SDL_Linked_Version + 265
    5  SDL                              0x003d4878 SDL_SemPost + 229
    6  libSystem.B.dylib                0x91274259 _pthread_start + 345
    7  libSystem.B.dylib                0x912740de thread_start + 34
     
    Thread 0 crashed with X86 Thread State (32-bit):
      eax: 0x00000000  ebx: 0x91350693  ecx: 0xbfffd8bc  edx: 0x912a7c5a
      edi: 0xa0157b30  esi: 0x96d5ae2f  ebp: 0xbfffd8d8  esp: 0xbfffd8bc
      ss: 0x0000001f  efl: 0x00200286  eip: 0x912a7c5a  cs: 0x00000007
      ds: 0x0000001f  es: 0x0000001f  fs: 0x00000000  gs: 0x00000037
      cr2: 0x0024f000
     
     
    
    I'll see if I can get a work-around via Terminal to indicate whether it's a Steam problem or not, and hopefully get you some of your own crash data.
     
  2. Nicholas

    Nicholas Technology Director Staff Member

    That's a Steam problem. Are you running from within Steam?
     
  3. r_b_bergstrom

    r_b_bergstrom Will Mod for Digglebucks

    Yep, as indicated in the original post, I'm running it in Steam.

    EDIT: Steam itself is not crashing. My Steam window stays open just fine. Only Dredmor is crashing.
    EDIT #2: Sent you a private message with more details plus idle speculation.
     
  4. Nicholas

    Nicholas Technology Director Staff Member

    Right. I just checked it on the Mac Mini in the office and the packaged version still runs fine; which suggests that the problem is that you can't connect to Steam Cloud and this is causing Bad Things. So obviously we need to do better about error handling in this case; however, you might be able to get away with it by poking your net connection (or otherwise doing some thing else to make sure either Steam can talk to the cloud, or that Steam and Dredmor are talking on OS X.) I'll test this on my Macbook Pro once I get home as well.

    In the mean time, I've sent this to Ryan.
     
  5. r_b_bergstrom

    r_b_bergstrom Will Mod for Digglebucks

    My internet connection had been a little buggy earlier today, but Steam is currently showing me stuff like my friends online, community pages, etc.

    Please also read the message in the private thread.
     
  6. Only reason I could see this crashing like this is if Steam Cloud gave us a corrupted file, or we wrote corrupted data to the Cloud at some point...since Steam Cloud doesn't actually talk to the network in-game (the files are sitting in a magic folder that Steam downloaded them to...in-game, talking to the Steam Cloud interface just reads files from disk), I'm wondering if these files got screwed up and Steam doesn't notice.

    If you won't miss them, you can run the game with the -nukesteamcloud command line option, but you'll lose all your save games, high scores, etc...but it'll probably stop the crashing. I'm not sure if there's a way to tell Steam to verify your Cloud files, but that would be worth exploring, too.
     
  7. r_b_bergstrom

    r_b_bergstrom Will Mod for Digglebucks

    My internet connection seems fine. Steam can reach the net in terms of letting me check community pages, store, workshop, etc.

    Rebooting steam and then my computer and then steam again didn't fix it.

    "Validate Game Cache" didn't change anything.

    I can't run this version of Dredmor outside of Steam, either. My backups of previous versions run fine outside of Steam, but the current one doesn't. Are we sure this is a Steam problem?

    I'm about 50% through a fresh download now, to see if something got goofed up in ways Steam isn't seeing.
     
  8. r_b_bergstrom

    r_b_bergstrom Will Mod for Digglebucks

    Deleting local content didn't solve it. Full reinstall didn't solve it.

    However, full reinstall _followed_ by -nukesteamcloud does seem to have solved it. So, yep, it was a Steam issue.

    I can even launch it from outside of Steam now. Weird.

    Thank you, Ryan and Nicholas!
     
  9. r_b_bergstrom

    r_b_bergstrom Will Mod for Digglebucks

    I just now noticed the processor requirements for the Mac version. No wonder I was having trouble.:) I'll break out Tobin's Spirit Guide the next time it starts acting up. You guys are the greatest.