I've got a few cores where report_r_debug() in link_map.c fails to find all of
the modules - for example I had libc.so missing. This obviously meant that
elfutils could not backtrace my core.
It seems to be related to this code:
/* There can't be more elements in the link_map list than there
Further to:
https://sourceware.org/pipermail/elfutils-devel/2023q2/006149.html
This is a draft patch to increase the number of iterations looking for
segments to load.
This lets eu-stack backtrace cores that would otherwise fail.
I have not included any unit tests as so far I have been unab
Looking at some cores in eu-stack, I found that they were not being
backtraced.
This was because elfutils had not found some modules (e.g. libc-2.22.so)
in report_r_debug.
That is because it has a limit on the number of link map entries it will
look at, to avoid loops in corrupted core files.
Th
On 08/05/2023 17:35, Mark Wielaard wrote:
Hi Florian, Hi Luke,
On Tue, 2023-05-02 at 09:57 +0200, Florian Weimer via Elfutils-devel
wrote:
* Luke Diamand via Elfutils-devel:
I've got a few cores where report_r_debug() in link_map.c fails to
find all of the modules - for example
Further to:
https://sourceware.org/pipermail/elfutils-devel/2023q2/006149.html
This is a patch to increase the number of iterations looking for
segments to load.
This lets eu-stack backtrace cores that would otherwise fail.
Florian Weimer and Mark Wielaard suggested both the explanation and
Looking at some cores in eu-stack, I found that they were not being
backtraced.
This was because elfutils had not found some modules (e.g. libc-2.22.so)
in report_r_debug.
That is because it has a limit on the number of link map entries it will
look at, to avoid loops in corrupted core files.
Th
On 09/05/2023 16:15, Mark Wielaard wrote:
Hi,
On Tue, 2023-04-11 at 16:12 +0800, Ying Huang wrote:
From: Ying Huang
In mips64 little-endian, r_info consists of four byte fields(contains
three reloc types) and a 32-bit symbol index. In order to adapt
GELF_R_SYM and GELF_R_TYPE, need convert