[vbox-dev] [ PATCH] Fix crash on startup under Wayland

Hans de Goede hdegoede at redhat.com
Tue Apr 7 12:00:47 UTC 2020


Hi,

I noticed that with a default Fedora 32 workstation install (default GNOME3 on
Wayland session) VirtualBox crashes immediately at startup. The problem is that
QT5 now defaults to the Wayland backend and VirtualBox assumes the X11 backend
is used and makes a bunch of unchecked X11 calls which cause NULL pointer derefs.

The attached patch is a simple fix which fixes this by setting the QT backend
back to X11.

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

Regards,

Hans
-------------- next part --------------
A non-text attachment was scrubbed...
Name: VirtualBox-6.1.4-wayland-crash.patch
Type: text/x-patch
Size: 679 bytes
Desc: not available
URL: <http://www.virtualbox.org/pipermail/vbox-dev/attachments/20200407/f9b93c9a/attachment.bin>


More information about the vbox-dev mailing list