Ticket #4107 (closed defect: worksforme)

Opened 10 years ago

Last modified 6 years ago

Problems with ubuntu vbox and XPCOM C++ binding

Reported by: xfernandez Owned by:
Component: other Version: VirtualBox 2.2.2
Keywords: C++ XPCOM binding Cc:
Guest type: other Host type: Linux

Description (last modified by frank) (diff)

Hi people

When I try to run the C++ binding XPCOM example appears an error on the Ubuntu host (Tested on lastest and penultimate release). The error is the next one:

Error, could not instantiate VirtualBox object! rc=0x80004005

I have tested with Fedora and CentOS and it works.

It seams that there is a dependency that it isn't on Ubuntu.

Some help about this?


log.gz Download (25.0 KB) - added by xfernandez 10 years ago.

Change History

comment:1 Changed 10 years ago by frank

So you are using VirtualBox 2.2.2 for this test, right?

Please execute the testVBoxAPILinux example like this:

strace -f -o ~/log tstVBoxAPILinux

Then compress the resulting file ~/log and attach it to this defect.

comment:2 Changed 10 years ago by xfernandez

Yes! The VIrtualBox 2.2.2

I attach the log on the bug


Changed 10 years ago by xfernandez

comment:3 Changed 10 years ago by frank

I did not find any obvious problem in the log. Does a VBoxManage list vms work on the same host?

comment:4 Changed 10 years ago by xfernandez


I test "VBoxManage list vms" and it works.

comment:5 Changed 9 years ago by xfernandez

Please, some other information about this bug?

Thank you very much

comment:6 Changed 9 years ago by frank

xfernandez, let me ask some basic questions, just to be sure your setup is correct:

  • are you able to start VMs?
  • which VBox version is that, still 2.2.2?
  • which package did you install on that Ubuntu host (exact package name please)

comment:7 Changed 9 years ago by xfernandez


I can start VMs using the basic

2.2.4 (I don't want to update to 3.0.x because I have some development do it based on this API). Has The API specification been updated on this new release?

Distributor ID: Ubuntu Description: Ubuntu 9.04 Release: 9.04 Codename: jaunty

Thank you

comment:8 Changed 9 years ago by frank

Yes, but VBox 2.2.4 is fine as well. So you installed the Ubuntu package from our website, I assume the 32-bit version?

comment:9 Changed 9 years ago by xfernandez

I use "sudo aptitude install virtualbox-2.2"

Yes I think that is 32-bit :P


comment:10 Changed 9 years ago by frank

Still no idea what's wrong. You don't work with sudo or something like that, do you? What happens if you start the VBoxSVC daemon in a separate console/xterm and then start the XPCOM example from another console/xterm?

comment:11 Changed 6 years ago by frank

  • Status changed from new to closed
  • Resolution set to worksforme
  • Description modified (diff)

No response, obsolete.

Note: See TracTickets for help on using tickets.
ContactPrivacy policyTerms of Use