Segfault in mongo on update operation

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Cannot Reproduce
    • Priority: Minor - P4
    • None
    • Affects Version/s: 2.0.2
    • Component/s: JavaScript
    • None
    • Environment:
      Darwin <removed> 11.2.0 Darwin Kernel Version 11.2.0: Tue Aug 9 20:54:00 PDT 2011; root:xnu-1699.24.8~1/RELEASE_X86_64 x86_64
    • OS X
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Got a signal 11 when doing an update:

      > db.scores.update({$and:[{score:{$gt:80}}, {score:{$lt:90}}]}, {$set:

      {'grade':'B'}

      , false, true)
      ...
      ...
      Tue Jan 24 10:12:16 mongo got signal 11 (Segmentation fault: 11), stack trace:

      Tue Jan 24 10:12:16 0x10000220c 0x7fff932e0cfa 0x7fff5fbfe508 0x10010b045 0x1001113b0 0x100106a12 0x10000911b 0x10000a9aa 0x100001434
      0 mongo 0x000000010000220c _Z12quitAbruptlyi + 316
      1 libsystem_c.dylib 0x00007fff932e0cfa _sigtramp + 26
      2 ??? 0x00007fff5fbfe508 0x0 + 140734799799560
      3 mongo 0x000000010010b045 CompileTokenStream + 325
      4 mongo 0x00000001001113b0 JS_EvaluateScript + 160
      5 mongo 0x0000000100106a12 _ZN5mongo7SMScope4execERKNS_10StringDataERKSsbbbi + 482
      6 mongo 0x000000010000911b _Z5_mainiPPc + 7675
      7 mongo 0x000000010000a9aa main + 42
      8 mongo 0x0000000100001434 start + 52

            Assignee:
            Antoine Girbal (Inactive)
            Reporter:
            Nicklas Westerlund
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: