Received: from eggs.gnu.org ([2001:4830:134:3::10]:52908) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bFydL-0005u1-2x for qemu-devel@nongnu.org; Thu, 23 Jun 2016 03:01:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bFydG-0003UO-RT for qemu-devel@nongnu.org; Thu, 23 Jun 2016 03:01:02 -0400 Received: from indium.canonical.com ([91.189.90.7]:58407) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bFydG-0003U9-Lu for qemu-devel@nongnu.org; Thu, 23 Jun 2016 03:00:58 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.76 #1 (Debian)) id 1bFydF-00040W-GG for ; Thu, 23 Jun 2016 07:00:57 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 769062E8080 for ; Thu, 23 Jun 2016 07:00:57 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Thu, 23 Jun 2016 06:53:21 -0000 From: "T. Huth" <1349972@bugs.launchpad.net> Reply-To: Bug 1349972 <1349972@bugs.launchpad.net> Sender: bounces@canonical.com References: <20140729180711.26833.98572.malonedeb@soybean.canonical.com> Message-Id: <20160623065321.25643.27287.malone@gac.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 1349972] Re: qcow2-refcount: qemu-io crashes on 'discard' command List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Fix has been included here: http://git.qemu.org/?p=3Dqemu.git;a=3Dcommitdiff;h=3Decbda7a22576591a84 ... so I think it should be OK now to mark this ticket as fixed. ** Changed in: qemu Status: In Progress =3D> Fix Released -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1349972 Title: qcow2-refcount: qemu-io crashes on 'discard' command Status in QEMU: Fix Released Bug description: qemu-io is killed by SIGIOT at the 'discard' command on the image having no refcount information. Sequence: 1. Unpack test.img and backing_img.qed in the same directory (see the att= ached archives for images) 2. Make a copy of test.img to copy.img (qemu-io modifies the image before= being kill, therefore the image backup is necessary) 3. Run the command qemu-io copy.img -c 'discard 2210816 2856448' Result: qemu-io is killed by SIGIOT with the reason: qemu-io: block/qcow2-refcount.c:468: update_refcount_discard: Assertion `d->bytes + length =3D=3D new_end - new_start' failed. = The image was generated by the image fuzzer. qemu.git HEAD: 1d80eb7a680d To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1349972/+subscriptions