From owner-freebsd-emulation@FreeBSD.ORG Fri Jan 30 00:16:48 2015 Return-Path: Delivered-To: vbox@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 87A3AD3C for ; Fri, 30 Jan 2015 00:16:48 +0000 (UTC) Received: from mail-ob0-x22e.google.com (mail-ob0-x22e.google.com [IPv6:2607:f8b0:4003:c01::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4A32AF1B for ; Fri, 30 Jan 2015 00:16:47 +0000 (UTC) Received: by mail-ob0-f174.google.com with SMTP id wo20so81606obc.5 for ; Thu, 29 Jan 2015 16:16:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vopenhouse.ca; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=LNoqVOwXIKzOMbRPgY5CgLfKpIM+whcmND0yxfykGUI=; b=P5tVAbFNnd8bVPsxPa7Fz9LTnc1Mi4dPAdtf4cfzXCPdXZ0m/KnoFfRA4/uj5bsep7 QBHAswuEm8g8v9BGQwYOpDV7TX0nv1sf30c2XPYcsiWteQ1o3JAU1Tt/b8pCvaPtoufV dCNzfRl1nZFR0IZFQs3fmmqHgcwDxlp85Q8aY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=LNoqVOwXIKzOMbRPgY5CgLfKpIM+whcmND0yxfykGUI=; b=Ok91pWgb4ZLqtuKQmv1tNLbpG523zHC2V958IGnhq8nPKLG1vg6aLMdPDJ+v3/m43S q3x08vLOYtRcqc/o1IqenKH/pe4woeKCM3dQmIQ3PY7afOinXTtQMMpHIbuiCF5S5h5x kywQNImFGH7dvyglE4/2T4nIL/XB4dkl/6Yz9q3OSkBHYxz5Qxy1Q0zO0O28Bap1r9N+ vVXrBdJQlyzc18toQSeLqjl4UoOfs8VyO01g1n0AfmlNBoX9Emg3sGwCK681DTLNW0fm o/qh1PKfp7Bb6I3a37q2i/4GsnLKfaDEyeZP0PsgYHMinErYfhkSr05RqyvZsSOrH3Ud EdRg== X-Gm-Message-State: ALoCoQniIf+Le0n4GT7XcMfVjaOIuPpLaRP5rxamqBO8n6/41sgFN83IDzyZvJvTqweHM85IkjLZ MIME-Version: 1.0 X-Received: by 10.202.60.66 with SMTP id j63mr1973188oia.83.1422577007294; Thu, 29 Jan 2015 16:16:47 -0800 (PST) Received: by 10.76.29.45 with HTTP; Thu, 29 Jan 2015 16:16:47 -0800 (PST) X-Originating-IP: [207.6.72.190] In-Reply-To: References: Date: Thu, 29 Jan 2015 16:16:47 -0800 Message-ID: Subject: Re: FreeBSD Port: emulators/virtualbox-ose exited on signal 11 random crashes on screen update using VNC From: Ron Thomas To: vbox@freebsd.org X-Mailman-Approved-At: Fri, 30 Jan 2015 00:58:27 +0000 Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.18-1 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: Fri, 30 Jan 2015 00:16:48 -0000 For anyone else who may experience this in future. Most of my seg faults ended up being because I had set the guest up to use 2 cpu's rather than just keeping one. On Wed, Jul 23, 2014 at 1:02 AM, Ron Thomas wrote: > Have an intermittent crash that I haven't been able to figure out the > trigger for.... perhaps a race condition? Happens frequently, usually when > lots of stuff is happening on screen. Core dump shows that it always fails > at the same line of code. > > FreeBSD 9.2-RELEASE-p7 FreeBSD 9.2-RELEASE-p7 #0: Tue Jun 3 11:05:13 UTC > 2014 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC > amd64 > > #pkg version | grep 'virtualbox' > virtualbox-ose-4.3.12_1 = > virtualbox-ose-kmod-4.3.12 = > > Installed with following options: > DBUS > DEBUG > GUESTADDITIONS > PYTHON > UDPTUNNEL > VNC > > > (gdb) frame > #0 0x0000000808401f67 in VNCServerImpl::VRDEUpdate (hServer=0x807c64500, > uScreenId=0, pvUpdate=0x822833e5c, cbUpdate=1590649) at > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.12/src/VBox/ExtPacks/VNC/VBoxVNC.cpp:823 > 823 instance->mFrameBuffer[destx] = > instance->mScreenBuffer[srcx + 2]; > (gdb) list > 818 // RGB to BGR > 819 for (srcx = srcy, destx = desty; > 820 destx < desty + order->w * VNC_SIZEOFRGBA; > 821 srcx += bpp, destx += VNC_SIZEOFRGBA) > 822 { > 823 instance->mFrameBuffer[destx] = > instance->mScreenBuffer[srcx + 2]; > 824 instance->mFrameBuffer[destx + 1] = > instance->mScreenBuffer[srcx + 1]; > 825 instance->mFrameBuffer[destx + 2] = > instance->mScreenBuffer[srcx]; > 826 } > 827 } > (gdb) bt > #0 0x0000000808401f67 in VNCServerImpl::VRDEUpdate (hServer=0x807c64500, > uScreenId=0, pvUpdate=0x822833e5c, cbUpdate=1590649) at > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.12/src/VBox/ExtPacks/VNC/VBoxVNC.cpp:823 > #1 0x000000080595fa4f in ConsoleVRDPServer::SendUpdate (this=0x805013f00, > uScreenId=0, pvUpdate=0x822833e5c, cbUpdate=1590649) at > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.12/src/VBox/Main/src-client/ConsoleVRDPServer.cpp:3795 > #2 0x000000080596e565 in Display::displayVBVAUpdateProcess > (pInterface=0x809f84cb8, uScreenId=0, pCmd=0x822833e5c, cbCmd=1590649) at > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.12/src/VBox/Main/src-client/DisplayImpl.cpp:4676 > #3 0x0000000810d2346e in vbvaFlushProcess (uScreenId=0, > pVGAState=0x806be2100, pPartialRecord=0x809713b90, pVBVA=0x8227af000) at > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.12/src/VBox/Devices/Graphics/DevVGA_VBVA.cpp:380 > #4 0x0000000810d2383c in vbvaFlush (pVGAState=0x806be2100, > pCtx=0x809713b48) at > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.12/src/VBox/Devices/Graphics/DevVGA_VBVA.cpp:462 > #5 0x0000000810d238ad in VBVAUpdateDisplay (pVGAState=0x806be2100) at > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.12/src/VBox/Devices/Graphics/DevVGA_VBVA.cpp:2378 > #6 0x0000000810c59ba9 in vgaPortUpdateDisplay (pInterface=0x806bf2e10) at > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.12/src/VBox/Devices/Graphics/DevVGA.cpp:4536 > #7 0x00000008059760bb in Display::displayRefreshCallback > (pInterface=0x809f84cb8) at > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.12/src/VBox/Main/src-client/DisplayImpl.cpp:3870 > #8 0x0000000810c59487 in vgaTimerRefresh (pDevIns=0x806be2000, > pTimer=0x8006c44d0, pvUser=0x806be2100) at > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.12/src/VBox/Devices/Graphics/DevVGA.cpp:5205 > #9 0x00000008061ea923 in tmR3TimerQueueRun (pVM=0x80067c000, > pQueue=0x8006ae930) at > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.12/src/VBox/VMM/VMMR3/TM.cpp:2063 > #10 0x00000008061f8809 in TMR3TimerQueuesDo (pVM=0x80067c000) at > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.12/src/VBox/VMM/VMMR3/TM.cpp:1981 > #11 0x0000000806210489 in vmR3HaltGlobal1Halt (pUVCpu=0x809002180, > fMask=516, u64Now=271350023039513) at > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.12/src/VBox/VMM/VMMR3/VMEmt.cpp:685 > #12 0x000000080620fc4b in VMR3WaitHalted (pVM=0x80067c000, > pVCpu=0x80069c000, fIgnoreInterrupts=true) at > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.12/src/VBox/VMM/VMMR3/VMEmt.cpp:1104 > #13 0x00000008060ed319 in EMR3ExecuteVM (pVM=0x80067c000, > pVCpu=0x80069c000) at > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.12/src/VBox/VMM/VMMR3/EM.cpp:2560 > #14 0x000000080621205a in vmR3EmulationThreadWithId > (ThreadSelf=0x807c93100, pUVCpu=0x809002180, idCpu=1) at > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.12/src/VBox/VMM/VMMR3/VMEmt.cpp:235 > #15 0x000000080621229c in vmR3EmulationThread (ThreadSelf=0x807c93100, > pvArgs=0x809002180) at > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.12/src/VBox/VMM/VMMR3/VMEmt.cpp:62 > #16 0x0000000801cee5e8 in rtThreadMain (pThread=0x807c93100, > NativeThread=34490631168, pszThreadName=0x807c939d8 "EMT-1") at > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.12/src/VBox/Runtime/common/misc/thread.cpp:712 > #17 0x0000000801db378d in rtThreadNativeMain (pvArgs=0x807c93100) at > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.12/src/VBox/Runtime/r3/posix/thread-posix.cpp:324 > #18 0x0000000800829d34 in pthread_getprio () from /lib/libthr.so.3 > #19 0x0000000000000000 in ?? () > > > -- > Ron Thomas > The Video Openhouse Team > www.vopenhouse.ca > Ranked #1 in google.ca for 'Real Estate Video' > (604)732-7070 > -- Ron Thomas The Video Openhouse Team www.vopenhouse.ca Ranked #1 in google.ca for 'Real Estate Video' (604)732-7070