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

seg fault when cursor invalidated during explain yield

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 1.7.6
    • None
    • Concurrency
    • None
    • ALL

    Description

      If we can't recover from a yield when explain is enabled, then inside finish() _c will be zero and we will seg fault in the call to noteScan(). I'll be checking in a test and can fix this too if you want - can we fix by asserting in this case? Otherwise it looks like we could grab the necessary info from the cursor in the beginning of running the query before any yielding happens.

      Attachments

        Activity

          People

            aaron Aaron Staple
            aaron Aaron Staple
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: