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

iPhone 6: Consistent Kernel Hang/Reboot with UIImage/CoreGraphics API/Floating Point usage #478

Open
coolstar opened this issue May 25, 2017 · 0 comments

Comments

@coolstar
Copy link

coolstar commented May 25, 2017

Device tested: iPhone 6

Steps to trigger bug (possible to trigger via other methods too [such as usage of the device's Camera], but this is the easiest):

  1. Install 20-30 apps if you don't have many apps on the device
  2. Install Anemone, any icon theme, and CircleIcons (from https://coolstar.org/publicrepo)
  3. Enable the icon theme and CircleIcons in Anemone
  4. Open Settings > General > Storage & iCloud Usage > Manage Storage (under Storage)
  5. Scroll down the list

Observed behavior: the device either freezes (and is then completely unresponsive over the network, or even over USB [plugging it into a computer doesn't enumerate the device]) or instantly reboots with a kernel panic about 60% of the time

Expected behavior (tested on iPhone 6S with yalu10.2 and on iPad Air 2 with Pangu9.3.3): The usage panel loads correctly and the device is completely functional and responsive

API's used in Anemone:

  1. MSHookMessage (hooking +[UIImage _applicationIconImageForBundleIdentifier: format: scale:])
  2. UIGraphicsBeginImageContextWithOptions
  3. -[UIImage drawInRect:]
  4. UIGraphicsGetImageFromCurrentImageContext
  5. UIGraphicsEndImageContext

If needed, I can provide a test tweak with just the portion that causes this issue in yalu10.2

Reddit post: https://www.reddit.com/r/jailbreak/comments/6dc1zj/discussion_stability_or_lack_of_yalu102/

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

1 participant