Open asiepshtain opened 2 years ago
@asiepshtain Thanks for reporting with the full stack traces.
-[OneSignalAppDelegate oneSignalApplicationWillTerminate:]
Crashed: com.apple.main-thread
0 UnityFramework 0xc16eec operator delete[](void*, std::nothrow_t const&) + 59276
1 UnityFramework 0xc16e1c operator delete[](void*, std::nothrow_t const&) + 59068
2 UnityFramework 0xd75ca8 operator delete[](void*, std::nothrow_t const&) + 1496392
3 UnityFramework 0xd760c0 operator delete[](void*, std::nothrow_t const&) + 1497440
4 UnityFramework 0xd82ca4 operator delete[](void*, std::nothrow_t const&) + 1549636
5 UnityFramework 0x106a1c4 MetalHeap::AliasResources() + 139696
6 UnityFramework 0x14478 (Missing UUID 358f976b69a6399f989bbae30434ecc5)
7 OneSignal 0x3d130 -[OneSignalAppDelegate oneSignalApplicationWillTerminate:] + 144
8 UIKitCore 0xe97320 -[UIApplication _terminateWithStatus:] + 240
This crash looks to be when your app is being closed, it isn't clear if the exact reason why the app is closing however Could you let us know which iOS versions you are seeing this crash on? Also how many reports of this issue are you seeing?
java.lang.IllegalStateException: WorkManager is not initialized properly. You have explicitly disabled WorkManagerInitializer in your manifest, have not manually called WorkManager#initialize at this point, and your Application does not implement Configuration.Provider
This is an issue Google's AndroidX library with OneSignal uses. We are the process of collecting more information and reporting this to Google.
IOS
This crash occurred on iOS 13.7.0 <> 15.6.0 on both iPhone and iPads, there were around 300 crashes over a weekend
Android
Is there a known workaround?
same erro
same here, wait for news.
Crashed: Thread
0 UnityFramework 0x1d7e4 CrashedCheckBelowForHintsWhy + 116 (CrashReporter.mm:116)
1 UnityFramework 0x28912a8 flatbuffers::IDLOptions::IDLOptions() (.cold.1) + 25714224
2 UnityFramework 0xb7eec RuntimeInvoker_TrueVoid_t700C6383A2A510C2CF4DD86DABD5CA9FF70ADAC5_RuntimeObject_RuntimeObject(void (*)(), MethodInfo const*, void*, void**) + 68222 (Il2CppInvokerTable.cpp:68222)
3 UnityFramework 0xf3808c il2cpp::vm::Runtime::Invoke(MethodInfo const*, void*, void**, Il2CppException**) + 576 (Runtime.cpp:576)
4 UnityFramework 0xf389d0 il2cpp::vm::Runtime::CallUnhandledExceptionDelegate(Il2CppDomain*, Il2CppDelegate*, Il2CppException*) + 811 (Runtime.cpp:811)
5 UnityFramework 0xf38960 il2cpp::vm::Runtime::UnhandledException(Il2CppException*) + 669 (Runtime.cpp:669)
6 UnityFramework 0x100be7c ScriptingInvocation::Invoke(ScriptingExceptionPtr*, bool) (.cold.1) + 2564
7 UnityFramework 0x74b34c ScriptingInvocation::ScriptingInvocation(ScriptingMethodPtr) + 29 (ScriptingInvocation.cpp:29)
8 UnityFramework 0x74dab4 ScriptingInvocation::InvokeChecked(ScriptingExceptionPtr*) + 69 (ScriptingInvocation.h:69)
9 UnityFramework 0x78b29c SerializableManagedRef::CallMethod(Object&, ScriptingMethodPtr) + 423 (ScriptingTypes.h:423)
10 UnityFramework 0x758b30 MonoBehaviour::RemoveFromManager() + 333 (MonoBehaviour.cpp:333)
11 UnityFramework 0x505ea0 GameObject::ActivateAwakeRecursivelyInternal(DeactivateOperation, AwakeFromLoadQueue&) + 198 (GameObject.cpp:198)
12 UnityFramework 0x505f48 GameObject::ActivateAwakeRecursively(DeactivateOperation) + 225 (GameObject.cpp:225)
13 UnityFramework 0x65381c DestroyObjectHighLevel_Internal(Object*, bool) + 1766 (GameObjectUtility.cpp:1766)
14 UnityFramework 0x6573ac CleanupAllObjects() + 417 (SaveAndLoadHelper.cpp:417)
15 UnityFramework 0x657a9c CleanupEngine() + 559 (SaveAndLoadHelper.cpp:559)
16 UnityFramework 0x662d94 PlayerCleanup(bool) + 644 (Player.cpp:644)
17 UnityFramework 0xa78e78 UnityCleanup + 209 (LibEntryPoint.mm:209)
18 UnityFramework 0x149c8 -[UnityAppController applicationWillTerminate:] + 531 (UnityAppController.mm:531)
19 OneSignal 0x3d130 -[OneSignalAppDelegate oneSignalApplicationWillTerminate:] + 144
20 UIKit 0x325e08 -[UIApplication _terminateWithStatus:] + 220
21 UIKit 0x6448c4 __98-[__UICanvasLifecycleMonitor_Compatability deactivateEventsOnly:withContext:forceExit:completion:]_block_invoke.271 + 336
22 UIKit 0x42e884 _runAfterCACommitDeferredBlocks + 296
23 UIKit 0x424958 _cleanUpAfterCAFlushAndRunDeferredBlocks + 384
24 UIKit 0x30951c _afterCACommitHandler + 132
25 CoreFoundation 0xed910 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 32
26 CoreFoundation 0xeb238 __CFRunLoopDoObservers + 412
27 CoreFoundation 0xeb884 __CFRunLoopRun + 1436
28 CoreFoundation 0xbda8 CFRunLoopRunSpecific + 552
29 GraphicsServices 0xb020 GSEventRunModal + 100
30 UIKit 0x31d758 UIApplicationMain + 236
31 UnityFramework 0x18c60 -[UnityFramework runUIApplicationMainWithArgc:argv:] + 96 (main.mm:96)
32 RFS 0x7e00 main + 28 (main.mm:28)
33 libdyld.dylib 0xfc0 start + 4
Steps to reproduce:
Hello,
I opened a different issue two days ago. But it seems it is relative with this issue so I want to share my crash information here. We are using Unity SDK 3.0.5 (so the game has iOS SDK 3.11.5).
When this crash occures, almost all the devices have very low memory (under 100 MB). And generally during the long time spent in game. Also all crashes occur in background.
Here is the stacktraces:
OneSignalCore
+[SwizzlingForwarder callSelector:onObject:withArgs:]
com.apple.main-thread
0 libsystem_kernel.dylib 0x2138 __ulock_wait + 8
1 libsystem_pthread.dylib 0x3b88 _pthread_join + 444
2 UnityFramework 0x1b44dc0 PlatformThread::Join(Thread const*) + 131 (PlatformThread.cpp:131)
3 UnityFramework 0x1b43144 Thread::WaitForExit(bool) + 145 (Thread.cpp:145)
4 UnityFramework 0x1a8a1d4 JobQueue::Shutdown(JobQueue::ShutdownMode) + 281 (JobQueue.cpp:281)
5 UnityFramework 0x1ac6570 PlayerCleanup(bool) + 611 (Player.cpp:611)
6 UnityFramework 0x1ed3be0 UnityCleanup + 220 (LibEntryPoint.mm:220)
7 UnityFramework 0x157e0 -[UnityAppController applicationWillTerminate:] + 520 (UnityAppController.mm:520)
8 CoreFoundation 0x21b24 __invoking___ + 148
9 CoreFoundation 0x3f610 -[NSInvocation invoke] + 468
10 OneSignalCore 0x4970 +[SwizzlingForwarder callSelector:onObject:withArgs:] + 312
11 OneSignal 0x2ef60 -[OneSignalAppDelegate oneSignalApplicationWillTerminate:] + 256
12 UIKitCore 0xf5bdac -[UIApplication _terminateWithStatus:] + 244
13 UIKitCore 0x6369d4 -[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:] + 128
14 UIKitCore 0x82c834 -[_UISceneLifecycleMultiplexer forceExitWithTransitionContext:scene:] + 224
15 UIKitCore 0xf58128 -[UIApplication workspaceShouldExit:withTransitionContext:] + 224
16 FrontBoardServices 0x4efec __63-[FBSWorkspaceScenesClient willTerminateWithTransitionContext:]_block_invoke_2 + 80
17 FrontBoardServices 0xa308 -[FBSWorkspace _calloutQueue_executeCalloutFromSource:withBlock:] + 240
18 FrontBoardServices 0x4ef84 __63-[FBSWorkspaceScenesClient willTerminateWithTransitionContext:]_block_invoke + 132
19 libdispatch.dylib 0x3a30 _dispatch_client_callout + 20
20 libdispatch.dylib 0x74e0 _dispatch_block_invoke_direct + 264
21 FrontBoardServices 0xbc70 __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 48
22 FrontBoardServices 0xb040 -[FBSSerialQueue _targetQueue_performNextIfPossible] + 220
23 FrontBoardServices 0xf700 -[FBSSerialQueue _performNextFromRunLoopSource] + 28
24 CoreFoundation 0xbb414 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28
25 CoreFoundation 0xcc1a0 __CFRunLoopDoSource0 + 208
26 CoreFoundation 0x5694 __CFRunLoopDoSources0 + 268
27 CoreFoundation 0xb05c __CFRunLoopRun + 828
28 CoreFoundation 0x1ebc8 CFRunLoopRunSpecific + 600
29 GraphicsServices 0x1374 GSEventRunModal + 164
30 UIKitCore 0x514b58 -[UIApplication _run] + 1100
31 UIKitCore 0x296090 UIApplicationMain + 364
32 UnityFramework 0x19850 -[UnityFramework runUIApplicationMainWithArgc:argv:] + 96 (main.mm:96)
33 <App name> 0x7e00 main + 28 (main.mm:28)
34 ??? 0x10015dda4 (Missing)
OneSignalCore
+[SwizzlingForwarder callSelector:onObject:withArgs:]
EX_BAD_ACCESS KERN_INVALID_ADDRESS 0x0000000000000038
Crashed: com.apple.main-thread
0 libsystem_malloc.dylib 0x537c tiny_free_list_add_ptr + 360
1 libsystem_malloc.dylib 0x4378 tiny_free_no_lock + 564
2 libsystem_malloc.dylib 0x50dc free_tiny + 356
3 UnityFramework 0x1926470 BaseAllocator::TryDeallocate(void*) + 50 (BaseAllocator.cpp:50)
4 UnityFramework 0x1922efc MemoryManager::Deallocate(void*, MemLabelId, char const*, int) + 1912 (MemoryManager.cpp:1912)
5 UnityFramework 0x1922e64 operator delete(void*) + 276 (MemoryManager.cpp:276)
6 UnityFramework 0x23976e8 std::__1::__list_imp<il2cpp::utils::MemoryPool::Region*, std::__1::allocator<il2cpp::utils::MemoryPool::Region*> >::clear() + 234 (new:234)
7 UnityFramework 0x23972b0 il2cpp::utils::MemoryPool::~MemoryPool() + 712 (list:712)
8 UnityFramework 0x23aa9b8 il2cpp::vm::MetadataAllocCleanup() + 31 (MetadataAlloc.cpp:31)
9 UnityFramework 0x23ba124 il2cpp::vm::Runtime::Shutdown() + 414 (Runtime.cpp:414)
10 UnityFramework 0x1bb4cb0 CleanupIl2Cpp() + 296 (MonoManager_Il2Cpp.cpp:296)
11 UnityFramework 0x1ac6580 PlayerCleanup(bool) + 627 (Player.cpp:627)
12 UnityFramework 0x1ed3be0 UnityCleanup + 220 (LibEntryPoint.mm:220)
13 UnityFramework 0x157e0 -[UnityAppController applicationWillTerminate:] + 520 (UnityAppController.mm:520)
14 CoreFoundation 0x20dd0 __invoking___ + 144
15 CoreFoundation 0x3cea8 -[NSInvocation invoke] + 300
16 OneSignalCore 0x4970 +[SwizzlingForwarder callSelector:onObject:withArgs:] + 312
17 OneSignal 0x2ef60 -[OneSignalAppDelegate oneSignalApplicationWillTerminate:] + 256
18 UIKitCore 0xe985f8 -[UIApplication _terminateWithStatus:] + 240
19 UIKitCore 0x5fc1d4 -[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:] + 124
20 UIKitCore 0x7d6bf0 -[_UISceneLifecycleMultiplexer forceExitWithTransitionContext:scene:] + 220
21 UIKitCore 0xe94c28 -[UIApplication workspaceShouldExit:withTransitionContext:] + 220
22 FrontBoardServices 0x48f20 __63-[FBSWorkspaceScenesClient willTerminateWithTransitionContext:]_block_invoke_2 + 76
23 FrontBoardServices 0x9bdc -[FBSWorkspace _calloutQueue_executeCalloutFromSource:withBlock:] + 232
24 FrontBoardServices 0x48ebc __63-[FBSWorkspaceScenesClient willTerminateWithTransitionContext:]_block_invoke + 104
25 libdispatch.dylib 0x64094 _dispatch_client_callout + 16
26 libdispatch.dylib 0x7150 _dispatch_block_invoke_direct$VARIANT$mp + 220
27 FrontBoardServices 0xb2ac __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 40
28 FrontBoardServices 0xa7c0 -[FBSSerialQueue _targetQueue_performNextIfPossible] + 176
29 FrontBoardServices 0xe960 -[FBSSerialQueue _performNextFromRunLoopSource] + 24
30 CoreFoundation 0xb34fc __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24
31 CoreFoundation 0xc362c __CFRunLoopDoSource0 + 204
32 CoreFoundation 0x5834 __CFRunLoopDoSources0 + 256
33 CoreFoundation 0xaf08 __CFRunLoopRun + 768
34 CoreFoundation 0x1e250 CFRunLoopRunSpecific + 572
35 GraphicsServices 0x1988 GSEventRunModal + 160
36 UIKitCore 0x4e5a94 -[UIApplication _run] + 1080
37 UIKitCore 0x27efd4 UIApplicationMain + 336
38 UnityFramework 0x19850 -[UnityFramework runUIApplicationMainWithArgc:argv:] + 96 (main.mm:96)
39 <App name> 0x7e00 main + 28 (main.mm:28)
40 ??? 0x1026044d0 (Missing)
Hello everyone,
Is there any update for this issue?
I'm seeing the exactly same issue, what is the status? When will you release the proper fix for this issue?
What happened?
Upgraded from 2.14.6 to 3.0.2 QA went fine, once released saw a marked increase in crashes on both ios and android
Steps to reproduce?
What did you expect to happen?
I expected not to see new crashes
Unity version
2019.4.28f1 using Gradle 5.6.4
OneSignal Unity SDK version
3.0.2
Platform
iOS, Android
Relevant log output
Code of Conduct