fix make-stacks to handle unknown frames
Categories
(Tecken :: Symbolication, enhancement, P2)
Tracking
(Not tracked)
People
(Reporter: willkg, Assigned: willkg)
Details
Attachments
(1 external file)
When Socorro's minidump-stackwalk walks the stack in a minidump, there are occasions where it doesn't have enough information to know the frame and instead guesses. In these cases, you end up with a stack that has frames where the module and module_offset aren't known.
Currently the symbolicate API requires that frames have two integers and it returns an HTTP 400 when they aren't with the error:
{"error":"Frame must be two integers"}
It'd be better if it handled frames of [null, null] and returned what it could figure out.
| Assignee | ||
Comment 1•6 years ago
|
||
There's no specification for how symbolicate API should work, so I think fixing this is ok.
When I wrote the system tests, I wrote a make-stacks.py script that pulls stack information from crash reports. When running it, one has to be careful to get a crash report where all the frames have module and module_offset information. That's time consuming. It'd be easier if the symbolicate API handled these frames better.
They're working on adding signatures to crash pings. I venture to assume this will be a problem there, too, so I figure I'll fix it before it becomes an issue. I did a quick skim of the code and I think this is a straight-forward fix for v4 and v5 of the API.
| Assignee | ||
Updated•6 years ago
|
| Assignee | ||
Comment 2•6 years ago
|
||
Oops--I messed up. There's handling for UNKNOWN_MODULE in the symbolicate view, but the indicator is to pass in a -1. I'll rework the make-stacks.py script accordingly.
| Assignee | ||
Comment 3•6 years ago
|
||
| Assignee | ||
Comment 4•6 years ago
|
||
| Assignee | ||
Comment 5•6 years ago
|
||
This is in the systemtests only, so marking this as FIXED.
Description
•