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

Data corruption :(

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Duplicate
    • 2.2.0
    • None
    • None
    • None
    • ALL

    Description

      After running db.setProfilingLevel(2) and doing loads of queries on the system.profile collection I started getting these consistently

      Thu Sep 20 04:50:43 [conn10] Assertion: 10320:BSONElement: bad type 116
      0xade6e1 0x8036eb 0x5706bb 0x925fac 0x927a2a 0xa0e287 0xa0ed48 0x5e6081 0x6ac10e 0x6ac1c4 0x6b06e6 0x6b3d38 0xb5ba7d 0xb5d052 0x56fa52 0x5dbf11 0x7f546ea7f9ca 0x7f546de26cdd 
       /usr/bin/mongod(_ZN5mongo15printStackTraceERSo+0x21) [0xade6e1]
       /usr/bin/mongod(_ZN5mongo11msgassertedEiPKc+0x9b) [0x8036eb]
       /usr/bin/mongod(_ZNK5mongo11BSONElement4sizeEv+0x1cb) [0x5706bb]
       /usr/bin/mongod(_ZNK5mongo7Matcher13matchesDottedEPKcRKNS_11BSONElementERKNS_7BSONObjEiRKNS_14ElementMatcherEbPNS_12MatchDetailsE+0x153c) [0x925fac]
       /usr/bin/mongod(_ZNK5mongo7Matcher7matchesERKNS_7BSONObjEPNS_12MatchDetailsE+0xfa) [0x927a2a]
       /usr/bin/mongod(_ZNK5mongo19CoveredIndexMatcher7matchesERKNS_7BSONObjERKNS_7DiskLocEPNS_12MatchDetailsEb+0xc7) [0xa0e287]
       /usr/bin/mongod(_ZNK5mongo19CoveredIndexMatcher14matchesCurrentEPNS_6CursorEPNS_12MatchDetailsE+0xa8) [0xa0ed48]
       /usr/bin/mongod(_ZN5mongo6Cursor14currentMatchesEPNS_12MatchDetailsE+0x41) [0x5e6081]
       /usr/bin/mongod(_ZN5mongo20QueryResponseBuilder14currentMatchesERNS_12MatchDetailsE+0x1e) [0x6ac10e]
       /usr/bin/mongod(_ZN5mongo20QueryResponseBuilder8addMatchEv+0x44) [0x6ac1c4]
       /usr/bin/mongod(_ZN5mongo23queryWithQueryOptimizerEiRKSsRKNS_7BSONObjERNS_5CurOpES4_S4_RKN5boost10shared_ptrINS_11ParsedQueryEEES4_RKNS_17ShardChunkVersionERNS7_10scoped_ptrINS_25PageFaultRetryableSectionEEERNSG_INS_19NoPageFaultsAllowedEEERNS_7MessageE+0x376) [0x6b06e6]
       /usr/bin/mongod(_ZN5mongo8runQueryERNS_7MessageERNS_12QueryMessageERNS_5CurOpES1_+0x16b8) [0x6b3d38]
       /usr/bin/mongod() [0xb5ba7d]
       /usr/bin/mongod(_ZN5mongo16assembleResponseERNS_7MessageERNS_10DbResponseERKNS_11HostAndPortE+0x3a2) [0xb5d052]
       /usr/bin/mongod(_ZN5mongo16MyMessageHandler7processERNS_7MessageEPNS_21AbstractMessagingPortEPNS_9LastErrorE+0x82) [0x56fa52]
       /usr/bin/mongod(_ZN5mongo3pms9threadRunEPNS_13MessagingPortE+0x411) [0x5dbf11]
       /lib/libpthread.so.0(+0x69ca) [0x7f546ea7f9ca]
       /lib/libc.so.6(clone+0x6d) [0x7f546de26cdd]
      Thu Sep 20 04:50:43 [conn10] assertion 10320 BSONElement: bad type 116 ns:test2.system.profile query:{ ns: "test2.dbref2" }
      Thu Sep 20 04:50:43 [conn10]  ntoskip:0 ntoreturn:10
      Thu Sep 20 04:50:43 [conn10] problem detected during query over test2.system.profile : { $err: "BSONElement: bad type 116", code: 10320 }

      Attachments

        Issue Links

          Activity

            People

              tad Tad Marshall
              bjori Hannes Magnusson
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: