首页 文章

atos返回arm64的相同地址

提问于
浏览
2

下面是我的应用程序崩溃日志的一部分,它发生在iPhone 6 Plus(arm64)中:

0     libobjc.A.dylib                       0x35b4ef66 objc_msgSend + 6
    1     UIKit                                 0x2a905dd1 -[UIScrollView setContentOffset:] + 626
    2     UIKit                                 0x2aa871b9 -[UIAnimator(Static) _advanceAnimationsOfType:withTimestamp:] + 270
    3     UIKit                                 0x2aa870a5 -[UIAnimator(Static) _LCDHeartbeatCallback:] + 50
    4     QuartzCore                            0x2a34cb67 _ZN2CA7Display15DisplayLinkItem8dispatchEv + 96
    5     QuartzCore                            0x2a34c9cf _ZN2CA7Display11DisplayLink14dispatch_itemsEyyy + 364
    6     IOMobileFramebuffer                   0x2f0f9c03 IOMobileFramebufferVsyncNotifyFunc + 88
    7     IOKit                                 0x28204d0d IODispatchCalloutFromCFMessage + 254
    8     CoreFoundation                        0x27240555 __CFMachPortPerform + 130
    9     CoreFoundation                        0x27250a4b __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 32
    10   CoreFoundation                         0x272509e7 __CFRunLoopDoSource1 + 344
    11   CoreFoundation                         0x2724f009 __CFRunLoopRun + 1606
    12   CoreFoundation                         0x2719a9a1 CFRunLoopRunSpecific + 474
    13   CoreFoundation                         0x2719a7b3 CFRunLoopRunInMode + 104
    14   GraphicsServices                       0x2eb421a9 GSEventRunModal + 134
    15   UIKit                                  0x2a94b635 UIApplicationMain + 1438
    16   MyOwnApp                               0x00039c67 main (main.m:37)
    17   libdyld.dylib                          0x36110aaf start + 0

我已经使用dwarfdump验证了.app文件和.dsym文件的UUID,并验证它们都具有相同的UUID . arm64中提到了崩溃报告中的UUID提及 .

现在当我执行命令时:

atos -arch arm64 MyOwnApp.app/MyOwnApp 0x00039c67

该命令的输出是相同的十六进制地址0x00039c67 . 但是当我将arch64从arm64更改为armv7时,它指定了一个方法名称 .

另外如果我在构建输出中看到main.m,第37行(我在Appcelerator中编码),那么它只调用UIApplication函数,我认为它可能是应用程序的入口点 . 我没有进入iOS原生开发 .

有人可以在这方面帮助我 .

1 回答

  • 0

    它是 stack 跟踪,因此最近的呼叫位于顶部 . 请提供错误消息 .

相关问题