[Android] minidump_stackwalk NOT working with Android Marshmallow (6.0+)

311 views
Skip to first unread message

Shirley Gong

unread,
Feb 12, 2016, 2:48:42 PM2/12/16
to google-breakpad-discuss
No useful information is obtained when running minidump_stackwalk with dmp file obtained on Android Marshmallow (with a valid sym file).

Step to reproduce:
- hard code a native crash (any SIGSEGV or SIGBUS will do), build the library and deploy on device
- prepare sym file with dump_syms and copy it to the desired folder structure as described here: https://www.chromium.org/developers/decoding-crash-dumps
- Using the exact same APK on x86 (any other architecture will work too), one with Android 5.1.0 and one with Android 6.0
- trigger the native crash
- run the dmp file through minidump_stackwalk as described here: https://www.chromium.org/developers/decoding-crash-dumps
- for Android 5.1.0, I got the attached file
- for Android 6.0, I got nothing

Any help is highly appreciated! Thanks!
stack_result.txt

Ted Mielczarek

unread,
Feb 12, 2016, 3:45:30 PM2/12/16
to google-brea...@googlegroups.com
What output *does* minidump_stackwalk produce for the 6.0 dump? (Both stdout and stderr might be useful.)
 
-Ted
 

Shirley Gong

unread,
Feb 12, 2016, 4:33:24 PM2/12/16
to google-breakpad-discuss
There is nothing printed out.
See screenshot.
The last three are running the dmp file created on 6.0.

Thanks!
Capture3.PNG

Asher Baker

unread,
Feb 12, 2016, 4:37:23 PM2/12/16
to google-brea...@googlegroups.com
Remove the grep, you're throwing away the actually useful information (which is probably something like there being no thread list).


~~~~~
"Their heads are green, and their hands are blue,
      And they went to sea in a Sieve." - Edward Lear

--
You received this message because you are subscribed to the Google Groups "google-breakpad-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-breakpad-d...@googlegroups.com.
To post to this group, send email to google-brea...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-breakpad-discuss.
For more options, visit https://groups.google.com/d/optout.

Shirley Gong

unread,
Feb 12, 2016, 7:38:12 PM2/12/16
to google-breakpad-discuss
After removing grep, the attached file is the result I got.
However it still seems like it is not symbolicate things correctly. Any thoughts?

Any help is appreciated! Thanks.
To unsubscribe from this group and stop receiving emails from it, send an email to google-breakpad-discuss+unsub...@googlegroups.com.
crashlog6.txt

Ted Mielczarek

unread,
Feb 12, 2016, 9:52:50 PM2/12/16
to google-brea...@googlegroups.com
These two lines are causing the problem:
2016-02-12 14:48:16: minidump.cc:2557: ERROR: MinidumpModuleList could not store module 132/429, /system/lib/libjavacrypto.so, 0xe99ec000+0x29000
2016-02-12 14:48:16: minidump.cc:4621: ERROR: GetStream could not read stream type 4
 
There's a module in the module list that the Breakpad code doesn't want to read, and so it's failing to read any modules and thus not able to do much of use. It's possible there's something that's been fixed in Breakpad to fix this issue, but I'm not sure.
 
-Ted
To unsubscribe from this group and stop receiving emails from it, send an email to google-breakpad-d...@googlegroups.com.
To post to this group, send email to google-brea...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Email had 1 attachment:

  • crashlog6.txt
      21k (text/plain)
 
Reply all
Reply to author
Forward
0 new messages