Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 350975 - app-emulation/virtualbox-4.0.0 crashes when selecting virtual machine settings
Summary: app-emulation/virtualbox-4.0.0 crashes when selecting virtual machine settings
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL: http://www.virtualbox.org/ticket/7875
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-07 15:23 UTC by David Flogeras
Modified: 2011-01-18 20:27 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info virtualbox output (vb.info,4.52 KB, text/plain)
2011-01-08 21:34 UTC, David Flogeras
Details
Fixes crash in settings dialog when using Oxygen theme in KDE4 (virtualbox-4-settings_crash.patch,1.21 KB, patch)
2011-01-18 13:29 UTC, David Flogeras
Details | Diff
New ebuild incorporating above patch (virtualbox-4.0.0-r2.ebuild,10.27 KB, text/plain)
2011-01-18 13:30 UTC, David Flogeras
Details
This can be used to patch the 4.0.0-r1 ebuild if you want it (virtualbox-4.0.0-r2.patch,519 bytes, patch)
2011-01-18 13:30 UTC, David Flogeras
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description David Flogeras 2011-01-07 15:23:06 UTC
On two (mostly) stable amd64 systems I am experiencing a segfault when selecting a virtual machine's settings.  This can be either machines that existed before I upgraded, or new ones.  The machines seem to run fine, I just cannot access their settings in the GUI.

Another Gentoo user who uses ~arch does not have this problem.

I found this upstream bug indicating other people with other distros have the same problem, and it is possibly related to using Qt 4.6.

http://www.virtualbox.org/ticket/7875

I also had found an archlinux bug (that led me to the above):
https://bugs.archlinux.org/task/22225

Reproducible: Always
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2011-01-07 15:31:57 UTC
Thank you for the report.

Well, the bug in archlinux was reported against qt-gui-4.7.1 so I doubt it's related to qt-4.6. 

Nevertheless this is an upstream issue. I gonna track the upstream bug and in case they come up with a fix before virtualbox-4.0.2 comes out I gonna add it to our 4.0.0 package.
Comment 2 Patrizio Bassi 2011-01-07 17:23:10 UTC
i have qt-gui-4.7.1 and i can confirm the bug.
Comment 3 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2011-01-07 17:35:51 UTC
I wonder why I cannot reproduce this bug. Could you guys maybe add some more information?
I need to know wether you are really using app-emulation/virtualbox or rather app-emulation/virtualbox-bin.

So please add either the output of 

  emerge --info virtualbox

or in case you're using virtualbox-bin post the outut of

  emerge --info virtualbox-bin

Thanks.
Comment 4 David Flogeras 2011-01-08 21:34:56 UTC
Created attachment 259330 [details]
emerge --info virtualbox output

Here is my emerge info, using virtualbox, not virtualbox-bin (which I think comes with its own bundled Qt)
Comment 5 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2011-01-08 21:38:01 UTC
I also need the combination of USE flags the package was installed with. That's the reason I asked for the output of the command

  emerge --info virtualbox
Comment 6 David Flogeras 2011-01-09 12:59:40 UTC
Oh sorry, I had uninstalled it by then, so that was a pretend --info.

This should help
These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] sys-devel/bin86-0.16.17  149 kB
[ebuild  N    ] app-emulation/virtualbox-additions-4.0.0  36,238 kB
[ebuild  N    ] dev-util/kbuild-0.1.5-r1  21,430 kB
[ebuild  N    ] sys-power/iasl-20090123  USE="-test" 906 kB
[ebuild  N    ] sys-devel/dev86-0.16.17-r6  687 kB
[ebuild  N    ] app-emulation/virtualbox-modules-4.0.0  826 kB
[ebuild  N    ] media-libs/freeglut-2.6.0  USE="-debug -mpx" 1,098 kB
[ebuild  N    ] app-emulation/virtualbox-4.0.0  USE="additions alsa opengl python qt4 -doc -extensions -headless -java -pulseaudio -sdk -vboxwebsrv -vnc" 68,633 kB
Comment 7 David Flogeras 2011-01-12 00:44:48 UTC
They apparently have a fix in SVN, but it's not the public facing one (they must keep an internal one too).  I've requested the patch, and will submit a fix here if they are nice enough to give it.  Otherwise it will be next minor release
Comment 8 David Flogeras 2011-01-18 13:29:33 UTC
Created attachment 260165 [details, diff]
Fixes crash in settings dialog when using Oxygen theme in KDE4

patch to fix the upstream bug 7875, I got this with svn di -r 35475:35476 on the vbox public SVN
Comment 9 David Flogeras 2011-01-18 13:30:03 UTC
Created attachment 260167 [details]
New ebuild incorporating above patch
Comment 10 David Flogeras 2011-01-18 13:30:29 UTC
Created attachment 260169 [details, diff]
This can be used to patch the 4.0.0-r1 ebuild if you want it
Comment 11 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2011-01-18 17:23:15 UTC
Thank you for your effort David. :)
Although it seems like virtualbox-4.0.2 is on its way (see http://download.virtualbox.org/virtualbox/4.0.2/) I gonna add this patch into virtualbox-4.0.0-r2. Just gimme a while for some testing...
Comment 12 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2011-01-18 19:43:56 UTC
virtualbox-4.0.2 is now in the tree so this bug should be fixed.
Comment 13 David Flogeras 2011-01-18 20:27:04 UTC
Hah, what are the odds... I've wasted my life :).  Thanks for listening anyway.