On Fri, 2020-07-31 at 11:52 +0100, Richard W.M. Jones wrote:
Here's another one:
$ rpm -qf /usr/bin/guestfish /lib64/libreadline.so.8
$ guestfish --version
Segmentation fault (core dumped)
#0 0x0000000000000000 in ()
#1 0x00007f3212b72dad in history_filename
(filename=0x5592dd41bfa0 "/home/rjones/.guestfish") at ../histfile.c:152
#2 0x00007f3212b75e2d in read_history_range
(filename=<optimized out>, from=0, to=-1) at ../histfile.c:280
#3 0x00005592dd33e646 in main ()
It also caused a build failure of another package in Koji
(search the logs for "ext2.img] Segmentation fault (core dumped)"):
I suspect the problem isn't in readline but is in the main package,
mainly because I tried an older readline and that failed in the same
I'm going to disable LTO in libguestfs and rebuild it.
This is almost certainly
the linker bug. I analyzed last week.
nm --dynamic guestfish
Would be enough for me to say conclusively.