Why does VirtualBox segfault after an update on Arch Linux?
0
votes
0
answers
92
views
- Problem:
After doing a pacman -Syu on a system I'm now experiencing that VirtualBox VMs are capable of crashing X11 and dropping me into a console shell.
I see this in dmesg:
[ 590.841154] VirtualBoxVM: segfault at 0 ip 00007758ecae9444 sp 00007ffd452514f0 error 4 in libQt6Gui.so.6.9. 0[e9444,7758ecae0000+6b0000] likely on CPU 27 (core 43, socket 0)
The VM is always able to get booted and started. The guest VM boots into its GUI and then the problem can happen seemingly randomly in an interval I'd estimate to be from a few seconds to 15-20 minutes.
- Temporary downgrade "fix":
Downgrading (everything, through a custom script to enumerate all recently upgraded packages through pacman.log and downgrading) to packages from December 2024 resolves the issue. However, this is not a viable solution, I cannot run packages that are this old. Moreover, there are many dependencies here, I cannot selectively keep some packages of such an old nature.
This appears to happen on all VMs. An example of such a VM is a Linux guest that runs VMSVGA with 3D acceleration disabled.
- What system is this?
Arch Linux x86-lga1700 6.14.2-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 10 Apr 2025 18:43:59 +0000 x86_64 GNU/Linux
ldd (GNU libc) 2.41
VirtualBox Version : 7.1.8-1
- What I've tried:
Tried using VBoxSVGA. Same issue.
Using virtualbox-bin instead. Same issue, except then it crashes in libQt6GuiVBox.so not libQt6Gui.so.6.9.0
Came across https://bbs.archlinux.org/viewtopic.php?id=299392 and tried creating the symlinks they mention as a "solution", didn't do anything in my case.
Running VirtualBox like this: LIBGL_ALWAYS_SOFTWARE=1 virtualbox, crashes in the same manner, segfault in libQt6Gui.so.6.9.0.
Asked by AttributedTensorField
(373 rep)
Apr 18, 2025, 08:28 PM