Bug 1922744 - dist/host/bin/dump_syms crashes when building Firefox
Summary: dist/host/bin/dump_syms crashes when building Firefox
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: firefox
Version: 34
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Gecko Maintainer
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-01-31 08:56 UTC by Martin Stransky
Modified: 2021-02-09 15:44 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug


Attachments (Terms of Use)

Description Martin Stransky 2021-01-31 08:56:44 UTC
Description of problem:

dist/host/bin/dump_syms crashes when building Firefox:

#0  dwarf2reader::ByteReader::ReadUnsignedLEB128 (len=<synthetic pointer>, buffer=0x7f4d2310d3b9 <error: Cannot access memory at address 0x7f4d2310d3b9>, this=0x7ffe8efb1720)
    at /home/komat/rpmbuild/BUILD/firefox-85.0/toolkit/crashreporter/google-breakpad/src/common/dwarf/bytereader-inl.h:95
#1  dwarf2reader::CompilationUnit::ReadAbbrevs (this=0x7ffe8efb1850) at /home/komat/rpmbuild/BUILD/firefox-85.0/toolkit/crashreporter/google-breakpad/src/common/dwarf/dwarf2reader.cc:125
#2  0x000000000042cd4b in dwarf2reader::CompilationUnit::Start (this=this@entry=0x7ffe8efb1850)
    at /home/komat/rpmbuild/BUILD/firefox-85.0/toolkit/crashreporter/google-breakpad/src/common/dwarf/dwarf2reader.cc:324
#3  0x000000000040d6aa in (anonymous namespace)::LoadDwarf<google_breakpad::ElfClass64> (module=0x1ac2200, handle_inter_cu_refs=<optimized out>, big_endian=false, 
    elf_header=<optimized out>, dwarf_filename="/home/komat/rpmbuild/BUILD/firefox-85.0/objdir/dist/bin/firefox")
    at /home/komat/rpmbuild/BUILD/firefox-85.0/toolkit/crashreporter/google-breakpad/src/common/linux/dump_symbols.cc:353
#4  (anonymous namespace)::LoadSymbols<google_breakpad::ElfClass64> (obj_file="/home/komat/rpmbuild/BUILD/firefox-85.0/objdir/dist/bin/firefox", big_endian=<optimized out>, 
    elf_header=0x7f4d0e5a4000, read_gnu_debug_link=<optimized out>, info=0x7ffe8efb1ab0, options=..., module=0x1ac2200)
    at /home/komat/rpmbuild/BUILD/firefox-85.0/toolkit/crashreporter/google-breakpad/src/common/linux/dump_symbols.cc:842
#5  0x000000000040de2d in (anonymous namespace)::ReadSymbolDataElfClass<google_breakpad::ElfClass64> (out_module=0x7ffe8efb1c08, options=..., debug_dirs=..., obj_os=..., 
    obj_filename="/home/komat/rpmbuild/BUILD/firefox-85.0/objdir/dist/bin/firefox", elf_header=0x7f4d0e5a4000) at /usr/include/c++/11/bits/stl_iterator.h:1006
#6  google_breakpad::ReadSymbolDataInternal (module=0x7ffe8efb1c08, options=..., debug_dirs=..., obj_os=..., obj_filename="/home/komat/rpmbuild/BUILD/firefox-85.0/objdir/dist/bin/firefox", 
    obj_file=0x7f4d0e5a4000 "\177ELF\002\001\001\003") at /home/komat/rpmbuild/BUILD/firefox-85.0/toolkit/crashreporter/google-breakpad/src/common/linux/dump_symbols.cc:1141
#7  google_breakpad::ReadSymbolDataInternal (obj_file=0x7f4d0e5a4000 "\177ELF\002\001\001\003", obj_filename="/home/komat/rpmbuild/BUILD/firefox-85.0/objdir/dist/bin/firefox", obj_os=..., 
    debug_dirs=..., options=..., module=0x7ffe8efb1c08) at /home/komat/rpmbuild/BUILD/firefox-85.0/toolkit/crashreporter/google-breakpad/src/common/linux/dump_symbols.cc:1123
#8  0x000000000040e5d9 in google_breakpad::ReadSymbolData (load_path=..., obj_file="/home/komat/rpmbuild/BUILD/firefox-85.0/objdir/dist/bin/firefox", obj_os="Linux", 
    debug_dirs=std::vector of length 0, capacity 0, options=..., module=0x7ffe8efb1c08)
    at /home/komat/rpmbuild/BUILD/firefox-85.0/toolkit/crashreporter/google-breakpad/src/common/linux/dump_symbols.cc:1219
#9  0x000000000040e608 in google_breakpad::WriteSymbolFile (load_path="/home/komat/rpmbuild/BUILD/firefox-85.0/objdir/dist/bin/firefox", 
    obj_file="/home/komat/rpmbuild/BUILD/firefox-85.0/objdir/dist/bin/firefox", obj_os="Linux", debug_dirs=std::vector of length 0, capacity 0, options=..., sym_stream=...)
    at /home/komat/rpmbuild/BUILD/firefox-85.0/toolkit/crashreporter/google-breakpad/src/common/linux/dump_symbols.cc:1156
#10 0x0000000000406c6e in main (argc=<optimized out>, argv=<optimized out>)
    at /home/komat/rpmbuild/BUILD/firefox-85.0/toolkit/crashreporter/google-breakpad/src/tools/linux/dump_syms/dump_syms.cc:129

Comment 1 Ben Cotton 2021-02-09 15:44:46 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 34 development cycle.
Changing version to 34.


Note You need to log in before you can comment on or make changes to this bug.