From owner-freebsd-emulation@FreeBSD.ORG Mon Mar 15 10:37:42 2010 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 13927106566B for ; Mon, 15 Mar 2010 10:37:42 +0000 (UTC) (envelope-from decke@bluelife.at) Received: from mail.itac.at (mail.itac.at [91.205.172.9]) by mx1.freebsd.org (Postfix) with ESMTP id 83B948FC1B for ; Mon, 15 Mar 2010 10:37:41 +0000 (UTC) Received: from [91.205.172.21] (helo=webmail.bluelife.at) by mail.itac.at with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1Nr7g3-0000n9-KH; Mon, 15 Mar 2010 11:37:40 +0100 MIME-Version: 1.0 Date: Mon, 15 Mar 2010 11:37:40 +0100 From: Bernhard Froehlich To: Alexander Zagrebin In-Reply-To: <2DFB65D67E9140B6B82B1608007C5200@vosz.local> References: <2DFB65D67E9140B6B82B1608007C5200@vosz.local> Message-ID: <47e7eff28af18f149a9e3f4f31d3254d@bluelife.at> X-Sender: decke@bluelife.at User-Agent: RoundCube Webmail/0.3.1 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 X-Spam-Score: 1.0 (+) X-Spam-Report: Spam detection software, running on the system "mail.itac.at", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: On Mon, 15 Mar 2010 13:19:39 +0300, "Alexander Zagrebin" wrote: > VirtualBox still crashes when saving state in the headless mode. > > Try these commands to reproduce the bug (may be the VirtualBox needs > to be compiled without X11): > > $ VBoxHeadless -s Test & > $ VBoxManage controlvm Test savestate > Sun VirtualBox Command Line Management Interface Version 3.1.4_OSE > (C) 2005-2010 Sun Microsystems, Inc. > All rights reserved. > > 0%...10%...20%... > Error: failed to save machine state. No error message available! > > The reason is an arithmetic exception (division by zero) in the > displayMakeThumbnail (src/VBox/Main/DisplayImpl.cpp, line 161) > due to cx and cy are set to 0. > > cxThumbnail = (kMaxSizeThumbnail * cx) / cy; > > The one of possible solutions - don't make the thumbnail (see attached > patches) [...] Content analysis details: (1.0 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.4 ALL_TRUSTED Passed through trusted hosts only via SMTP 3.4 FH_DATE_PAST_20XX The date is grossly in the future. -1.0 AWL AWL: From: address is in the auto white-list Cc: freebsd-emulation@freebsd.org Subject: RE: Call for testers: VirtualBox 3.1.4 update X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 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, 15 Mar 2010 10:37:42 -0000 On Mon, 15 Mar 2010 13:19:39 +0300, "Alexander Zagrebin" wrote: > VirtualBox still crashes when saving state in the headless mode. > > Try these commands to reproduce the bug (may be the VirtualBox needs > to be compiled without X11): > > $ VBoxHeadless -s Test & > $ VBoxManage controlvm Test savestate > Sun VirtualBox Command Line Management Interface Version 3.1.4_OSE > (C) 2005-2010 Sun Microsystems, Inc. > All rights reserved. > > 0%...10%...20%... > Error: failed to save machine state. No error message available! > > The reason is an arithmetic exception (division by zero) in the > displayMakeThumbnail (src/VBox/Main/DisplayImpl.cpp, line 161) > due to cx and cy are set to 0. > > cxThumbnail = (kMaxSizeThumbnail * cx) / cy; > > The one of possible solutions - don't make the thumbnail (see attached > patches) I can perfectly reproduce that on Linux with VirtualBox 3.1.4 so this looks like a general VirtualBox problem. It would be good to file a virtualbox bugreport and attach the patches there. -- Bernhard Fröhlich http://www.bluelife.at/ >> -----Original Message----- >> From: owner-freebsd-emulation@freebsd.org >> [mailto:owner-freebsd-emulation@freebsd.org] On Behalf Of >> Bernhard Froehlich >> Sent: Friday, March 12, 2010 1:21 PM >> To: freebsd-emulation@FreeBSD.org >> Subject: Call for testers: VirtualBox 3.1.4 update >> >> Grias di, >> >> we are preparing the VirtualBox 3.1.4 update to fix the >> vtophys problems >> with the current port on 9-CURRENT and STABLE kernels and need some >> feedback for this. Many thanks to all developers and testers >> that helped >> to track this issue down and Alexander Eichner for all the work and >> fixing it. >> >> >> Changelog from VirtualBox is available here: >> http://www.virtualbox.org/wiki/Changelog >> >> Changes in the port: >> - VirtualBox and Guest Additions updated to 3.1.4 >> - Add UNIQUENAME to fix options file clashes between the virtualbox >> ports [0] >> - Fixed vtophys problems on CURRENT and STABLE kernes newer than >> January 23th [1] >> - Fixed page double wiring issue in rtR0MemObjNativeAllocPage [2] >> >> PR: ports/143361 [0] >> Submitted by: Martin Birgmeier [0] >> Alexander Eichner [1] >> Thanks To: All testers on emulation@ and current@ [1] >> Giovanni Trematerra [1] >> Ian Freislich [1] >> Reported by: Alan Cox [2] >> >> >> How to upgrade: >> - Fetch the new ports: >> # fetch >> http://svn.bluelife.at/nightlies/virtualbox-port-r758.tar.gz >> # tar xf virtualbox-port-r758.tar.gz >> >> - Build the new ports: >> # cd virtualbox-ose-kmod && make >> # cd ../virtualbox-ose && make >> >> - If build was ok, deinstall old port >> # pkg_delete virtualbox-\* >> >> - Install new ports: >> # cd ../virtualbox-ose-kmod && make install clean >> # cd ../virtualbox-ose && make install clean >> >> For FreeBSD guests within VirtualBox please use the >> emulators/virtualbox-ose-additions port from the FreeBSD ports tree. >> >> >> Check the wiki page for known problems: >> http://wiki.freebsd.org/VirtualBox >> >> Please report any functionality which was working with >> previous versions >> of VirtualBox and no longer working with 3.1.4 or any build failure. >> >> Many thanks to the VirtualBox developers, all testers and >> patch submitters >> and the whole vbox@ team. >> >> >> Happy Testing! >> >> - - Bernhard (decke) on behalf of the FreeBSD Vbox Team >> >> -- >> Bernhard Frцhlich >> http://www.bluelife.at/ >> _______________________________________________ >> freebsd-emulation@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-emulation >> To unsubscribe, send any mail to >> "freebsd-emulation-unsubscribe@freebsd.org" >> >> >> !DSPAM:1,4b9a15a910826779316940!