This is the mail archive of the elfutils-devel@sourceware.org mailing list for the elfutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libdw/23981] dwarf_siblingof() fails with attribute form DW_FORM_ref_addr


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

--- Comment #4 from Mark Wielaard <mark at klomp dot org> ---
(In reply to Andreas Kromke from comment #3)
> I changed the source file accordingly, rebuilt the library and rerun the
> tests. The result is, unfortunately, the same, i.e. there is no improvement.
> 
> Analysis showed that in failure case these lines are executed:
> 
>             if (sibattr.form == DW_FORM_ref_addr)
> and
>                 uint8_t ref_size;
> and
>                   ref_size = cu->address_size;
> and
> 	      __libdw_seterrno (DWARF_E_INVALID_DWARF);
> 	      return -1;
> 
> So obviously the new code piece was run, but the failure was still detected
> later, in the old code.

This is really hard to debug with just this information and without the exact
DWARF that is being decoded. Could you please post an example DWARF description
and/or a backtrace when the error occurs/__libdw_seterrno is called?

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]