1

我的应用程序在我的设备上运行良好,但我添加了功能,当我在我的设备(iphone 4 iOs 4.2.1)上测试时,它在启动时崩溃;但它在模拟器上运行良好。我已经在网络和这个论坛上寻找我的问题的答案,但我没有找到......

这是崩溃报告:

事件标识符:7204BFE3-E826-438E-8B3E-78301DE6AA99
CrashReporter 密钥:06d77d7d3219de2a9a56c2fa0510b92310e5da62
硬件型号:iPhone3,1
处理:ColorMixer [1074]
路径:/var/mobile/Applications/AD6EC67E-FCBE-4D02-8EE3-06153233CA2E/ColorMixer.app/ColorMixer
标识符:ColorMixer
版本: ???(???)
代码类型:ARM(本机)
父进程:冲压 [1]

日期/时间:2011-05-20 00:02:28.738 +0200
操作系统版本:iPhone OS 4.2.1 (8C148)
报告版本:104

异常类型:EXC_CRASH (SIGABRT)
异常代码:0x00000000、0x00000000
崩溃的线程:0

线程 0 崩溃:
0 libSystem.B.dylib 0x33bd52d4 __kill + 8
1 libSystem.B.dylib 0x33bd52c4 杀死 + 4
2 libSystem.B.dylib 0x33bd52b6 提升 + 10
3 libSystem.B.dylib 0x33be9d72 中止 + 50
4 libstdc++.6.dylib 0x31bdba20 __gnu_cxx::__verbose_terminate_handler() + 376
5 libobjc.A.dylib 0x3347c594 _objc_terminate + 104
6 libstdc++.6.dylib 0x31bd9df2 __cxxabiv1::__terminate(void (*)()) + 46
7 libstdc++.6.dylib 0x31bd9e46 std::terminate() + 10
8 libstdc++.6.dylib 0x31bd9f16 __cxa_throw + 78
9 libobjc.A.dylib 0x3347b4c4 objc_exception_throw + 64
10 CoreFoundation 0x33ac07c2 +[NSException raise:format:arguments:] + 62
11 CoreFoundation 0x33ac07fc +[NSException raise:format:] + 28
12 UIKit 0x3224b77c -[UINib 实例化WithOwner:选项:] + 1104
13 UIKit 0x3224cb32-[NSBundle(UISBundleAdditions) loadNibNamed:owner:options:] + 86
14 UIKit 0x3209e86a-[UIApplication_loadMainNibFile] + 90
15 背景.dylib 0x00090b4c 0x8f000 + 6988
16 UIKit 0x3209a1f6-[UIApplication_runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 174
17 UIKit 0x32066484-[UIApplication handleEvent:withNewEvent:] + 1108
18 UIKit 0x32065ec2 -[UIApplication 发送事件:] + 38
19 UIKit 0x32065900 _UIApplicationHandleEvent + 5084
20 图形服务 0x33b0eefc PurpleEventCallback + 660
21 核心基础 0x33a556f8 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 20
22 核心基础 0x33a556bc __CFRunLoopDoSource1 + 160
23 核心基础 0x33a47f76 __CFRunLoopRun + 514
24 核心基础 0x33a47c80 CFRunLoopRunSpecific + 224
25 核心基础 0x33a47b88 CFRunLoopRunInMode + 52
26 UIKit 0x32099302-[UIApplication_run] + 374
27 UIKit 0x32096e8c UIApplicationMain + 664
28 ColorMixer 0x00002c70 主 (main.m:23)
29 颜色混合器 0x00002c18 开始 + 32

线程 1:
0 libSystem.B.dylib 0x33b89974 kevent + 24
1 libSystem.B.dylib 0x33c33704 _dispatch_mgr_invoke + 88
2 libSystem.B.dylib 0x33c33174 _dispatch_queue_invoke + 96
3 libSystem.B.dylib 0x33c32b98 _dispatch_worker_thread2 + 120
4 libSystem.B.dylib 0x33bd724a _pthread_wqthread + 258
5 libSystem.B.dylib 0x33bcf970 start_wqthread + 0

线程 2:
0 libSystem.B.dylib 0x33bd79e0 __workq_kernreturn + 8
1 libSystem.B.dylib 0x33bd7364 _pthread_wqthread + 540
2 libSystem.B.dylib 0x33bcf970 start_wqthread + 0

线程 3:
0 libSystem.B.dylib 0x33b5d268 mach_msg_trap + 20
1 libSystem.B.dylib 0x33b5f354 mach_msg + 44
2 核心基础 0x33a48648 __CFRunLoopServiceMachPort + 88
3 核心基础 0x33a47ed2 __CFRunLoopRun + 350
4 核心基础 0x33a47c80 CFRunLoopRunSpecific + 224
5 核心基础 0x33a47b88 CFRunLoopRunInMode + 52
6 WebCore 0x304df124 RunWebThread(void*) + 332
7 libSystem.B.dylib 0x33bd6886 _pthread_start + 242
8 libSystem.B.dylib 0x33bcba88 thread_start + 0

线程 0 因 ARM 线程状态而崩溃:
    r0:0x00000000 r1:0x00000000 r2:0x00000001 r3:0x3eaf12e8
    r4:0x00000006 r5:0x31bd9989 r6:0x001667ac r7:0x2fdfe024
    r8:0x3ea4f538 r9:0x00000065 r10:0x0015c6b0 r11:0x00000001
    ip: 0x00000025 sp: 0x2fdfe024 lr: 0x33bd52cb pc: 0x33bd52d4
  cpsr: 0x00080010

我不知道我必须做什么,我没有看到对我的代码的引用......感谢您未来的帮助。

4

1 回答 1

0

请参阅此帖子以添加NSZombieEnabled,这将为您提供有关崩溃的更多信息。

应用程序仅在 iPhone 设备上崩溃,而不在模拟器中崩溃

于 2011-12-14T22:16:40.167 回答