Android Breakpad dmp文件损坏/不完整

时间:2017-06-08 10:01:57

标签: android debugging google-breakpad

我正在开发集成breakpad,用于Android应用程序的本机崩溃报告,该应用程序已经拥有一个内置于单个内容中的重要本机代码库。我已经为此添加了breakpad static lib,并且在报告本机崩溃时我能够生成dmp文件。但是,本机dmp很小(3-4 KB),minidump_stackwalker会出现以下错误:

myadav11$ minidump_stackwalk 5f9221b3-75f2-c305-2dde0eb7-1724e335.dmp 
minidump.cc:4811: INFO: Minidump opened minidump 5f9221b3-75f2-c305-2dde0eb7-1724e335.dmp 
minidump.cc:4931: INFO: Minidump not byte-swapping minidump 
minidump.cc:5414: INFO: GetStream: type 15 not present 
minidump.cc:5414: INFO: GetStream: type 7 not present 
minidump.cc:5414: INFO: GetStream: type 7 not present 
minidump.cc:5414: INFO: GetStream: type 1197932545 not present 
minidump.cc:5414: INFO: GetStream: type 6 not present 
minidump.cc:5414: INFO: GetStream: type 1197932546 not present 
minidump.cc:5414: INFO: GetStream: type 4 not present 
minidump.cc:5414: INFO: GetStream: type 14 not present 
minidump.cc:5414: INFO: GetStream: type 5 not present 
minidump.cc:5414: INFO: GetStream: type 3 not present 
minidump_processor.cc:158: ERROR: Minidump 5f9221b3-75f2-c305-2dde0eb7-1724e335.dmp has no thread list 
minidump_stackwalk.cc:97: ERROR: MinidumpProcessor::Process failed 
minidump.cc:4783: INFO: Minidump closing minidump 
myadav11$

我有一个Android破解测试应用程序,它使用相同的编译器和链接器标志,并能够生成一个大约300 KB的正确dmp文件。我尝试使用Android Studio C ++调试器调试breakpad代码,我注意到子进程breakpad生成,错误结束,似乎不容易将调试器同时附加到子进程。

我已经看过破解板支持,并且已经提到了类似的问题,但没有讨论解决方案。任何帮助将不胜感激。

1 个答案:

答案 0 :(得分:1)

https://groups.google.com/forum/#!topic/google-breakpad-discuss/sjhy29LK5TU 最新的breakpad master分支有修复。如果无法为ARM linux端口转储浮点寄存器

,它会继续下去