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

mongo client from ArchLinux packages crashes on ensureIndex()

    • Fully Compatible
    • ALL
    • Hide

      Just type "db.abc.ensureIndex(

      {'m':1}

      )" in mongo-shell.

      Show
      Just type "db.abc.ensureIndex( {'m':1} )" in mongo-shell.
    • Server 2.7.1

      Version: 2.6.1
      Arch Linux, x64, kern v3.14.2

      Trying to make index on non-existing collection crashes mongo-shell with errors:

      $ mongo
      MongoDB shell version: 2.6.1
      connecting to: test
      Server has startup warnings: 
      2014-05-06T23:35:37.546+0400 [initandlisten] 
      2014-05-06T23:35:37.546+0400 [initandlisten] ** WARNING: Readahead for /var/lib/mongodb is set to 3072KB
      2014-05-06T23:35:37.546+0400 [initandlisten] **          We suggest setting it to 256KB (512 sectors) or less
      2014-05-06T23:35:37.546+0400 [initandlisten] **          http://dochub.mongodb.org/core/readahead
      > db.abc.ensureIndex({'m':1})
      2014-05-08T22:08:26.300+0400 mongo got signal 11 (Segmentation fault), stack trace: 
      2014-05-08T22:08:26.306+0400 0x7d5f86 0x5fccd9 0x7f5997f43df0 0x9c64fc 0xa33958 0xa33994 0xa34639 0xa3887b 0xa38d5a 0x9ccdfe 0x9dca4d 0x9d22e8 0x9dd126 0x9d2370 0x9dd126 0x9d2370 0x9dd126 0x9d2370 0x9dd126 0x9d2370 
       mongo(_ZN5mongo15printStackTraceERSo+0x26) [0x7d5f86]
       mongo(_Z12quitAbruptlyi+0x109) [0x5fccd9]
       /lib/libc.so.6(+0x33df0) [0x7f5997f43df0]
       mongo(_ZN2v88internal6String11WriteToFlatItEEvPS1_PT_ii+0x3bc) [0x9c64fc]
       mongo(_ZN2v88internal33GenericStringUtf16CharacterStream10FillBufferEjj+0x38) [0xa33958]
       mongo(_ZN2v88internal28BufferedUtf16CharacterStream9ReadBlockEv+0x34) [0xa33994]
       mongo(_ZN2v88internal7Scanner20SkipMultiLineCommentEv+0x129) [0xa34639]
       mongo(_ZN2v88internal7Scanner4ScanEv+0x10eb) [0xa3887b]
       mongo(_ZN2v88internal7Scanner4NextEv+0x4a) [0xa38d5a]
       mongo(_ZN2v88internal6Parser6ExpectENS0_5Token5ValueEPb+0x5e) [0x9ccdfe]
       mongo(_ZN2v88internal6Parser10ParseBlockEPNS0_8ZoneListINS0_6HandleINS0_6StringEEEEEPb+0x31d) [0x9dca4d]
       mongo(_ZN2v88internal6Parser14ParseStatementEPNS0_8ZoneListINS0_6HandleINS0_6StringEEEEEPb+0x98) [0x9d22e8]
       mongo(_ZN2v88internal6Parser16ParseIfStatementEPNS0_8ZoneListINS0_6HandleINS0_6StringEEEEEPb+0x1d6) [0x9dd126]
       mongo(_ZN2v88internal6Parser14ParseStatementEPNS0_8ZoneListINS0_6HandleINS0_6StringEEEEEPb+0x120) [0x9d2370]
       mongo(_ZN2v88internal6Parser16ParseIfStatementEPNS0_8ZoneListINS0_6HandleINS0_6StringEEEEEPb+0x1d6) [0x9dd126]
       mongo(_ZN2v88internal6Parser14ParseStatementEPNS0_8ZoneListINS0_6HandleINS0_6StringEEEEEPb+0x120) [0x9d2370]
       mongo(_ZN2v88internal6Parser16ParseIfStatementEPNS0_8ZoneListINS0_6HandleINS0_6StringEEEEEPb+0x1d6) [0x9dd126]
       mongo(_ZN2v88internal6Parser14ParseStatementEPNS0_8ZoneListINS0_6HandleINS0_6StringEEEEEPb+0x120) [0x9d2370]
       mongo(_ZN2v88internal6Parser16ParseIfStatementEPNS0_8ZoneListINS0_6HandleINS0_6StringEEEEEPb+0x1d6) [0x9dd126]
       mongo(_ZN2v88internal6Parser14ParseStatementEPNS0_8ZoneListINS0_6HandleINS0_6StringEEEEEPb+0x120) [0x9d2370]
      

            Assignee:
            michael.grundy Michael Grundy
            Reporter:
            icoz icoz
            Votes:
            1 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: