VirtualBox

Custom Query (16612 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (46 - 48 of 16612)

Ticket Resolution Summary Owner Reporter
#19610 fixed Null pointer dereference in vmsvgaR3PortReportMonitorPositions when using VboxVGA graphics device => fixed in svn/6.1.x x>10 gombara abacabadabacaba
Description

I'm using VirtualBox 6.1.8 with 64-bit Debian both as a host and as a guest OS.

Under specific conditions, VirtualBox crashes during guest OS boot. I found the following necessary conditions for the crash to occur:

  • Graphics device: VboxVGA.
  • Guest additions version 6.1.8 must be installed in the guest. With earlier versions (such as 6.1.6), the bug doesn't reproduce.

Here is a stack trace of the crash:

#0 vmsvgaR3PortReportMonitorPositions (pInterface=0x7fb40404a198, cPositions=<optimized out>, pPosition=0x7fb404da601c)

at /build/virtualbox-wbVDsa/virtualbox-6.1.8-dfsg/src/VBox/Devices/Graphics/DevVGA-SVGA.cpp:857

#1 0x00007fb424276fd3 in Display::i_handleUpdateMonitorPositions (this=0x7fb4000023c0, cPositions=1, pPosition=0x7fb404da601c)

at /build/virtualbox-wbVDsa/virtualbox-6.1.8-dfsg/src/VBox/Main/src-client/DisplayImpl.cpp:1296

#2 0x00007fb424296e98 in vmmdevUpdateMonitorPositions (pInterface=<optimized out>, cPositions=<optimized out>, pPositions=<optimized out>)

at /build/virtualbox-wbVDsa/virtualbox-6.1.8-dfsg/src/VBox/Main/include/ConsoleImpl.h:146

#3 0x00007fb3eb043d69 in vmmdevRequestHandler (pDevIns=<optimized out>, pvUser=<optimized out>, offPort=<optimized out>, u32=<optimized out>, cb=<optimized out>)

at /build/virtualbox-wbVDsa/virtualbox-6.1.8-dfsg/src/VBox/Devices/VMMDev/VMMDev.cpp:2022

#4 0x00007fb4246a46b0 in IOMIOPortWrite (pVM=0x7fb404c3e000, pVCpu=pVCpu@entry=0x7fb404c29000, Port=<optimized out>, u32Value=1037959912, cbValue=4)

at /build/virtualbox-wbVDsa/virtualbox-6.1.8-dfsg/src/VBox/VMM/VMMAll/IOMAll.cpp:414

#5 0x00007fb4245a4172 in IOMR3ProcessForceFlag (pVM=pVM@entry=0x7fb404c3e000, pVCpu=pVCpu@entry=0x7fb404c29000, rcStrict=2622)

at /build/virtualbox-wbVDsa/virtualbox-6.1.8-dfsg/src/VBox/VMM/VMMR3/IOM.cpp:386

#6 0x00007fb42459ab55 in emR3HighPriorityPostForcedActions (pVM=pVM@entry=0x7fb404c3e000, pVCpu=pVCpu@entry=0x7fb404c29000, rc=<optimized out>)

at /build/virtualbox-wbVDsa/virtualbox-6.1.8-dfsg/src/VBox/VMM/VMMR3/EM.cpp:1469

#7 0x00007fb42459e4e2 in emR3HmExecute (pVM=pVM@entry=0x7fb404c3e000, pVCpu=pVCpu@entry=0x7fb404c29000, pfFFDone=pfFFDone@entry=0x7fb404d4bdf7)

at /build/virtualbox-wbVDsa/virtualbox-6.1.8-dfsg/src/VBox/VMM/VMMR3/EMHM.cpp:437

#8 0x00007fb42459cbc9 in EMR3ExecuteVM (pVM=<optimized out>, pVCpu=<optimized out>) at /build/virtualbox-wbVDsa/virtualbox-6.1.8-dfsg/src/VBox/VMM/VMMR3/EM.cpp:2658 #9 0x00007fb4245fd730 in vmR3EmulationThreadWithId (hThreadSelf=<optimized out>, pUVCpu=0x7fb404d536a0, idCpu=0)

at /build/virtualbox-wbVDsa/virtualbox-6.1.8-dfsg/src/VBox/VMM/VMMR3/VMEmt.cpp:237

#10 0x00007fb4361b5494 in rtThreadMain (pThread=pThread@entry=0x7fb3e4006370, NativeThread=NativeThread@entry=140411151894272, pszThreadName=pszThreadName@entry=0x7fb3e4006c50 "EMT")

at /build/virtualbox-wbVDsa/virtualbox-6.1.8-dfsg/src/VBox/Runtime/common/misc/thread.cpp:727

#11 0x00007fb43626d1be in rtThreadNativeMain (pvArgs=0x7fb3e4006370) at /build/virtualbox-wbVDsa/virtualbox-6.1.8-dfsg/src/VBox/Runtime/r3/posix/thread-posix.cpp:362 #12 0x00007fb43654df27 in start_thread (arg=<optimized out>) at pthread_create.c:479 #13 0x00007fb43647a31f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

During the execution of vmsvgaR3PortReportMonitorPositions function, the value of pSVGAState variable is a null pointer. The crash happens when the pointer is dereferenced.

#19649 fixed VBoy 6.1.10 crash on login with Win7 host, Debian guest gombara Nils
Description

This crash happened on 6.1.8 and 6.1.10, it worked previously on the 6.0 series (last tested 6.0.18 or maybe 20?). Bootup is fine, login screen (ldm) comes up, after entering the username and password the login prompt disappears, and after a while the crash screen shows up. The latest additions are installed. Logs attached. Please let me know what I can do to debug. Thanks!

#19650 fixed XWayland: Fix shortcuts like alt-tab not working under [X]wayland gombara Frank Batschulat (Oracle)
Description

From: "Hans de Goede" <> To: vbox-dev <vbox-dev@…> Subject: [vbox-dev] [PATCH][resend] Fix shortcuts like alt-tab not working under [X]wayland Date: Mon, 08 Jun 2020 17:18:57 +0200

Hi,

Note this is a resend since my first submission was ignored. This patch makes virtualbox work much better (things like alt+tab will work in the VM) when run inside a Wayland session. Can we please get this merged?

The attached patch tackles a long-standing issue when running VirtualBox under [X]wayland. By default keyboard-grabs are denied to X11 apps under Xwayland, this causes e.g. alt-tab to not be send to the VM, but to go to the host window-environment.

The attached patch modifies VirtualBox to send a special ClientMessage which lets mutter knows that VirtualBox works properly with emulated grabs and that they should be allowed.

As usual, the patch is released under the MIT license.

Regards,

Hans

diff -up VirtualBox-6.1.4/src/VBox/Frontends/VirtualBox/src/globals/UICommon.cpp~ VirtualBox-6.1.4/src/VBox/Frontends/VirtualBox/src/globals/UICommon.cpp
--- VirtualBox-6.1.4/src/VBox/Frontends/VirtualBox/src/globals/UICommon.cpp~	2020-02-18 18:19:59.000000000 +0100
+++ VirtualBox-6.1.4/src/VBox/Frontends/VirtualBox/src/globals/UICommon.cpp	2020-04-06 13:30:21.274027340 +0200
@@ -2203,6 +2204,17 @@ void UICommon::setWMClass(QWidget *pWidg
     XSetClassHint(QX11Info::display(), pWidget->window()->winId(), &windowClass);
 }
 
+/* static */
+void UICommon::setXwaylandMayGrabKeyboardFlag(QWidget *pWidget)
+{
+    /* Tell the WM we are well behaved wrt Xwayland keyboard-grabs. This will
+     * make the WM turn our grab into a Wayland shortcut inhibition request,
+     * so that e.g. alt+tab will get send to the VM instead of moving the
+     * focus away from the VM. */
+    XXSendClientMessage(QX11Info::display(), pWidget->window()->winId(),
+                        "_XWAYLAND_MAY_GRAB_KEYBOARD", 1);
+}
+
 #endif /* VBOX_WS_X11 */
 
 /* static */
diff -up VirtualBox-6.1.4/src/VBox/Frontends/VirtualBox/src/globals/UICommon.h~ VirtualBox-6.1.4/src/VBox/Frontends/VirtualBox/src/globals/UICommon.h
--- VirtualBox-6.1.4/src/VBox/Frontends/VirtualBox/src/globals/UICommon.h~	2020-02-18 18:19:59.000000000 +0100
+++ VirtualBox-6.1.4/src/VBox/Frontends/VirtualBox/src/globals/UICommon.h	2020-04-06 13:30:20.345012390 +0200
@@ -416,6 +416,8 @@ public:
 
         /** Assigns WM_CLASS property for passed @a pWidget. */
         static void setWMClass(QWidget *pWidget, const QString &strNameString, const QString &strClassString);
+        /** Tell the WM the passed @a pWidget window is well behaved wrt XWayland keyboard-grabs. */
+        static void setXwaylandMayGrabKeyboardFlag(QWidget *pWidget);
 #endif /* VBOX_WS_X11 */
 
         /** Assigns minimum @a pSpinBox to correspond to @a cCount digits. */
diff -up VirtualBox-6.1.4/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineWindow.cpp~ VirtualBox-6.1.4/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineWindow.cpp
--- VirtualBox-6.1.4/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineWindow.cpp~	2020-04-06 13:18:46.000000000 +0200
+++ VirtualBox-6.1.4/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineWindow.cpp	2020-04-06 13:25:52.235673962 +0200
@@ -135,6 +135,8 @@ void UIMachineWindow::prepare()
         strWindowName = QString("VirtualBox Machine UUID: %1").arg(uiCommon().managedVMUuid().toString());
     /* Assign WM_CLASS property: */
     UICommon::setWMClass(this, strWindowName, strWindowClass);
+    /* Tell the WM we are well behaved wrt Xwayland keyboard-grabs: */
+    UICommon::setXwaylandMayGrabKeyboardFlag(this);
 #endif
 }
 
Batch Modify
Note: See TracBatchModify for help on using batch modify.
Note: See TracQuery for help on using queries.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette