This time crashed just issuing a mount command: Starting program: /vmstore/vmtools/qemu-nbd-from1.6.0 /vmstore/playground/archivioweb.img [Thread debugging using libthread_db enabled] [New Thread 0x7ffff55e3700 (LWP 7626)] [New Thread 0x7ffff47dd700 (LWP 7645)] [New Thread 0x7ffff3fdc700 (LWP 7646)] [New Thread 0x7ffff37db700 (LWP 7647)]
Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7ffff37db700 (LWP 7647)] 0x00007ffff7717249 in ?? () from /usr/lib64/libglib-2.0.so.0 (gdb) bt #0 0x00007ffff7717249 in ?? () from /usr/lib64/libglib-2.0.so.0 #1 0x00007ffff771759c in ?? () from /usr/lib64/libglib-2.0.so.0 #2 0x00007ffff7718958 in g_slice_free1 () from /usr/lib64/libglib-2.0.so.0 #3 0x0000555555591c2d in aio_worker (arg=0x555555c2f6c0) at block/raw-posix.c:776 #4 0x00005555555da094 in worker_thread (opaque=0x555555c31a40) at thread-pool.c:109 #5 0x00007ffff6c2ed6b in start_thread () from /lib64/libpthread.so.0 #6 0x00007ffff6966abd in clone () from /lib64/libc.so.6 See you again Mario -----Messaggio originale----- Da: Stefan Hajnoczi [mailto:stefa...@gmail.com] Inviato: mer 18/09/2013 14.50 A: Mario DE CHENNO Cc: qemu-devel@nongnu.org Oggetto: Re: [Qemu-devel] qemu-nbd segmentation fault On Tue, Sep 17, 2013 at 02:53:51PM +0200, ing. Mario De Chenno wrote: > I cannot use qemu-nbd to write files to a qcow2 disk image. It always exit > after a while with a segmentation fault. Hi Mario, Thanks for providing the strace. Is it possible for you to post a backtrace? The backtrace shows where exactly the segfault occurs. Try this: $ gdb --args path/to/qemu-nbd test.img When the qemu-nbd process crashes you will be at the gdb prompt and can print the backtrace: (gdb) bt Please post the gdb output. Thanks, Stefan