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

Crash in OneSignalClient executeSimultaneousRequests #552

Closed
skuske opened this issue Oct 5, 2019 · 6 comments
Closed

Crash in OneSignalClient executeSimultaneousRequests #552

skuske opened this issue Oct 5, 2019 · 6 comments

Comments

@skuske
Copy link

skuske commented Oct 5, 2019

Description:
Crash in

[OneSignalClient executeSimultaneousRequests:withSuccess:onFailure:]_block_invoke + 115 (OneSignalClient.m:115)

Environment

  1. Latest version (2.11.2)
  2. Added manually
  3. iPad Air 2, iOS 12.4.1

Steps to Reproduce Issue:

We only have a crashlytics report, cannot reproduce the issue on our devices.

com.apple.root.default-qos
0  libsystem_kernel.dylib         0x181a9a9d4 __ulock_wait + 8
1  libdispatch.dylib              0x1818dea5c _dispatch_ulock_wait + 56
2  libdispatch.dylib              0x1818de9c8 _dispatch_wait_on_address$VARIANT$mp + 132
3  libdispatch.dylib              0x1818df458 _dispatch_group_wait_slow + 52
4  Appname                        0x10092799c __69-[OneSignalClient executeSimultaneousRequests:withSuccess:onFailure:]_block_invoke + 115 (OneSignalClient.m:115)
5  libdispatch.dylib              0x18193ba38 _dispatch_call_block_and_release + 24
6  libdispatch.dylib              0x18193c7d4 _dispatch_client_callout + 16
7  libdispatch.dylib              0x1818e0c80 _dispatch_queue_override_invoke + 684
8  libdispatch.dylib              0x1818ed030 _dispatch_root_queue_drain + 372
9  libdispatch.dylib              0x1818ed8d4 _dispatch_worker_thread2 + 128
10 libsystem_pthread.dylib        0x181b1d1b4 _pthread_wqthread + 464
11 libsystem_pthread.dylib        0x181b1fcd4 start_wqthread + 4
Crashed: com.apple.frontboardservices.workspace.client
0  libsystem_malloc.dylib         0x181ad1b88 nanov2_allocate_from_block$VARIANT$mp + 536
1  libsystem_malloc.dylib         0x181ad0dec nanov2_allocate$VARIANT$mp + 124
2  libsystem_malloc.dylib         0x181ad12d8 nanov2_calloc$VARIANT$mp + 136
3  libsystem_malloc.dylib         0x181adfca0 malloc_zone_calloc + 140
4  libsystem_malloc.dylib         0x181ae0520 calloc + 32
5  libobjc.A.dylib                0x1810e5500 class_createInstance + 72
6  libobjc.A.dylib                0x1810f066c _objc_rootAlloc + 52
7  BaseBoard                      0x18467bb54 -[BSSettings _newMapTable] + 28
8  BaseBoard                      0x1846794a8 -[BSSettings _setObject:forSetting:] + 72
9  BaseBoard                      0x1846cb270 __36-[BSSettings initWithXPCDictionary:]_block_invoke.16 + 116
10 BaseBoard                      0x1846caf58 BSSettingsDecodeSettingEntries + 636
11 BaseBoard                      0x184679414 -[BSSettings initWithXPCDictionary:] + 248
12 BaseBoard                      0x184689134 BSCreateDeserializedBSXPCEncodableObjectFromXPCDictionary + 168
13 BaseBoard                      0x184689070 BSCreateDeserializedBSXPCEncodableObjectFromXPCDictionaryWithKey + 36
14 FrontBoardServices             0x184870a5c -[FBSSceneTransitionContext initWithXPCDictionary:] + 244
15 BaseBoard                      0x184689134 BSCreateDeserializedBSXPCEncodableObjectFromXPCDictionary + 168
16 BaseBoard                      0x184689070 BSCreateDeserializedBSXPCEncodableObjectFromXPCDictionaryWithKey + 36
17 FrontBoardServices             0x1848bc138 -[FBSWorkspaceSceneUpdateEvent initWithXPCDictionary:] + 128
18 BaseBoard                      0x184689134 BSCreateDeserializedBSXPCEncodableObjectFromXPCDictionary + 168
19 BaseBoard                      0x184689070 BSCreateDeserializedBSXPCEncodableObjectFromXPCDictionaryWithKey + 36
20 BaseBoard                      0x184689168 BSDeserializeBSXPCEncodableObjectFromXPCDictionaryWithKey + 12
21 FrontBoardServices             0x18489f32c -[FBSWorkspaceClient _queue_workspaceEventFromMessage:ofType:] + 36
22 FrontBoardServices             0x18489fd2c -[FBSWorkspaceClient _queue_handleSceneUpdate:] + 92
23 FrontBoardServices             0x1848a0d60 -[FBSWorkspaceClient queue_handleMessage:] + 256
24 BaseBoard                      0x1846a6614 __54-[BSBaseXPCClient queue_registerWithServerIfNecessary]_block_invoke + 148
25 libxpc.dylib                   0x181b54afc _xpc_connection_call_event_handler + 68
26 libxpc.dylib                   0x181b54e60 _xpc_connection_mach_event + 856
27 libdispatch.dylib              0x18193c894 _dispatch_client_callout4 + 16
28 libdispatch.dylib              0x1818f45c0 _dispatch_mach_msg_invoke$VARIANT$mp + 340
29 libdispatch.dylib              0x1818e51f0 _dispatch_lane_serial_drain$VARIANT$mp + 284
30 libdispatch.dylib              0x1818f51cc _dispatch_mach_invoke$VARIANT$mp + 476
31 libdispatch.dylib              0x1818e51f0 _dispatch_lane_serial_drain$VARIANT$mp + 284
32 libdispatch.dylib              0x1818e5e74 _dispatch_lane_invoke$VARIANT$mp + 480
33 libdispatch.dylib              0x1818ee4ac _dispatch_workloop_worker_thread + 596
34 libsystem_pthread.dylib        0x181b1d114 _pthread_wqthread + 304
35 libsystem_pthread.dylib        0x181b1fcd4 start_wqthread + 4
@rgomezp
Copy link
Contributor

rgomezp commented Oct 9, 2019

Howdy,
Can you please include the full logs? It isn't clear from these logs what the error is

Note: https://github.com/OneSignal/OneSignal-iOS-SDK/blob/master/iOS_SDK/OneSignalSDK/Source/OneSignalClient.m#L115

@rgomezp
Copy link
Contributor

rgomezp commented Oct 21, 2019

Closing due to no response

@rgomezp rgomezp closed this as completed Oct 21, 2019
@zttina
Copy link

zttina commented Oct 20, 2022

Same crashes for me.
image
I found all devices are iOS 16+

@zttina
Copy link

zttina commented Oct 20, 2022

@rgomezp

@emawby
Copy link
Contributor

emawby commented Oct 20, 2022

@zttina Which sdk version are you using? I will reopen this issue

@emawby emawby reopened this Oct 20, 2022
@emawby
Copy link
Contributor

emawby commented Mar 23, 2023

Closing due to inactivity

@emawby emawby closed this as completed Mar 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants