Code: Select all
VBoxSVC: error: Failed to get IPC service! (rc=NS_ERROR_SOCKET_FAIL)
XPCOM server has shutdown.
Thank you very much for also involving VirtualBox development!!
Code: Select all
VBoxSVC: error: Failed to get IPC service! (rc=NS_ERROR_SOCKET_FAIL)
XPCOM server has shutdown.
and the problem is due to the locale handling here. For one of theI took a look at the VirtualBox source code changes between 6.1.30 and 6.1.32 in the area of process creation, and there were several topics involved: UTF8, locales, ...
Code: Select all
$ LC_ALL=C VBoxManage list vms
Indeed, changing the locale to C leads to a successful run.paulson wrote:fth0 wrote:
and the problem is due to the locale handling here. For one of theI took a look at the VirtualBox source code changes between 6.1.30 and 6.1.32 in the area of process creation, and there were several topics involved: UTF8, locales, ...
users who are seeing this problem can you provide the output of
'locale'? If you set LC_ALL to a typical locale name, whether C, POSIX,
any UTF-8 one or ISO* one, then things should work. For example:
It looks like "unusual" locales such as those with EUC in their names are not handled correctly.Code: Select all
$ LC_ALL=C VBoxManage list vms
Code: Select all
LANG=de_DE.UTF.8
LC_CTYPE="de_DE.UTF.8"
LC_NUMERIC="de_DE.UTF.8"
LC_TIME="de_DE.UTF.8"
LC_COLLATE="de_DE.UTF.8"
LC_MONETARY="de_DE.UTF.8"
LC_MESSAGES="de_DE.UTF.8"
LC_PAPER="de_DE.UTF.8"
LC_NAME="de_DE.UTF.8"
LC_ADDRESS="de_DE.UTF.8"
LC_TELEPHONE="de_DE.UTF.8"
LC_MEASUREMENT="de_DE.UTF.8"
LC_IDENTIFICATION="de_DE.UTF.8"
LC_ALL=
Code: Select all
$ LC_ALL=C VBoxManage list vms
Code: Select all
$ VBoxManage list vms
AFAIK, paulson is part of the VirtualBox team.denk wrote:How can the VBox-Devs be made aware of this?
@fth0: This is a bug. VirtualBox should safely handle invalid locale specifications by falling back@paulson: Is this a bug or correct behavior?
A short update: I found out, that the culprit was that the typo (denk wrote:I am sorry, but it seems to be because I had chosen wrong locale settings on the system: Instead of de_DE.UTF.8 it should be de_DE.UTF-8. (Ref: https://bbs.archlinux.org/viewtopic.php ... 7#p2041707)
Interesting that this must be the case since 2017, because to my memory I never touched the setting again after installation. And with the changes paulson mentioned, it seems the typo has now caused a problem for the first time. I'll monitor it some more and give final feedback again. Thanks so far in any case!
Code: Select all
de_DE.UTF.8
Code: Select all
de_DE.UTF-8