iOS App crash with SIGTRAP in iPhone 6 plus?

二次信任 提交于 2019-12-03 07:36:23

问题


I have an app which is written in swift and uses AFNetwork and some other helpers written in Obj c. On my clients device (iPhone 6+) he is getting an SIGTRAP error, I have tried to recreate the issue on the testing devices that we have and on all the simulators but could not recreate it.

Below is the stack trace, it crashed twice: http://paste.ubuntu.com/12077304/ When I symbolicate the crash report it is pointing to:

-[Instagram getOwnBaseUrl] (in DiaryApp) (Instagram.m:118)

And on the second instance it point to:

[UIAlertView(AFNetworking) showAlertViewForTaskWithErrorOnCompletion:delegate:cancelButtonTitle:otherButtonTitles:]_block_invoke (in DiaryApp) (UIAlertView+AFNetworking.m:72)

Crash Log : http://paste.ubuntu.com/12077328/

I am not able to pin point the exact cause for the crash. Any help in this regard will be highly appreciated.

Thanks.


回答1:


SIGTRAP is not the error it is the exception. It doesn't show the origin of the crash. This exceptions throw into Main thread on Main/Next Runloop, so the stacktrace of the main thread does not show the origin of it.

It happen like NSArray indexOutOfBounds or library or anything else

reference link

signal Types



来源:https://stackoverflow.com/questions/32002814/ios-app-crash-with-sigtrap-in-iphone-6-plus

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!