在iPhone 6 plus中使用SIGTRAP的iOS应用程序崩溃? [英] iOS App crash with SIGTRAP in iPhone 6 plus?

查看:904
本文介绍了在iPhone 6 plus中使用SIGTRAP的iOS应用程序崩溃?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个用swift编写的应用程序,它使用AFNetwork和其他一些用Obj编写的帮助程序。在我的客户端设备(iPhone 6+)上他收到了一个SIGTRAP错误,我试图在我们拥有的测试设备和所有模拟器上重新创建问题,但无法重新创建它。



下面是堆栈跟踪,它崩溃了两次:


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.

解决方案

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

这篇关于在iPhone 6 plus中使用SIGTRAP的iOS应用程序崩溃?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆