Skip to content

[Bug]: Segfault when turning screen off and on #397

Description

@MarkusPister

Version

7.2.4

Host OS Type

Linux

Host OS name + version

CachyOS (updated on Fri 2025-11-14 06:13:34)

Host Architecture

x86

Guest OS Type

Windows

Guest Architecture

x86

Guest OS name + version

Microsoft Windows 11 Pro

Component

Unspecified

What happened?

A segfault is happening when the attached 3 screens go to standby e.g. triggered by the power settings in locked screen mode of the host system.

How can we reproduce this?

I am running VirtualBox guest in a KDE/plasma wayland session.
There are 3 screens attached to the host system.
The guest system is configured to run 1 screen and its window is displayed on the primary screen in maximized (not fullscreen) mode.

  1. Run the guest system
  2. Activate screen lock
  3. Turn off the screen on which the guest window is displayed on.
  4. Turn the screen on again

=> segfault happens.

Looks to me like there is still dangling pointer to the old screen instance under the assumption that the screen object in Qt is destroyed when turning off the screen.

I attached Vbox.log, an excerpt of the host system journal and output of coredumpctl info.

core-dump-info-vbox.txt
journal.txt
VBox.log

Did you upload all of your necessary log files, screenshots, etc.?

  • Yes, I've uploaded all pertinent files to this issue.

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions