Opened 4 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.
VBoxSVC log