- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我的 iPad 应用程序崩溃了(至少对我来说)是非特定的。这是一个异常类型:EXC_BREAKPOINT。我正在考虑双重内存释放或尝试访问已释放的变量,但我希望有人可以在我搜索代码时提供更多信息。完整的崩溃日志是:
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x00000102, 0x31ccebd0
Crashed Thread: 0
Thread 0 Crashed:
0 CoreFoundation 0x0000ab96 CFRelease + 90
1 CoreFoundation 0x0005209e __CFRunLoopTimerDeallocate + 18
2 CoreFoundation 0x0000ac68 _CFRelease + 160
3 CoreFoundation 0x0000ab8e CFRelease + 82
4 CoreFoundation 0x00019130 __CFTypeCollectionRelease + 8
5 CoreFoundation 0x00019962 __CFArrayReleaseValues + 302
6 CoreFoundation 0x0001982c __CFArrayDeallocate + 8
7 CoreFoundation 0x0000ac68 _CFRelease + 160
8 CoreFoundation 0x0000ab8e CFRelease + 82
9 CoreFoundation 0x000279c4 __CFRunLoopRun + 1092
10 CoreFoundation 0x0002748c CFRunLoopRunSpecific + 224
11 CoreFoundation 0x00027394 CFRunLoopRunInMode + 52
12 GraphicsServices 0x000044a4 GSEventRunModal + 108
13 GraphicsServices 0x00004550 GSEventRun + 56
14 UIKit 0x000374ce -[UIApplication _run] + 406
15 UIKit 0x00035148 UIApplicationMain + 664
16 MultipleDetailViews 0x00002ccc main (main.m:55)
17 MultipleDetailViews 0x00002c80 start + 32
Thread 1:
0 libSystem.B.dylib 0x0002d974 kevent + 24
1 libSystem.B.dylib 0x000d7704 _dispatch_mgr_invoke + 88
2 libSystem.B.dylib 0x000d7174 _dispatch_queue_invoke + 96
3 libSystem.B.dylib 0x000d6b98 _dispatch_worker_thread2 + 120
4 libSystem.B.dylib 0x0007b24a _pthread_wqthread + 258
5 libSystem.B.dylib 0x00073970 start_wqthread + 0
Thread 2:
0 libSystem.B.dylib 0x00001268 mach_msg_trap + 20
1 libSystem.B.dylib 0x00003354 mach_msg + 44
2 CoreFoundation 0x00027e54 __CFRunLoopServiceMachPort + 88
3 CoreFoundation 0x000276de __CFRunLoopRun + 350
4 CoreFoundation 0x0002748c CFRunLoopRunSpecific + 224
5 CoreFoundation 0x00027394 CFRunLoopRunInMode + 52
6 WebCore 0x000060c8 RunWebThread(void*) + 332
7 libSystem.B.dylib 0x0007a886 _pthread_start + 242
8 libSystem.B.dylib 0x0006fa88 thread_start + 0
Thread 3:
0 libSystem.B.dylib 0x00001268 mach_msg_trap + 20
1 libSystem.B.dylib 0x00003354 mach_msg + 44
2 CoreFoundation 0x00027e54 __CFRunLoopServiceMachPort + 88
3 CoreFoundation 0x000276de __CFRunLoopRun + 350
4 CoreFoundation 0x0002748c CFRunLoopRunSpecific + 224
5 CoreFoundation 0x00027394 CFRunLoopRunInMode + 52
6 Foundation 0x0002d5f6 +[NSURLConnection(NSURLConnectionReallyInternal) _resourceLoadLoop:] + 206
7 Foundation 0x0000b192 -[NSThread main] + 38
8 Foundation 0x00004242 __NSThread__main__ + 966
9 libSystem.B.dylib 0x0007a886 _pthread_start + 242
10 libSystem.B.dylib 0x0006fa88 thread_start + 0
Thread 4:
0 libSystem.B.dylib 0x0002568c select$DARWIN_EXTSN + 20
1 CoreFoundation 0x0005ee72 __CFSocketManager + 582
2 libSystem.B.dylib 0x0007a886 _pthread_start + 242
3 libSystem.B.dylib 0x0006fa88 thread_start + 0
Thread 0 crashed with ARM Thread State:
r0: 0x00000000 r1: 0x2fdff994 r2: 0x3e56e898 r3: 0x00000118
r4: 0x00000000 r5: 0x001eb094 r6: 0x0000002c r7: 0x2fdfec04
r8: 0x001eb090 r9: 0x001fc098 r10: 0x00000000 r11: 0x00000000
ip: 0x3e58f038 sp: 0x2fdfebfc lr: 0x31d160a5 pc: 0x31cceb96
cpsr: 0x600f0030
最佳答案
我也遇到了这个错误并修复了它。此人很可能正在运行 OS3,而您正在使用 OS4 中的代码块,您需要在库上设置弱链接,以便它可以正确加载。在 LLVM 的build设置中 -weak_library/usr/lib/libSystem.B.dylib
关于iphone - 如何诊断 iPad iPhone 应用程序中的 EXC_BREAKPOINT (SIGTRAP) 崩溃?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3924321/
所以这是我的问题,我创建了这个结构: typedef struct foo *fooPtr; struct foo { foo2Ptr node; foo3Ptr node; char *Random
我是 C 新手,无法解决这个问题。当我在文本文件上写入超过 27 个字符时,我会收到信号 SIGTRAP。跟踪/断点陷阱。我在网吧电脑windows 7上用Dev-C++编译。文本文件内容:Dinos
在运行时,我的程序经常因为 SIGTRAP 而停止。我知道,当编译器在程序中找到断点时,就会发生 SIGTRAP。但是我的代码中没有任何断点。 (为了确定,在执行之前,我清除了所有断点..)。 我正在
我正在尝试为 SIGTRAP 注册处理程序,该处理程序由在子级中调用 int3 引起,但它不起作用。将 SIGTRAP 更改为 SIGCHLD 即可。 #include #include #inc
我有麻烦了,每次我的函数调用“desenfileirar”时我都有一些断点。谁能帮我?我需要打印一个二维数组,表示一只 Ant 走过的路径。它需要从 (0,0) 开始并到达 (9,9)。我获得了成功,
背景 我有一个类似设置节点和边的网络。节点和边都需要是类,在本例中为 Node 或 Arc,as in this question .在我的实际设置中,我正在处理 Node 和 Arc 的相当多的子类
我正在尝试调试使用 gcc/g++ 构建的 Debian 程序(DEBUG=1 和 NDEBUG 未定义)。我正在使用第三方库,它也是为调试而构建的(DEBUG=1、NDEBUG 未定义,以及其他调试
我的一个 C++ OpenGL 程序中出现了一个奇怪的 SIGTRAP 错误。 首先,创建一个带有 new[] 运算符的浮点数组,如下所示: std::vector faces = readObjFi
我有一个多线程应用程序,它在我的所有测试机器上都非常稳定,并且对于我的几乎每一位用户来说似乎都是稳定的(基于没有崩溃投诉)。不过,对于一位好心的用户来说,该应用程序经常崩溃,他发送了崩溃报告。所有崩溃
如果有人可以花时间帮助我,我将非常感激!!! 我现在面对的是 我正在开发一个用于自动填充密码的应用程序,这意味着在网站登录期间单击键盘上方QuickType托架中的小键图标时,将触发我的应用程序。 然
我有一个关于释放为结构数组分配的内存的新手问题。这是代码: typedef struct { char code[6]; char name[31]; char cname[3
我试图释放一个表示 bmp 图像的三维指针数组,当它编译正常时,我在调试时在 gdb 中收到 SIGTRAP 信号。我的错误消息是 warning: HEAP[bmpsample.exe]: warn
这可能是一个有点晦涩或特定于项目的问题,但我的项目正在为遇到的每个异常抛出一个 SIGTRAP。我以前从未见过这个,现在每次我的代码出现问题时它都会抛出它并且它没有帮助我调试它。在我的另一个类似的类中
对于 test1.c ,我得到: 5 133 1 0 表示子进程先得到SIGTRAP (5), 原因 execl .最后三行表示子进程由于 SIGSTRAP 而终止。来自 parent 的信号。 //
我正在为 Windows 命令行编写一个基于控制台的小型应用程序。 我正在为两个数组 chi 和 chi_comp 分配内存,如下所示: /* allocating memory for chi */
我的 iOS 应用程序在测试中运行良好,但在启动时崩溃,并使用从 App Store 下载的发布版本。我已经尝试使用 Xcode 中的发布构建配置重新测试并且它没有崩溃,只是商店版本。我很确定它与应用
在极少数情况下,我们的一些用户会在我们的应用程序中遇到崩溃。它开始正常,但在他们从菜单中选择内容时崩溃后不久。那些看到它的人总能得到它,其他人都工作得很好。有人可以看到可以帮助我追踪它的东西吗? Ex
我正在运行我的应用程序运行良好,直到我从后台恢复或没有定位服务,应用程序会崩溃。 崩溃日志显示异常类型:EXC_CRASH (SIGTRAP) 有人知道如何调试吗? Exception Type:
我正在为一个STM32嵌入式系统调试这个软件。在其中一个函数中,我的程序不断遇到某种断点: SIGTRAP, Trace/breakpoint trap 但是,在 GDB 中,当我执行 info br
从 ptrace 的角度来看,我正在寻找一种与架构无关的方法来获取生成 SIGTRAP 的最后一次尝试的指令(或过去的指令)的指令指针(又名程序计数器)示踪剂。 一种依赖架构的方式是使用PTRACE_
我是一名优秀的程序员,十分优秀!