Page 1 of 1

VirtualBox 4.1.18 Crashes OS X 10.8 Mountain Lion When ...

Posted: 3. Aug 2012, 01:18
by MacDan2004
VirtualBox 4.1.18 Crashes OS X 10.8 Mountain Lion When ... more than one VM is running at a time. When I do testing I have my main VM for work then two other VMs that run data between them (server/client). When I am running just my main VM it's fine, but when I load these two others, it seems the networking causes the entire Mac to reboot. I think it's network related because I was doing a 'ping' from one machine to the other, which was failing because I had the wrong type of networking set in the VM, but anyway, pinging caused the whole Mac OS host system to reboot.

The next time time it happened was when I rebooted one of the VMs. I can't remember if it was still shutting down or coming back up, but at one of those points the host system again rebooted.

I don't think VB is officially supported on ML yet, but thought I would mention this.

Thanks!

Running VirtualBox 4.1.18 r78361
Mac OS X 10.8 Mountain Lion
8GB RAM
Intel Core 2 Duo 2.66GHz

Re: VirtualBox 4.1.18 Crashes OS X 10.8 Mountain Lion When .

Posted: 3. Aug 2012, 11:20
by mpack
Minimal information needed for assistance
viewtopic.php?f=24&t=48476

Re: VirtualBox 4.1.18 Crashes OS X 10.8 Mountain Lion When .

Posted: 16. Aug 2012, 14:28
by jayj
I have the same problem.

Virtualbox 4.1.18 r78361
All my VMs have the latest guest additions.

In my case, I run 3 guests at the same time. All are 64-bit with 256M of RAM.

Please let me know what other info I can provide. I desperately need a fix for this.

Re: VirtualBox 4.1.18 Crashes OS X 10.8 Mountain Lion When .

Posted: 3. Sep 2012, 16:55
by OlegL
dear all,
may I propose a script to install/start/unistall a virtual machine inside VirtualBox

Usage :
Installation
vbmanagevm --install --name myVM_name --hda my_boot_disk
Start the VM
vbmanagevm --start --name myVM_name --hda my_boot_disk
Unistallation
vbmanagevm --uninstall --name myVM_name --hda my_boot_disk


Up to Mac OS 10.7, everything was just fine
:)

Until Mac OS 10.8, VirtualBox always crashes my Mac when trying to uninstall

I use VirtualBox 4.1.20-r80170

To test, I have just reinstall Mac OS 10.7.2 on my MacBookAir, and everything works fine


I hope this script may help the VirtualBox developpers

cheers,
Oleg Lodygensky

Re: VirtualBox 4.1.18 Crashes OS X 10.8 Mountain Lion When .

Posted: 3. Sep 2012, 16:56
by OlegL
I forgot to mention that I don't use VirtualBox additions at all

cheers,
Oleg

Re: VirtualBox 4.1.18 Crashes OS X 10.8 Mountain Lion When .

Posted: 4. Sep 2012, 12:26
by OlegL
dear all,
everything seems to work properly using VB 4.2.0 RC3


tests still under progress,
Oleg

Re: VirtualBox 4.1.18 Crashes OS X 10.8 Mountain Lion When .

Posted: 4. Sep 2012, 22:27
by hank
Thank you Oleg.

For new readers (I'm still new myself) -- this problem goes back a long time, there are multiple threads and bug reports about kernel panics usually when closing one VM while others are running under OSX.

4.0.16, from all reports I recall, was the last VBox that did not have this problem, and my experience was that I could run several VMs under 4.0.16 without kernel panics.

The few times I've forgotten since then with 4.1.something and opened one VM while another was open, I've been mostly lucky if I closed one of them immediately; if I worked in both for a while, I'd sometimes (1 in 2? 1 in 3 times?) get a kernel panic.

Hoping, hoping, hoping the problem's solved with the 4.2 release, when it comes out.

I'm very grateful to those willing to try banging on it, I just backed away to wait til it got fixed.
cross-reference, also discussed a bit here: https://groups.google.com/forum/?fromgr ... 8x0JZBikd4

Re: VirtualBox 4.1.18 Crashes OS X 10.8 Mountain Lion When .

Posted: 5. Sep 2012, 10:07
by OlegL
Some news since yesterday
:)

In fact I never had this problem before Mac OS 10.8
I have even re-test everything with my Mac BookAir under Mac OS 10.7 and everything works well as it used to

I have this problem under 10.8 only
I propose a cleaner script attached here; it is the same script, but cleaner
:)

Again, everything works well with installation and VM usage, even with several running VM
$> xwstartvm --install etc.
$> xwstartvm --start etc.

It is only when we uninstall a VM, if there are running VMs, that Mac OS 10.8 crashes
$> xwstartvm --uninstall etc.

:s

Oleg

Re: VirtualBox 4.1.18 Crashes OS X 10.8 Mountain Lion When .

Posted: 5. Sep 2012, 10:11
by OlegL
We can have first conclusions

It seems not safe, while there are running VM, to run one or a combination of these commands:

$> VBoxManage storageattach blabla --medium none
$> VBoxManage closemedium blabla
$> VBoxManage unregistervm blabla


If only VB developers could look at this
:s


hope this helps,
Oleg

Re: VirtualBox 4.1.18 Crashes OS X 10.8 Mountain Lion When .

Posted: 5. Sep 2012, 10:12
by OlegL
And finally

I have tested with VB 4.2 RC3

Still the same problems

Oleg

Re: VirtualBox 4.1.18 Crashes OS X 10.8 Mountain Lion When .

Posted: 5. Sep 2012, 11:16
by michaln
OlegL wrote:It seems not safe
What does "not safe" mean?
If only VB developers could look at this
This forum is not a bug reporting tool. That's https://www.virtualbox.org/wiki/Bugtracker

Re: VirtualBox 4.1.18 Crashes OS X 10.8 Mountain Lion When .

Posted: 5. Sep 2012, 11:38
by OlegL
michaln wrote:
OlegL wrote:It seems not safe
What does "not safe" mean?
I mean: installing and running VM works well

But uninstalling VM crashes Mac OS 10.8 if and only if there are others running VM

So my conclusion is that it is "not safe" to execute some of the calls made by the uninstallation procedure while there are other running VM
:)

Oleg


michaln wrote:
If only VB developers could look at this
This forum is not a bug reporting tool. That's https://www.virtualbox.org/wiki/Bugtracker

Ok thanks

Re: VirtualBox 4.1.18 Crashes OS X 10.8 Mountain Lion When .

Posted: 7. Sep 2012, 20:14
by hank

Re: VirtualBox 4.1.18 Crashes OS X 10.8 Mountain Lion When .

Posted: 12. Sep 2012, 15:21
by OlegL
yes we're saved

I have tested 4.1.22 and my Mac OS 10.8 did not crash
:)

Oleg