Portal 2 > General Discussions > Topic Details
BorkBorkBork Feb 20, 2013 @ 9:29pm
Portal 2 for Mac crashes each time it launches a community level or the main game
The main game engine crashes at launch on my Mac (OS X 10.7 lion).

Here's two sample crash dumps when portal2_osx dies:


Process: portal2_osx [11874]
Path: /Users/USER/Library/Application Support/Steam/*/portal2_osx
Identifier: portal2_osx
Version: ??? (???)
Code Type: X86 (Native)
Parent Process: steam [11263]

Date/Time: 2013-02-21 00:23:30.861 -0500
OS Version: Mac OS X 10.7.5 (11G63)
Report Version: 9

Interval Since Last Report: 254407 sec
Crashes Since Last Report: 5
Per-App Crashes Since Last Report: 4
Anonymous UUID: B88B76C4-658F-454C-87A4-FB1314507E48

Crashed Thread: 13 CIPCServer::Thread_MainLoop()

Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000077206469

VM Regions Near 0x77206469:
__LINKEDIT 000000007014e000-00000000701a4000 [ 344K] r--/rwx SM=COW /System/Library/Components/CoreAudio.component/Contents/MacOS/CoreAudio
-->
__TEXT 000000008fe79000-000000008feac000 [ 204K] r-x/rwx SM=COW /usr/lib/dyld

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

Thread 0:: MainThrd Dispatch queue: com.apple.main-thread
0 libsystem_c.dylib 0x91e90930 bzero$VARIANT$sse2 + 176
1 shaderapidx9.dylib 0x0acd84e6 CGLMTex::CGLMTex(GLMContext*, GLMTexLayout*, GLMTexSamplingParams*, char const*) + 1030
2 shaderapidx9.dylib 0x0acdf966 GLMContext::NewTex(GLMTexLayoutKey*, char const*) + 230
3 shaderapidx9.dylib 0x0ad02c29 IDirect3DDevice9::CreateTexture(unsigned int, unsigned int, unsigned int, unsigned int, _D3DFORMAT, _D3DPOOL, IDirect3DTexture9**, void**, char*) + 265
4 shaderapidx9.dylib 0x0ad553e0 CreateD3DTexture(int, int, int, ImageFormat, int, int, char*) + 496
5 shaderapidx9.dylib 0x0ad379e3 CShaderAPIDx8::CreateTextures(int*, int, int, int, int, ImageFormat, int, int, int, char const*, char const*) + 835
6 materialsystem.dylib 0x06314012 CTexture::AllocateShaderAPITextures() + 482
7 materialsystem.dylib 0x06316ade CTexture::ReconstructTexture() + 190
8 materialsystem.dylib 0x06316fe0 CTexture::Download(Rect_t*, int) + 240
9 materialsystem.dylib 0x063317e5 CTextureManager::LoadTexture(char const*, char const*, int) + 277
10 materialsystem.dylib 0x063337cd CTextureManager::FindOrLoadTexture(char ...
...


Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x956d190a kevent + 10
1 libdispatch.dylib 0x942e3e04 _dispatch_mgr_invoke + 969
2 libdispatch.dylib 0x942e2853 _dispatch_mgr_thread + 53

Thread 2:
0 libsystem_kernel.dylib 0x956d102e __workq_kernreturn + 10
1 libsystem_c.dylib 0x91ebaccf _pthread_wqthread + 773
2 libsystem_c.dylib 0x91ebc6fe start_wqthread + 30

Thread 3:
0 libsystem_kernel.dylib 0x956d083e __psynch_cvwait + 10
1 libsystem_c.dylib 0x91ebce21 _pthread_cond_wait + 827
2 libsystem_c.dylib 0x91e6d3e0 pthread_cond_timedwait$UNIX2003 + 70
3 libtier0.dylib 0x000ba9a3 CThreadSyncObject::Wait(unsigned int) + 307
4 libtier0.dylib 0x000baa38 CThreadEvent::Wait(unsigned int) + 24
5 libvstdlib.dylib 0x00390b1f CJobThread::Run() + 255
6 libtier0.dylib 0x000bc064 CThread::ThreadProc(void*) + 212
7 libsystem_c.dylib 0x91eb8ed9 _pthread_start + 335
8 libsystem_c.dylib 0x91ebc6de thread_start + 34

Thread 4:
0 libsystem_kernel.dylib 0x956d083e __psynch_cvwait + 10
1 libsystem_c.dylib 0x91ebce21 _pthread_cond_wait + 827
2 libsystem_c.dylib 0x91e6d3e0 pthread_cond_timedwait$UNIX2003 + 70
3 libtier0.dylib 0x000ba9a3 CThreadSyncObject::Wait(unsigned int) + 307
4 libtier0.dylib 0x000baa38 CThreadEvent::Wait(unsigned int) + 24
5 libvstdlib.dylib 0x00390b1f CJobThread::Run() + 255
6 libtier0.dylib 0x000bc064 CThread::ThreadProc(void*) + 212
7 libsystem_c.dylib 0x91eb8ed9 _pthread_start + 335
8 libsystem_c.dylib 0x91ebc6de thread_start + 34

Thread 5:: IOPollingHelperThread
0 libsystem_kernel.dylib 0x956d190a kevent + 10
1 steamclient.dylib 0x0d6b8f13 OSXHelpers::CIOPollingHelper::RealRun() + 257
2 libtier0_s.dylib 0x0b296503 CatchAndWriteContext_t::Invoke() + 159
3 libtier0_s.dylib 0x0b29608d CatchAndWriteMiniDumpExForVoidPtrFn + 86
4 libtier0_s.dylib 0x0b2960b7 CatchAndWriteMiniDumpForVoidPtrFn + 37
5 steamclient.dylib 0x0d6b8e01 OSXHelpers::CIOPollingHelper::Run() + 41
6 libtier0_s.dylib 0x0b299de6 SteamThreadTools::CThread::ThreadExceptionWrapper(void*) + 16
7 libtier0_s.dylib 0x0b296503 CatchAndWriteContext_t::Invoke() + 159
8 libtier0_s.dylib 0x0b29608d CatchAndWriteMiniDumpExForVoidPtrFn + 86
9 libtier0_s.dylib 0x0b2960b7 CatchAndWriteMiniDumpForVoidPtrFn + 37
10 libtier0_s.dylib 0x0b299d5e SteamThreadTools::CThread::ThreadProc(void*) + 204
11 libsystem_c.dylib 0x91eb8ed9 _pthread_start + 335
12 libsystem_c.dylib 0x91ebc6de thread_start + 34

Thread 6:
0 libsystem_kernel.dylib 0x956d083e __psynch_cvwait + 10
1 libsystem_c.dylib 0x91ebce78 _pthread_cond_wait + 914
2 libsystem_c.dylib 0x91ebcf7b pthread_cond_timedwait_relative_np + 47
3 com.apple.CoreServices.CarbonCore 0x924683a7 TSWaitOnConditionTimedRelative + 178
4 com.apple.CoreServices.CarbonCore 0x9246811d TSWaitOnSemaphoreCommon + 490
5 com.apple.CoreServices.CarbonCore 0x92467f2e TSWaitOnSemaphoreRelative + 24
6 com.apple.CoreServices.CarbonCore 0x924dd398 TimerThread + 292
7 libsystem_c.dylib 0x91eb8ed9 _pthread_start + 335
8 libsystem_c.dylib 0x91ebc6de thread_start + 34

Thread 7:
0 libsystem_kernel.dylib 0x956d102e __workq_kernreturn + 10
1 libsystem_c.dylib 0x91ebaccf _pthread_wqthread + 773
2 libsystem_c.dylib 0x91ebc6fe start_wqthread + 30

Thread 8:
0 libsystem_kernel.dylib 0x956d083e __psynch_cvwait + 10
1 libsystem_c.dylib 0x91ebce21 _pthread_cond_wait + 827
2 libsystem_c.dylib 0x91e6d3e0 pthread_cond_timedwait$UNIX2003 + 70
3 libtier0.dylib 0x000ba9a3 CThreadSyncObject::Wait(unsigned int) + 307
4 libtier0.dylib 0x000baa38 CThreadEvent::Wait(unsigned int) + 24
5 libvstdlib.dylib 0x00390b1f CJobThread::Run() + 255
6 libtier0.dylib 0x000bc064 CThread::ThreadProc(void*) + 212
7 libsystem_c.dylib 0x91eb8ed9 _pthread_start + 335
8 libsystem_c.dylib 0x91ebc6de thread_start + 34

Thread 9:
0 libsystem_kernel.dylib 0x956d083e __psynch_cvwait + 10
1 libsystem_c.dylib 0x91ebce21 _pthread_cond_wait + 827
2 libsystem_c.dylib 0x91e6d3e0 pthread_cond_timedwait$UNIX2003 + 70
3 libtier0.dylib 0x000ba9a3 CThreadSyncObject::Wait(unsigned int) + 307
4 libtier0.dylib 0x000baa38 CThreadEvent::Wait(unsigned int) + 24
5 libvstdlib.dylib 0x00390b1f CJobThread::Run() + 255
6 libtier0.dylib 0x000bc064 CThread::ThreadProc(void*) + 212
7 libsystem_c.dylib 0x91eb8ed9 _pthread_start + 335
8 libsystem_c.dylib 0x91ebc6de thread_start + 34

Thread 10:
0 libsystem_kernel.dylib 0x956ced36 mach_wait_until + 10
1 libsystem_c.dylib 0x91e66439 nanosleep + 388
2 libsystem_c.dylib 0x91e64cba usleep + 60
3 libMilesMachOx86.dylib 0x2ad0369e 0x2ad02000 + 5790
4 libsystem_c.dylib 0x91eb8ed9 _pthread_start + 335
5 libsystem_c.dylib 0x91ebc6de thread_start + 34

Thread 11:: AQClient
0 libsystem_kernel.dylib 0x956cec22 mach_msg_trap + 10
1 libsystem_kernel.dylib 0x956ce1f6 mach_msg + 70
2 com.apple.CoreFoundation 0x9aaff9da __CFRunLoopServiceMachPort + 170
3 com.apple.CoreFoundation 0x9ab08b04 __CFRunLoopRun + 1428
4 com.apple.CoreFoundation 0x9ab081dc CFRunLoopRunSpecific + 332
5 com.apple.CoreFoundation 0x9ab08088 CFRunLoopRunInMode + 120
6 com.apple.audio.toolbox.AudioToolbox 0x9b2ae6bf GenericRunLoopThread::RunLoop() + 63
7 com.apple.audio.toolbox.AudioToolbox 0x9b2aeafd GenericRunLoopThread::Run() + 153
8 com.apple.audio.toolbox.AudioToolbox 0x9b2ae7f8 TRunLoop<AQClient>::Entry(void*) + 17
9 com.apple.audio.toolbox.AudioToolbox 0x9b270993 CAPThread::Entry(CAPThread*) + 123
10 libsystem_c.dylib 0x91eb8ed9 _pthread_start + 335
11 libsystem_c.dylib 0x91ebc6de thread_start + 34

Thread 12:
0 libsystem_kernel.dylib 0x956d083e __psynch_cvwait + 10
1 libsystem_c.dylib 0x91ebce21 _pthread_cond_wait + 827
2 libsystem_c.dylib 0x91e6d3e0 pthread_cond_timedwait$UNIX2003 + 70
3 libtier0.dylib 0x000ba9a3 CThreadSyncObject::Wait(unsigned int) + 307
4 libtier0.dylib 0x000baa38 CThreadEvent::Wait(unsigned int) + 24
5 engine.dylib 0x04a81979 CQueuedPacketSender::Run() + 121
6 libtier0.dylib 0x000bc064 CThread::ThreadProc(void*) + 212
7 libsystem_c.dylib 0x91eb8ed9 _pthread_start + 335
8 libsystem_c.dylib 0x91ebc6de thread_start + 34

Thread 13 Crashed:: CIPCServer::Thread_MainLoop()
0 steamclient.dylib 0x0d1bd7f8 CUtlVector<netadr_t, CUtlMemory<netadr_t> >::InsertMultipleBefore(int, int, netadr_t const*) + 142
1 steamclient.dylib 0x0d1b8c0b CUtlVector<netadr_t, CUtlMemory<netadr_t> >::AddMultipleToTail(int, netadr_t const*) + 121
2 steamclient.dylib 0x0d1bd741 CUtlVector<netadr_t, CUtlMemory<netadr_t> >::CopyArray(netadr_t const*, int) + 125
3 steamclient.dylib 0x0d2c5419 CSteamEngine::BStoreCachedServerAddressList(char const*, CUtlVector<netadr_t, CUtlMemory<netadr_t> > const&, unsigned int) + 1025
4 steamclient.dylib 0x0d1b6e3e CCMInterface::RecvMsgClientServerList(IMsgNetPacket*) + 490
5 steamclient.dylib 0x0d1b4dae CCMInterface::RecvPkt(CNetPacket*) + 2940
6 steamclient.dylib 0x0d6d5716 CNetConnectionBuffer::MultiplexDataUncompressed(unsigned char*, unsigned long, EMsgFormatType, unsigned int, IConnectionCallback*) + 100
7 steamclient.dylib 0x0d6d5bee CNetConnectionBuffer::MultiplexMultiMsg(IMsgNetPacket*, IConnectionCallback*) + 1110
8 steamclient.dylib 0x0d1b42de CCMInterface::RecvPkt(CNetPacket*) + 172
9 steamclient.dylib 0x0d6d8508 CNetFilterEncryption::OnDecryptWorkItemComplete(CWorkItemNetFilterDecrypt*) + 166
10 steamclient.dylib 0x0d6d89f5 CWorkItemNetFilterDecrypt::DispatchCompletedWorkItem(CJobMgr*) + 37
11 steamclient.dylib 0x0d7df280 CWorkThreadPool::BDispatchCompletedWorkItems(CReliableTimer&, CJobMgr*) + 106
12 steamclient.dylib 0x0d6cfffd CNet::BFrameFuncHandleCompletedWorkItems(CReliableTimer&) + 99
13 steamclient.dylib 0x0d69e5b8 CStaticFrameFunction::BRun(CReliableTimer&) + 18
14 steamclient.dylib 0x0d69dfe9 CFrameFunctionMgr::BRun(EFrameType, CCycleCount*, bool) + 625
15 steamclient.dylib 0x0d1126e4 CIPCServer::BMainLoop(CCycleCount*, CCycleCount*) + 178
16 steamclient.dylib 0x0d2c6a51 CSteamEngine::BMainLoop(CCycleCount*, CCycleCount*) + 847
17 steamclient.dylib 0x0d1121d2 CIPCServer::Thread_MainLoop() + 518
18 steamclient.dylib 0x0d112560 CIPCServer::CThreadClient::Run() + 42
19 libtier0_s.dylib 0x0b299de6 SteamThreadTools::CThread::ThreadExceptionWrapper(void*) + 16
20 libtier0_s.dylib 0x0b296503 CatchAndWriteContext_t::Invoke() + 159
21 libtier0_s.dylib 0x0b29608d CatchAndWriteMiniDumpExForVoidPtrFn + 86
22 libtier0_s.dylib 0x0b2960b7 CatchAndWriteMiniDumpForVoidPtrFn + 37
23 libtier0_s.dylib 0x0b299d5e SteamThreadTools::CThread::ThreadProc(void*) + 204
24 libsystem_c.dylib 0x91eb8ed9 _pthread_start + 335
25 libsystem_c.dylib 0x91ebc6de thread_start + 34

Thread 14:: CHTTPCacheInitializeThread
0 libsystem_kernel.dylib 0x956d16a2 getdirentries + 10
1 libsystem_c.dylib 0x91ea82c3 _readdir_unlocked + 82
2 libsystem_c.dylib 0x91ea843a readdir + 55
3 libsystem_c.dylib 0x91ea7c22 scandir + 294
4 steamclient.dylib 0x0d66ae96 _findfirst(char const*, _finddata_t*) + 295
5 steamclient.dylib 0x0d66acea CDirIterator::Init(char const*) + 100
6 steamclient.dylib 0x0d66ac02 CDirIterator::CDirIterator(char const*, char const*) + 198
7 steamclient.dylib 0x0d6aacf7 CHTTPCacheInitializeThread::Run() + 503
8 libtier0_s.dylib 0x0b299de6 SteamThreadTools::CThread::ThreadExceptionWrapper(void*) + 16
9 libtier0_s.dylib 0x0b296503 CatchAndWriteContext_t::Invoke() + 159
10 libtier0_s.dylib 0x0b29608d CatchAndWriteMiniDumpExForVoidPtrFn + 86
11 libtier0_s.dylib 0x0b2960b7 CatchAndWriteMiniDumpForVoidPtrFn + 37
12 libtier0_s.dylib 0x0b299d5e SteamThreadTools::CThread::ThreadProc(void*) + 204
13 libsystem_c.dylib 0x91eb8ed9 _pthread_start + 335
14 libsystem_c.dylib 0x91ebc6de thread_start + 34
Showing 1-2 of 2 comments
< >
BorkBorkBork Feb 21, 2013 @ 7:33pm 
It still crashes after upgrading to OS X 10.8 (Mountain lion). And it looks like Nobody from Valve reads these forums. Nice.
devilrabbi Dec 1, 2013 @ 5:23am 
I have the same problem. It even restarts my computer sometimes. Let me know if you find a solution.
Showing 1-2 of 2 comments
< >
Per page: 15 30 50
Date Posted: Feb 20, 2013 @ 9:29pm
Posts: 2