崩溃日志TTBaseNavigator - 请求协助

时间:2011-03-25 21:16:32

标签: iphone objective-c three20

App审核委员会将我的应用程序发回给我,因为它崩溃了(我无法重现崩溃)。我象征着日志并将其包含在下面,想要确保我正确读取它(第一次尝试破译崩溃日志)。

如果我正在读它,那么崩溃发生在TTBaseNavigator.m的第712行 - 这是从我项目中的这一行调用的:

[navigator openURLAction:[TTURLAction actionWithURLPath:@“strangeware:// main”]];

该应用程序无需在模拟器和我的iPhone 3G(使用最新的OS 4.2.1)中崩溃,它也永远不会崩溃,但Apple报告说,在OS 4的iPhone 4上它一直崩溃。

我想知道我是否正确阅读日志,如果是这样,我正在寻找有关如何继续的建议,因为我无法在模拟器或iPhone设备上重现错误。

感谢您的帮助, 安迪


     Thread 0 name:  Dispatch queue: com.apple.main-thread
    Thread 0 Crashed:
    0   libsystem_kernel.dylib          0x00011a1c __pthread_kill + 8
    1   libsystem_c.dylib               0x000333b4 pthread_kill + 52
    2   libsystem_c.dylib               0x0002bbf8 abort + 72
    3   libstdc++.6.dylib               0x00044a64 __gnu_cxx::__verbose_terminate_handler() + 376
    4   libobjc.A.dylib                 0x0000606c _objc_terminate + 104
    5   libstdc++.6.dylib               0x00042e36 __cxxabiv1::__terminate(void (*)()) + 46
    6   libstdc++.6.dylib               0x00042e8a std::terminate() + 10
    7   libstdc++.6.dylib               0x00042f5a __cxa_throw + 78
    8   libobjc.A.dylib                 0x00004c84 objc_exception_throw + 64
    9   CoreFoundation                  0x000a21b8 -[NSObject(NSObject) doesNotRecognizeSelector:] + 96
    10  CoreFoundation                  0x000a1642 ___forwarding___ + 502
    11  CoreFoundation                  0x00018178 _CF_forwarding_prep_0 + 40
    12  ImageGallery                    0x00040654 -[TTBaseNavigator viewControllerForURL:query:pattern:] (TTBaseNavigator.m:712)
    13  ImageGallery                    0x0003f6c2 -[TTBaseNavigator openURLAction:] (TTBaseNavigator.m:502)
    14  ImageGallery                    0x0000247e -[ImageGalleryAppDelegate application:didFinishLaunchingWithOptions:] (ImageGalleryAppDelegate.m:36)
    15  UIKit                           0x0003581a -[UIApplication _callInitializationDelegatesForURL:payload:suspended:] + 766
    16  UIKit                           0x0002fb5e -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 266
    17  UIKit                           0x000047d0 -[UIApplication handleEvent:withNewEvent:] + 1108
    18  UIKit                           0x0000420e -[UIApplication sendEvent:] + 38
    19  UIKit                           0x00003c4c _UIApplicationHandleEvent + 5084
    20  GraphicsServices                0x00004e70 PurpleEventCallback + 660
    21  CoreFoundation                  0x00075a90 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 20
    22  CoreFoundation                  0x00077838 __CFRunLoopDoSource1 + 160
    23  CoreFoundation                  0x00078606 __CFRunLoopRun + 514
    24  CoreFoundation                  0x00008ebc CFRunLoopRunSpecific + 224
    25  CoreFoundation                  0x00008dc4 CFRunLoopRunInMode + 52
    26  UIKit                           0x0002ed42 -[UIApplication _run] + 366
    27  UIKit                           0x0002c800 UIApplicationMain + 664
    28  ImageGallery                    0x00002336 main (main.m:15)
    29  ImageGallery                    0x00002300 start + 32

    Thread 1:
    0   libsystem_kernel.dylib          0x000123ec __workq_kernreturn + 8
    1   libsystem_c.dylib               0x000346d8 _pthread_wqthread + 592
    2   libsystem_c.dylib               0x00034bbc start_wqthread + 0

    Thread 2 name:  Dispatch queue: com.apple.libdispatch-manager
    Thread 2:
    0   libsystem_kernel.dylib          0x00012fbc kevent + 24
    1   libdispatch.dylib               0x00006094 _dispatch_mgr_invoke + 672
    2   libdispatch.dylib               0x0000704a _dispatch_queue_invoke + 86
    3   libdispatch.dylib               0x0000660a _dispatch_worker_thread2 + 190
    4   libsystem_c.dylib               0x0003458a _pthread_wqthread + 258
    5   libsystem_c.dylib               0x00034bbc start_wqthread + 0

    Thread 3 name:  WebThread
    Thread 3:
    0   libsystem_kernel.dylib          0x0000fc00 mach_msg_trap + 20
    1   libsystem_kernel.dylib          0x0000f758 mach_msg + 44
    2   CoreFoundation                  0x000762b8 __CFRunLoopServiceMachPort + 88
    3   CoreFoundation                  0x00078562 __CFRunLoopRun + 350
    4   CoreFoundation                  0x00008ebc CFRunLoopRunSpecific + 224
    5   CoreFoundation                  0x00008dc4 CFRunLoopRunInMode + 52
    6   WebCore                         0x0000637a RunWebThread(void*) + 378
    7   libsystem_c.dylib               0x0003330a _pthread_start + 242
    8   libsystem_c.dylib               0x00034bb4 thread_start + 0

    Thread 0 crashed with ARM Thread State:
        r0: 0x00000000    r1: 0x00000000      r2: 0x00000001      r3: 0x00000000
        r4: 0x3f8d148c    r5: 0x00000006      r6: 0x0013ed6c      r7: 0x2fdfe0fc
        r8: 0x00000000    r9: 0x00000065     r10: 0x0013e4b0     r11: 0x00000000
        ip: 0x00000148    sp: 0x2fdfe0f0      lr: 0x367203bb      pc: 0x31203a1c
      cpsr: 0x00000010

1 个答案:

答案 0 :(得分:0)

您使用的是哪个版本的three20?您确定已正确设置链接器标志吗? originalNavigatorURL是UIViewController上的类别方法。在早期版本的three20中,您需要使用链接器标志-all_load -ObjC。您的Distribution版本可能没有设置这些标志。