2

我正在检查一些 Xcode 崩溃日志,我想知道每行末尾的数字意味着:

0 Powercents 0x000781de testflight_backtrace + 142
1 Powercents 0x00078d6c TFSignalHandler + 212
2 libsystem_c.dylib 0x319937ec _sigtramp + 48
3 libsystem_c.dylib 0x3198920e pthread_kill + 54
4 libsystem_c.dylib 0x3198229e abort + 94
5 AppSupport 0x35f70c2e abortAfterPassingIntegrityCheck + 38
6 AppSupport 0x35f70ee6 runIntegrityCheckAndAbort + 526
7 AppSupport 0x35f7102c checkResultWithStatement + 120
8 AppSupport 0x35f72a12 _connectAndCheckVersion + 1058
9 AppSupport 0x35f72ab6 CPSqliteDatabaseConnectionForWriting + 42
10 AppSupport 0x35f72b8c CPSqliteDatabaseRegisterFunction + 20
11 AddressBook 0x345523f6 ABCDBContextCreateWithPathAndAddressBook + 214
12 AddressBook 0x34546428 ABCCreateAddressBookWithDatabaseDirectoryAndForceInProcessMigrationInProcessLinkingAndResetSortKeys + 232
13 AddressBook 0x34554cd6 ABAddressBookCreate + 14
14 TextInput 0x377981c4 _ZN2KB45fill_with_matchable_strings_from_address_bookERNS_7HashmapINS_6StringEbEE + 16
15 TextInput 0x3779edf4 _ZN2KB21DynamicDictionaryImpl28background_load_address_bookERKNS_16StaticDictionaryE + 200
16 TextInput 0x3779f72e _ZN2KBL14BackgroundLoadEPv + 278
17 libsystem_c.dylib 0x3194a734 _pthread_start + 320
18 libsystem_c.dylib 0x3194a5ef thread_start + 7
4

2 回答 2

3

它们是机器码偏移量

例如在这张图片中,

  • libsystem_kernel.dylib mach_msg的机器码从地址开始0x18474f054
  • libsystem_kernel.dylib mach_msg + 68,如您所见,这是mach_msg_trap被调用的地方,而mach_msg_trap's addrss 是0x18474f21c
  • libsystem_kernel.dylib mach_msg + 72是断点停止的地方,等于0x18474f054 + 0x72

在此处输入图像描述

于 2017-08-04T12:41:19.000 回答
2

您的崩溃日志没有符号化。如果你象征它,它应该给你更容易解释的信息。

这是一个讨论这个的文件:

http://developer.apple.com/library/ios/#technotes/tn2151/_index.html

于 2012-05-01T13:58:31.240 回答