摆脱持久的SIGABRT错误

时间:2011-11-12 19:07:35

标签: objective-c build

我的应用程序一直出现SIGABRT错误。我已经尝试重新下载我的整个开发人员配置文件证书和配置证书等,但仍然没有变化。我也玩过不断变化的架构。我的项目崩溃时的活动日志如下 - 任何人都知道是什么导致了它?

[CODE]GNU gdb 6.3.50-20050815 (Apple version gdb-1708) (Fri Sep 16 06:56:50 UTC 2011)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "--host=i386-apple-darwin --target=arm-apple-darwin".tty /dev/ttys001
sharedlibrary apply-load-rules all
target remote-mobile /tmp/.XcodeGDBRemote-1268-71
Switching to remote-macosx protocol
mem 0x1000 0x3fffffff cache
mem 0x40000000 0xffffffff none
mem 0x00000000 0x0fff none
[Switching to process 7171 thread 0x1c03]
[Switching to process 7171 thread 0x1c03]
Couldn't register sh.heather.reactionfree with the bootstrap server. Error: unknown error code.
This generally means that another instance of this process was already running or is hung in the debugger.(gdb) [/CODE]

2 个答案:

答案 0 :(得分:1)

我有几次这个问题。我不确定,但是当我在不停止模拟器中的先前构建的情况下不断构建和运行时,似乎会发生这种情况。 (我尝试始终按下stop按钮)

要尝试的事情

  1. 有时只需退出模拟器和Xcode即可解决此问题。

  2. 有时我不得不重新启动系统。

  3. 所以他们可能会让你快速站起来,但我也很乐意听到那些知道更多的人的原因/解决方法。

答案 1 :(得分:0)

你必须遇到内存管理问题。只需清理构建它然后按分析以查找任何问题/泄漏和死记忆管理问题...一旦清除完毕,您的程序就会根据您的编码运行。