Mac OS X crash end of level 2

Technical support for the Linux and Mac platforms for Shadowgrounds and Shadowgrounds Survivor.
eoryl
Posts: 3
Joined: Sun Jun 12, 2011 3:26 pm

Mac OS X crash end of level 2

Postby eoryl » Sun Jun 12, 2011 3:39 pm

Hi,

I had several issues with the steam version on Mac OS X of the game (Survivor). Latest instance is a crash to desktop after killing the boss (I think it was) at the end of level 2: a big alien in the middle of a lot of red barrels. Here is a part of the crash report. I run an iMac on sow leopard up to date Model "iMac11,2".

Process: survivor [2596]
Path: /Users/ben/Library/Application Support/Steam/SteamApps/common/shadowgrounds survivor/survivor.app/Contents/Resources/survivor.app/Contents/MacOS/survivor
Identifier: com.Frozenbyte.Survivor
Version: 1.0 (1)
Code Type: X86 (Native)
Parent Process: launchd [593]

Date/Time: 2011-06-12 18:53:54.688 +0800
OS Version: Mac OS X 10.6.7 (10J869)
Report Version: 6

Interval Since Last Report: 193714 sec
Crashes Since Last Report: 1
Per-App Interval Since Last Report: 2107 sec
Per-App Crashes Since Last Report: 1
Anonymous UUID: 7D5B1603-285A-4EC1-B6CF-AF2136DA1609

Exception Type: EXC_CRASH (SIGBUS)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Crashed Thread: 1 Dispatch queue: com.apple.libdispatch-manager

Thread 0: Dispatch queue: com.apple.main-thread
0 com.Frozenbyte.Survivor 0x004addb4 NPhaseCore::~NPhaseCore() + 372
1 com.Frozenbyte.Survivor 0x004e3c49 Scene::~Scene() + 2505
2 com.Frozenbyte.Survivor 0x006491b7 NpScene::~NpScene() + 1639
3 com.Frozenbyte.Survivor 0x0062cf3c NpPhysicsSDK::releaseScene(NxScene&) + 428
4 com.Frozenbyte.Survivor 0x0017d2f8 frozenbyte::physics::PhysicsLib::Data::~Data() + 132
5 com.Frozenbyte.Survivor 0x0017d381 void boost::checked_delete<frozenbyte::physics::PhysicsLib::Data>(frozenbyte::physics::PhysicsLib::Data*) + 22
6 com.Frozenbyte.Survivor 0x001152a7 game::GamePhysicsImpl::deletePhysics() + 149
7 com.Frozenbyte.Survivor 0x000a4218 game::Game::endCombat() + 216
8 com.Frozenbyte.Survivor 0x000a72bf game::Game::run() + 5279
9 com.Frozenbyte.Survivor 0x0014fb99 SDL_main + 8673
10 com.Frozenbyte.Survivor 0x002bbb80 -[SDLMain applicationDidFinishLaunching:] + 66
11 com.apple.Foundation 0x90c073bf _nsnote_callback + 176
12 com.apple.CoreFoundation 0x930df793 __CFXNotificationPost + 947
13 com.apple.CoreFoundation 0x930df19a _CFXNotificationPostNotification + 186
14 com.apple.Foundation 0x90bfc25c -[NSNotificationCenter postNotificationName:object:userInfo:] + 128
15 com.apple.Foundation 0x90c09669 -[NSNotificationCenter postNotificationName:object:] + 56
16 com.apple.AppKit 0x96967422 -[NSApplication _postDidFinishNotification] + 125
17 com.apple.AppKit 0x96967332 -[NSApplication _sendFinishLaunchingNotification] + 74
18 com.apple.AppKit 0x96abe4ed -[NSApplication(NSAppleEventHandling) _handleAEOpen:] + 274
19 com.apple.AppKit 0x96abe10d -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] + 101
20 com.apple.Foundation 0x90c3c6c8 -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:] + 511
21 com.apple.Foundation 0x90c3c48c _NSAppleEventManagerGenericHandler + 228
22 com.apple.AE 0x91bbcf58 aeDispatchAppleEvent(AEDesc const*, AEDesc*, unsigned long, unsigned char*) + 166
23 com.apple.AE 0x91bbce57 dispatchEventAndSendReply(AEDesc const*, AEDesc*) + 43
24 com.apple.AE 0x91bbcd61 aeProcessAppleEvent + 197
25 com.apple.HIToolbox 0x9924c197 AEProcessAppleEvent + 50
26 com.apple.AppKit 0x969379ca _DPSNextEvent + 1420
27 com.apple.AppKit 0x96936fce -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 156
28 com.apple.AppKit 0x968f9247 -[NSApplication run] + 821
29 com.Frozenbyte.Survivor 0x002bc2f3 main + 1576
30 com.Frozenbyte.Survivor 0x00009f85 start + 53

Thread 1 Crashed: Dispatch queue: com.apple.libdispatch-manager
0 libSystem.B.dylib 0x92ef8922 kevent + 10
1 libSystem.B.dylib 0x92ef903c _dispatch_mgr_invoke + 215
2 libSystem.B.dylib 0x92ef84f9 _dispatch_queue_invoke + 163
3 libSystem.B.dylib 0x92ef829e _dispatch_worker_thread2 + 240
4 libSystem.B.dylib 0x92ef7d21 _pthread_wqthread + 390
5 libSystem.B.dylib 0x92ef7b66 start_wqthread + 30

Thread 2:
0 libSystem.B.dylib 0x92ed20fa semaphore_timedwait_signal_trap + 10
1 libSystem.B.dylib 0x92effc85 _pthread_cond_wait + 1066
2 libSystem.B.dylib 0x92f2eaa8 pthread_cond_timedwait_relative_np + 47
3 com.apple.audio.CoreAudio 0x967883c7 CAGuard::WaitFor(unsigned long long) + 219
4 com.apple.audio.CoreAudio 0x9678b3f9 CAGuard::WaitUntil(unsigned long long) + 289
5 com.apple.audio.CoreAudio 0x96788cf6 HP_IOThread::WorkLoop() + 1892
6 com.apple.audio.CoreAudio 0x9678858d HP_IOThread::ThreadEntry(HP_IOThread*) + 17
7 com.apple.audio.CoreAudio 0x967884a4 CAPThread::Entry(CAPThread*) + 140
8 libSystem.B.dylib 0x92eff7fd _pthread_start + 345
9 libSystem.B.dylib 0x92eff682 thread_start + 34

Thread 3:
0 libSystem.B.dylib 0x92f00046 __semwait_signal + 10
1 libSystem.B.dylib 0x92f2bec5 nanosleep$UNIX2003 + 188
2 libSystem.B.dylib 0x92f2be03 usleep$UNIX2003 + 61
3 com.Frozenbyte.Survivor 0x002bf484 sfx::SoundLib::Data::streamThreadFunction() + 76
4 com.Frozenbyte.Survivor 0x00679b1a thread_proxy + 138
5 libSystem.B.dylib 0x92eff7fd _pthread_start + 345
6 libSystem.B.dylib 0x92eff682 thread_start + 34

Thread 4:
0 libSystem.B.dylib 0x92ed20e2 semaphore_wait_signal_trap + 10
1 libSystem.B.dylib 0x92effc9c _pthread_cond_wait + 1089
2 libSystem.B.dylib 0x92f4845f pthread_cond_wait + 48
3 com.Frozenbyte.Survivor 0x006777dc NxSync::wait(unsigned int) + 172
4 com.Frozenbyte.Survivor 0x0066e439 AsyncSceneThread::execute() + 57
5 com.Frozenbyte.Survivor 0x00677961 NxThreadStart(void*) + 17
6 libSystem.B.dylib 0x92eff7fd _pthread_start + 345
7 libSystem.B.dylib 0x92eff682 thread_start + 34

Thread 1 crashed with X86 Thread State (32-bit):
eax: 0x00000004 ebx: 0x92ef8f76 ecx: 0xb0080d5c edx: 0x92ef8922
edi: 0xa02d91ec esi: 0xb0080ed8 ebp: 0xb0080ef8 esp: 0xb0080d5c
ss: 0x0000001f efl: 0x00000247 eip: 0x92ef8922 cs: 0x00000007
ds: 0x0000001f es: 0x0000001f fs: 0x0000001f gs: 0x00000037
cr2: 0x44514000

I had other issues before at level change as well. Previous problem was that the app was stuck on an "unloading ..." spalshscreen...

Hope you can help me get rid of the problems. I love the atmosphere of the game but it just crashes too much to be enjoyable at the moment.

User avatar
fb_joel
Site Admin
Posts: 2482
Joined: Fri Feb 18, 2005 2:14 pm
Location: Finland

Re: Mac OS X crash end of level 2

Postby fb_joel » Sun Jun 12, 2011 6:48 pm

I'll email you some thoughts.
// Joel, Frozenbyte team

eoryl
Posts: 3
Joined: Sun Jun 12, 2011 3:26 pm

Re: Mac OS X crash end of level 2

Postby eoryl » Sun Jun 19, 2011 9:02 am

Hi,

I managed to get past the level 2 crash, but I still have frequent occurences between levels further in the game (may be a level out of two) of the application beging stuck on "Unloading data..." screen. I have to force application exit and come back.

User avatar
fb_joel
Site Admin
Posts: 2482
Joined: Fri Feb 18, 2005 2:14 pm
Location: Finland

Re: Mac OS X crash end of level 2

Postby fb_joel » Sat Jul 09, 2011 9:24 pm

Ah. :( Sorry to hear... Do your savegames remain "ok" though, or do you have to replay levels? If you have to replay then it's the same issue we have on Windows too, it's very rare but there isn't a proper fix. (Actually I think the Mac versions probably have a failsafe and they create savegames earlier, so hopefully you're not losing any progress.)

Currently there is no fix, we've tried to figure it out many times but it's just too elusive for us to catch. :(
// Joel, Frozenbyte team

1000dinge
Posts: 1
Joined: Fri Jul 15, 2011 10:29 pm

Re: Mac OS X crash end of level 2

Postby 1000dinge » Fri Jul 15, 2011 10:40 pm

Same here at every end of a level ("Unloading Data...").PLEASE fix this issue. MacBook Pro 2011, latest updates installed.

Best regards.

eoryl
Posts: 3
Joined: Sun Jun 12, 2011 3:26 pm

Re: Mac OS X crash end of level 2

Postby eoryl » Wed Aug 03, 2011 5:42 pm

fb_joel wrote:Ah. :( Sorry to hear... Do your savegames remain "ok" though, or do you have to replay levels?


Saves were ok, it basically crashed in a similar fashion every second level or so until the end, but I managed to get to the end of the game by restarting the app each time being a the next level. Hopefully I will not have the same thing with the Shadowground :)

User avatar
fb_joel
Site Admin
Posts: 2482
Joined: Fri Feb 18, 2005 2:14 pm
Location: Finland

Re: Mac OS X crash end of level 2

Postby fb_joel » Sat Aug 06, 2011 4:01 am

Sort of good to hear... I do fear a little bit that Shadowgrounds may encounter some issues too - and if so, they may be worse. But it's always a question of luck, so hoping for the best...

I should remind everybody that if you are unhappy with the game(s) and their performance/issues, please contact Humble Bundle for a refund if you have the Humble Frozenbyte Bundle, and us directly for other versions. It is unlikely that we would be able to fix these Mac issues for the Shadowgrounds games, unfortunately. :( (For Trine and any future games it's a totally different story, but the SG games are quite old and different/difficult in many technical ways.)
// Joel, Frozenbyte team

alt_tuomas
Posts: 57
Joined: Tue Apr 05, 2011 11:30 am

Re: Mac OS X crash end of level 2

Postby alt_tuomas » Tue Aug 09, 2011 12:45 pm

The biggest problem is that the crash occurs somewhere deep inside PhysX and not in our code. There was one flaw in the code that I fixed and it removed probably over 95 percent of these crashes. Unfortunately they still occur on some setups but, as said, there doesn't seem to be anything obviously wrong in our code closest to the crash point. Not having been involved in the original Windows version I can't claim having a deep understanding of the physics code anyway, but now that the source has been released anyone interested can have a look at it. The stack trace above should give enough information on where to look.
Tuomas Närväinen
Alternative Games


Return to “Technical support for Linux & Mac”

Who is online

Users browsing this forum: No registered users and 2 guests