Bug? Program is non-responsive using guestcontrol

Discussions related to using VirtualBox on Windows hosts.
Post Reply
MarkMPereyra
Posts: 6
Joined: 27. Feb 2014, 00:06

Bug? Program is non-responsive using guestcontrol

Post by MarkMPereyra »

I *might* end up reporting this as a bug, but I wanted to get people's thoughts first.

The setup:

I have VBox 4.3.6 on a Win7 host running a Win7 guest. On that guest, I've downloaded and extracted the Android ADT bundle (from developer.android dot com).

Expected behavior:

If I manually invoke (that is, browse through Windows and double click) the ADT Eclipse, then select File > Import > Android > Existing code, then click browse, then everything works exactly like it's supposed to -- in particular, the browse dialog works. Screenshot: i.imgur dot com/7mDVNrW.png.

The unexpected result:

But if I invoke the ADT Eclipse through guestcontrol:

Code: Select all

"C:\Program Files\Oracle\VirtualBox\VBoxManage" guestcontrol "Win7_x64_Enterprise" exec --image "C:\Users\Developer\Android\adt-bundle-windows-x86_64\eclipse\eclipse.exe" --username Developer --password developer --timeout 14400000 --wait-exit
Then the browse dialog is blank and non-responsive. Screenshot: i.imgur dot com/Quo7cZ6.png.

This happens consistently. Does anyone have any thoughts? Is there any additional information I can provide to help figure this out?
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Bug? Program is non-responsive using guestcontrol

Post by mpack »

"guestcontrol" requires VBox Guest Additions software running in the guest - and no GAs have been written for Android. I wouldn't expect that to change until Android x86 shows a marked increase in popularity.
MarkMPereyra
Posts: 6
Joined: 27. Feb 2014, 00:06

Re: Bug? Program is non-responsive using guestcontrol

Post by MarkMPereyra »

The guest, which is Win7, has Guest Additions installed.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Bug? Program is non-responsive using guestcontrol

Post by Perryg »

As I see this you are actually running an Android emulator, right? That may be an issue. Have you tried to actually run commands against the guest itself?
MarkMPereyra
Posts: 6
Joined: 27. Feb 2014, 00:06

Re: Bug? Program is non-responsive using guestcontrol

Post by MarkMPereyra »

No Android emulator. All I'm running is Eclipse.
Last edited by MarkMPereyra on 27. Feb 2014, 03:14, edited 1 time in total.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Bug? Program is non-responsive using guestcontrol

Post by mpack »

Post (zipped) VM log file please.
MarkMPereyra
Posts: 6
Joined: 27. Feb 2014, 00:06

Re: Bug? Program is non-responsive using guestcontrol

Post by MarkMPereyra »

Attached. Though, I did a quick text search, and I don't see my guestcontrol invocation in there. Is there another log I should be grabbing? Or a way to make this one more verbose?
Attachments
VBox.zip
(18.03 KiB) Downloaded 3 times
MarkMPereyra
Posts: 6
Joined: 27. Feb 2014, 00:06

Re: Bug? Program is non-responsive using guestcontrol

Post by MarkMPereyra »

I downloaded Eclipse standard and observed the same issue, so now we can forget all mentions of "Android". This issue affects Eclipse, and I have a simpler scenario and a more useful error message now.

If I start Eclipse normally (that is, double click in Windows), and I select File > Open, then I get the Open File dialog as expected.

But if I start Eclipse from guestcontrol and I select File > Open, then I get the error:
Location is not available
C:\Windows\system32\config\systemprofile\Desktop refers to a location that is unavailable.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Bug? Program is non-responsive using guestcontrol

Post by mpack »

Sounds like you aren't logged in as the correct user.
MarkMPereyra
Posts: 6
Joined: 27. Feb 2014, 00:06

Re: Bug? Program is non-responsive using guestcontrol

Post by MarkMPereyra »

Logged in as "Developer", the only user on the machine, and guestcontrol command is also set to use username "Developer".
Post Reply