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

Some agg expressions crash sbe_expression_bm

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • ALL
    • QE 2022-10-17, QE 2022-10-31

      See the SBE column entries labeled crash in the following comment of SERVER-59123:

      https://jira.mongodb.org/browse/SERVER-59123?focusedCommentId=4863444&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-4863444

      All of these benchmarks work fine in Classic (expression_bm executable) but cause crashes in the SBE benchmark tool (sbe_expression_bm executable created by SERVER-69798). I looked at several of them and the proximal cause of the crashes is they trigger the assertion

      tassert(6979800, "Unexpected: EvalStage.stage is not null", evalStage.stageIsNull()); 

      This assertion is after the check for whether the expression is supported in SBE, so all of these are for expressions that SBE does support.

      In one case I tried commenting out the above assert and that led to a crash in SBE itself. Thus I have opened this ticket to debug this problem, and in the meantime I have temporarily not registered any of the crashing expressions with the SBE benchmarking tool in SERVER-59123 so it can be delivered without waiting for the fix to the SBE problem.

            Assignee:
            ivan.fefer@mongodb.com Ivan Fefer
            Reporter:
            kevin.cherkauer@mongodb.com Kevin Cherkauer
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: