VirtualBox

Ticket #3563 (closed defect: fixed)

Opened 8 months ago

Last modified 8 months ago

vboxmouse driver changes locale -> should be fixed in SVN

Reported by: fatih Assigned to:
Priority: major Component: guest additions
Version: VirtualBox 2.1.4 Keywords:
Cc: Guest type: Linux
Host type: Linux

Description

vboxmouse module calls setlocale and changes X server's locale to user's locale instead of C. Then server makes comparisons in user's locale and that causes serious problems especially in Turkish locale. In Turkish, tolower("I") is not "i". So server converts "PCI" string to "pcı" (not "pci").

In order to reproduce the problem, add the following line to xorg.conf:

BusId? "PCI:0:2:0"

Then set LC_ALL to tr_TR.UTF-8 and start xserver. That will fail; because it won't find the matching "Device" section. When vboxmouse module is disabled, server starts correctly.

Change History

2009-03-17 08:48:00 changed by michael

Might I ask which guest this was, and specifically which version of X.Org server?

2009-03-18 14:03:08 changed by fatih

The guest is Pardus Linux 2008.2. It uses xorg-server 1.4.2.

2009-03-18 19:03:27 changed by michael

  • summary changed from vboxmouse driver changes locale to vboxmouse driver changes locale -> should be fixed in SVN.

I have not been able to reproduce this problem (I don't have a guest handy with X.Org server 1.4, and I had no success with X.Org 7.1 and with Server 1.5). However, I have removed the call to setlocale in vboxmouse, so hopefully this should be fixed in SVN now (should be in the public tree as of tomorrow).

2009-03-18 22:48:28 changed by fatih

I have tested with VirtualBox 2.1.4 + the svn patch r18055 and it seems fixed. Thanks.

2009-04-08 14:25:17 changed by frank

  • status changed from new to closed.
  • resolution set to fixed.

© 2009 Sun Microsystems, Inc.
ContactPrivacy policy