VirtualBox

Opened 7 years ago

Last modified 2 years ago

#17215 reopened defect

Guest additions command line updating fails (Linux host, Windows guest) => Obsolete

Reported by: roland651 Owned by:
Component: VM control Version: VirtualBox 5.2.0
Keywords: Cc:
Guest type: Windows Host type: Linux

Description (last modified by janitor)

I have a Linux host (Ubuntu 16.04, 64 bits) and a Windows guest (Windows 7 professional, 64 bits). I try to update the guest additions using the command line.

So I issue the command (from the Linux host, with the VM guest powered on):

VBoxManage guestcontrol "win7"  updateadditions --source /usr/share/virtualbox/VBoxGuestAdditions.iso --verbose

The command fails and I get the following output:

Updating Guest Additions ...
Using source: /usr/share/virtualbox/VBoxGuestAdditions.iso
VBoxManage: error: Could not open guest session: VERR_TIMEOUT
VBoxManage: error: Details: code VBOX_E_IPRT_ERROR (0x80bb0005), component GuestWrap, interface IGuest, callee nsISupports
VBoxManage: error: Context: "UpdateGuestAdditions(Bstr(strSource).raw(), ComSafeArrayAsInParam(aArgs), ComSafeArrayAsInParam(aUpdateFlags), pProgress.asOutParam())" at line 3667 of file VBoxManageGuestCtrl.cpp

I tried with Virtualbox 5.1.30 and 5.2.0 and I get the same result.

Manually updating the guest additions (withon the guest) works as expected.

And I was also able to start a program within the guest, using commands like:

VBoxManage guestcontrol "win7" --username my_account run --exe "C:\Windows\System32\notepad.exe"

So, I think this issue is clearly a bug...

Attachments (1)

VBox.log (188.3 KB ) - added by mikef 2 years ago.

Download all attachments as: .zip

Change History (15)

comment:1 by Socratis, 7 years ago

I tried it on an OSX host with similar results.

comment:2 by Miro Penchev, 6 years ago

This bug is still here, same on me - Host: OpenSuse Leap 15.0, VirtualBox 5.2.14, Guests: Win7/10

comment:3 by Socratis, 6 years ago

I tried it, just like the previous time, with:

  • Host: OSX 10.11.6
  • VirtualBox: 5.2.16
  • Guest: Windows XP SP3 with Guest Additions 5.1.26

What I noticed this time though is that on the guest the VirtualBox Guest Additions Service crashed. I did not pay attention last time. That would definitely explain the TIMEOUT because of lost communication with the service.

A matter of the Guest Additions (existing in the VM) then, and not the VBoxManage command? Can't tell for sure...

comment:4 by janitor, 6 years ago

Description: modified (diff)

comment:5 by orclex, 3 years ago

This is still not working in 6.1.16:

$ vboxmanage guestcontrol vm -v updateguestadditions
Updating Guest Additions ...
Using source: /usr/share/virtualbox/VBoxGuestAdditions.iso
VBoxManage: error: Could not open guest session: VERR_TIMEOUT
VBoxManage: error: Details: code VBOX_E_IPRT_ERROR (0x80bb0005), component GuestWrap, interface IGuest, callee nsISupports
VBoxManage: error: Context: "UpdateGuestAdditions(Bstr(strSource).raw(), ComSafeArrayAsInParam(aArgs), ComSafeArrayAsInParam(aUpdateFlags), pProgress.asOutParam())" at line 2766 of file VBoxManageGuestCtrl.cpp

comment:6 by ParagDoke, 3 years ago

Continues to be a problem on 6.1.22r144080.

Host: Darwin Kernel Version 18.7.0; root:xnu-4903.278.19~1/RELEASE_X86_64 x86_64

Guest: opentable/win-2012r2-standard-amd64-nocm version 1.0.0

$ /Applications/VirtualBox.app/Contents/MacOS/VBoxManage guestcontrol win2012 updateadditions --source /Applications/VirtualBox.app/Contents/MacOS/VBoxGuestAdditions.iso --verbose
Updating Guest Additions ...
Using source: /Applications/VirtualBox.app/Contents/MacOS/VBoxGuestAdditions.iso
VBoxManage: error: Could not open guest session: VERR_NOT_FOUND
VBoxManage: error: Details: code VBOX_E_IPRT_ERROR (0x80bb0005), component GuestWrap, interface IGuest, callee nsISupports
VBoxManage: error: Context: "UpdateGuestAdditions(Bstr(strSource).raw(), ComSafeArrayAsInParam(aArgs), ComSafeArrayAsInParam(aUpdateFlags), pProgress.asOutParam())" at line 2770 of file VBoxManageGuestCtrl.cpp

in reply to:  6 comment:7 by galitsyn, 3 years ago

Replying to ParagDoke:

Continues to be a problem on 6.1.22r144080.

Host: Darwin Kernel Version 18.7.0; root:xnu-4903.278.19~1/RELEASE_X86_64 x86_64

Guest: opentable/win-2012r2-standard-amd64-nocm version 1.0.0

$ /Applications/VirtualBox.app/Contents/MacOS/VBoxManage guestcontrol win2012 updateadditions --source /Applications/VirtualBox.app/Contents/MacOS/VBoxGuestAdditions.iso --verbose
Updating Guest Additions ...
Using source: /Applications/VirtualBox.app/Contents/MacOS/VBoxGuestAdditions.iso
VBoxManage: error: Could not open guest session: VERR_NOT_FOUND
VBoxManage: error: Details: code VBOX_E_IPRT_ERROR (0x80bb0005), component GuestWrap, interface IGuest, callee nsISupports
VBoxManage: error: Context: "UpdateGuestAdditions(Bstr(strSource).raw(), ComSafeArrayAsInParam(aArgs), ComSafeArrayAsInParam(aUpdateFlags), pProgress.asOutParam())" at line 2770 of file VBoxManageGuestCtrl.cpp

Could you please attach VBox.log?

in reply to:  6 comment:8 by galitsyn, 3 years ago

ParagDoke, please note that the issue is not reproducible on my end. Installing GAs works here on Linux and macOS hosts (with Win10 guest in my case). If you still can see the issue, please provide a log file.

comment:9 by galitsyn, 3 years ago

Status: newawaitsfeedback

comment:10 by galitsyn, 3 years ago

Resolution: obsolete
Status: awaitsfeedbackclosed
Summary: Guest additions command line updating fails (Linux host, Windows guest)Guest additions command line updating fails (Linux host, Windows guest) => Obsolete

Closing the ticket as an obsolete. If you still have the issue, please reopen and attach VBox.log.

comment:11 by mikef, 2 years ago

Faulting application name: VBoxService.exe, version: 5.1.22.15126, time stamp: 0x590360b4
Faulting module name: VBoxService.exe, version: 5.1.22.15126, time stamp: 0x590360b4
Exception code: 0xc0000005
Fault offset: 0x0000000000054220
Faulting process id: 0x2c4c
Faulting application start time: 0x01d853fb4525502c
Faulting application path: C:\Windows\System32\VBoxService.exe
Faulting module path: C:\Windows\System32\VBoxService.exe
Report Id: 02e5f6d4-5a28-4153-a1dd-72b9bbfeeea5
Faulting package full name: 
Faulting package-relative application ID: 
Last edited 2 years ago by mikef (previous) (diff)

by mikef, 2 years ago

Attachment: VBox.log added

comment:12 by mikef, 2 years ago

Guest::UpdateGuestAdditions("C:
Program Files
Oracle\VirtualBox\VBoxGuestAdditions.iso", null, AdditionsUpdateFlag.AdditionsUpdateFlag_None) throws System.Runtime.InteropServices.COMException: 'Could not open guest session: VERR_TIMEOUT'

comment:13 by mikef, 2 years ago

That is a try of upgrading from a VM that has Guest additions 5.1.22 installed - running on VirtualBox 6.1.16 - trying to upgrade to 6.1.16.

comment:14 by mikef, 2 years ago

Resolution: obsolete
Status: closedreopened
Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use