Opened 8 years ago
Last modified 7 years ago
#16118 new defect
Ubuntu 16.04.1 crash of UI
Reported by: | asmodai | Owned by: | |
---|---|---|---|
Component: | other | Version: | VirtualBox 5.1.8 |
Keywords: | ubuntu, qt | Cc: | |
Guest type: | other | Host type: | Linux |
Description
Trying to troubleshoot a crash with 5.1.8 r111374 (Qt 5.5.1) on my colleague's system.
He can create virtual machines and generally click all items in the menus. The moment he comes to File > Preferences the application crashes. It's not 100%, but close to.
I already tried with an empty .config/VirtualBox, didn't matter. I am positive it is a small thing, as I have an (near) identical setup with no problems.
Attached the core dump. Attached VBoxSVC.log.
dpkg --list output wrt Qt 5 libs:
libqt5core5a:amd64 | 5.5.1+dfsg-16ubuntu7.1 |
libqt5dbus5:amd64 | 5.5.1+dfsg-16ubuntu7.1 |
libqt5feedback5:amd64 | 5.0~git20130529-0ubuntu13 |
libqt5gui5:amd64 | 5.5.1+dfsg-16ubuntu7.1 |
libqt5multimedia5:amd64 | 5.5.1-4ubuntu2 |
libqt5network5:amd64 | 5.5.1+dfsg-16ubuntu7.1 |
libqt5opengl5:amd64 | 5.5.1+dfsg-16ubuntu7.1 |
libqt5organizer5:amd64 | 5.0~git20140515~29475884-0ubuntu20 |
libqt5positioning5:amd64 | 5.5.1-3ubuntu1 |
libqt5printsupport5:amd64 | 5.5.1+dfsg-16ubuntu7.1 |
libqt5qml5:amd64 | 5.5.1-2ubuntu6 |
libqt5quick5:amd64 | 5.5.1-2ubuntu6 |
libqt5quicktest5:amd64 | 5.5.1-2ubuntu6 |
libqt5sql5:amd64 | 5.5.1+dfsg-16ubuntu7.1 |
libqt5sql5-sqlite:amd64 | 5.5.1+dfsg-16ubuntu7.1 |
libqt5svg5:amd64 | 5.5.1-2build1 |
libqt5test5:amd64 | 5.5.1+dfsg-16ubuntu7.1 |
libqt5webkit5:amd64 | 5.5.1+dfsg-2ubuntu1 |
libqt5widgets5:amd64 | 5.5.1+dfsg-16ubuntu7.1 |
libqt5x11extras5:amd64 | 5.5.1-3build1 |
libqt5xml5:amd64 | 5.5.1+dfsg-16ubuntu7.1 |
Attachments (1)
Change History (8)
by , 8 years ago
Attachment: | VBoxSVC.log added |
---|
comment:2 by , 8 years ago
Created a debug build today and ran it, same problem, but didn't really get any logging that was usable to pinpoint the problem.
Ran under valgrind and the problem does not occur.
comment:3 by , 8 years ago
Any improvement with VBox 5.1.10? If not, could you post another core dump for 5.1.10? Please also make sure that the Qt5 libraries are up-to-date.
comment:4 by , 8 years ago
I've been having the same issue using 5.1.22 r115126 on Linux Mint 18.1, which is a debian variant based on Ubuntu 16.04 LTS.
Installed virtualbox-5.1 from the official repository. As soon as I click "File > Preferences", I get an instant crash.
On a bash console, the only error message is:
Segmentation fault
However, using fish shell, I get a more detailed message:
fish: “virtualbox” terminated by signal SIGSEGV (Address boundary error)
... but that's it.
How can I check my qt lib version?
comment:5 by , 8 years ago
As a side note, the problem is not reproducible if I run virtualbox using my root account, meaning:
sudo virtualbox
From root, I can edit preferences normally. I'm not an expert on GUI programming, but I did notice that root is drawing windows with a different style (different gui libs perhaps?).
comment:6 by , 8 years ago
juliohm1978, please could you do the following:
- sudo chmod u+s /usr/bin/strace
- strace -f -s128 -o ~/log.txt /usr/lib/virtualbox/VirtualBox
and attach the resulting log.txt file to this ticket? Thank you!
comment:7 by , 7 years ago
Hi, Frank. My apologies for the delay. I was innocently hoping for an email notification with updates from this thread and never got one.
I am unable to attach log.txt from the strace execution. Even gziped, it still exceeds the post limit here. I can host the file in one of my personal storage services for a good while.
https://publico.juliohm.com.br/owncloud/index.php/s/5Z7ic0EqY8Rt6Gk
If that doesn't work, let me know if there's any other way to make the content available.
Best regards.
PS: If the site asks for a certificate, just click OK and ignore it. It should not be required.
The coredump should be at https://www.in-nomine.org/~asmodai/VirtualBox.core
During my searches I saw many similar kinds of issues where Qt was the culprit, but nothing that lead me to solve this issue.
When VirtualBox is running I did verify that processes are running, e.g.:
31563 ? Sl 0:00 /usr/lib/virtualbox/VirtualBox 31578 ? S 0:00 /usr/lib/virtualbox/VBoxXPCOMIPCD 31583 ? Sl 0:00 /usr/lib/virtualbox/VBoxSVC --auto-shutdown
Also made sure that the user was added to vboxusers in /etc/group. Double checked permissions on .config/VirtualBox as well.
Edit: Running VirtualBox with sudo doesn't cause the problem. So there's a permission issue somewhere. I already double checked the home directory with find on uid or gid 0 files and fixed the hits it returned (not related to vbox).