<div dir="ltr"><div dir="ltr"><div dir="ltr">It looks like this bug: <a href="https://bugzilla.redhat.com/show_bug.cgi?id=1680963">https://bugzilla.redhat.com/show_bug.cgi?id=1680963</a></div><div>What is your p11-kit version?<br></div><div>Could you please compile and install the latest p11-kit: <a href="https://bugzilla.redhat.com/show_bug.cgi?id=1690500">https://bugzilla.redhat.com/show_bug.cgi?id=1690500</a></div><div>Or install the p11-kit debuginfo pkg to show the full backtrace of p11-kit?<br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Apr 8, 2019 at 12:32 AM Andrew J. Hutton <<a href="mailto:andrew.john.hutton@gmail.com">andrew.john.hutton@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">[root@odin images]# coredumpctl gdb<br>
            PID: 203074 (qemu-img)<br>
            UID: 0 (root)<br>
            GID: 0 (root)<br>
         Signal: 11 (SEGV)<br>
      Timestamp: Fri 2019-04-05 11:00:30 EDT (1 day 6h ago)<br>
   Command Line: qemu-img convert -f raw -O rbd fedora29.raw rbd:vm/fedora0<br>
     Executable: /usr/bin/qemu-img<br>
  Control Group: /user.slice/user-1000.slice/session-206.scope<br>
           Unit: session-206.scope<br>
          Slice: user-1000.slice<br>
        Session: 206<br>
      Owner UID: 1000 (ajh)<br>
        Boot ID: 967cc1db43d54981b83cef7c937567d3<br>
     Machine ID: b90eed4a264c421f81e4efd0dd2d45d0<br>
       Hostname: odin<br>
        Storage: <br>
/var/lib/systemd/coredump/core.qemu-img.0.967cc1db43d54981b83cef7c937567d3.203074.1554476430000000.lz4<br>
        Message: Process 203074 (qemu-img) of user 0 dumped core.<br>
<br>
                 Stack trace of thread 203074:<br>
                 #0  0x00007f80fa77ffc3 n/a (libp11-kit.so.0)<br>
                 #1  0x00007f80fa701994 n/a (libp11-kit.so.0)<br>
                 #2  0x00007f80fa703989 n/a (libp11-kit.so.0)<br>
                 #3  0x00007f80fa703f9d p11_kit_modules_release <br>
(libp11-kit.so.0)<br>
                 #4  0x00007f80fa6ecffb n/a (libp11-kit.so.0)<br>
                 #5  0x00007f80fa6ea0ad n/a (libp11-kit.so.0)<br>
                 #6  0x00007f80fb4591e6 _dl_fini (ld-linux-x86-64.so.2)<br>
                 #7  0x00007f80fa90bccc __run_exit_handlers (libc.so.6)<br>
                 #8  0x00007f80fa90be00 exit (libc.so.6)<br>
                 #9  0x00007f80fa8f541a __libc_start_main (libc.so.6)<br>
                 #10 0x000055fae136686e _start (qemu-img)<br>
<br>
                 Stack trace of thread 212008:<br>
                 #0  0x00007f80faaa82e2 do_futex_wait (libpthread.so.0)<br>
                 #1  0x00007f80faaa83f3 __new_sem_wait_slow <br>
(libpthread.so.0)<br>
                 #2  0x000055fae143131f qemu_sem_timedwait (qemu-img)<br>
                 #3  0x000055fae142ce34 n/a (qemu-img)<br>
                 #4  0x00007f80faa9f58e start_thread (libpthread.so.0)<br>
                 #5  0x00007f80fa9ce6a3 __clone (libc.so.6)<br>
<br>
                 Stack trace of thread 212010:<br>
                 #0  0x00007f80faaa82e2 do_futex_wait (libpthread.so.0)<br>
                 #1  0x00007f80faaa83f3 __new_sem_wait_slow <br>
(libpthread.so.0)<br>
                 #2  0x000055fae143131f qemu_sem_timedwait (qemu-img)<br>
                 #3  0x000055fae142ce34 n/a (qemu-img)<br>
                 #4  0x00007f80faa9f58e start_thread (libpthread.so.0)<br>
                 #5  0x00007f80fa9ce6a3 __clone (libc.so.6)<br>
<br>
                 Stack trace of thread 212077:<br>
                 #0  0x00007f80faaa82e2 do_futex_wait (libpthread.so.0)<br>
                 #1  0x00007f80faaa83f3 __new_sem_wait_slow <br>
(libpthread.so.0)<br>
                 #2  0x000055fae143131f qemu_sem_timedwait (qemu-img)<br>
                 #3  0x000055fae142ce34 n/a (qemu-img)<br>
                 #4  0x00007f80faa9f58e start_thread (libpthread.so.0)<br>
                 #5  0x00007f80fa9ce6a3 __clone (libc.so.6)<br>
<br>
                 Stack trace of thread 212081:<br>
                 #0  0x00007f80faaa82e2 do_futex_wait (libpthread.so.0)<br>
                 #1  0x00007f80faaa83f3 __new_sem_wait_slow <br>
(libpthread.so.0)<br>
                 #2  0x000055fae143131f qemu_sem_timedwait (qemu-img)<br>
                 #3  0x000055fae142ce34 n/a (qemu-img)<br>
                 #4  0x00007f80faa9f58e start_thread (libpthread.so.0)<br>
                 #5  0x00007f80fa9ce6a3 __clone (libc.so.6)<br>
<br>
                 Stack trace of thread 212078:<br>
                 #0  0x00007f80faaa82e2 do_futex_wait (libpthread.so.0)<br>
                 #1  0x00007f80faaa83f3 __new_sem_wait_slow <br>
(libpthread.so.0)<br>
                 #2  0x000055fae143131f qemu_sem_timedwait (qemu-img)<br>
                 #3  0x000055fae142ce34 n/a (qemu-img)<br>
                 #4  0x00007f80faa9f58e start_thread (libpthread.so.0)<br>
                 #5  0x00007f80fa9ce6a3 __clone (libc.so.6)<br>
<br>
                 Stack trace of thread 212079:<br>
                 #0  0x00007f80faaa82e2 do_futex_wait (libpthread.so.0)<br>
                 #1  0x00007f80faaa83f3 __new_sem_wait_slow <br>
(libpthread.so.0)<br>
                 #2  0x000055fae143131f qemu_sem_timedwait (qemu-img)<br>
                 #3  0x000055fae142ce34 n/a (qemu-img)<br>
                 #4  0x00007f80faa9f58e start_thread (libpthread.so.0)<br>
                 #5  0x00007f80fa9ce6a3 __clone (libc.so.6)<br>
<br>
                 Stack trace of thread 212082:<br>
                 #0  0x00007f80faaa82e2 do_futex_wait (libpthread.so.0)<br>
                 #1  0x00007f80faaa83f3 __new_sem_wait_slow <br>
(libpthread.so.0)<br>
                 #2  0x000055fae143131f qemu_sem_timedwait (qemu-img)<br>
                 #3  0x000055fae142ce34 n/a (qemu-img)<br>
                 #4  0x00007f80faa9f58e start_thread (libpthread.so.0)<br>
                 #5  0x00007f80fa9ce6a3 __clone (libc.so.6)<br>
<br>
                 Stack trace of thread 212011:<br>
                 #0  0x00007f80faaa82e2 do_futex_wait (libpthread.so.0)<br>
                 #1  0x00007f80faaa83f3 __new_sem_wait_slow <br>
(libpthread.so.0)<br>
                 #2  0x000055fae143131f qemu_sem_timedwait (qemu-img)<br>
                 #3  0x000055fae142ce34 n/a (qemu-img)<br>
                 #4  0x00007f80faa9f58e start_thread (libpthread.so.0)<br>
                 #5  0x00007f80fa9ce6a3 __clone (libc.so.6)<br>
<br>
t a a bt<br>
<br>
GNU gdb (GDB) Fedora 8.2-6.fc29<br>
Copyright (C) 2018 Free Software Foundation, Inc.<br>
License GPLv3+: GNU GPL version 3 or later <br>
<<a href="http://gnu.org/licenses/gpl.html" rel="noreferrer" target="_blank">http://gnu.org/licenses/gpl.html</a>><br>
This is free software: you are free to change and redistribute it.<br>
There is NO WARRANTY, to the extent permitted by law.<br>
Type "show copying" and "show warranty" for details.<br>
This GDB was configured as "x86_64-redhat-linux-gnu".<br>
Type "show configuration" for configuration details.<br>
For bug reporting instructions, please see:<br>
<<a href="http://www.gnu.org/software/gdb/bugs/" rel="noreferrer" target="_blank">http://www.gnu.org/software/gdb/bugs/</a>>.<br>
Find the GDB manual and other documentation resources online at:<br>
     <<a href="http://www.gnu.org/software/gdb/documentation/" rel="noreferrer" target="_blank">http://www.gnu.org/software/gdb/documentation/</a>>.<br>
<br>
For help, type "help".<br>
Type "apropos word" to search for commands related to "word"...<br>
Reading symbols from /usr/bin/qemu-img...(no debugging symbols <br>
found)...done.<br>
[New LWP 203074]<br>
[New LWP 212008]<br>
[New LWP 212010]<br>
[New LWP 212077]<br>
[New LWP 212081]<br>
[New LWP 212078]<br>
[New LWP 212079]<br>
[New LWP 212082]<br>
[New LWP 212011]<br>
[Thread debugging using libthread_db enabled]<br>
Using host libthread_db library "/lib64/libthread_db.so.1".<br>
<br>
warning: Loadable section ".note.gnu.property" outside of ELF segments<br>
<br>
warning: Loadable section ".note.gnu.property" outside of ELF segments<br>
<br>
warning: Loadable section ".note.gnu.property" outside of ELF segments<br>
<br>
warning: Loadable section ".note.gnu.property" outside of ELF segments<br>
<br>
warning: Loadable section ".note.gnu.property" outside of ELF segments<br>
<br>
warning: Loadable section ".note.gnu.property" outside of ELF segments<br>
<br>
warning: Loadable section ".note.gnu.property" outside of ELF segments<br>
<br>
warning: Loadable section ".note.gnu.property" outside of ELF segments<br>
<br>
warning: Loadable section ".note.gnu.property" outside of ELF segments<br>
Core was generated by `qemu-img convert -f raw -O rbd fedora29.raw <br>
rbd:vm/fedora0'.<br>
Program terminated with signal SIGSEGV, Segmentation fault.<br>
#0  0x00007f80fa77ffc3 in ?? () from /lib64/libp11-kit.so.0<br>
[Current thread is 1 (Thread 0x7f80fa445200 (LWP 203074))]<br>
Missing separate debuginfos, use: dnf debuginfo-install <br>
qemu-img-3.0.0-4.fc29.x86_64<br>
(gdb) t a a bt<br>
<br>
Thread 9 (Thread 0x7f80bb37c700 (LWP 212011)):<br>
#0  0x00007f80faaa82e2 in do_futex_wait () from /lib64/libpthread.so.0<br>
#1  0x00007f80faaa83f3 in __new_sem_wait_slow () from /lib64/libpthread.so.0<br>
#2  0x000055fae143131f in qemu_sem_timedwait ()<br>
#3  0x000055fae142ce34 in ?? ()<br>
#4  0x00007f80faa9f58e in start_thread () from /lib64/libpthread.so.0<br>
#5  0x00007f80fa9ce6a3 in clone () from /lib64/libc.so.6<br>
<br>
Thread 8 (Thread 0x7f80c92ae700 (LWP 212082)):<br>
#0  0x00007f80faaa82e2 in do_futex_wait () from /lib64/libpthread.so.0<br>
#1  0x00007f80faaa83f3 in __new_sem_wait_slow () from /lib64/libpthread.so.0<br>
#2  0x000055fae143131f in qemu_sem_timedwait ()<br>
#3  0x000055fae142ce34 in ?? ()<br>
#4  0x00007f80faa9f58e in start_thread () from /lib64/libpthread.so.0<br>
#5  0x00007f80fa9ce6a3 in clone () from /lib64/libc.so.6<br>
<br>
Thread 7 (Thread 0x7f80c8aad700 (LWP 212079)):<br>
#0  0x00007f80faaa82e2 in do_futex_wait () from /lib64/libpthread.so.0<br>
#1  0x00007f80faaa83f3 in __new_sem_wait_slow () from /lib64/libpthread.so.0<br>
#2  0x000055fae143131f in qemu_sem_timedwait ()<br>
#3  0x000055fae142ce34 in ?? ()<br>
#4  0x00007f80faa9f58e in start_thread () from /lib64/libpthread.so.0<br>
#5  0x00007f80fa9ce6a3 in clone () from /lib64/libc.so.6<br>
<br>
Thread 6 (Thread 0x7f80c9aaf700 (LWP 212078)):<br>
#0  0x00007f80faaa82e2 in do_futex_wait () from /lib64/libpthread.so.0<br>
#1  0x00007f80faaa83f3 in __new_sem_wait_slow () from /lib64/libpthread.so.0<br>
#2  0x000055fae143131f in qemu_sem_timedwait ()<br>
#3  0x000055fae142ce34 in ?? ()<br>
#4  0x00007f80faa9f58e in start_thread () from /lib64/libpthread.so.0<br>
#5  0x00007f80fa9ce6a3 in clone () from /lib64/libc.so.6<br>
<br>
Thread 5 (Thread 0x7f80bab7b700 (LWP 212081)):<br>
#0  0x00007f80faaa82e2 in do_futex_wait () from /lib64/libpthread.so.0<br>
#1  0x00007f80faaa83f3 in __new_sem_wait_slow () from /lib64/libpthread.so.0<br>
#2  0x000055fae143131f in qemu_sem_timedwait ()<br>
#3  0x000055fae142ce34 in ?? ()<br>
#4  0x00007f80faa9f58e in start_thread () from /lib64/libpthread.so.0<br>
#5  0x00007f80fa9ce6a3 in clone () from /lib64/libc.so.6<br>
<br>
--Type <RET> for more, q to quit, c to continue without paging--<br>
Thread 4 (Thread 0x7f80ba37a700 (LWP 212077)):<br>
#0  0x00007f80faaa82e2 in do_futex_wait () from /lib64/libpthread.so.0<br>
#1  0x00007f80faaa83f3 in __new_sem_wait_slow () from /lib64/libpthread.so.0<br>
#2  0x000055fae143131f in qemu_sem_timedwait ()<br>
#3  0x000055fae142ce34 in ?? ()<br>
#4  0x00007f80faa9f58e in start_thread () from /lib64/libpthread.so.0<br>
#5  0x00007f80fa9ce6a3 in clone () from /lib64/libc.so.6<br>
<br>
Thread 3 (Thread 0x7f80ca2b0700 (LWP 212010)):<br>
#0  0x00007f80faaa82e2 in do_futex_wait () from /lib64/libpthread.so.0<br>
#1  0x00007f80faaa83f3 in __new_sem_wait_slow () from /lib64/libpthread.so.0<br>
#2  0x000055fae143131f in qemu_sem_timedwait ()<br>
#3  0x000055fae142ce34 in ?? ()<br>
#4  0x00007f80faa9f58e in start_thread () from /lib64/libpthread.so.0<br>
#5  0x00007f80fa9ce6a3 in clone () from /lib64/libc.so.6<br>
<br>
Thread 2 (Thread 0x7f80bbfff700 (LWP 212008)):<br>
#0  0x00007f80faaa82e2 in do_futex_wait () from /lib64/libpthread.so.0<br>
#1  0x00007f80faaa83f3 in __new_sem_wait_slow () from /lib64/libpthread.so.0<br>
#2  0x000055fae143131f in qemu_sem_timedwait ()<br>
#3  0x000055fae142ce34 in ?? ()<br>
#4  0x00007f80faa9f58e in start_thread () from /lib64/libpthread.so.0<br>
#5  0x00007f80fa9ce6a3 in clone () from /lib64/libc.so.6<br>
<br>
Thread 1 (Thread 0x7f80fa445200 (LWP 203074)):<br>
#0  0x00007f80fa77ffc3 in ?? () from /lib64/libp11-kit.so.0<br>
#1  0x00007f80fa701994 in ?? () from /lib64/libp11-kit.so.0<br>
#2  0x00007f80fa703989 in ?? () from /lib64/libp11-kit.so.0<br>
#3  0x00007f80fa703f9d in p11_kit_modules_release () from <br>
/lib64/libp11-kit.so.0<br>
#4  0x00007f80fa6ecffb in ?? () from /lib64/libp11-kit.so.0<br>
#5  0x00007f80fa6ea0ad in ?? () from /lib64/libp11-kit.so.0<br>
#6  0x00007f80fb4591e6 in _dl_fini () from /lib64/ld-linux-x86-64.so.2<br>
#7  0x00007f80fa90bccc in __run_exit_handlers () from /lib64/libc.so.6<br>
#8  0x00007f80fa90be00 in exit () from /lib64/libc.so.6<br>
#9  0x00007f80fa8f541a in __libc_start_main () from /lib64/libc.so.6<br>
#10 0x000055fae136686e in _start ()<br>
<br>
On 4/6/19 2:32 PM, Richard W.M. Jones wrote:<br>
> On Sat, Apr 06, 2019 at 02:00:47PM -0400, Andrew J. Hutton wrote:<br>
>> I haven't needed to do this before, I was going to attach the core<br>
>> file but it is just generating an Error 500 if I add any attachment.<br>
>> Could you possibly suggest a method to do this; I've tried a few<br>
>> I've found via search but what was generated seemed somewhat<br>
>> useless, and strace was totally useless.<br>
> Please run:<br>
><br>
> $ coredumpctl gdb<br>
><br>
> and then enter the command exactly as shown:<br>
><br>
> t a a bt<br>
><br>
> It should produce a stack trace of all threads.<br>
><br>
> Rich.<br>
><br>
<br>
_______________________________________________<br>
virt-tools-list mailing list<br>
<a href="mailto:virt-tools-list@redhat.com" target="_blank">virt-tools-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/virt-tools-list" rel="noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/virt-tools-list</a></blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">Best regards,</div><div dir="ltr">-----------------------------------<br></div><div dir="ltr">Han Han<br>Quality Engineer<br>Redhat.<br><br>Email: <a href="mailto:hhan@redhat.com" target="_blank">hhan@redhat.com</a><br>Phone: +861065339333<br></div></div></div></div></div></div>