VirtualBox

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#12678 closed defect (worksforme)

vboxmanage guestcontrol execute: 'error: Session is not in started state' random error

Reported by: YoannR Owned by:
Component: guest control Version: VirtualBox 4.3.6
Keywords: Cc:
Guest type: other Host type: other

Description

When executing the following script from host Debian Wheezy 64 bits on guest Windows Sever 2008:

while [ 1 ]; do
    vboxmanage guestcontrol win2k8-newvbox execute "C:\Windows\System32\ping.exe" --username Administrator --password "some_password" --verbose --wait-stdout --wait-stderr --wait-exit -- "-n" "20" "1.1.1.1" >>vbox_exec.log
    vboxmanage guestcontrol win2k8-newvbox execute "C:\Windows\System32\tasklist.exe" --username Administrator --password "Qarnot2013" --verbose --wait-stdout --wait-stderr --wait-exit >>vbox_exec.log
done

I randomly (meaning once in a while with no particular regularity) see some errors like the following:

VBoxManage: error: Session is not in started state
VBoxManage: error: Details: code NS_ERROR_UNEXPECTED (0x8000ffff), component GuestSession, interface IGuestSession, callee nsISupports
VBoxManage: error: Context: "ProcessCreate(Bstr(strCmd).raw(), ComSafeArrayAsInParam(aArgs), ComSafeArrayAsInParam(aEnv), ComSafeArrayAsInParam(aCreateFlags), ctrlExecGetRemainingTime(u64StartMS, cMsTimeout), pProcess.asOutParam())" at line 1327 of file VBoxManageGuestCtrl.cpp

Please find attached a VBox.log file. If you need any further information, I will do my best to provide you with it.

NOTE: the execution of this script also comes with a memory leak of virtualbox as reported in bug #9068.

Thanks.

Attachments (1)

VBox.log (60.0 KB ) - added by YoannR 11 years ago.

Download all attachments as: .zip

Change History (3)

by YoannR, 11 years ago

Attachment: VBox.log added

comment:1 by Frank Mehnert, 11 years ago

Resolution: worksforme
Status: newclosed

Please upgrade your Guest Additions, they are too old to support the current mechanism of guest control.

comment:2 by YoannR, 11 years ago

Thank you, I upgraded and the problem is gone. I don't know why I had this outdated version, I must have messed up with my images, sorry for the trivial bug.

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