Skip to content

Minidump stack walking does not use CFI data from debug symbols #8193

@cpfair

Description

@cpfair

Minidumps are parsed at upload time, including extraction of the stack traces - however, this stack walking does not use any CFI records that may be present in the modules' previously uploaded symbol files. This causes problems on platforms like x86, where breakpad's naive stack-walking routine tries its best but ultimately falls short, producing inaccurate stack traces.

This appears to be a known issue, with a suggestion that minidumps could be reprocessed later, once CFI data was available. But, this isn't currently feasible given that the minidump is thrown away as soon as possible. It seems like the next best option would be to opportunistically check for any uploaded symbols w/ CFI at minidump upload time, using them if present, but otherwise continuing without.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions