Sporadic Dyld crashes on app launch
Originator: | senior | ||
Number: | rdar://25085577 | Date Originated: | 10-Mar-2016 11:31 AM |
Status: | Closed - Duplicate of 24278648 (open) | Resolved: | |
Product: | iOS | Product Version: | 9.1+ |
Classification: | Bug | Reproducible: | Sometimes |
Summary: Our app is seeing sporadic crashes on launch when using dynamic libraries. This is only when running the app store release on device. The problem is described in detail here: https://github.com/artsy/eigen/issues/1246 Steps to Reproduce: There is no simple way to reproduce. It appears to happen on devices that are memory-constrained, as freeing up RAM on the device causes the app to no longer crash. Expected Results: The app doesn't crash on launch Actual Results: The app crashes and produces a log similar to the one attached to the radar: Dyld Error Message: Dyld Message: Library not loaded: @rpath/MoPub.framework/MoPub Referenced from: /var/mobile/Containers/Bundle/Application/5D64892C-E1A7-4BCE-9154-E28B397C7258/theScore.app/theScore Reason: no suitable image found. Did find: /private/var/mobile/Containers/Bundle/Application/5D64892C-E1A7-4BCE-9154-E28B397C7258/theScore.app/Frameworks/MoPub.framework/MoPub: mremap_encrypted() => -1, errno=12 for /private/var/mobile/Containers/Bundle/Application/5D64892C-E1A7-4BCE-9154-E28B397C7258/theScore.app/Frameworks/MoPub.framework/MoPub /private/var/mobile/Containers/Bundle/Application/5D64892C-E1A7-4BCE-9154-E28B397C7258/theScore.app/Frameworks/MoPub.framework/MoPub: mremap_encrypted() => -1, errno=12 for /private/var/mobile/Containers/Bundle/Application/5D64892C-E1A7-4BCE-9154-E28B397C7258/theScore.app/Frameworks/MoPub.framework/MoPub /private/var/mobile/Containers/Bundle/Application/5D64892C-E1A7-4BCE-9154-E28B397C7258/theScore.app/Frameworks/MoPub.framework/MoPub: mremap_encrypted() => -1, errno=12 for /private/var/mobil Dyld Version: 370.6 Regression: This only seems to occur on iOS 9.1 and greater. Notes: For some reason the app will successfully launch when opened via a push notification (?!).
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!
Apple closed this as duplicate of 24278648 (open)
see also rdar://25166906
Filed yesterday with stack trace specific to our application.
see also rdar://25072879
filed this yesterday: http://openradar.appspot.com/radar?id=4992459683659776