Fix minidump_stackwalk to output entire stacks, not just top 1024 frames

RESOLVED FIXED

Status

RESOLVED FIXED
6 years ago
5 years ago

People

(Reporter: ted, Assigned: ted)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Two years ago the Breakpad code was changed to default to only walking the first 1024 frames of a stack:
http://code.google.com/p/google-breakpad/source/detail?r=672

This is pretty unfortunate for stack overflow crashes, as you don't get to see the call site where everything started. We have very nice stack truncation behavior in Socorro--it keeps the top N frames and bottom M frames (where N and M are configurable), which means you get a pretty usable stack out of stack overflows.

Once we move to a custom minidump_stackwalk binary (bug 573100) it should be easy enough to revert this behavior. Combined with fixing bug 894458, we should be able to output much more useful truncated stacks in these situations.
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.