Also hitting this on Ubuntu 26.04 (resolute), kernel 7.0.0-44, with the
Oracle package virtualbox-7.2 7.2.22-175245~Ubuntu~resolute and qt6-base
6.10.2. So it is not specific to the Ubuntu-packaged virtualbox-7.2.6
and is still present in 7.2.22.

It crashed twice in one day, both times SIGSEGV at the same instruction
(libQt6Widgets.so.6.10.2 +0x80024, fault address 0x8): first in the
VirtualBox Manager, then about two hours later in the VirtualBoxVM
process of a running Windows 11 guest, which killed the VM (state
"aborted"). In both cases the host screen work area had been changing
(GNOME panel/dock resize).

Backtrace from the Manager core (gdb, no debug symbols for Qt):

#0  QWidget::accessibleName() const            (null this, fault addr 8)
#1  QAccessibleWidget::text(QAccessible::Text) const
#2  QWidgetPrivate::setWindowTitle_sys(QString const&)
#3  QWidgetPrivate::setWindowTitle_helper(QString const&)
#4  QWidgetPrivate::setWindowModified_helper()
#5  QWidgetPrivate::create()
#6  QWidget::create(unsigned long long, bool, bool)
#7  QWidget::setWindowState(QFlags<Qt::WindowState>)
#8  QWidget::showMaximized()
#9  UIDesktopWidgetWatchdog::sltHandleHostScreenWorkAreaResized(QRect const&)
#10 QScreen::availableGeometryChanged(QRect const&)
#11 QGuiApplicationPrivate::processScreenGeometryChange(...)

The VirtualBoxVM core has the same return addresses relative to the
libQt6Widgets base (+0x80024 and +0x322df6), so it is the same crash.

QT_ACCESSIBILITY=0 does not seem to be a sufficient workaround (see also
#2173559). Setting AT_SPI_BUS_ADDRESS=unix:path=/nonexistent for the
GUI plus "VBoxManage modifyvm <vm> --default-frontend=separate" so that a GUI
crash no longer kills the guest seems to work for now.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2169785

Title:
  VirtualBox crashes in QWidget::accessibleName (NULL this) when screen
  work area changes, killing running VMs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qt6-base/+bug/2169785/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to