Skip to content

for windows modules include version in INFO line #658

@willkg

Description

@willkg

In bug 1861359, yannis is seeing evidence of a mismatch between a module on disk and a module in memory at the time of a crash and the minidump contains module information where the version doesn't match the code id. This leads to symbolicated stacks that are nonsense because we unwind and symbolicate with the wrong symbols file.

In order to detect this situation, it would help to include the Windows module version in an INFO line in the generated symbols file. Then the stackwalker could compare the version from the symbols file with what's in the module list stream in the minidump when processing a crash report and cry out in despair at the universe when there is a mismatch.

Maybe something like this?:

INFO MODULE_VERSION 115.0.3esr

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions