Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Jan 2015 16:16:47 -0800
From:      Ron Thomas <ron@vopenhouse.ca>
To:        vbox@freebsd.org
Subject:   Re: FreeBSD Port: emulators/virtualbox-ose exited on signal 11 random crashes on screen update using VNC
Message-ID:  <CAHf5H2=DWEoPhi6c5=shbeyrOdsozt515NZfwRhVGXMPC5KLqA@mail.gmail.com>
In-Reply-To: <CAHf5H2=pMf7Eybq0brOupe31srsSGbNyws=AsmXeyR=tX8YVyw@mail.gmail.com>
References:  <CAHf5H2=pMf7Eybq0brOupe31srsSGbNyws=AsmXeyR=tX8YVyw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <ron@vopenhouse.ca> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHf5H2=DWEoPhi6c5=shbeyrOdsozt515NZfwRhVGXMPC5KLqA>