Crash reporting is only enabled by default on nightly/release builds. If
you have a custom build, you'll need to set MOZ_CRASHREPORTER="1", e.g:
MOZ_CRASHREPORTER="1" /system/b2g/b2g.sh
After the crash, there should be a minidump in
<path_to_profile_dir>/minidumps. The profile is in /data/b2g/mozilla by
default (look at /data/b2g/mozilla/profiles.ini to see which one is the
active one). Once you've found the minidump you can pull it off the
device with adb. *Be careful*, if the b2g process is restarted, it will
find the minidump and attempt to report it, deleting it in the process.
There is another environment variable that is supposed to prevent this
(MOZ_CRASHREPORTER_NO_REPORT), but B2G currently doesn't honour it (see
bug 848102 for more details).
If you need a stack you can now do so the normal way using the build
symbols and minidump_stackwalk. There's also a new python module called
mozcrash that might be helpful to you.
Let me know if you need additional help,
Andrew
On 04/05/2013 10:15 AM, Sotaro Ikeda wrote:
Are there an document about how to get decoded minidump of crash from
device(like unagi)?
Does someone know how to do it?
For example in Bug 851664, a minidump is attached to the bug.
Sotaro
----- Original Message -----
From: "Sotaro Ikeda" <[email protected]>
To: [email protected]
Sent: Thursday, April 4, 2013 6:28:46 PM
Subject: [b2g] Question about hwo to get decoded minidump of crash
Hi all,
Are there an document about how to get decoded minidump of crash from
device(like unagi)?
I have forgotten how to...
Thanks in advance.
sotaro
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g