Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Talkingdata的崩溃统计,没办法符号化 #47

Closed
ghost opened this issue Feb 26, 2018 · 8 comments
Closed

Talkingdata的崩溃统计,没办法符号化 #47

ghost opened this issue Feb 26, 2018 · 8 comments

Comments

@ghost
Copy link

ghost commented Feb 26, 2018

reason: Cannot finish a purchasing transaction
callStackSymbols: (
	0   CoreFoundation                      0x0000000183a9f17c <redacted> + 148
	1   libobjc.A.dylib                     0x0000000182ce8528 objc_exception_throw + 56
	2   CoreFoundation                      0x0000000183a9f0ac <redacted> + 0
	3   StoreKit                            0x0000000196ffcd7c <redacted> + 272
	4   My_Project                 0x00000001022b51f0 My_Project + 561648
	5   My_Project                 0x00000001022b19f0 My_Project + 547312
	6   CoreFoundation                      0x00000001839645a0 CFArrayApplyFunction + 80
	7   StoreKit                            0x0000000196ffea38 <redacted> + 136
	8   StoreKit                            0x0000000196ffe328 <redacted> + 168
	9   libdispatch.dylib                   0x000000018341ea54 <redacted> + 24
	10  libdispatch.dylib                   0x000000018341ea14 <redacted> + 16
	11  libdispatch.dylib                   0x000000018342b698 <redacted> + 1016
	12  CoreFoundation                      0x0000000183a47344 <redacted> + 12
	13  CoreFoundation                      0x0000000183a44f20 <redacted> + 2012
	14  CoreFoundation                      0x0000000183964c58 CFRunLoopRunSpecific + 436
	15  GraphicsServices                    0x0000000185810f84 GSEventRunModal + 100
	16  UIKit                               0x000000018d0bd5c4 UIApplicationMain + 236
	17  My_Project                 0x0000000102232f00 My_Project + 28416
	18  libdyld.dylib                       0x000000018348456c <redacted> + 4
)

Process name: My_Project
dSYM UUID: 3C92595C-698C-3E85-9409-91BC5B6721E8
Architecture: arm64
Start Address: 0x10222c000
Slide Address: 0x222C000

利用上面的0x00000001022b51f0跟dsym文件,并不能符号化出对应的代码...

@answer-huang
Copy link
Owner

dSYM 的 UUID 是不是对应上了,还有你这个 Slide Address 是不是填的 0x222C000?

@ghost
Copy link
Author

ghost commented Feb 27, 2018

arm-64

选中可执行文件UUID:
3C92595C-698C-3E85-9409-91BC5B6721E8

Slide Address:
0x222C000

错误信息内存地址:
0x00000001022b51f0

可能错误的地方:
0x00000001022b51f0

点击分析,没有分析出来。。这跟我用swift写的没关系吧- - 还有就是,友盟崩溃统计那个堆栈地址,是怎么算出来的?
如果工具分析不出来,用xcode自带的那个,talkingdata提供的这个能不能解析?

@answer-huang
Copy link
Owner

能提供下 dSYM 文件和详细的错误日志么,我看下。

@ghost
Copy link
Author

ghost commented Feb 27, 2018

可以,要怎么给你?邮件?
错误日志是要talkingdata统计那个?
我这个还没上架,有苹果审核崩溃时给的crashlog

@answer-huang
Copy link
Owner

只要是能对应的上的 dSYM 和错误日志就行,发我邮箱 aihoo91@gmail.com

@ghost
Copy link
Author

ghost commented Feb 27, 2018

发给你了

@answer-huang
Copy link
Owner

4 My_Project 0x00000001022b51f0 My_Project + 561648
5 My_Project 0x00000001022b19f0 My_Project + 547312

以这两个堆栈信息为例,0x00000001022b51f0 = My_Project + 561648 ,My_Project 算出来应该是 0x10222c000,Slide Address 应该填 0x10222c000,你这个最后两行的 Start Address 和 Slide Address 不知道是怎么的来的。

苹果的错误日志找到 Binary Images: 下面第一行,
0x102af8000 - 0x10382bfff BlockyModes_Oversea arm64 <3c92595c698c3e85940991bc5b6721e8> /var/containers/Bundle/Application/32C057D0-B208-4D06-B127-0174A518E779/BlockyModes_Oversea.app/BlockyModes_Oversea
0x102af8000 填入 Slide Address 即可。

@ghost
Copy link
Author

ghost commented Feb 27, 2018

那两行就是talkingdata后台统计给的

我现在用iTunes的那个,跟用talkingdata的,分析出来的错误原因,还不一样... 这...

// talkingdata
错误地址: 0x00000001022b51f0 
Slide:0x10222c000
错误原因:specialized AppPaymentManager.paymentQueueRestoreCompletedTransactionsFinished(_:) (in BlockyModes_Oversea) (AppPaymentManager.swift:0)
// iTunes
错误地址: 0x0000000102f70bfc 
Slide:0x102af8000
错误原因:g3::internal::pushFatalMessageToLogger(g3::MoveOnCopy<std::__1::unique_ptr<g3::FatalMessage, std::__1::default_delete<g3::FatalMessage> > >) (in BlockyModes_Oversea) + 656

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant