didi / didi/DoKit

【DoKit生态场景】- iOS集成打开load之后启动crash - SIGNAL 10 Bus

Open
#1,144 0 comments 0 reactions 1 assignee Claimed by @jtsky View on GitHub
Dominant language
Java
Stars
20.4k
Forks
3.2k
Avg merge
1d 12h
Merged PRs (30d)
2

Description

# iOS集成打开load之后启动crash - SIGNAL 10 Bus

> iOS 17.0beta8
> 开启load后正常启动
> 集成并开启load
>
log如下

```

Incident Identifier: 0DB485F8-6DA1-4C53-9414-23802AC9B6B2
CrashReporter Key: d897506ad126b735840abbaa9c699cb5bcc3f897
Hardware Model: iPad7,3
Process: 不能显示 [5020]
Path: /private/var/containers/Bundle/Application/C82CC8F2-42F5-41C1-8863-4EC30CE03537/ 不能显示.app/ 不能显示
Identifier: 不能显示
Version: 3.6.0 (740)
Code Type: ARM-64 (Native)
Role: Foreground
Parent Process: launchd [1]
Coalition: 不能显示 [936]

Date/Time: 2023-09-11 11:36:42.0050 +0800
Launch Time: 2023-09-11 11:36:41.8559 +0800
OS Version: iPhone OS 17.0 (21A5326a)
Release Type: Beta
Report Version: 104

Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Subtype: KERN_PROTECTION_FAILURE at 0x00000001db9d2fa0
Exception Codes: 0x0000000000000002, 0x00000001db9d2fa0
VM Region Info: 0x1db9d2fa0 is in 0x1db9d1d90-0x1dba04a00; bytes after start: 4624 bytes before end: 203359
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
__DATA_CONST 1db99f3c0-1db9d1d90 [ 202K] r--/rw- SM=COW .../AppleAccount
---> __DATA_CONST 1db9d1d90-1dba04a00 [ 203K] r--/rw- SM=COW ...mework/CoreUI
__DATA_CONST 1dba04a00-1dba38fb8 [ 209K] r--/rw- SM=COW ...Configuration
Termination Reason: SIGNAL 10 Bus error: 10
Terminating Process: exc handler [5020]

Triggered by Thread: 0

Thread 0 Crashed:
0 不能显示 0x10449d8b8 doraemon_perform_rebinding_with_section + 724
1 不能显示 0x10449d468 doraemon_rebind_symbols_for_image + 832
2 不能显示 0x10449d5d8 _doraemon_rebind_symbols_for_image + 40
3 dyld 0x1abff3c98 invocation function for block in dyld4::APIs::_dyld_register_func_for_add_image(void (*)(mach_header const*, long)) + 292
4 dyld 0x1abff3794 dyld4::RuntimeLocks::withLoadersReadLock(void () block_pointer) + 68
5 dyld 0x1ac01c2bc dyld4::APIs::_dyld_register_func_for_add_image(void (*)(mach_header const*, long)) + 136
6 不能显示 0x10449d530 doraemon_rebind_symbols + 116
7 不能显示 0x104579764 dtp_hook_begin + 96
8 不能显示 0x104578a5c +[DoraemonTimeProfiler startRecord] + 68
9 不能显示 0x104571574 -[DoraemonStartTimeViewController doraemon_application:didFinishLaunchingWithOptions:] + 96
10 UIKitCore 0x18dce31ec -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 316
11 UIKitCore 0x18dce22f0 -[UIApplication _callInitializationDelegatesWithActions:forCanvas:payload:fromOriginatingProcess:] + 2788
12 UIKitCore 0x18dce1328 -[UIApplication _runWithMainScene:transitionContext:completion:] + 852
13 UIKitCore 0x18dce0f88 -[_UISceneLifecycleMultiplexer completeApplicationLaunchWithFBSScene:transitionContext:] + 128
14 UIKitCore 0x18dc648a4 _UIScenePerformActionsWithLifecycleActionMask + 96
15 UIKitCore 0x18dce4d44 __101-[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:]_block_invoke + 188
16 UIKitCore 0x18dc16ce4 -[_UISceneLifecycleMultiplexer _performBlock:withApplicationOfDeactivationReasons:fromReasons:] + 212
17 UIKitCore 0x18dc1582c -[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:] + 576
18 UIKitCore 0x18dc151d4 -[_UISceneLifecycleMultiplexer uiScene:transitionedFromState:withTransitionContext:] + 244
19 UIKitCore 0x18dc150b8 __186-[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:]_block_invoke + 140
20 UIKitCore 0x18dc14fcc +[BSAnimationSettings(UIKit) tryAnimatingWithSettings:fromCurrentState:actions:completion:] + 656
21 UIKitCore 0x18dc14874 _UISceneSettingsDiffActionPerformChangesWithTransitionContextAndCompletion + 196
22 UIKitCore 0x18dc14534 -[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:] + 288
23 UIKitCore 0x18df512b8 __64-[UIScene scene:didUpdateWithDiff:transitionContext:completion:]_block_invoke.198 + 608
24 UIKitCore 0x18dc1370c -[UIScene _emitSceneSettingsUpdateResponseForCompletion:afterSceneUpdateWork:] + 208
25 UIKitCore 0x18dc135a0 -[UIScene scene:didUpdateWithDiff:transitionContext:completion:] + 220
26 UIKitCore 0x18dd1dea0 -[UIApplication workspace:didCreateScene:withTransitionContext:completion:] + 484
27 UIKitCore 0x18dd1dc50 -[UIApplicationSceneClientAgent scene:didInitializeWithEvent:completion:] + 260
28 FrontBoardServices 0x1a23b59f4 -[FBSScene _callOutQueue_didCreateWithTransitionContext:completion:] + 296
29 FrontBoardServices 0x1a23e8bbc __92-[FBSWorkspaceScenesClient createSceneWithIdentity:parameters:transitionContext:completion:]_block_invoke.82 + 224
30 FrontBoardServices 0x1a23b4734 -[FBSWorkspace _calloutQueue_executeCalloutFromSource:withBlock:] + 160
31 FrontBoardServices 0x1a23bf52c __92-[FBSWorkspaceScenesClient createSceneWithIdentity:parameters:transitionContext:completion:]_block_invoke + 284
32 libdispatch.dylib 0x193127f60 _dispatch_client_callout + 16
33 libdispatch.dylib 0x1930cc7a8 _dispatch_block_invoke_direct$VARIANT$mp + 240
34 FrontBoardServices 0x1a23b0e98 __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 44
35 FrontBoardServices 0x1a23b0e20 -[FBSMainRunLoopSerialQueue _targetQueue_performNextIfPossible] + 196
36 FrontBoardServices 0x1a23b0d34 -[FBSMainRunLoopSerialQueue _performNextFromRunLoopSource] + 24
37 CoreFoundation 0x18ba13bbc __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24
38 CoreFoundation 0x18ba12ec4 __CFRunLoopDoSource0 + 172
39 CoreFoundation 0x18ba117b4 __CFRunLoopDoSources0 + 232
40 CoreFoundation 0x18ba10468 __CFRunLoopRun + 784
41 CoreFoundation 0x18ba10074 CFRunLoopRunSpecific + 572
42 GraphicsServices 0x1c8500ad8 GSEventRunModal + 160
43 UIKitCore 0x18dcfcd38 -[UIApplication _run] + 868
44 UIKitCore 0x18dcfc3a4 UIApplicationMain + 312
45 不能显示 0x103fe6598 main + 124
46 dyld 0x1abfeda60 start + 1756

```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.