Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-7496

Mongo.exe client crashes when username of home directory contains a unicode character

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 2.5.0
    • Affects Version/s: 2.2.1
    • Component/s: Shell
    • Environment:
      Windows 7
    • Fully Compatible

      When connecting with the client the first time, everything works ok. When I disconnected, and reconnected, I got the error below.

      Deleting the existing .mongo.js is one (drastic) workaround.
      Another workaround is to change the default path in the shell before executing the mongo.exe client.
      e.g.
      set HOMEPATH=C:\users

      C:\mongodb1\bin>mongo -port 27000
      MongoDB shell version: 2.2.1-rc1
      connecting to: 127.0.0.1:27000/test
      Thu Oct 25 22:10:42 Create/Open File failed C:\Users\Rán\.mongorc.js errno:3 The system cannot find the path specified.
      Thu Oct 25 22:10:42   Assertion failure fo <= 0x7ffffffe src\mongo\scripting\engine.cpp 136
      Thu Oct 25 22:10:42 mongo.exe       ???
      Thu Oct 25 22:10:42 mongo.exe       ???
      Thu Oct 25 22:10:42 mongo.exe       ???
      Thu Oct 25 22:10:42 mongo.exe       ???
      Thu Oct 25 22:10:42 mongo.exe       ???
      Thu Oct 25 22:10:42 mongo.exe       ???
      Thu Oct 25 22:10:42 kernel32.dll    BaseThreadInitThunk+0xd
      exception: assertion src\mongo\scripting\engine.cpp:136
      

            Assignee:
            greg.mckeon@mongodb.com Gregory McKeon (Inactive)
            Reporter:
            ronano Ronan O&#39;Brien
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: