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

seg fault when cursor invalidated during explain yield

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.7.6
    • Affects Version/s: None
    • Component/s: Concurrency
    • Labels:
      None
    • ALL

      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.

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

              Created:
              Updated:
              Resolved: