Closed
Bug 711461
Opened 13 years ago
Closed 11 years ago
Need thread stack traces on native crashes in logcat
Categories
(Firefox for Android Graveyard :: General, defect, P4)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: kats, Unassigned)
Details
Debugging crashes in Gecko is hard because often they are not consistently reproducible, particularly on different devices. Bug 711426 is an example of such a bug. It would be really nice to get Gecko stack dumps in logcat on a crash, so that the issues can be quickly diagnosed.
Comment 1•13 years ago
|
||
+1 to this, or simpler GDB tutorial/instructions for QA
Updated•13 years ago
|
Priority: -- → P4
Comment 2•11 years ago
|
||
This is kind of hard on release builds, unless you're willing to ship with frame pointers enabled. Even then I'm not sure if we have usable code in mozilla-central that can do this at the moment.
Comment 3•11 years ago
|
||
I noticed that android sometimes prints something that looks like stack scanning to logcat on a crash. I don't know what conditions that is.
Comment 4•11 years ago
|
||
How about keeping the crashed process "running" while the crash reporter is being shown, which would give a chance to attach a debugger?
Comment 5•11 years ago
|
||
(In reply to Mike Hommey [:glandium] from comment #4) > How about keeping the crashed process "running" while the crash reporter is > being shown, which would give a chance to attach a debugger? I've been wanting to do that in bug 721843. I ran into some 'mysterious' issues that jimb explained to me. We could continue on that approach. But we wouldn't be able to catch OOM crash unfortunately which would be particularly useful. I know bjacob runs into them a lot trying to debug desktop WebGL demo running on mobile causing OOM.
Comment 6•11 years ago
|
||
There's really nothing we can do to catch anything in OOM cases.
Reporter | ||
Comment 7•11 years ago
|
||
I'm going to close this bug since it's unlikely that we're going to focus much direct attention on it. It seems like our crash info has been steadily improving our time (and our crash rate has correspondingly dropped) so there's no need for any focused effort on this beyond projects that are already under way.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WONTFIX
Assignee | ||
Updated•3 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•