Repository navigation
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Versions:
PostHog iOS: 1.4.0 from SPM
iOS: 12.5.4
iPhone: 5S
Crashes on launch when initialising PostHog.
Crashed: com.apple.main-thread
0 ??? 0x101e2a418 (Missing)
1 ??? 0x101e29a58 (Missing)
2 ??? 0x101e29a88 (Missing)
3 ??? 0x101dec8f8 (Missing)
4 ??? 0x101deca14 (Missing)
5 libdyld.dylib 0x21b6c4848 dyld_stub_binder + 60
6 ECHOES 0x101566194 -[PHGPayloadManager initWithPostHog:] + 2556484
7 ECHOES 0x101568674 -[PHGPostHog initWithConfiguration:] + 2565924
8 ECHOES 0x1015685a8 __37+[PHGPostHog setupWithConfiguration:]_block_invoke + 2565720
9 libdispatch.dylib 0x21b6b17d4 _dispatch_client_callout + 16
10 libdispatch.dylib 0x21b654eb8 _dispatch_once_callout + 28
11 ECHOES 0x101568578 +[PHGPostHog setupWithConfiguration:] + 2565672
12 ECHOES 0x100f94c14 specialized static AnalyticsManager.initializeAnalytics() + 16 (AnalyticsManager.swift:16)
13 ECHOES 0x100f9892c specialized AppDelegate.application(_:didFinishLaunchingWithOptions:) + 4306045228 (<compiler-generated>:4306045228)
14 ECHOES 0x100f97adc @objc AppDelegate.application(_:didFinishLaunchingWithOptions:) + 4306041564 (<compiler-generated>:4306041564)
15 UIKitCore 0x2484880f0 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 412
16 UIKitCore 0x248489854 -[UIApplication _callInitializationDelegatesForMainScene:transitionContext:] + 3352
17 UIKitCore 0x24848efe0 -[UIApplication _runWithMainScene:transitionContext:completion:] + 1540
18 UIKitCore 0x247d522a4 __111-[__UICanvasLifecycleMonitor_Compatability _scheduleFirstCommitForScene:transition:firstActivation:completion:]_block_invoke + 776
19 UIKitCore 0x247d5a83c +[_UICanvas _enqueuePostSettingUpdateTransactionBlock:] + 160
20 UIKitCore 0x247d51f28 -[__UICanvasLifecycleMonitor_Compatability _scheduleFirstCommitForScene:transition:firstActivation:completion:] + 236
21 UIKitCore 0x247d52818 -[__UICanvasLifecycleMonitor_Compatability activateEventsOnly:withContext:completion:] + 1064
22 UIKitCore 0x247d50b64 __82-[_UIApplicationCanvas _transitionLifecycleStateWithTransitionContext:completion:]_block_invoke + 744
23 UIKitCore 0x247d5082c -[_UIApplicationCanvas _transitionLifecycleStateWithTransitionContext:completion:] + 428
24 UIKitCore 0x247d5536c __125-[_UICanvasLifecycleSettingsDiffAction performActionsForCanvas:withUpdatedScene:settingsDiff:fromSettings:transitionContext:]_block_invoke + 220
25 UIKitCore 0x247d56150 _performActionsWithDelayForTransitionContext + 112
26 UIKitCore 0x247d55224 -[_UICanvasLifecycleSettingsDiffAction performActionsForCanvas:withUpdatedScene:settingsDiff:fromSettings:transitionContext:] + 244
27 UIKitCore 0x247d59f24 -[_UICanvas scene:didUpdateWithDiff:transitionContext:completion:] + 360
28 UIKitCore 0x24848d5e8 -[UIApplication workspace:didCreateScene:withTransitionContext:completion:] + 540
29 UIKitCore 0x248089e04 -[UIApplicationSceneClientAgent scene:didInitializeWithEvent:completion:] + 360
30 FrontBoardServices 0x21e5ef9fc -[FBSSceneImpl _didCreateWithTransitionContext:completion:] + 440
31 FrontBoardServices 0x21e5f940c __56-[FBSWorkspace client:handleCreateScene:withCompletion:]_block_invoke_2 + 256
32 FrontBoardServices 0x21e5f8c14 __40-[FBSWorkspace _performDelegateCallOut:]_block_invoke + 64
33 libdispatch.dylib 0x21b6b17d4 _dispatch_client_callout + 16
34 libdispatch.dylib 0x21b6565dc _dispatch_block_invoke_direct$VARIANT$mp + 224
35 FrontBoardServices 0x21e62a040 __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 40
36 FrontBoardServices 0x21e629cdc -[FBSSerialQueue _performNext] + 408
37 FrontBoardServices 0x21e62a294 -[FBSSerialQueue _performNextFromRunLoopSource] + 52
38 CoreFoundation 0x21bc04f1c __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24
39 CoreFoundation 0x21bc04e9c __CFRunLoopDoSource0 + 88
40 CoreFoundation 0x21bc04784 __CFRunLoopDoSources0 + 176
41 CoreFoundation 0x21bbff6c0 __CFRunLoopRun + 1004
42 CoreFoundation 0x21bbfefb4 CFRunLoopRunSpecific + 436
43 GraphicsServices 0x21de0079c GSEventRunModal + 104
44 UIKitCore 0x248490c38 UIApplicationMain + 212
45 ECHOES 0x100eb3828 main + 17 (AppDelegate.swift:17)
46 libdyld.dylib 0x21b6c28e0 start + 4
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Activity
joshkopecek commentedon Jul 14, 2021
Managed to reproduce this on the simulator with an iPhone 5S running 12.4:
marandaneto commentedon Oct 9, 2023
@joshkopecek does this happen with the latest version? https://github.com/PostHog/posthog-ios/releases/tag/2.0.5
marandaneto commentedon Oct 31, 2023
Closing the issue as a part of large repository cleanup, due to it being inactive and/or outdated.
Please do not hesitate to ping me if it is still relevant, and I will happily reopen and work on it.
Cheers!