exc 错误访问代码 2 [英] exc bad access code 2

查看:20
本文介绍了exc 错误访问代码 2的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

I have been struggling with this error for the last 3 days and no luck. I'm developing a combined app with uiviewcontrollers and uitableviewcontrollers and in table views I click the add button and it crashes. (no core data coding has been added yet). I have even enabled NSzombies and Guard Malloc and the following points of crashing are on these codes. Please help as I need to try chase a deadline and I don't want to go further in development with the gremlin in the project.

0x0 into
0x93e3bef3 testl
0x93e3570c movl
0x1f1b124 testl
0x1f18eb1 movl
0x8fecf203 addl
0x8feced68 movl
0x8fecc2c8 movb
0x8fecc25e movl
0x8fecc25e movl
0x8fecc25e movl
0x8fecc25e movl
0x8fecd268 movl
0x8fec1664 addl
0x8fec5f99 jmp
0x8febf2ef addl

解决方案

Use the "Zombie" tool in Instruments.

Open menu Product > Profile. Xcode opens instruments, where you can select a tool. Select Zombie. The app will open in simulator then recreate the EXC_BAD_ACCESS error. Instruments will show you what variable and on what function raised this error.

这篇关于exc 错误访问代码 2的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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