lionheart / openradar-mirror

A mirror of radars pulled from http://openradar.me/.
244 stars 17 forks source link

25126016: iOS may run out of memory while loading dynamic libraries. #7753

Open openradar-mirror opened 8 years ago

openradar-mirror commented 8 years ago

Description

Summary:

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

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.

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

openradar-mirror commented 8 years ago

Modified: 2016-04-01T11:03:20.447810