nst / nst/RuntimeBrowser

iOS 13.2.3 crash when loading some frameworks

Open
#39 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Objective-C
Stars
3.7k
Forks
521
PR merge metrics
No merged PRs in 30d

Description

[INFO] GCDWebServer started on port 10000 and reachable at http://192.168.2.2:10000/
2019-12-03 10:34:26.770756+0800 OCRuntime[255:3744] Visit http://192.168.2.2:10000/ in your web browser
[INFO] GCDWebServer now reachable at http://Elf-Sundaes-iPhone.local:10000/
2019-12-03 10:34:35.318125+0800 OCRuntime[255:3903] -- [ERROR] The bundle “AudioUnit” couldn’t be loaded because its executable couldn’t be located.
2019-12-03 10:34:35.427906+0800 OCRuntime[255:3903] -- [ERROR] The bundle “CoreAudioTypes” couldn’t be loaded because its executable couldn’t be located.
2019-12-03 10:34:35.491113+0800 OCRuntime[255:3903] -- [ERROR] The bundle “DriverKit” couldn’t be loaded because its executable couldn’t be located.
2019-12-03 10:34:36.408821+0800 OCRuntime[255:3903] -- [ERROR] The bundle “Accessibility” couldn’t be loaded because its executable couldn’t be located.
2019-12-03 10:34:36.499668+0800 OCRuntime[255:3903] -- skip /System/Library/PrivateFrameworks/Accessibility.framework/Frameworks/AXSpringBoardServerInstance.framework, known to be a crasher on device
2019-12-03 10:34:37.240913+0800 OCRuntime[255:3903] [Common] Allowing SpringBoardUI.framework to load because SearchUI.framework is loaded. This will become a hard assert once <rdar://problem/29408996> is fixed.
2019-12-03 10:34:37.241006+0800 OCRuntime[255:3903] [Common] This process should not be linking or loading SpringBoardUI.framework
Assertion failed: (platformBinary), function SBStaticInitializer, file /BuildRoot/Library/Caches/com.apple.xbs/Sources/SpringBoardHome/SpringBoard-3956.25.1/StaticInitializer.m, line 39.
(lldb) 

I added frameworks that would crash to the "skipedFrameworks" array then run again, until "Load Add" could work. These frameworks are:

@"/System/Library/PrivateFrameworks/AppPredictionUI.framework",
@"/System/Library/PrivateFrameworks/AssistantSettingsSupport.framework",
@"/System/Library/PrivateFrameworks/CarPlaySupport.framework",
@"/System/Library/PrivateFrameworks/ControlCenterUI.framework",
@"/System/Library/PrivateFrameworks/CoverSheet.framework",
@"/System/Library/PrivateFrameworks/SearchUI.framework",
@"/System/Library/PrivateFrameworks/SearchUICardKitProviderSupport.framework",
@"/System/Library/PrivateFrameworks/SiriUIActivation.framework",
@"/System/Library/PrivateFrameworks/Spotlight.framework",
@"/System/Library/PrivateFrameworks/SpotlightUI.framework",
@"/System/Library/PrivateFrameworks/SpotlightUIInternal.framework",
@"/System/Library/PrivateFrameworks/SpringBoard.framework",
@"/System/Library/PrivateFrameworks/SpringBoardHome.framework",
@"/System/Library/PrivateFrameworks/SpringBoardUI.framework",
@"/System/Library/PrivateFrameworks/UserNotificationsUIKit.framework",
@"/System/Library/PrivateFrameworks/VoiceShortcutsUI.framework",

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the skippedFrameworks array and reproduce the crash on iOS 13.2.3 while loading the listed private frameworks. Done means the affected frameworks can be handled without the reported assertion crash or requiring the manually added skips.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, objective-c
Domain
mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.