On Fri, Jul 31, 2020 at 11:52:05AM +0100, Richard W.M. Jones wrote: > Here's another one: > > $ rpm -qf /usr/bin/guestfish /lib64/libreadline.so.8 > libguestfs-tools-c-1.43.1-2.fc33.x86_64 > readline-8.0-5.fc33.x86_64 > $ guestfish --version > Segmentation fault (core dumped) > > (gdb) bt > #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)"): > > https://koji.fedoraproject.org/koji/taskinfo?taskID=48245041 > > 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 > way. > > I'm going to disable LTO in libguestfs and rebuild it. And indeed building it again with LTO disabled, it now works: $ rpm -qf /usr/bin/guestfish libguestfs-tools-c-1.43.1-3.fc33.x86_64 $ guestfish --version guestfish 1.43.1fedora=33,release=3.fc33,libvirt Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-top is 'top' for virtual machines. Tiny program with many powerful monitoring features, net stats, disk stats, logging, etc. http://people.redhat.com/~rjones/virt-top _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx