Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Crash on app launch: EXC_BAD_ACCESS __40+[OneSignal downloadIOSParamsWithAppId:]_block_invoke #1314

Closed
1 task done
Karllas opened this issue Sep 10, 2023 · 1 comment

Comments

@Karllas
Copy link

Karllas commented Sep 10, 2023

What happened?

App crashed on launch

Steps to reproduce?

1. Launch the app

What did you expect to happen?

No crash

OneSignal iOS SDK version

Release 3.12.6

iOS version

15

Specific iOS version

iOS 15.0.1

Relevant log output

OS Version: iOS 15.0.1 (19A348)
Report Version: 104

Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: SEGV_NOOP at 0x0000000000000088
Crashed Thread: 6

Application Specific Information:
externalId >
KERN_INVALID_ADDRESS at 0x88.

Thread 6 Crashed:
0   libobjc.A.dylib                 0x334886838         objc_retain
1   OneSignal                       0x105c67a48         __40+[OneSignal downloadIOSParamsWithAppId:]_block_invoke
2   OneSignalCore                   0x105b9e0b0         -[OneSignalClient handleJSONNSURLResponse:data:error:isAsync:withRequest:onSuccess:onFailure:]
3   OneSignalCore                   0x105b9ce00         __54-[OneSignalClient executeRequest:onSuccess:onFailure:]_block_invoke
4   CFNetwork                       0x307670a8c         CFURLRequestSetMainDocumentURL
5   CFNetwork                       0x307680f54         _CFNetworkErrorCopyLocalizedDescriptionWithHostname
6   libdispatch.dylib               0x3061032e8         _dispatch_call_block_and_release
7   libdispatch.dylib               0x3061042ec         _dispatch_client_callout
8   libdispatch.dylib               0x3060aa548         _dispatch_lane_serial_drain$VARIANT$mp
9   libdispatch.dylib               0x3060ab01c         _dispatch_lane_invoke$VARIANT$mp
10  libdispatch.dylib               0x3060b4ae0         _dispatch_workloop_worker_thread
11  libsystem_pthread.dylib         0x3b9ae8f34         _pthread_wqthread

Thread 0
0   libsystem_kernel.dylib          0x37927cbc4         semaphore_timedwait_trap
1   libdispatch.dylib               0x3060a47f8         _dispatch_sema4_timedwait$VARIANT$mp
2   libdispatch.dylib               0x3060a4d84         _dispatch_semaphore_wait_slow
3   OneSignal                       0x105c7cdbc         -[OneSignalNotificationSettingsIOS10 getNotificationPermissionState]
4   OneSignal                       0x105c6d658         +[OneSignal getNotificationTypes]
5   OneSignal                       0x105c6c664         +[OneSignal sendNotificationTypesUpdate]
6   OneSignal                       0x105c6c0d0         __33+[OneSignal registerUserInternal]_block_invoke
7   OneSignal                       0x105c8a1bc         __67-[OSStateSynchronizer registerUserWithState:withSuccess:onFailure:]_block_invoke
8   libdispatch.dylib               0x3061032e8         _dispatch_call_block_and_release
9   libdispatch.dylib               0x3061042ec         _dispatch_client_callout
10  libdispatch.dylib               0x3060b099c         _dispatch_main_queue_callback_4CF$VARIANT$mp
11  CoreFoundation                  0x3066f97f4         __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__
12  CoreFoundation                  0x3066b70f4         __CFRunLoopRun
13  CoreFoundation                  0x3066c9d88         CFRunLoopRunSpecific
14  GraphicsServices                0x33a8ff99c         GSEventRunModal
15  UIKitCore                       0x30b264014         -[UIApplication _run]
16  UIKitCore                       0x30aff8298         UIApplicationMain
17  libswiftUIKit.dylib             0x332ad3e7c         UIApplicationMain
18  BodyEditor                      0x202ad8bb4         [inlined] UIApplicationDelegate.main
19  BodyEditor                      0x202ad8bb4         [inlined] AppDelegate.$main (AppDelegate.swift:21)
20  BodyEditor                      0x202ad8bb4         main
21  <unknown>                       0x105428190         <redacted>

Code of Conduct

  • I agree to follow this project's Code of Conduct
@jennantilla
Copy link
Contributor

Hello there, we have not received any additional reports of this crash. Please upgrade to our latest SDK version and open a new issue if you are still encountering this. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants