Segmentation fault when accessing index information

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: 2.6.8
    • Component/s: Admin
    • None
    • ALL
    • Hide
      1. log in to database:
        $ mongo -u <username> -p <password> --authenticationDatabase admin
      2. switch to some user database:
        > use apidb
      3. try to list indices of a collection:
        > db.users.getIndices()
      Show
      log in to database: $ mongo -u <username> -p <password> --authenticationDatabase admin switch to some user database: > use apidb try to list indices of a collection: > db.users.getIndices()
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      I have installed MongoDB 2.6.8 on up-to-date Gentoo server, then I have started playing around because it is my first time with MongoDB. Everything went smooth until I wanted to create a compound index. Segmentation fault occured.
      Then I tried to create single-field index. Segmentation fault occured as well.
      Finally, I tried to list indices of some user collection, which resulted in segmentation fault too.

      For actions described above I was using mongo CLI client.

      Stack trace below:

      2016-08-12T15:13:37.524+0200 mongo got signal 11 (Segmentation fault), stack trace: 
      2016-08-12T15:13:37.534+0200 0x7dec69 0x5e4619 0x7f509b26c3c0 0x9ca61c 0xa3e598 0xa3e5d4 0xa4395e 0x9d956b 0x9e4a81 0x9e4e85 0x8837c0 0x9a3d78 0x94003d 0x32ae44c06362 
       mongo(_ZN5mongo15printStackTraceERSo+0x39) [0x7dec69]
       mongo(_Z12quitAbruptlyi+0x119) [0x5e4619]
       /lib64/libc.so.6(+0x333c0) [0x7f509b26c3c0]
       mongo(_ZN2v88internal6String11WriteToFlatItEEvPS1_PT_ii+0x3bc) [0x9ca61c]
       mongo(_ZN2v88internal33GenericStringUtf16CharacterStream10FillBufferEjj+0x38) [0xa3e598]
       mongo(_ZN2v88internal28BufferedUtf16CharacterStream9ReadBlockEv+0x34) [0xa3e5d4]
       mongo(_ZN2v88internal7Scanner10InitializeEPNS0_20Utf16CharacterStreamE+0x5e) [0xa4395e]
       mongo(_ZN2v88internal6Parser9ParseLazyEPNS0_20Utf16CharacterStreamEPNS0_9ZoneScopeE+0x3b) [0x9d956b]
       mongo(_ZN2v88internal6Parser9ParseLazyEv+0x161) [0x9e4a81]
       mongo(_ZN2v88internal9ParserApi5ParseEPNS0_15CompilationInfoEi+0x205) [0x9e4e85]
       mongo(_ZN2v88internal8Compiler11CompileLazyEPNS0_15CompilationInfoE+0xf0) [0x8837c0]
       mongo(_ZN2v88internal10JSFunction11CompileLazyENS0_6HandleIS1_EENS0_18ClearExceptionFlagE+0x198) [0x9a3d78]
       mongo(_ZN2v88internal11CallIC_MissENS0_9ArgumentsEPNS0_7IsolateE+0x27d) [0x94003d]
       [0x32ae44c06362]
      

            Assignee:
            Kelsey Schubert
            Reporter:
            Maciej Kwiatkowski
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: