Re: ☠ Buildbot (Sourceware): elfutils - failed test (failure) (master)

2023-05-12 Thread Mark Wielaard
Hi, On Fri, May 12, 2023 at 09:04:47PM +, builder--- via Elfutils-devel wrote: > A new failure has been detected on builder elfutils-fedora-arm64 while > building elfutils. > > Full details are available at: > https://builder.sourceware.org/buildbot/#builders/180/builds/156 > > Build st

☠ Buildbot (Sourceware): elfutils - failed test (failure) (master)

2023-05-12 Thread builder--- via Elfutils-devel
A new failure has been detected on builder elfutils-fedora-arm64 while building elfutils. Full details are available at: https://builder.sourceware.org/buildbot/#builders/180/builds/156 Build state: failed test (failure) Revision: 0066e704b9ed21ac4b2070dfdef1611515b68d29 Worker: fedora-arm64

Re: [PATCHv2 1/1] report_r_debug: handle `-z separate-code' and find more modules

2023-05-12 Thread Mark Wielaard
Hi Luke, On Fri, May 12, 2023 at 08:11:45PM +0100, Luke Diamand wrote: > 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 n

[PATCHv2 1/1] report_r_debug: handle `-z separate-code' and find more modules

2023-05-12 Thread Luke Diamand via Elfutils-devel
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

[PATCHv2 0/1] In report_r_debug, iterate more segments

2023-05-12 Thread Luke Diamand via Elfutils-devel
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

Re: [EXTERNAL] Re: Hitting g dwfl->lookup_elts limit in report_r_debug, so not all modules show up and backtracing fails

2023-05-12 Thread Luke Diamand via Elfutils-devel
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 I had libc.

[RFC PATCH 1/1] report_r_debug: handle `-z separate-code' and find more modules

2023-05-12 Thread Luke Diamand via Elfutils-devel
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

[RFC PATCH 0/1] In report_r_debug, iterate more segments

2023-05-12 Thread Luke Diamand via Elfutils-devel
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