Closed kunalzigma closed 4 months ago
Another similar crash in my another app.
This is so bad. Damaging all my apps in app store with onesignal sdk.
Both of these happened on 23-06-2024.
And i have a feeling these wont stop here.
Why these are happening now? I dont understand.
Incident Identifier: 3FD24DED-F3F9-4776-BA82-4821E5D304C5
Distributor ID: com.apple.AppStore
Hardware Model: iPhone15,3
Process: My App 2 [2689]
Path: /private/var/containers/Bundle/Application/CED06917-EE18-4977-896A-D2CEDA9F2646/My App 2/My App 2
Identifier: enterkit.My App 2
Version: 2.7 (47)
AppStoreTools: 15F31c
AppVariant: 1:iPhone15,3:16
Code Type: ARM-64 (Native)
Role: Foreground
Parent Process: launchd [1]
Coalition: enterkit.My App 2 [1159]
Date/Time: 2024-06-23 23:13:00.6770 +0300
Launch Time: 2024-06-23 23:12:58.1847 +0300
OS Version: iPhone OS 17.5.1 (21F90)
Release Type: User
Baseband Version: 2.60.02
Report Version: 104
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Reason: *** -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[1]
Termination Reason: SIGNAL 6 Abort trap: 6
Terminating Process: My App 2 [2689]
Triggered by Thread: 0
Last Exception Backtrace:
0 CoreFoundation 0x1895e8f20 __exceptionPreprocess + 164 (NSException.m:249)
1 libobjc.A.dylib 0x18147a018 objc_exception_throw + 60 (objc-exception.mm:356)
2 CoreFoundation 0x18957ae6c -[__NSPlaceholderDictionary initWithObjects:forKeys:count:] + 728 (NSPlaceholderDictionary.m:0)
3 CoreFoundation 0x18957aa88 +[NSDictionary dictionaryWithObjects:forKeys:count:] + 52 (NSDictionary.m:614)
4 OneSignalInAppMessages 0x102f3d42c +[OSRequestInAppMessageViewed withAppId:withPlayerId:withMessageId:forVariantId:] + 228
5 OneSignalInAppMessages 0x102f391fc -[OSMessagingController messageViewImpressionRequest:] + 268
6 libdispatch.dylib 0x19148c13c _dispatch_call_block_and_release + 32 (init.c:1530)
7 libdispatch.dylib 0x19148ddd4 _dispatch_client_callout + 20 (object.m:576)
8 libdispatch.dylib 0x19149c5a4 _dispatch_main_queue_drain + 988 (queue.c:7898)
9 libdispatch.dylib 0x19149c1b8 _dispatch_main_queue_callback_4CF + 44 (queue.c:8058)
10 CoreFoundation 0x1895bb710 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 16 (CFRunLoop.c:1780)
11 CoreFoundation 0x1895b8914 __CFRunLoopRun + 1996 (CFRunLoop.c:3149)
12 CoreFoundation 0x1895b7cd8 CFRunLoopRunSpecific + 608 (CFRunLoop.c:3420)
13 GraphicsServices 0x1ce4681a8 GSEventRunModal + 164 (GSEvent.c:2196)
14 UIKitCore 0x18bbf090c -[UIApplication _run] + 888 (UIApplication.m:3713)
15 UIKitCore 0x18bca49d0 UIApplicationMain + 340 (UIApplication.m:5303)
16 My App 2 0x1029a1b6c main + 64 (AppDelegate.swift:17)
17 dyld 0x1acc69e4c start + 2240 (dyldMain.cpp:1298)
Thread 0 name:
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x00000001d26a342c __pthread_kill + 8 (:-1)
1 libsystem_pthread.dylib 0x00000001e6442c0c pthread_kill + 268 (pthread.c:1721)
2 libsystem_c.dylib 0x0000000191546c34 __abort + 136 (abort.c:159)
3 libsystem_c.dylib 0x0000000191546bac abort + 192 (abort.c:126)
4 libc++abi.dylib 0x00000001e6360ca4 abort_message + 132 (abort_message.cpp:78)
5 libc++abi.dylib 0x00000001e6350e5c demangling_terminate_handler() + 348 (cxa_default_handlers.cpp:77)
6 libobjc.A.dylib 0x0000000181495e2c _objc_terminate() + 144 (objc-exception.mm:496)
7 libc++abi.dylib 0x00000001e6360068 std::__terminate(void (*)()) + 16 (cxa_handlers.cpp:59)
8 libc++abi.dylib 0x00000001e636000c std::terminate() + 108 (cxa_handlers.cpp:88)
9 libdispatch.dylib 0x000000019148dde8 _dispatch_client_callout + 40 (object.m:579)
10 libdispatch.dylib 0x000000019149c5a4 _dispatch_main_queue_drain + 988 (queue.c:7898)
11 libdispatch.dylib 0x000000019149c1b8 _dispatch_main_queue_callback_4CF + 44 (queue.c:8058)
12 CoreFoundation 0x00000001895bb710 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 16 (CFRunLoop.c:1780)
13 CoreFoundation 0x00000001895b8914 __CFRunLoopRun + 1996 (CFRunLoop.c:3149)
14 CoreFoundation 0x00000001895b7cd8 CFRunLoopRunSpecific + 608 (CFRunLoop.c:3420)
15 GraphicsServices 0x00000001ce4681a8 GSEventRunModal + 164 (GSEvent.c:2196)
16 UIKitCore 0x000000018bbf090c -[UIApplication _run] + 888 (UIApplication.m:3713)
17 UIKitCore 0x000000018bca49d0 UIApplicationMain + 340 (UIApplication.m:5303)
18 My App 2 0x00000001029a1b6c main + 64 (AppDelegate.swift:17)
19 dyld 0x00000001acc69e4c start + 2240 (dyldMain.cpp:1298)
Thread 1 name:
Thread 1:
0 libsystem_kernel.dylib 0x00000001d26a0338 fsync + 8 (:-1)
1 libsqlite3.dylib 0x00000001b3469aa0 unixSync + 212 (sqlite3.c:44599)
2 libsqlite3.dylib 0x00000001b3472b54 syncJournal + 496 (sqlite3.c:68073)
3 libsqlite3.dylib 0x00000001b3469660 sqlite3PagerCommitPhaseOne + 392 (sqlite3.c:70356)
4 libsqlite3.dylib 0x00000001b3459d68 sqlite3BtreeCommitPhaseOne + 172 (sqlite3.c:80934)
5 libsqlite3.dylib 0x00000001b3459930 vdbeCommit + 1136 (sqlite3.c:93952)
6 libsqlite3.dylib 0x00000001b3432c60 sqlite3VdbeHalt + 1352 (sqlite3.c:94362)
7 libsqlite3.dylib 0x00000001b3453b50 sqlite3VdbeExec + 42536 (sqlite3.c:101084)
8 libsqlite3.dylib 0x00000001b3448c6c sqlite3_step + 964 (sqlite3.c:97699)
9 My App 2 0x0000000102c32dc0 GADForwardedUserDefaults + 4808
10 CoreFoundation 0x0000000189589e54 __NSDICTIONARY_IS_CALLING_OUT_TO_A_BLOCK__ + 24 (NSDictionaryHelpers.m:10)
11 CoreFoundation 0x0000000189589c98 -[__NSDictionaryM enumerateKeysAndObjectsWithOptions:usingBlock:] + 288 (NSDictionaryM.m:271)
12 My App 2 0x0000000102c32cc4 GADForwardedUserDefaults + 4556
13 libdispatch.dylib 0x000000019148c13c _dispatch_call_block_and_release + 32 (init.c:1530)
14 libdispatch.dylib 0x000000019148ddd4 _dispatch_client_callout + 20 (object.m:576)
15 libdispatch.dylib 0x0000000191495400 _dispatch_lane_serial_drain + 748 (queue.c:3900)
16 libdispatch.dylib 0x0000000191495f30 _dispatch_lane_invoke + 380 (queue.c:3991)
17 libdispatch.dylib 0x00000001914a0cb4 _dispatch_root_queue_drain_deferred_wlh + 288 (queue.c:6998)
18 libdispatch.dylib 0x00000001914a0528 _dispatch_workloop_worker_thread + 404 (queue.c:6592)
19 libsystem_pthread.dylib 0x00000001e643f934 _pthread_wqthread + 288 (pthread.c:2696)
20 libsystem_pthread.dylib 0x00000001e643c0cc start_wqthread + 8 (:-1)
Thread 2:
0 libsystem_pthread.dylib 0x00000001e643c0c4 start_wqthread + 0 (:-1)
Thread 3:
0 libsystem_pthread.dylib 0x00000001e643c0c4 start_wqthread + 0 (:-1)
Thread 4:
0 libsystem_pthread.dylib 0x00000001e643c0c4 start_wqthread + 0 (:-1)
Thread 5:
0 libsystem_pthread.dylib 0x00000001e643c0c4 start_wqthread + 0 (:-1)
Thread 6:
0 libsystem_pthread.dylib 0x00000001e643c0c4 start_wqthread + 0 (:-1)
Thread 7:
0 libsystem_pthread.dylib 0x00000001e643c0c4 start_wqthread + 0 (:-1)
Thread 8:
0 libsystem_pthread.dylib 0x00000001e643c0c4 start_wqthread + 0 (:-1)
Thread 9 name:
Thread 9:
0 libsystem_kernel.dylib 0x00000001d2698808 mach_msg2_trap + 8 (:-1)
1 libsystem_kernel.dylib 0x00000001d269c008 mach_msg2_internal + 80 (mach_msg.c:201)
2 libsystem_kernel.dylib 0x00000001d269bf20 mach_msg_overwrite + 436 (mach_msg.c:0)
3 libsystem_kernel.dylib 0x00000001d269bd60 mach_msg + 24 (mach_msg.c:323)
4 CoreFoundation 0x00000001895b8f5c __CFRunLoopServiceMachPort + 160 (CFRunLoop.c:2624)
5 CoreFoundation 0x00000001895b8600 __CFRunLoopRun + 1208 (CFRunLoop.c:3007)
6 CoreFoundation 0x00000001895b7cd8 CFRunLoopRunSpecific + 608 (CFRunLoop.c:3420)
7 Foundation 0x00000001884d8e4c -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 212 (NSRunLoop.m:373)
8 Foundation 0x00000001884d8c9c -[NSRunLoop(NSRunLoop) runUntilDate:] + 64 (NSRunLoop.m:420)
9 UIKitCore 0x000000018bc04640 -[UIEventFetcher threadMain] + 420 (UIEventFetcher.m:1207)
10 Foundation 0x00000001884ef718 __NSThread__start__ + 732 (NSThread.m:991)
11 libsystem_pthread.dylib 0x00000001e644106c _pthread_start + 136 (pthread.c:931)
12 libsystem_pthread.dylib 0x00000001e643c0d8 thread_start + 8 (:-1)
Thread 10 name:
Thread 10:
0 libsystem_kernel.dylib 0x00000001d2698784 semaphore_wait_trap + 8 (:-1)
1 caulk 0x00000001fb423724 caulk::semaphore::timed_wait(double) + 212 (semaphore.cpp:98)
2 caulk 0x00000001fb4235e4 caulk::concurrent::details::worker_thread::run() + 36 (messenger.cpp:234)
3 caulk 0x00000001fb42352c void* caulk::thread_proxy<std::__1::tuple<caulk::thread::attributes, void (caulk::concurrent::details::worker_thread::*)(), std::__1::tuple<caulk::concurrent::details::worker_thread*>>>(void*) + 96 (thread.h:189)
4 libsystem_pthread.dylib 0x00000001e644106c _pthread_start + 136 (pthread.c:931)
5 libsystem_pthread.dylib 0x00000001e643c0d8 thread_start + 8 (:-1)
Thread 11 name:
Thread 11:
0 libsystem_kernel.dylib 0x00000001d2698784 semaphore_wait_trap + 8 (:-1)
1 caulk 0x00000001fb423724 caulk::semaphore::timed_wait(double) + 212 (semaphore.cpp:98)
2 caulk 0x00000001fb4235e4 caulk::concurrent::details::worker_thread::run() + 36 (messenger.cpp:234)
3 caulk 0x00000001fb42352c void* caulk::thread_proxy<std::__1::tuple<caulk::thread::attributes, void (caulk::concurrent::details::worker_thread::*)(), std::__1::tuple<caulk::concurrent::details::worker_thread*>>>(void*) + 96 (thread.h:189)
4 libsystem_pthread.dylib 0x00000001e644106c _pthread_start + 136 (pthread.c:931)
5 libsystem_pthread.dylib 0x00000001e643c0d8 thread_start + 8 (:-1)
Thread 12 name:
Thread 12:
0 libsystem_kernel.dylib 0x00000001d2698784 semaphore_wait_trap + 8 (:-1)
1 caulk 0x00000001fb423724 caulk::semaphore::timed_wait(double) + 212 (semaphore.cpp:98)
2 caulk 0x00000001fb4235e4 caulk::concurrent::details::worker_thread::run() + 36 (messenger.cpp:234)
3 caulk 0x00000001fb42352c void* caulk::thread_proxy<std::__1::tuple<caulk::thread::attributes, void (caulk::concurrent::details::worker_thread::*)(), std::__1::tuple<caulk::concurrent::details::worker_thread*>>>(void*) + 96 (thread.h:189)
4 libsystem_pthread.dylib 0x00000001e644106c _pthread_start + 136 (pthread.c:931)
5 libsystem_pthread.dylib 0x00000001e643c0d8 thread_start + 8 (:-1)
Thread 13 name:
Thread 13:
0 libsystem_kernel.dylib 0x00000001d2698808 mach_msg2_trap + 8 (:-1)
1 libsystem_kernel.dylib 0x00000001d269c008 mach_msg2_internal + 80 (mach_msg.c:201)
2 libsystem_kernel.dylib 0x00000001d269bf20 mach_msg_overwrite + 436 (mach_msg.c:0)
3 libsystem_kernel.dylib 0x00000001d269bd60 mach_msg + 24 (mach_msg.c:323)
4 libEmbeddedSystemAUs.dylib 0x0000000204c308b8 void* caulk::thread_proxy<std::__1::tuple<caulk::thread::attributes, AURemoteIO::IOThread::IOThread(AURemoteIO&, caulk::thread::attributes const&, caulk::mach::os_workgroup_managed const&)::'lambda... + 556 (thread.h:189)
5 libsystem_pthread.dylib 0x00000001e644106c _pthread_start + 136 (pthread.c:931)
6 libsystem_pthread.dylib 0x00000001e643c0d8 thread_start + 8 (:-1)
Thread 14 name:
Thread 14:
0 libsystem_kernel.dylib 0x00000001d2698808 mach_msg2_trap + 8 (:-1)
1 libsystem_kernel.dylib 0x00000001d269c008 mach_msg2_internal + 80 (mach_msg.c:201)
2 libsystem_kernel.dylib 0x00000001d269bf20 mach_msg_overwrite + 436 (mach_msg.c:0)
3 libsystem_kernel.dylib 0x00000001d269bd60 mach_msg + 24 (mach_msg.c:323)
4 CoreFoundation 0x00000001895b8f5c __CFRunLoopServiceMachPort + 160 (CFRunLoop.c:2624)
5 CoreFoundation 0x00000001895b8600 __CFRunLoopRun + 1208 (CFRunLoop.c:3007)
6 CoreFoundation 0x00000001895b7cd8 CFRunLoopRunSpecific + 608 (CFRunLoop.c:3420)
7 CFNetwork 0x000000018a798c90 +[__CFN_CoreSchedulingSetRunnable _run:] + 384 (CoreSchedulingSet.mm:1473)
8 Foundation 0x00000001884ef718 __NSThread__start__ + 732 (NSThread.m:991)
9 libsystem_pthread.dylib 0x00000001e644106c _pthread_start + 136 (pthread.c:931)
10 libsystem_pthread.dylib 0x00000001e643c0d8 thread_start + 8 (:-1)
Thread 15 name:
Thread 15:
0 libsystem_kernel.dylib 0x00000001d269e1cc __psynch_cvwait + 8 (:-1)
1 libsystem_pthread.dylib 0x00000001e643e6e4 _pthread_cond_wait + 1228 (pthread_cond.c:862)
2 JavaScriptCore 0x00000001a0c6afe0 scavenger_thread_main + 1316 (pas_scavenger.c:359)
3 libsystem_pthread.dylib 0x00000001e644106c _pthread_start + 136 (pthread.c:931)
4 libsystem_pthread.dylib 0x00000001e643c0d8 thread_start + 8 (:-1)
Thread 0 crashed with ARM Thread State (64-bit):
x0: 0x0000000000000000 x1: 0x0000000000000000 x2: 0x0000000000000000 x3: 0x0000000000000000
x4: 0x0000000000000000 x5: 0x0000000000989680 x6: 0x000000000000006e x7: 0x0000000000000000
x8: 0x0cf292dcded497cb x9: 0x0cf292dd34f9690b x10: 0x00000000000003e8 x11: 0x000000016d48e200
x12: 0x0000000000000000 x13: 0x00000000001ff800 x14: 0x0000000000000010 x15: 0x0000000000000000
x16: 0x0000000000000148 x17: 0x00000001ea2dfec0 x18: 0x0000000000000000 x19: 0x0000000000000006
x20: 0x0000000000000103 x21: 0x00000001ea2dffa0 x22: 0x0000000300273700 x23: 0x0000000000000114
x24: 0x0000000000000000 x25: 0x00000001ea2dffa0 x26: 0x000000030026bb00 x27: 0x000000000000000f
x28: 0x0000000000000000 fp: 0x000000016d48e600 lr: 0x00000001e6442c0c
sp: 0x000000016d48e5e0 pc: 0x00000001d26a342c cpsr: 0x40001000
esr: 0x56000080 Address size fault
Hi @kunalzigma thank you for reporting, the stacktraces you provided for both crashes are helpful. We are actively resolving this issue. There is already a report at https://github.com/OneSignal/OneSignal-iOS-SDK/issues/1453. I am closing this as a duplicate.
What happened?
Crash, the worst one's on app start again but different one on another app. It was not long time, another crash happening on another app of ours with onesignal lost many users. Now, this one will lose too.
Steps to reproduce?
What did you expect to happen?
User opens the app without crash.
OneSignal iOS SDK version
5.2.0
iOS version
17
Specific iOS version
Relevant log output
Code of Conduct