应用程序在 ZKFileArchive 上崩溃
我构建了我的应用程序来下载一些大小从 10 MB 到 25 MB 的 zip 文件。 下载到本地文档文件夹后,我触发 ZKFileArchive 方法将其解压缩到同一文件夹。
在调试模式(设备/模拟器)中一切正常。当我创建一个要安装的版本时,应用程序在到达
ZKFileArchive *archive = [ZKFileArchive archiveWithArchivePath:filePath];
启用 NSZombie 时崩溃,它会向我抛出以下错误:
Thread 10 Crashed:
0 Hoppr iOS 0x0003318c +[ZKFileArchive archiveWithArchivePath:] (ZKFileArchive.m:185)
1 Hoppr iOS 0x00004092 -[LaunchDownload inflateFile:withDict:] (LaunchDownload.m:348)
2 Foundation 0x33fbeb8a 0x33fb3000 + 48010
3 Foundation 0x33fb7b90 0x33fb3000 + 19344
4 libSystem.B.dylib 0x32d27b44 0x32c9c000 + 572228
5 libSystem.B.dylib 0x32d197a4 0x32c9c000 + 513956
这可能是内存问题吗?它有时会向我抛出 1 级内存警告,但正如我一直在阅读的那样,这应该不会引起太多问题。
有什么想法吗? 提前致谢!
[编辑]
该日志文件的顶部:
Incident Identifier: 1BEC1CCB-AD95-4A06-8F4F-3DA1A2A4F18D
CrashReporter Key: 36fcd8536ee68a7e6b261ba23f2ec090b98d388e
Hardware Model: iPod2,1
Process: Hoppr iOS [1340]
Path: /var/mobile/Applications/47587D8A-AE7E-4C26-9C23-9394DE268E69/Hoppr iOS.app/Hoppr iOS
Identifier: Hoppr iOS
Version: ??? (???)
Code Type: ARM (Native)
Parent Process: launchd [1]
Date/Time: 2011-03-16 15:49:22.041 +0100
OS Version: iPhone OS 4.2.1 (8C148)
Report Version: 104
Exception Type: EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes: 0x00000001, 0xe92d0d00
Crashed Thread: 10
I've build my app to download a few zip-files with sizes from 10 up to 25 MB.
After download to the local documents folder I fire the ZKFileArchive method to unzip to that same folder.
In debug modus (device/simulator) all works fine. When I create a release which I install, the app crashes when it reaches
ZKFileArchive *archive = [ZKFileArchive archiveWithArchivePath:filePath];
With NSZombie enabled it throws me this:
Thread 10 Crashed:
0 Hoppr iOS 0x0003318c +[ZKFileArchive archiveWithArchivePath:] (ZKFileArchive.m:185)
1 Hoppr iOS 0x00004092 -[LaunchDownload inflateFile:withDict:] (LaunchDownload.m:348)
2 Foundation 0x33fbeb8a 0x33fb3000 + 48010
3 Foundation 0x33fb7b90 0x33fb3000 + 19344
4 libSystem.B.dylib 0x32d27b44 0x32c9c000 + 572228
5 libSystem.B.dylib 0x32d197a4 0x32c9c000 + 513956
Could this be a memory issue? From times to times it throws me a level 1 memory warning, but as I've been reading this should not cause too much problems.
Any ideas?
Thanks in advance!
[EDIT]
The top of this logfile:
Incident Identifier: 1BEC1CCB-AD95-4A06-8F4F-3DA1A2A4F18D
CrashReporter Key: 36fcd8536ee68a7e6b261ba23f2ec090b98d388e
Hardware Model: iPod2,1
Process: Hoppr iOS [1340]
Path: /var/mobile/Applications/47587D8A-AE7E-4C26-9C23-9394DE268E69/Hoppr iOS.app/Hoppr iOS
Identifier: Hoppr iOS
Version: ??? (???)
Code Type: ARM (Native)
Parent Process: launchd [1]
Date/Time: 2011-03-16 15:49:22.041 +0100
OS Version: iPhone OS 4.2.1 (8C148)
Report Version: 104
Exception Type: EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes: 0x00000001, 0xe92d0d00
Crashed Thread: 10
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您链接的框架看起来不是为目标平台构建的。
非法指令
意味着二进制文件存在严重错误。The framework you are linking looks like it was not built for the target platform.
Illegal instruction
means there is something very wrong with the binary.