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

Frank Batschulat frank.batschulat at oracle.com
Tue Apr 7 12:29:04 GMT 2020


Isn't that just working around the following bug?

Ticket #19357 (accepted defect)
VBoxClient crashes on Luuntu 14.04 after updating from 6.1.2 to 6.1.4
https://www.virtualbox.org/ticket/19357


On Tue, 07 Apr 2020 14:00:47 +0200, Hans de Goede <hdegoede at redhat.com>  
wrote:

> 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


-- 
frankB

Oracle Virtualbox Development



More information about the vbox-dev mailing list