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

userqueryop cursor becoming null after yield shouldn't cause seg fault

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.7.3
    • Component/s: None
    • Labels:
      None
    • Operating System:
      ALL

      Description

      mongod: /opt/extra/include/boost/smart_ptr/shared_ptr.hpp:418: T* boost::shared_ptr< <template-parameter-1-1> >::operator->() const [with T = mongo::Cursor]: Assertion `px != 0' failed.
      Mon Nov 8 15:42:59 Backtrace:
      0x83a369 0x34de230f30 0x34de230ec5 0x34de232970 0x34de22a11f 0x611d5c 0x613682 0x743706 0x750399 0x750edb 0x753074 0x753ad7 0x6004f1 0x7097ea 0x71149e 0x83bb89 0x84fb20 0x34dee06407 0x34de2d4b0d
      /home/yellow/buildbot/Linux_64bit_v8/mongo/mongod(_ZN5mongo10abruptQuitEi+0x399) [0x83a369]
      /lib64/libc.so.6 [0x34de230f30]
      /lib64/libc.so.6(gsignal+0x35) [0x34de230ec5]
      /lib64/libc.so.6(abort+0x110) [0x34de232970]
      /lib64/libc.so.6(__assert_fail+0xef) [0x34de22a11f]
      /home/yellow/buildbot/Linux_64bit_v8/mongo/mongod(_ZN5mongo11UserQueryOp6finishEb+0x58c) [0x611d5c]
      /home/yellow/buildbot/Linux_64bit_v8/mongo/mongod(_ZN5mongo11UserQueryOp4nextEv+0x402) [0x613682]
      /home/yellow/buildbot/Linux_64bit_v8/mongo/mongod(_ZN5mongo12QueryPlanSet6Runner6nextOpERNS_7QueryOpE+0x56) [0x743706]
      /home/yellow/buildbot/Linux_64bit_v8/mongo/mongod(_ZN5mongo12QueryPlanSet6Runner3runEv+0x859) [0x750399]
      /home/yellow/buildbot/Linux_64bit_v8/mongo/mongod(_ZN5mongo12QueryPlanSet5runOpERNS_7QueryOpE+0x5b) [0x750edb]
      /home/yellow/buildbot/Linux_64bit_v8/mongo/mongod(_ZN5mongo16MultiPlanScanner9runOpOnceERNS_7QueryOpE+0x64) [0x753074]
      /home/yellow/buildbot/Linux_64bit_v8/mongo/mongod(_ZN5mongo16MultiPlanScanner5runOpERNS_7QueryOpE+0x17) [0x753ad7]
      /home/yellow/buildbot/Linux_64bit_v8/mongo/mongod(ZN5mongo8runQueryERNS_7MessageERNS_12QueryMessageERNS_5CurOpES1+0x1031) [0x6004f1]
      /home/yellow/buildbot/Linux_64bit_v8/mongo/mongod [0x7097ea]
      /home/yellow/buildbot/Linux_64bit_v8/mongo/mongod(_ZN5mongo16assembleResponseERNS_7MessageERNS_10DbResponseERKNS_8SockAddrE+0x150e) [0x71149e]
      /home/yellow/buildbot/Linux_64bit_v8/mongo/mongod(_ZN5mongo10connThreadEPNS_13MessagingPortE+0x299) [0x83bb89]
      /home/yellow/buildbot/Linux_64bit_v8/mongo/mongod(thread_proxy+0x80) [0x84fb20]
      /lib64/libpthread.so.0 [0x34dee06407]
      /lib64/libc.so.6(clone+0x6d) [0x34de2d4b0d]

        Attachments

          Activity

            People

            Assignee:
            eliot Eliot Horowitz (Inactive)
            Reporter:
            aaron Aaron Staple
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: