VirtualBox

Opened 14 years ago

Closed 12 years ago

#8780 closed defect (fixed)

VirtualBox does not start (error 0x80040154) if any environment variable has a value not valid in the current encoding = Fixed in SVN

Reported by: Vesuri Owned by:
Component: other Version: VirtualBox 4.0.6
Keywords: Cc:
Guest type: other Host type: Linux

Description (last modified by Frank Mehnert)

I'm running VirtualBox 4.0.6 on Fedora 14, but I suspect this happens in other environments as well. The problem also occurred with VirtualBox 4.0.4.

If I have the following line in my .bash_profile:

export SOME_VARIABLE=<B7>

in which <B7> is the byte 0xB7 (the ISO-8859-1 character ·, which in Unicode is U+00B7 MIDDLE DOT) and the value of the LANG environment variable is en_US.UTF-8, VirtualBox fails to start. It says "Failed to create the VirtualBox COM object. The application will now terminate. Callee RC: NS_ERROR_FACTORY_NOT_REGISTERED (0x80040154)".

If I say

unset SOME_VARIABLE

or remove the byte 0xB7 from the value then VirtualBox starts.

The name of the environment variable does not matter and the position in which the 0xB7 byte appears in the environment variable value does not matter either.

I haven't analysed this any further, but I suspect this has something to do with not being able to parse the environment variable value to UTF-8. However, I don't know why VirtualBox cares about the values of all environment variables.

Change History (2)

comment:1 by Frank Mehnert, 12 years ago

Description: modified (diff)
Summary: VirtualBox does not start (error 0x80040154) if any environment variable has a value not valid in the current encodingVirtualBox does not start (error 0x80040154) if any environment variable has a value not valid in the current encoding = Fixed in SVN

Thanks for the report. Fixed in the next maintenance release.

comment:2 by Frank Mehnert, 12 years ago

Resolution: fixed
Status: newclosed

Fix is part of 4.1.20.

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