From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58304) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VMHDT-0007zr-Ak for qemu-devel@nongnu.org; Wed, 18 Sep 2013 08:50:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VMHDK-0008N4-T6 for qemu-devel@nongnu.org; Wed, 18 Sep 2013 08:50:47 -0400 Received: from mail-ee0-x22f.google.com ([2a00:1450:4013:c00::22f]:62597) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VMHDK-0008Mr-I7 for qemu-devel@nongnu.org; Wed, 18 Sep 2013 08:50:38 -0400 Received: by mail-ee0-f47.google.com with SMTP id d49so3446929eek.34 for ; Wed, 18 Sep 2013 05:50:37 -0700 (PDT) Date: Wed, 18 Sep 2013 14:50:35 +0200 From: Stefan Hajnoczi Message-ID: <20130918125035.GF13359@stefanha-thinkpad.redhat.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] qemu-nbd segmentation fault List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "ing. Mario De Chenno" Cc: qemu-devel@nongnu.org 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