From owner-freebsd-emulation@FreeBSD.ORG Mon Aug 26 00:22:32 2013 Return-Path: Delivered-To: emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 7B2BEFAF for ; Mon, 26 Aug 2013 00:22:32 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from shell0.rawbw.com (shell0.rawbw.com [198.144.192.45]) by mx1.freebsd.org (Postfix) with ESMTP id 6716C2B99 for ; Mon, 26 Aug 2013 00:22:32 +0000 (UTC) Received: from eagle.yuri.org (stunnel@localhost [127.0.0.1]) (authenticated bits=0) by shell0.rawbw.com (8.14.4/8.14.4) with ESMTP id r7Q0MOgU051875; Sun, 25 Aug 2013 17:22:24 -0700 (PDT) (envelope-from yuri@rawbw.com) Message-ID: <521A9FC0.3010102@rawbw.com> Date: Sun, 25 Aug 2013 17:22:24 -0700 From: Yuri User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130822 Thunderbird/17.0.8 MIME-Version: 1.0 To: Yuri Subject: Re: VBox: VMs randomly fail with assertion: Expression: cbPreRead == 0 References: <52191D7E.9080600@rawbw.com> In-Reply-To: <52191D7E.9080600@rawbw.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: emulation@freebsd.org X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Aug 2013 00:22:32 -0000 On 08/24/2013 13:54, Yuri wrote: > Here is the message: > 00:10:44.838619 !!Assertion Failed!! > 00:10:44.838619 Expression: cbPreRead == 0 > 00:10:44.838621 Location : > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.2.16/src/VBox/Storage/VD.cpp(2272) > int vdWriteHelperOptimized(VBOXHDD*, VDIMAGE*, VDIMAGE*, uint64_t, > size_t, size_t, size_t, size_t, const void*, void*, unsigned int) > > Gues OS: FreeBSD 9.1 (both i386 and amd64) Here is how to repeat: in a new VM with an empty disk install system from 9.1 iso. Update /usr/src and rebuild world+kernel, install gnome2 from ports. Get this error eventually. I only observed it with FreeBSD guests, not with linux or windows guests. Currently, version 4.2.16 isn't usable with FreeBSD guests for this reason. I downgraded to 4.2.14 and it died with assertion the same way. Not sure if this is because VM created on 4.2.16 was reused. Some previous version (not sure which exactly) was very stable and I used it with BSD guests for a long time. Yuri