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

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: 2.2.1
    • Fix Version/s: 2.5.0
    • Component/s: Shell
    • Labels:
    • Environment:
      Windows 7
    • Backwards Compatibility:
      Fully Compatible

      Description

      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

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: