[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug default/22429] Running abipkgdiff on firefox package aborts with message "in compare_dies at: abg-dwarf-reader.cc:11423: execution should not have reached this point!"



https://sourceware.org/bugzilla/show_bug.cgi?id=22429

--- Comment #2 from dodji at redhat dot com ---
Okay, this is due to what seems to be an invalid debug info.  That is, the
libxul.so file has invalid debug info.

Typically, there are references to type DIEs that are not defined in the debug
info.  Typically, look at DIE number "[2cb2067a]".  It describes a function
parameter.  The type of that parameter is described by DIE [2ce6e18a].  But
then the definition of that that latter DIE can not be found in the debug info:


$ grep -A 5 2cb2067a extracts/usr/lib64/firefox/libxul.so.dwarf 
 [2cb2067a]                formal_parameter
                         name                 (strp) "self"
                         decl_file            (data1) 160
                         decl_line            (data1) 1
                         type                 (ref4) [2ce6e18a]
 [2cb20685]                formal_parameter
dodji@adjoa:PR22429$ grep -A 5   2ce6e18a
extracts/usr/lib64/firefox/libxul.so.dwarf 
                         type                 (ref4) [2ce6e18a]
 [2cb20644]                formal_parameter
                         name                 (strp) "raw_cap"
                         decl_file            (data1) 160
                         decl_line            (data1) 1
                         type                 (ref_addr) [2b9818d3]
--
                           type                 (ref4) [2ce6e18a]
 [2cb2065c]                  variable
                           name                 (strp) "raw_cap"
                           alignment            (udata) 1
                           decl_file            (data1) 160
                           decl_line            (data1) 62
--
                         type                 (ref4) [2ce6e18a]
 [2cb20685]                formal_parameter
                         name                 (strp) "len"
                         decl_file            (data1) 160
                         decl_line            (data1) 1
                         type                 (ref_addr) [2b9818d3]
--
                           type                 (ref4) [2ce6e18a]
 [2cb2069d]                  variable
                           name                 (strp) "len"
                           alignment            (udata) 1
                           decl_file            (data1) 160
                           decl_line            (data1) 45
$ 

So, this seems to be an invalid debug info generated by the Rust compiler. 
There is an upstream bug file for it at
https://bugs.llvm.org/show_bug.cgi?id=35212.
Then, there is already a patch for that issue at
https://reviews.llvm.org/D39981.

So hopefully, this should be resolved soon, once the firefox build in Fedora is
updated.

-- 
You are receiving this mail because:
You are on the CC list for the bug.