VirtualBox

Opened 5 years ago

Closed 5 years ago

#19397 closed defect (fixed)

VirtualBox 6.1.4 GUI SEGV/crash when deleting a VM => fixed in svn/6.1.x x>6

Reported by: crunchyjohn Owned by:
Component: other Version: VirtualBox 6.1.4
Keywords: crash segmentation fault unregister vboxmanage unregistervm Cc:
Guest type: Linux Host type: all

Description (last modified by paulson)

This issue is not present in VirtualBox 6.1.2. I do not know about 6.1.3.

I use a mac for VirtualBox (Mojave, v10.14.6)

Procedure to reproduce:

  1. Install Virtual Box 6.1.4
  2. Install Vagrant 2.2.7 (latest)
  3. mkdir test
  4. cd test
  5. vagrant init centos/7
  6. Vagrant up
  7. Vagrant ssh
  8. ls -l (just proof that you did something in the VM)
  9. exit
  10. VBoxManage list runningvms
  11. Get the ID from the left column, e.g. test_default_1584037646504_61912
  12. VBoxManage controlvm test_default_1584037646504_61912 poweroff
  13. VBoxManage unregistervm test_default_1584037646504_61912 --delete
  14. VirtualBox crashes.

I have a log that it tries to send to Apple, which I'll attach if I can.

Attachments (1)

crash.log (60.5 KB ) - added by crunchyjohn 5 years ago.
Crash log

Download all attachments as: .zip

Change History (7)

by crunchyjohn, 5 years ago

Attachment: crash.log added

Crash log

comment:1 by crunchyjohn, 5 years ago

Sorry-- host was MacOS, Guest was CentOS/7

comment:2 by Frank Batschulat (Oracle), 5 years ago

Guest type: OSX ServerLinux
Host type: otherMac OS X

comment:3 by crunchyjohn, 5 years ago

Any update?

A crash seems like a pretty severe problem, so I'm hoping others are able to easily reproduce it.

Is there anything else I can do to help?

comment:4 by nycnewman, 5 years ago

Sounds similar to problem where VirtualBox crashes when last VM deleted through UI.

comment:5 by paulson, 5 years ago

Description: modified (diff)
Host type: Mac OS Xall
Summary: Virtual Box 6.1.4 segementation fault / crash on "VBoxManage unregistervm"VirtualBox 6.1.4 GUI SEGV/crash when deleting a VM

Thanks for the report. This is a regression introduced in 6.1.4 which affects all hosts. As @nycnewman reported in #19490 this is a problem in the VirtualBox GUI and as reported here is also reproducible if running 'VBoxManage unregistervm VMname --delete' of a VM while the GUI is running.

The easiest way to reproduce this on the command line is the following which works for me when there are no other VMs created:

$ VirtualBox &
$ VBoxManage createvm --name fubar --register
$ VBoxManage unregistervm fubar --delete
[1] + Memory fault(coredump) VirtualBox

comment:6 by paulson, 5 years ago

Description: modified (diff)
Resolution: fixed
Status: newclosed
Summary: VirtualBox 6.1.4 GUI SEGV/crash when deleting a VMVirtualBox 6.1.4 GUI SEGV/crash when deleting a VM => fixed in svn/6.1.x x>6

This has been addressed in revision r137409 of the development branch of VirtualBox and will be available in any development snapshot Testbuilds which includes that revision. The fix has also been backported to the 6.1 branch of VirtualBox as of revision r137698 and will be available in any 6.1.x Testbuilds which include that revision. The fix will also be part of the next maintenance release of VirtualBox.

Note: See TracTickets for help on using tickets.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette