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

mongodump raises BSONElement: bad type 117 error

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.2.2, 2.3.0
    • Affects Version/s: 2.2.0, 2.2.1
    • Component/s: Admin

      mongodump starts to properly create dumps for collections and then crashes, always at the same collection.

      Here is the dump:

      Tue Aug 28 07:30:26 Assertion: 10320:BSONElement: bad type 117
      0xaeb951 0x58d0eb 0x55beab 0xb128ef 0x5635d3 0x566ed0 0x568fd1 0xa34f52 0x5545f2 0x7fa722c25c4d 0x554459
      mongodump(_ZN5mongo15printStackTraceERSo+0x21) [0xaeb951]
      mongodump(_ZN5mongo11msgassertedEiPKc+0x9b) [0x58d0eb]
      mongodump(_ZNK5mongo11BSONElement4sizeEv+0x1cb) [0x55beab]
      mongodump(_ZNK5mongo7BSONObj10jsonStringENS_16JsonStringFormatEi+0xff) [0xb128ef]
      mongodump(_ZN4Dump17writeMetadataFileESsN5boost11filesystem210basic_pathISsNS1_11path_traitsEEESt3mapISsN5mongo7BSONObjESt4lessISsESaISt4pairIKSsS7_EEESt8multimapISsS7_S9_SD_E+0x363) [0x5635d3]
      mongodump(_ZN4Dump2goESsN5boost11filesystem210basic_pathISsNS1_11path_traitsEEE+0x1e50) [0x566ed0]
      mongodump(_ZN4Dump3runEv+0x1b61) [0x568fd1]
      mongodump(_ZN5mongo4Tool4mainEiPPc+0x1712) [0xa34f52]
      mongodump(main+0x32) [0x5545f2]
      /lib/libc.so.6(__libc_start_main+0xfd) [0x7fa722c25c4d]
      mongodump(__gxx_personality_v0+0x421) [0x554459]
      assertion: 10320 BSONElement: bad type 117

      The collection contains documents with two ISODate fields and a string field.

        1. dump-6877.tgz
          2 kB
          Zsolt Márton
        2. mongod.log
          142 kB
          László Bácsi

            Votes:
            10 Vote for this issue
            Watchers:
            27 Start watching this issue

              Created:
              Updated:
              Resolved: