actool crashes on compiling with invalid jpeg
Originator: | keithbsmiley | ||
Number: | rdar://22463881 | Date Originated: | 27-Aug-2015 02:50 PM |
Status: | Duplicate of 22082316 | Resolved: | |
Product: | Developer Tools | Product Version: | Xcode 7 beta 6 7A192o |
Classification: | UI/Usability | Reproducible: | Sometimes |
Summary: While using Xcode 7 beta 6 7A192o, a seemingly invalid jpg image crashes actool with this error: ``` 'IBPlatformToolFailureException', reason: 'The agent crashed ``` Steps to reproduce: 1. Switch to the Xcode 7 beta 6 command line tools 2. In the example project run the crash.sh script 3. Wait for actool to crash Expected results: The xcassets file should be compiled correctly each time. Actual results: actool occasionally crashes (nearly 100% on CI) Notes: - See the included crash.log for the crash - If the crash doesn't happen after a reasonable amount of time, it typically happens very soon after ibtool is started. Kill ibtoold with: `pgrep ibtool | xargs kill -9` and run the script again - This jpg has been included in our project with no issue for a long time - We still don't see anything wrong with this file, but re-exporting it solved the problem
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!
Example project https://github.com/keith/radars/tree/master/actoolCrash