Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 184540

Summary: app-emulation/virtualbox-1.4.0 GUI segfaults when VirtualBox.xml exists
Product: Gentoo Linux Reporter: Sebastian Witt <se.witt>
Component: Current packagesAssignee: Markus Ullmann (RETIRED) <jokey>
Status: RESOLVED INVALID    
Severity: minor CC: swapon
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info

Description Sebastian Witt 2007-07-07 20:26:46 UTC
Starting and using the VirtualBox GUI (virtualbox) works the first time no configuration (VirtualBox.xml) exists. Creating a VM (and using it) works ok.
However restarting the GUI -> Segmentation fault. Deleting the configuration helps.

vboxmanage is not affected, creating, modifying and staring VMs is ok.

If a VM is started with vboxmanage startvm ... and then virtualbox (while the VM is running) -> NO segmentation fault.


Reproducible: Always

Steps to Reproduce:
1. Start virtualbox, create a VM, start it. Exit virtualbox
2. Start virtualbox -> Segmentation fault
3. Delete VirtualBox.xml
4. Start virtualbox -> OK
5. Create a VM, exit virtualbox.
6. Start the VM with vboxmanage startvm ...
7. Start virtualbox -> OK

Actual Results:  
Segmentation fault with existing configuration or no VM running.

Expected Results:  
No Segmentation fault with configuration and no VM running.
Comment 1 Sebastian Witt 2007-07-07 20:27:26 UTC
Created attachment 124174 [details]
emerge --info
Comment 2 Markus Ullmann (RETIRED) gentoo-dev 2007-07-07 20:35:36 UTC
Does it work with the -bin version?
Comment 3 Paul Philippov 2007-07-19 00:32:51 UTC
Changing permissions of VirtualBox.xml and <your_vm_name>.xml for each virtual machine from 0600 to 0644 resolved the issue for me.
Comment 4 Paul Philippov 2007-07-19 02:13:56 UTC
(In reply to comment #3)

actually seems not. it started to fall with segmentation faults again after some restarts.
Comment 5 Sebastian Witt 2007-07-19 20:11:09 UTC
Tried the -bin version, same problem. Also changing permissions of the .xml files 
 does not help here.
Comment 6 Markus Ullmann (RETIRED) gentoo-dev 2007-09-04 23:49:23 UTC
when bin is also affected, highly your system is broken in a subtle way as the bin is used all over the place.

I suggest double checking your system, marking invalid for now. Feel free to reopen if you can track down how this happens