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

Long aggregation pipelines can segfault SBE

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • QE 2023-07-10, QE 2023-07-24, QE 2023-08-07

      The query below segfaults in SBE stagebuilders. This appears to be a stack overflow.

      Note that the pipeline length limit is 1000 for non-debug builds. The minimum pipeline length that reproduces this crash appears to be 400 stages. I ran into this with optimizations on and debug off.

            Assignee:
            justin.seyster@mongodb.com Justin Seyster
            Reporter:
            matt.boros@mongodb.com Matt Boros
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: