A colleague ran into a situation where the app would crash on launch. Important to note is that she was also seeing it with other apps, such as LinkedIn.app.
A restart of her device ‘fixed’ the issue.
Info about the errors
Dyld Error Message:
Dyld Message: Library not loaded: @rpath/CocoaLumberjack.framework/CocoaLumberjack
Referenced from: /var/mobile/Containers/Bundle/Application/D693664B-F6D0-43CB-A839-358E15CAF9E6/Artsy.app/Artsy
Reason: no suitable image found. Did find:
/private/var/mobile/Containers/Bundle/Application/D693664B-F6D0-43CB-A839-358E15CAF9E6/Artsy.app/Frameworks/CocoaLumberjack.framework/CocoaLumberjack:
mremap_encrypted() => -1, errno=12 for /private/var/mobile/Containers/Bundle/Application/D693664B-F6D0-43CB-A839-358E15CAF9E6/Artsy.app/Frameworks/CocoaLumberjack.framework/CocoaLumberjack
/private/var/mobile/Containers/Bundle/Application/D693664B-F6D0-43CB-A839-358E15CAF9E6/Artsy.app/Frameworks/CocoaLumberjack.framework/CocoaLumberjack:
mremap_encrypted() => -1, errno=12 for /private/var/mobile/Containers/Bundle/Application/D693664B-F6D0-43CB-A839-358E15CAF9E6/Artsy.app/Frameworks/CocoaLumberjack.framework/CocoaLumberjack
/private/var/mobile/Containers/Bundle/Application/D693664B-F6D0-43CB-A839-358E15CAF9E6/Artsy.app/Frameworks/C
Dyld Version: 370.1
The error message and codes are always the same.
The error is not specific to a framework, it happens with various frameworks.
It appears to have started from iOS 9.1 and up.
Based on retracing steps through dyld/xnu, the error numbers appear to be ERESTART (-1) and ENOMEM (12).
Steps to Reproduce:
We have been unable to reproduce the issue in house.
Expected Results:
iOS clears memory (e.g. via jetsam) and loads the app.
Description
Summary:
Info about the errors
Based on retracing steps through dyld/xnu, the error numbers appear to be
ERESTART
(-1) andENOMEM
(12).Steps to Reproduce: We have been unable to reproduce the issue in house.
Expected Results: iOS clears memory (e.g. via jetsam) and loads the app.
Actual Results: Crashes at startup.
Version: iOS 9.1
Notes: You can find a more comprehensive version of this report on https://github.com/artsy/eigen/issues/1246.
Configuration: Any iOS 9 compatible device.
Product Version: 9.1 Created: 2016-03-12T08:27:23.781720 Originated: 2016-03-12T00:00:00 Open Radar Link: http://www.openradar.me/25126016