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

FreeBSD assertion on startup

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.3.2
    • Affects Version/s: None
    • Component/s: None
    • None

      I'm trying to get mongod working on FreeBSD to help debug a user's problem. I've got it compiled, but when I try to start it, I get:

      ./mongod --help for help and startup options
      Wed Jan 20 16:30:51 Mongo DB : starting : pid = 45130 port = 27017 dbpath = /data/db/ master = 0 slave = 0 32-bit

      Wed Jan 20 16:30:51 Assertion: 10334:Invalid BSONObj spec size: 0
      0x80ce150 0x8200dc7 0x8201022 0x81fa3e9 0x81fdb71 0x81ff677 0x811f4c2 0x811facc 0x81f66bc 0x8287f56 0x828a536 0x828ac0f 0x8293be4 0x80adcb9
      0x80ce150 <_ZN5mongo7BSONObjC1EPKcb+288> at ./mongod
      0x8200dc7 <_ZN5mongo9DbMessage9nextJsObjEv+71> at ./mongod
      0x8201022 <_ZN5mongo12QueryMessageC1ERNS_9DbMessageE+290> at ./mongod
      0x81fa3e9 <_ZN5mongo14receivedDeleteERNS_7MessageERNS_5CurOpE+1641> at ./mongod
      0x81fdb71 <_ZN5mongo16assembleResponseERNS_7MessageERNS_10DbResponseERK11sockaddr_in+3553> at ./mongod
      0x81ff677 <_ZN5mongo14DBDirectClient4callERNS_7MessageES2_b+327> at ./mongod
      0x811f4c2 <_ZN5mongo14DBClientCursor4initEv+258> at ./mongod
      0x811facc <_ZN5mongo12DBClientBase5queryERKSsNS_5QueryEiiPKNS_7BSONObjEi+284> at ./mongod
      0x81f66bc <_ZN5mongo14DBDirectClient5queryERKSsNS_5QueryEiiPKNS_7BSONObjEi+108> at ./mongod
      0x8287f56 <_ZN5mongo19clearTmpCollectionsEv+294> at ./mongod
      0x828a536 <_ZN5mongo14_initAndListenEiPKc+1030> at ./mongod
      0x828ac0f <_ZN5mongo13initAndListenEiPKc+47> at ./mongod
      0x8293be4 <main+31204> at ./mongod
      0x80adcb9 <_start+137> at ./mongod
      Wed Jan 20 16:30:51 exception in initAndListen std::exception: Invalid BSONObj spec size: 0, terminating
      Wed Jan 20 16:30:51 dbexit:
      Wed Jan 20 16:30:51 shutdown: going to close listening sockets...
      Wed Jan 20 16:30:51 shutdown: going to flush oplog...
      Wed Jan 20 16:30:51 shutdown: going to close sockets...
      Wed Jan 20 16:30:51 shutdown: waiting for fs preallocator...
      Wed Jan 20 16:30:51 shutdown: closing all files...
      Wed Jan 20 16:30:51 closeAllFiles() finished
      Wed Jan 20 16:30:51 shutdown: removing fs lock...
      Wed Jan 20 16:30:51 dbexit: really exiting now
      ERROR: Client::shutdown not called!

      Anyone recognize this error?

            Assignee:
            eliot Eliot Horowitz (Inactive)
            Reporter:
            kristina Kristina Chodorow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: