From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2FF64C433ED for ; Fri, 7 May 2021 02:27:02 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 562C9610E7 for ; Fri, 7 May 2021 02:27:01 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 562C9610E7 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=bugs.launchpad.net Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:33640 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1leqCi-0000fX-29 for qemu-devel@archiver.kernel.org; Thu, 06 May 2021 22:27:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39998) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1leqBc-00008M-DV for qemu-devel@nongnu.org; Thu, 06 May 2021 22:25:52 -0400 Received: from indium.canonical.com ([91.189.90.7]:56144) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1leqBa-000562-7y for qemu-devel@nongnu.org; Thu, 06 May 2021 22:25:52 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.93 #5 (Debian)) id 1leqBX-0008Il-Mr for ; Fri, 07 May 2021 02:25:47 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id AB8BE2E813A for ; Fri, 7 May 2021 02:25:47 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Fri, 07 May 2021 02:16:59 -0000 From: Rafael Rivera <1870039@bugs.launchpad.net> To: qemu-devel@nongnu.org X-Launchpad-Notification-Type: bug X-Launchpad-Bug: product=qemu; status=New; importance=Undecided; assignee=None; X-Launchpad-Bug-Tags: qemu-img windows X-Launchpad-Bug-Information-Type: Public X-Launchpad-Bug-Private: no X-Launchpad-Bug-Security-Vulnerability: no X-Launchpad-Bug-Commenters: rafael.rivera th-huth X-Launchpad-Bug-Reporter: Rafael Rivera (rafael.rivera) X-Launchpad-Bug-Modifier: Rafael Rivera (rafael.rivera) References: <158572796276.11754.15285888952629544503.malonedeb@chaenomeles.canonical.com> Message-Id: <162035381951.3176.5742693110739527725.malone@gac.canonical.com> Subject: [Bug 1870039] Re: windows qemu-img fails to convert vhdx, assertion failure X-Launchpad-Message-Rationale: Subscriber (QEMU) @qemu-devel-ml X-Launchpad-Message-For: qemu-devel-ml Precedence: bulk X-Generated-By: Launchpad (canonical.com); Revision="d6ba96cccb3d3e356754af3137c6128a6c17e2a8"; Instance="production" X-Launchpad-Hash: 50e4c105bfffce8e0925b8e6d21e740cabc4c166 Received-SPF: none client-ip=91.189.90.7; envelope-from=bounces@canonical.com; helo=indium.canonical.com X-Spam_score_int: -64 X-Spam_score: -6.5 X-Spam_bar: ------ X-Spam_report: (-6.5 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.248, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_SBL_A=0.1 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Bug 1870039 <1870039@bugs.launchpad.net> Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" Still a bug, resetting status per new bug tracker guidance. Also, re-tested with v6.0.0-11869-g800a25ea45-dirty. Results in error: ERROR:../../../util/oslib-win32.c:61:qemu_try_memalign: assertion failed: (= is_power_of_2(alignment)) ** Changed in: qemu Status: Incomplete =3D> New -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1870039 Title: windows qemu-img fails to convert vhdx, assertion failure Status in QEMU: New Bug description: When attempting to convert Microsoft's 10X emulator image (19563) vhdx [1], qemu-img terminates abruptly with an assertion failure. (Newer versions of the vhdx exhibit the same issue.) > qemu-img.exe convert flash.vhdx flash.vhd ** ERROR:util/iov.c:335:qemu_iovec_concat_iov: assertion failed: (soffset = =3D=3D 0) Bail out! ERROR:util/iov.c:335:qemu_iovec_concat_iov: assertion failed: (= soffset =3D=3D 0) Exception code=3D0x80000003 flags=3D0x0 at 0x00007FFAFDC59302 Tested with qemu-img.exe --version qemu-img version 4.2.50 (v4.2.0-676-g3a63b24a1b-dirty) Possibly related: 1719870 Partial Powershell cmdlet output: PS> Get-Vhd flash.vhdx VhdFormat : VHDX VhdType : Dynamic FileSize : 8365539328 Size : 137438953472 MinimumSize : 137438953472 LogicalSectorSize : 4096 PhysicalSectorSize : 4096 BlockSize : 1048576 ParentPath : DiskIdentifier : 7BE7C459-AE5D-451A-9368-05875120F702 FragmentationPercentage : 11 Alignment : 1 Attached : False DiskNumber : IsPMEMCompatible : False AddressAbstractionType : None Number : [1] https://1drv.ms/u/s!AnjdAnZZcu-GpNFK_-tcNAq_4Aug8w?e=3D5JB6s0 To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1870039/+subscriptions