VirtualBox

Opened 15 years ago

Closed 11 years ago

#4107 closed defect (worksforme)

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 Mehnert)

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?

Attachments (1)

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

Download all attachments as: .zip

Change History (12)

comment:1 by Frank Mehnert, 15 years ago

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 by xfernandez, 15 years ago

Yes! The VIrtualBox 2.2.2

I attach the log on the bug

Thanks

by xfernandez, 15 years ago

Attachment: log.gz added

comment:3 by Frank Mehnert, 15 years ago

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

comment:4 by xfernandez, 15 years ago

Hi

I test "VBoxManage list vms" and it works.

comment:5 by xfernandez, 15 years ago

Please, some other information about this bug?

Thank you very much

comment:6 by Frank Mehnert, 15 years ago

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 by xfernandez, 15 years ago

Hi

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 by Frank Mehnert, 15 years ago

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 by xfernandez, 15 years ago

I use "sudo aptitude install virtualbox-2.2"

Yes I think that is 32-bit :P

Thanks

comment:10 by Frank Mehnert, 15 years ago

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 by Frank Mehnert, 11 years ago

Description: modified (diff)
Resolution: worksforme
Status: newclosed

No response, obsolete.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use