From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54163) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZQDfm-0006eV-K2 for qemu-devel@nongnu.org; Fri, 14 Aug 2015 08:01:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZQDfg-00070x-QG for qemu-devel@nongnu.org; Fri, 14 Aug 2015 08:01:22 -0400 Date: Fri, 14 Aug 2015 13:01:05 +0100 From: "Dr. David Alan Gilbert" Message-ID: <20150814120105.GA2250@work-vm> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Subject: [Qemu-devel] qemu-img seg, test 082 not showing the error List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: kwolf@redhat.com, mreitz@redhat.com, qemu-devel@nongnu.org, qemu-block@nongnu.org Hi, I noticed that although 'make check-block' was passing happily I was seeing a kernel log showing a qemu-img seg: [Fri Aug 14 12:26:07 2015] qemu-img[7725]: segfault at 0 ip (null) sp 00007ffff73e9a98 error 14 in qemu-img[55f707577000+f8000] The case that fails is: run_qemu_img amend -f qcow2 -o backing_file=/home/dgilbert/try-world3/tests/qemu-iotests/scratch/t.qcow2, -o help /home/dgilbert/try-world3/tests/qemu-iotests/scratch/t.qcow2 and I think the problem is due to a disagreement between 626f84f3 - qemu-img amend: Support multiple -o options and 76a3a34d - qemu-img: Add progress output for amend In the 'Invalid option list' case it goto's out skipping the qemu_progress_init, but the out: clause does a qemu_progress_end that then segs. However, I've not dug into why the testcase code didn't spot it, which seems a more important problem. Dave -- Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK