Bug#1017440: pahole: Several tools just segfault

2022-11-08 Thread Domenico Andreoli
severity -1 important
thanks

On Tue, Aug 16, 2022 at 01:12:55PM +0200, Guillem Jover wrote:
> Package: pahole
> Version: 1.23-2
> Severity: serious
> 
> Hi!

Hi Guillem!

> Many of the tools simply segfault when executed. On a shared library
> with debugging symbols:
> 
>   $ codiff libsysfs.so.2.0.1 libsysfs.so.2.0.1
>   Segmentation fault (core dumped)
>   $ dtagnames libsysfs.so.2.0.1
>   Segmentation fault (core dumped)
>   $ prefcnt libsysfs.so.2.0.1
>   Segmentation fault (core dumped)
>   $ scncopy -s data -o output libsysfs.so.2.0.1
>   Segmentation fault (core dumped)
>   $ syscse libsysfs.so.2.0.1
>   Segmentation fault (core dumped)
> 
> On a stripped library:
> 
>   $ codiff /usr/lib/x86_64-linux-gnu/libbsd.so.0 \
>/usr/lib/x86_64-linux-gnu/libbsd.so.0
>   Segmentation fault (core dumped)
>   $ dtagnames /usr/lib/x86_64-linux-gnu/libbsd.so.0
>   Segmentation fault (core dumped)
>   $ prefcnt /usr/lib/x86_64-linux-gnu/libbsd.so.0
>   Segmentation fault (core dumped)
>   $ scncopy -s data -o output /usr/lib/x86_64-linux-gnu/libbsd.so.0
>   Segmentation fault (core dumped)
>   $ syscse /usr/lib/x86_64-linux-gnu/libbsd.so.0
>   Segmentation fault (core dumped)
> 
> Some even with no arguments:
> 
>   $ dtagnames
>   Segmentation fault (core dumped)
>   $ prefcnt
>   Segmentation fault (core dumped)

Thank you for reporting, I added a smoke test that tries to use all
these tools and can be used to track the overall state.

I've not the time to dig into these failures but I'll report them to
the upstream developers.

Given that the package is far from being unusable, I'm reducing its
severity to important.

> 
> Thanks,
> Guillem
> 

Regards,
Domenico

-- 
rsa4096: 3B10 0CA1 8674 ACBA B4FE  FCD2 CE5B CF17 9960 DE13
ed25519: FFB4 0CC3 7F2E 091D F7DA  356E CC79 2832 ED38 CB05


signature.asc
Description: PGP signature


Bug#1017440: pahole: Several tools just segfault

2022-10-15 Thread Reiner Herrmann
user debian-rele...@lists.debian.org
usertags -1 + bsp-2022-10-de-karlsruhe
thank you

Hi,

one of the crashes is fixed upstream in commit [49a2dd], already
released in 1.24. There are several more crashes fixed upstream,
so updating to the newest release would make sense.
Though unfornately not all crashes are fixed yet, and they don't
look trivial to fix without knowing the code better.

Kind regards,
 Reiner

[49a2dd] 
https://git.kernel.org/pub/scm/devel/pahole/pahole.git/commit/?id=49a2dd



Bug#1017440: pahole: Several tools just segfault

2022-08-16 Thread Guillem Jover
Package: pahole
Version: 1.23-2
Severity: serious

Hi!

Many of the tools simply segfault when executed. On a shared library
with debugging symbols:

  $ codiff libsysfs.so.2.0.1 libsysfs.so.2.0.1
  Segmentation fault (core dumped)
  $ dtagnames libsysfs.so.2.0.1
  Segmentation fault (core dumped)
  $ prefcnt libsysfs.so.2.0.1
  Segmentation fault (core dumped)
  $ scncopy -s data -o output libsysfs.so.2.0.1
  Segmentation fault (core dumped)
  $ syscse libsysfs.so.2.0.1
  Segmentation fault (core dumped)

On a stripped library:

  $ codiff /usr/lib/x86_64-linux-gnu/libbsd.so.0 \
   /usr/lib/x86_64-linux-gnu/libbsd.so.0
  Segmentation fault (core dumped)
  $ dtagnames /usr/lib/x86_64-linux-gnu/libbsd.so.0
  Segmentation fault (core dumped)
  $ prefcnt /usr/lib/x86_64-linux-gnu/libbsd.so.0
  Segmentation fault (core dumped)
  $ scncopy -s data -o output /usr/lib/x86_64-linux-gnu/libbsd.so.0
  Segmentation fault (core dumped)
  $ syscse /usr/lib/x86_64-linux-gnu/libbsd.so.0
  Segmentation fault (core dumped)

Some even with no arguments:

  $ dtagnames
  Segmentation fault (core dumped)
  $ prefcnt
  Segmentation fault (core dumped)

Thanks,
Guillem