Skip to content

dwarfdump errors on debug info generated by rustc 1.19 in Firefox build #44412

@luser

Description

@luser

I was doing some inspection of Firefox debug symbols related to a crash, and dwarfdump errored out on me. The binary I was dumping is here, which is from a fairly recent Firefox nightly build (2017-08-16). I was running dwarfdump -S any=Element22AddSizeOfExcludingThis ./libxul.so.dbg when it crashed, but it looks like any dwarfdump command that causes it to read far enough into the DWARF will make it barf. Just asking it to print the DIEs for that CU makes it error pretty quickly: dwarfdump -u /builds/worker/workspace/build/src/media/libcubeb/cubeb-pulse-rs/src/lib.rs ./libxul.so.dbg.

I'm using a fairly recent dwarfdump on Ubuntu 17.04:

$ dwarfdump -V
 2016-11-24 14:21:17-08:00 

cc @michaelwoerister

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-debuginfoArea: Debugging information in compiled programs (DWARF, PDB, etc.)C-bugCategory: This is a bug.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions