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

db.artworks.findOne("genome.genes.Color.$gt", 0) terminates shell

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Duplicate
    • Affects Version/s: 1.8.1, 2.0.0, 2.1.1
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      1.8.1, Ubuntu Linux
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      Linux

      Description

      Running this (invalid) query: db.artworks.findOne("genome.genes.Color.$gt", 0) terminates the shell.

      dblock@dblock-magenta:~/source/Gravity/dblock$ mongo
      MongoDB shell version: 1.8.1
      connecting to: test
      > db.artworks.findOne("genome.genes.Color.$gt", 0)
      Sat May  7 08:56:00 terminate() called in shell, printing stack:
      0x80ad346 0x1bbfa5 0x1bbfe2 0x1bc14e 0x810fc46 0x81613f8 0x81f4f5e 0x8205db7 0x81f58e0 0x81bb751 0x81bb6a8 0x81bb5b2 0x816a48d 0x80b144b 0x80b2e2a 0xbd7e37 0x80ac3a1 
       mongo(_Z11myterminatev+0x56) [0x80ad346]
       /usr/lib/i386-linux-gnu/libstdc++.so.6(+0xabfa5) [0x1bbfa5]
       /usr/lib/i386-linux-gnu/libstdc++.so.6(+0xabfe2) [0x1bbfe2]
       /usr/lib/i386-linux-gnu/libstdc++.so.6(+0xac14e) [0x1bc14e]
       mongo(_ZN5mongo9uassertedEiPKc+0xd6) [0x810fc46]
       mongo(_ZN5mongo10mongo_findEP9JSContextP8JSObjectjPlS4_+0x648) [0x81613f8]
       mongo(js_Invoke+0xc34) [0x81f4f5e]
       mongo(js_Interpret+0xf5e6) [0x8205db7]
       mongo(js_Execute+0x2f4) [0x81f58e0]
       mongo(JS_EvaluateUCScriptForPrincipals+0xa7) [0x81bb751]
       mongo(JS_EvaluateUCScript+0x43) [0x81bb6a8]
       mongo(JS_EvaluateScript+0x6c) [0x81bb5b2]
       mongo(_ZN5mongo7SMScope4execERKNS_10StringDataERKSsbbbi+0x11d) [0x816a48d]
       mongo(_Z5_mainiPPc+0x216b) [0x80b144b]
       mongo(main+0x4a) [0x80b2e2a]
       /lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xe7) [0xbd7e37]
       mongo(__gxx_personality_v0+0x24d) [0x80ac3a1]

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: