我正在检查一些 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
它们是机器码偏移量
例如在这张图片中,
libsystem_kernel.dylib mach_msg
的机器码从地址0x18474f054
开始。libsystem_kernel.dylib mach_msg + 68
,如你所见,这里是调用mach_msg_trap
的地方,mach_msg_trap
的地址是0x18474f21c
,libsystem_kernel.dylib mach_msg + 72
是断点停止的地方,等于0x18474f054 + 0x72
关于ios - 每个堆栈跟踪行末尾的数字是什么意思?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10398264/
欢迎光临 OStack程序员社区-中国程序员成长平台 (https://ostack.cn/) | Powered by Discuz! X3.4 |