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