Hi, after update to 3.16 from 3.15.1, I received A LOT OF strange errors from App Store Report.
My game have a few changes in this update, especially the change of version of the cocos2d-x.
Below this strange error NO_CRASH_STACK, someone can indicate me how fix it
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x81562308
Triggered by Thread: 11
Thread 0 name:
Thread 0:
0 libsystem_kernel.dylib 0x21d4ac00 madvise + 8
1 libsystem_malloc.dylib 0x21d89c86 szone_free_definite_size + 2842 (magazine_malloc.c:4440)
2 OpenAL 0x2d685442 OALSource::~OALSource() + 238 (new:164)
3 OpenAL 0x2d66b26a OALContext::CleanUpDeadSourceList() + 110 (oalContext.cpp:254)
4 OpenAL 0x2d66bf14 OALContext::RemoveSource(unsigned int) + 480 (oalContext.cpp:508)
5 OpenAL 0x2d677a5c alDeleteSources + 164 (oalImp.cpp:1801)
6 MyApp- 0x0027c9ce cocos2d::experimental::AudioEngineImpl::~AudioEngineImpl() + 150
7 MyApp- 0x0027cd20 cocos2d::experimental::AudioEngineImpl::~AudioEngineImpl() + 8
8 MyApp- 0x003268a2 cocos2d::experimental::AudioEngine::end() + 54
9 MyApp- 0x000ea264 AppDelegate::~AppDelegate() + 96 (AppDelegate.cpp:38)
10 libsystem_c.dylib 0x21cf39a4 __cxa_finalize_ranges + 300 (atexit.c:274)
11 libsystem_c.dylib 0x21cb2fac exit + 12 (exit.c:78)
12 UIKit 0x266dd57e -[UIApplication _terminateWithStatus:] + 578 (UIApplication.m:5756)
13 UIKit 0x268f49bc __102-[UIApplication _handleApplicationDeactivationWithScene:shouldForceExit:transitionContext:completion:]_block_invoke2019 + 908 (UIApplication.m:6046)
14 UIKit 0x268f74c8 _runAfterCACommitDeferredBlocks + 268 (UIApplication.m:2387)
15 UIKit 0x269037da _cleanUpAfterCAFlushAndRunDeferredBlocks + 90 (UIApplication.m:2365)
16 UIKit 0x26641b1c _afterCACommitHandler + 84 (UIApplication.m:2417)
17 CoreFoundation 0x220956c8 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 20 (CFRunLoop.c:1620)
18 CoreFoundation 0x220939cc __CFRunLoopDoObservers + 280 (CFRunLoop.c:1716)
19 CoreFoundation 0x22093dfe __CFRunLoopRun + 958 (CFRunLoop.c:2558)
20 CoreFoundation 0x21fe3228 CFRunLoopRunSpecific + 520 (CFRunLoop.c:2814)
21 CoreFoundation 0x21fe3014 CFRunLoopRunInMode + 108 (CFRunLoop.c:2844)
22 GraphicsServices 0x235d3ac8 GSEventRunModal + 160 (GSEvent.c:2245)
23 UIKit 0x266b7188 UIApplicationMain + 144 (UIApplication.m:3772)
24 MyApp-mobile 0x00144d52 main + 34 (main.m:5)
25 libdyld.dylib 0x21c8b872 start + 2 (start_glue.s:64)
This is main thread, I suppose app is closing
Thread crashed is:
Thread 11 name:
Thread 11 Crashed:
0 ??? 0x81562308 0 + -2125061368
1 libdispatch.dylib 0x21c505e8 _dispatch_root_queue_drain + 1560 (inline_internal.h:1063)
2 libdispatch.dylib 0x21c4ffcc _dispatch_worker_thread3 + 96 (queue.c:4249)
3 libsystem_pthread.dylib 0x21e05b28 _pthread_wqthread + 1024 (pthread.c:1990)
4 libsystem_pthread.dylib 0x21e05718 start_wqthread + 8 (pthread_asm.s:147)