VirtualBox

Opened 3 years ago

#20208 new defect

vboxmanage clonevm crashes VBoxSVC

Reported by: Mrpn Owned by:
Component: other Version: VirtualBox 6.1.18
Keywords: Cc:
Guest type: all Host type: Linux

Description

I'm trying to run a script [1] to clone VirtualBox VMs. I run these three examples given at the link in parallel. They are all started almost simultaneously.

During the run when the first has finished (ubuntu focal mate), the other ones gets warnings of that they need to shutdown.

If I still run them all to the end the following happens:

1) "Ubuntu Mate Focal" finishes. 'vboxmanage clonevm "${parentvm}" --name "${childvm}" --register' writes the new instance to disk, but does not appear in the Manager list. No errors reported.

2) "Kali Linux" and "Shellter" still running. They got a log entry saying:

01:57:46.655025 VirtualBoxClient: detected unresponsive VBoxSVC (rc=NS_ERROR_CALL_FAILED)

01:58:16.598405 VirtualBoxClient: detected unresponsive VBoxSVC (rc=NS_ERROR_CALL_FAILED)

A popup at each of the two instances tells the instance needs to finish. I ignore these messages and let them run to the end.

3) After the remaining scripts are finished, data from them also appears on disk but not in the Manager. All three are written correctly.

4) After killing (both with SIGTERM) the manager and the server, starting the manager again all appears in the list and can be run.

Bug entry message from VBoxSVC is: --- Log created: 2021-02-19T02:06:16.959798000Z Process ID: 2620270 (0x27fb6e) Parent PID: 1 (0x1) Executable: /usr/lib/virtualbox/VBoxSVC Arg[0]: /usr/lib/virtualbox/VBoxSVC Arg[1]: --auto-shutdown AddRef: illegal refcnt=3221225469 state=2 ---

All logs attached.

[1] https://github.com/nipatriknilsson/vboxcloneimmutable

Attachments (4)

2021-02-19-02-06-16.095-VBoxSVC-2620270.log (240 bytes ) - added by Mrpn 3 years ago.
VBoxSVC log
VBox-Kali-Linux.log (179.5 KB ) - added by Mrpn 3 years ago.
VBox log 1
VBox-Shellter.log (168.3 KB ) - added by Mrpn 3 years ago.
VBox log 2
VBox-Ubuntu-Mate-Focal.log (162.3 KB ) - added by Mrpn 3 years ago.
VBox log 3

Download all attachments as: .zip

Change History (4)

by Mrpn, 3 years ago

VBoxSVC log

by Mrpn, 3 years ago

Attachment: VBox-Kali-Linux.log added

VBox log 1

by Mrpn, 3 years ago

Attachment: VBox-Shellter.log added

VBox log 2

by Mrpn, 3 years ago

Attachment: VBox-Ubuntu-Mate-Focal.log added

VBox log 3

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use