virtualbox does not start and crashes with undefined symbol error: _ZN11QToolButton13checkStateSetEv

Discussions related to using VirtualBox on Linux hosts.
Post Reply
wbwb
Posts: 18
Joined: 28. Mar 2011, 08:01
Primary OS: openSUSE
VBox Version: OSE other
Guest OSses: WinXP

virtualbox does not start and crashes with undefined symbol error: _ZN11QToolButton13checkStateSetEv

Post by wbwb »

I updated my system yesterday. Following that, virtualbox does not start anymore. On the CLI, and before virtualbox crashes, I only get these messages:

Code: Select all

~>VirtualBox 
Warning: program compiled against libxml 210 using older 209
Warning: program compiled against libxml 210 using older 209
/usr/lib/virtualbox/VirtualBox6: symbol lookup error: /usr/lib/virtualbox/UICommon.so: undefined symbol: _ZN11QToolButton13checkStateSetEv, version Qt_5
I found claims on the net, that `_ZN11QToolButton13checkStateSetEv` is a symbol from the `libQt5Widgets` library. But on my system (7.0.10-lp155.5.11, openSUSE Leap 15.4, backport kernel 6.5.7-lp155.2.ge060757-default, Qt version 5.15.2) a symbol dump does not show such symbol for `libQt5Widgets.so`.

Now I'm stuck.
Any suggestion how to fix this and get virtualbox running again would be most appreciated.

Additional info: My full stack of VirtualBox software is

Code: Select all

~>rpm -qa | grep virtualbox
virtualbox-7.0.10-lp155.5.11.x86_64
virtualbox-qt-7.0.10-lp155.5.11.x86_64
virtualbox-host-source-7.0.10-lp155.5.11.noarch
virtualbox-kmp-default-7.0.10_k6.5.7_lp155.2.ge060757-lp155.5.7.x86_64
Needless to say, that indeed, `virtualbox-7.0.10-lp155.5.11` logs show that it has been compiled on Fr 13 Okt 2023 :wink:
If necessary, I can certainly also list this for the Qt5 libs.
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: virtualbox does not start and crashes with undefined symbol error: _ZN11QToolButton13checkStateSetEv

Post by scottgus1 »

I think the problem is here:
wbwb wrote: 16. Oct 2023, 10:06 I updated my system yesterday.
The easiest way to getting things working again is to roll back the update using your host disk image backups.

Also, Linux kernel updates to the latest and greatest (which I cannot tell if you did, so this is merely for information) require Virtualbox updates to a version that is released after the new kernel date. Virtualbox won't run on a kernel newer than Virtualbox.

You can try the test builds and development snapshots, or restore a previous host backup.
fth0
Volunteer
Posts: 5678
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Windows 10, ...
Location: Germany

Re: virtualbox does not start and crashes with undefined symbol error: _ZN11QToolButton13checkStateSetEv

Post by fth0 »

FWIW, all of your packages (including the VirtualBox packages) were built by openSUSE, so you should better ask them why their packages don't fit together.

FWIW 2, without C++ name mangling the symbol name would read QToolButton::checkStateSet.
Post Reply