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

server crashes when creating a database with strange name

    • Type: Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: 1.5.5
    • Component/s: Security, Stability
    • Labels:
      None
    • Environment:
      mongod 1.5.5 /64bit, Windows 7/64bit, PHP 5.3.2, PHP Mongo ext. 1.0.8
    • Windows

      when creating (writing to) a database named "aaa:" (double colon in name) database "aaa_" was created instead and the server shut down

      from server console:
      [initandlisten] Sun Jul 25 18:54:46 connection accepted from 127.0.0.1:52368 #8
      [conn8] Sun Jul 25 18:54:46 Create/OpenFile failed /data/db/aaa_.ns 0
      [conn8] Sun Jul 25 18:54:46 admin couldn't open file /data/db/aaa_.ns terminating
      Sun Jul 25 18:54:46 dbexit:
      [conn8] Sun Jul 25 18:54:46 shutdown: going to close listening sockets...
      [conn8] Sun Jul 25 18:54:46 going to close listening socket: 172
      [conn8] Sun Jul 25 18:54:46 going to close listening socket: 176
      [initandlisten] Sun Jul 25 18:54:46 Listener: accept() returns -1 errno:10038 Do
      šlo k pokusu o operaci s n??ím, co není soket. (Tried to use something, what is not a socket)

      [conn8] Sun Jul 25 18:54:46 going to close listening socket: 188
      [conn8] Sun Jul 25 18:54:46 going to close listening socket: 192
      [conn8] Sun Jul 25 18:54:46 shutdown: going to flush oplog...
      [conn8] Sun Jul 25 18:54:46 shutdown: going to close sockets...
      [conn8] Sun Jul 25 18:54:46 shutdown: waiting for fs preallocator...
      [conn8] Sun Jul 25 18:54:46 shutdown: closing all files...
      Sun Jul 25 18:54:46 closeAllFiles() finished
      Sun Jul 25 18:54:46 dbexit: really exiting now
      ERROR: Client::~Client _context should be NULL: conn

            Assignee:
            matt.kangas Matt Kangas
            Reporter:
            paranoiq Vlasta Neubauer
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: