Long aggregation pipelines can segfault SBE

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: 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
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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
              Reporter:
              Matt Boros
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: