﻿id	summary	reporter	owner	description	type	status	component	version	resolution	keywords	cc	guest	host
7020	"Assertion failed while executing shell-script by ""VBoxManage guestcontrol execute"" command"	upokatik		"I use VirtualBox 3.2.4 installed on Microsoft Windows 7 host system and work under Mandriva 2010 Linux guest system with VBoxGuestAdditions3.2.4 installed.
In Mandriva guest I have a self-created simple shell-script ''/home/user/ls.sh'' with the following contents:
{{{
/bin/ls
}}}
And when I try to run that script by executing ''VBoxManage guestcontrol execute'' command, I get an ""Assertion Failed"" message:

{{{
C:\Users\DIM>VBoxManage --nologo guestcontrol execute ""Mandriva2010"" ""/home/user/ls.sh"" --username user --verbose --wait-for stdout
Waiting for guest to start process ...
Process '/home/user/ls.sh' (PID: 3033) started
Waiting for process to exit ...

!!Assertion Failed!!
Expression: <none>
Location  : /mnt/tinderbox/add-3.2/src/VBox/Runtime/r3/posix/process-posix.cpp(396) int RTProcCreateEx(const char*, const char* const*, RTENVINTERNAL*, unsigned
 int, const RTHANDLE*, const RTHANDLE*, const RTHANDLE*, const char*, const char*, RTPROCESS*)
execve returns -1 errno=8


Process error details:
ERROR: Process terminated via signal with status '5'
Details: code E_FAIL (0x80004005), component Guest, interface IGuest, callee

Exit code=5 (Status=3 [terminated by signal], Flags=0)
}}}
Script ''/home/user/ls.sh'' works fine if I execute it under Mandriva guest system.

Also, if I pass ''/bin/ls'' instead of ''/home/user/ls.sh'' as a <pathToProgram> parameter of ''VBoxManage guestcontrol execute'' command, it works correctly.
"	defect	closed	VM control	VirtualBox 3.2.4	invalid			other	other
