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

Invalid Data Inserted into Profiling Collection, Breaking Dex and count function

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Duplicate
    • Affects Version/s: 2.2.0
    • Fix Version/s: None
    • Component/s: Logging
    • Environment:
    • Operating System:
      Linux

      Description

      I am finding data like the data shown below in my system.profile collection for various databases. I've tried disabling profiling, clearing the collection, and re-enabling, at which point the errors occur again after a few minutes.

      This is affecting our ability to analyze the profile collection,, and can't be a good thing.

      I created this bug with the creator of dex and he suggested I open a bug with the mongo team: https://github.com/mongolab/dex/issues/4

      Thu Sep 20 13:50:45 Assertion: 10320:BSONElement: bad type 121
      0x511fa1 0x573f0b 0x4b0cc8 0x7160d6 0x516d05 0x5197fc 0x6af7ca 0x6be534 0x52b51e 0x6bdf6c 0x6af9e5 0x6bdaff 0x584c26 0x584ca2 0x5860ae 0x71e6d4 0x4a46e5 0x4a6726 0x7f569b45030d 0x49f5a9 
      mongo(ZN5mongo15printStackTraceERSo+0x21) [0x511fa1]
      mongo(_ZN5mongo11msgassertedEiPKc+0x9b) [0x573f0b]
      mongo(_ZNK5mongo11BSONElement4sizeEv+0x1d8) [0x4b0cc8]
      mongo(_ZN5mongo16resolveBSONFieldEP9JSContextP8JSObjectljPS3+0x146) [0x7160d6]
      mongo(jsLookupPropertyWithFlags+0x3f5) [0x516d05]
      mongo(js_GetProperty+0x7c) [0x5197fc]
      mongo(js_Interpret+0x10ea) [0x6af7ca]
      mongo(js_Invoke+0x9d4) [0x6be534]
      mongo() [0x52b51e]
      mongo(js_Invoke+0x40c) [0x6bdf6c]
      mongo(js_Interpret+0x1305) [0x6af9e5]
      mongo(js_Execute+0x36f) [0x6bdaff]
      mongo(JS_EvaluateUCScriptForPrincipals+0x66) [0x584c26]
      mongo(JS_EvaluateUCScript+0x22) [0x584ca2]
      mongo(JS_EvaluateScript+0x6e) [0x5860ae]
      mongo(_ZN5mongo7SMScope4execERKNS_10StringDataERKSsbbbi+0x144) [0x71e6d4]
      mongo(_Z5_mainiPPc+0x2455) [0x4a46e5]
      mongo(main+0x26) [0x4a6726]
      /lib/x86_64-linux-gnu/libc.so.6(libc_start_main+0xed) [0x7f569b45030d]
      mongo(_gxx_personality_v0+0x2a1) [0x49f5a9]
      Error: BSONElement: bad type 121

      Fri Sep 21 12:02:39 Assertion: 10320:BSONElement: bad type -116
      0x511fa1 0x573f0b 0x4b0cc8 0x7160d6 0x516d05 0x5197fc 0x6af7ca 0x6bdaff 0x584c26 0x584ca2 0x5860ae 0x71e6d4 0x4a4954 0x4a6726 0x7f9131be630d 0x49f5a9 
       mongo(_ZN5mongo15printStackTraceERSo+0x21) [0x511fa1]
       mongo(_ZN5mongo11msgassertedEiPKc+0x9b) [0x573f0b]
       mongo(_ZNK5mongo11BSONElement4sizeEv+0x1d8) [0x4b0cc8]
       mongo(_ZN5mongo16resolveBSONFieldEP9JSContextP8JSObjectljPS3_+0x146) [0x7160d6]
       mongo(js_LookupPropertyWithFlags+0x3f5) [0x516d05]
       mongo(js_GetProperty+0x7c) [0x5197fc]
       mongo(js_Interpret+0x10ea) [0x6af7ca]
       mongo(js_Execute+0x36f) [0x6bdaff]
       mongo(JS_EvaluateUCScriptForPrincipals+0x66) [0x584c26]
       mongo(JS_EvaluateUCScript+0x22) [0x584ca2]
       mongo(JS_EvaluateScript+0x6e) [0x5860ae]
       mongo(_ZN5mongo7SMScope4execERKNS_10StringDataERKSsbbbi+0x144) [0x71e6d4]
       mongo(_Z5_mainiPPc+0x26c4) [0x4a4954]
       mongo(main+0x26) [0x4a6726]
       /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x7f9131be630d]
       mongo(__gxx_personality_v0+0x2a1) [0x49f5a9]
      Error: BSONElement: bad type -116

        Attachments

        1. case3-log.txt
          2 kB
        2. case3-shell.txt
          1 kB

          Activity

            People

            Assignee:
            tad Tad Marshall
            Reporter:
            kylegato Kyle Gato
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: