Opened 9 years ago

Closed 3 years ago

#3521 closed defect (wontfix)

OpenAL crash when closing match on OS X 10.11

Reported by: historic_bruno Owned by:
Priority: Should Have Milestone:
Component: Core engine Keywords:
Cc: Patch:

Description (last modified by Vladislav Belov)

Game and all libraries built with 10.11 API / Apple LLVM version 7.0.0 (clang-700.0.72). Closed a match with Alt+F4 and this crash occurred:

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

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

Application Specific Information:
abort() called
terminating with uncaught exception of type int

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib        	0x00007fff9a8920ae __pthread_kill + 10
1   libsystem_pthread.dylib       	0x00007fff89e4c500 pthread_kill + 90
2   libsystem_c.dylib             	0x00007fff9181f37b abort + 129
3   libc++abi.dylib               	0x00007fff8b872f81 abort_message + 257
4   libc++abi.dylib               	0x00007fff8b898a47 default_terminate_handler() + 267
5   libobjc.A.dylib               	0x00007fff8ca870a2 _objc_terminate() + 124
6   libc++abi.dylib               	0x00007fff8b89619e std::__terminate(void (*)()) + 8
7   libc++abi.dylib               	0x00007fff8b896213 std::terminate() + 51
8   com.apple.audio.OpenAL        	0x000000010a3d9aff OALSource::~OALSource() + 303
9   com.apple.audio.OpenAL        	0x000000010a3d3ea4 OALContext::~OALContext() + 90
10  com.apple.audio.OpenAL        	0x000000010a3c87d4 DeleteContextsOfThisDevice(unsigned long) + 187
11  com.apple.audio.OpenAL        	0x000000010a3c92de alcCloseDevice + 113
12  pyrogenesis                   	0x00000001080b6a33 CSoundManager::~CSoundManager() + 643 (__tree:867)
13  pyrogenesis                   	0x00000001080b6b71 CSoundManager::~CSoundManager() + 33 (SoundManager.cpp:264)
14  pyrogenesis                   	0x00000001080b5753 ISoundManager::SetEnabled(bool) + 51 (SoundManager.cpp:197)
15  pyrogenesis                   	0x000000010809b8b1 Shutdown(int) + 945 (type_traits:3562)
16  pyrogenesis                   	0x0000000107ed22bd RunGameOrAtlas(int, char const**) + 5549 (main.cpp:403)
17  pyrogenesis                   	0x0000000107ed0c45 main + 53 (main.cpp:582)
18  libdyld.dylib                 	0x00007fff8ce4b5ad start + 1

Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0   libsystem_kernel.dylib        	0x00007fff9a8930a2 kevent_qos + 10
1   libdispatch.dylib             	0x00007fff9d5491ad _dispatch_mgr_invoke + 216
2   libdispatch.dylib             	0x00007fff9d548e15 _dispatch_mgr_thread + 52

Thread 2:: com.apple.NSEventThread
0   libsystem_kernel.dylib        	0x00007fff9a88cc96 mach_msg_trap + 10
1   libsystem_kernel.dylib        	0x00007fff9a88c0d7 mach_msg + 55
2   com.apple.CoreFoundation      	0x00007fff95092024 __CFRunLoopServiceMachPort + 212
3   com.apple.CoreFoundation      	0x00007fff950914ec __CFRunLoopRun + 1356
4   com.apple.CoreFoundation      	0x00007fff95090d38 CFRunLoopRunSpecific + 296
5   com.apple.AppKit              	0x00007fff906d9eed _NSEventThread + 149
6   libsystem_pthread.dylib       	0x00007fff89e499b1 _pthread_body + 131
7   libsystem_pthread.dylib       	0x00007fff89e4992e _pthread_start + 168
8   libsystem_pthread.dylib       	0x00007fff89e47385 thread_start + 13

Thread 3:: Analysis Helper
0   libsystem_kernel.dylib        	0x00007fff9a891f5e __psynch_cvwait + 10
1   libsystem_pthread.dylib       	0x00007fff89e4a73d _pthread_cond_wait + 767
2   pyrogenesis                   	0x00000001083911b5 PR_WaitCondVar + 405 (ptsynch.c:385)
3   pyrogenesis                   	0x0000000108736334 js::WorkerThread::threadLoop() + 660 (jsworkers.cpp:512)
4   libsystem_pthread.dylib       	0x00007fff89e499b1 _pthread_body + 131
5   libsystem_pthread.dylib       	0x00007fff89e4992e _pthread_start + 168
6   libsystem_pthread.dylib       	0x00007fff89e47385 thread_start + 13

Thread 4:: Analysis Helper
0   libsystem_kernel.dylib        	0x00007fff9a891f5e __psynch_cvwait + 10
1   libsystem_pthread.dylib       	0x00007fff89e4a73d _pthread_cond_wait + 767
2   pyrogenesis                   	0x00000001083911b5 PR_WaitCondVar + 405 (ptsynch.c:385)
3   pyrogenesis                   	0x0000000108736334 js::WorkerThread::threadLoop() + 660 (jsworkers.cpp:512)
4   libsystem_pthread.dylib       	0x00007fff89e499b1 _pthread_body + 131
5   libsystem_pthread.dylib       	0x00007fff89e4992e _pthread_start + 168
6   libsystem_pthread.dylib       	0x00007fff89e47385 thread_start + 13

Thread 5:: Analysis Helper
0   libsystem_kernel.dylib        	0x00007fff9a891f5e __psynch_cvwait + 10
1   libsystem_pthread.dylib       	0x00007fff89e4a73d _pthread_cond_wait + 767
2   pyrogenesis                   	0x00000001083911b5 PR_WaitCondVar + 405 (ptsynch.c:385)
3   pyrogenesis                   	0x0000000108736334 js::WorkerThread::threadLoop() + 660 (jsworkers.cpp:512)
4   libsystem_pthread.dylib       	0x00007fff89e499b1 _pthread_body + 131
5   libsystem_pthread.dylib       	0x00007fff89e4992e _pthread_start + 168
6   libsystem_pthread.dylib       	0x00007fff89e47385 thread_start + 13

Thread 6:: Analysis Helper
0   libsystem_kernel.dylib        	0x00007fff9a891f5e __psynch_cvwait + 10
1   libsystem_pthread.dylib       	0x00007fff89e4a73d _pthread_cond_wait + 767
2   pyrogenesis                   	0x00000001083911b5 PR_WaitCondVar + 405 (ptsynch.c:385)
3   pyrogenesis                   	0x0000000108736334 js::WorkerThread::threadLoop() + 660 (jsworkers.cpp:512)
4   libsystem_pthread.dylib       	0x00007fff89e499b1 _pthread_body + 131
5   libsystem_pthread.dylib       	0x00007fff89e4992e _pthread_start + 168
6   libsystem_pthread.dylib       	0x00007fff89e47385 thread_start + 13

Thread 7:
0   libsystem_kernel.dylib        	0x00007fff9a89278a __workq_kernreturn + 10
1   libsystem_pthread.dylib       	0x00007fff89e4958c _pthread_wqthread + 1283
2   libsystem_pthread.dylib       	0x00007fff89e47375 start_wqthread + 13

Thread 8:
0   libsystem_kernel.dylib        	0x00007fff9a89278a __workq_kernreturn + 10
1   libsystem_pthread.dylib       	0x00007fff89e4958c _pthread_wqthread + 1283
2   libsystem_pthread.dylib       	0x00007fff89e47375 start_wqthread + 13

Thread 9:
0   libsystem_kernel.dylib        	0x00007fff9a89278a __workq_kernreturn + 10
1   libsystem_pthread.dylib       	0x00007fff89e4958c _pthread_wqthread + 1283
2   libsystem_pthread.dylib       	0x00007fff89e47375 start_wqthread + 13

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x0000000000000006  rcx: 0x00007fff57d2fb68  rdx: 0x0000000000000000
  rdi: 0x000000000000050f  rsi: 0x0000000000000006  rbp: 0x00007fff57d2fb90  rsp: 0x00007fff57d2fb68
   r8: 0x0000000000000003   r9: 0x00007fff8b899a7c  r10: 0x0000000008000000  r11: 0x0000000000000206
  r12: 0x00007fff57d2fcf0  r13: 0x000000000000001b  r14: 0x00007fff799f9000  r15: 0x00007fff57d2fbd0
  rip: 0x00007fff9a8920ae  rfl: 0x0000000000000206  cr2: 0x00007f864b00e400
  
Logical CPU:     0
Error Code:      0x02000148
Trap Number:     133

Change History (2)

comment:1 by Vladislav Belov, 5 years ago

Description: modified (diff)

Is it still reproducible? Could someone with macOS 10.11 (or VM) test it?

comment:2 by Stan, 3 years ago

Milestone: Backlog
Resolution: wontfix
Status: newclosed

We don't support 10.11 anymore.

Note: See TracTickets for help on using tickets.