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

Discussions related to using VirtualBox on Mac OS X hosts.
Post Reply
MacDan2004
Posts: 1
Joined: 3. Aug 2012, 01:08

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

Post 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
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

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

Post by mpack »

Minimal information needed for assistance
viewtopic.php?f=24&t=48476
jayj
Posts: 1
Joined: 16. Aug 2012, 14:23

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

Post 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.
Attachments
guest-logs.zip
Logs from all three guests
(27.53 KiB) Downloaded 27 times
OlegL
Posts: 9
Joined: 3. Sep 2012, 16:42
Primary OS: Mac OS X other
VBox Version: OSE other
Guest OSses: Scientific Linux
Contact:

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

Post 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
Attachments
vbmanagevm.txt
this is a script to install/start/uninstall virtual machines in VirtualBox
(20.69 KiB) Downloaded 44 times
OlegL
Posts: 9
Joined: 3. Sep 2012, 16:42
Primary OS: Mac OS X other
VBox Version: OSE other
Guest OSses: Scientific Linux
Contact:

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

Post by OlegL »

I forgot to mention that I don't use VirtualBox additions at all

cheers,
Oleg
OlegL
Posts: 9
Joined: 3. Sep 2012, 16:42
Primary OS: Mac OS X other
VBox Version: OSE other
Guest OSses: Scientific Linux
Contact:

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

Post by OlegL »

dear all,
everything seems to work properly using VB 4.2.0 RC3


tests still under progress,
Oleg
hank
Posts: 113
Joined: 9. Jan 2011, 17:31
Primary OS: Mac OS X other
VBox Version: OSE other
Guest OSses: Windows 7, XP

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

Post 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
OlegL
Posts: 9
Joined: 3. Sep 2012, 16:42
Primary OS: Mac OS X other
VBox Version: OSE other
Guest OSses: Scientific Linux
Contact:

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

Post 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
Attachments
xwstartvm.txt
(36.68 KiB) Downloaded 38 times
OlegL
Posts: 9
Joined: 3. Sep 2012, 16:42
Primary OS: Mac OS X other
VBox Version: OSE other
Guest OSses: Scientific Linux
Contact:

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

Post 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
Last edited by OlegL on 5. Sep 2012, 10:13, edited 1 time in total.
OlegL
Posts: 9
Joined: 3. Sep 2012, 16:42
Primary OS: Mac OS X other
VBox Version: OSE other
Guest OSses: Scientific Linux
Contact:

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

Post by OlegL »

And finally

I have tested with VB 4.2 RC3

Still the same problems

Oleg
michaln
Oracle Corporation
Posts: 2973
Joined: 19. Dec 2007, 15:45
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Any and all
Contact:

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

Post 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
OlegL
Posts: 9
Joined: 3. Sep 2012, 16:42
Primary OS: Mac OS X other
VBox Version: OSE other
Guest OSses: Scientific Linux
Contact:

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

Post 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
hank
Posts: 113
Joined: 9. Jan 2011, 17:31
Primary OS: Mac OS X other
VBox Version: OSE other
Guest OSses: Windows 7, XP

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

Post by hank »

OlegL
Posts: 9
Joined: 3. Sep 2012, 16:42
Primary OS: Mac OS X other
VBox Version: OSE other
Guest OSses: Scientific Linux
Contact:

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

Post by OlegL »

yes we're saved

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

Oleg
Post Reply