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

Investigate seg fault in v5.0 that passes in master

    • Type: Icon: Task Task
    • Resolution: Gone away
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Optimization
    • QO 2025-01-20

      Two queries with $redact are causing a segmentation fault in v5.0, but succeeding against master. This is one of the queries:

      :sortFull {
        aggregate: "fuzzer_coll",
        pipeline: [
          {
            "$match": {
              "any": {
                "$not": {
                  "$exists": false
                }
              }
            }
          },
          {
            "$sort": {
              "obj.bool": -1,
              "obj.obj.obj": -1,
              "geoLegacy": -1,
              "obj.str": 1,
              "_id": 1
            }
          },
          {
            "$redact": {
              "$cond": {
                "if": {
                  "$toBool": {
                    "$map": {
                      "input": "$obj.obj.array",
                      "in": {
                        "$mergeObjects": [
                          {
                            "obj": {
                              "str": "Credit Card Account"
                            },
                            "num": NumberLong("314159265358979373")
                          },
                          "$$ROOT",
                          {
                            "k": "Gold Investor",
                            "v": {
                              "$ifNull": [
                                NumberLong("314159265358979393"),
                                null
                              ]
                            }
                          },
                          {
                            "str": "SMS overriding Music"
                          },
                          {
                            "$unsetField": {
                              "field": "obj.obj.obj.obj.obj.any",
                              "input": {}
                            }
                          }
                        ]
                      }
                    }
                  }
                },
                "then": "$$DESCEND",
                "else": "$$KEEP"
              }
            }
          }
        ],
        cursor: {},
        maxTimeMS: 30000
      }
      

            Assignee:
            lynne.wang@mongodb.com Lynne Wang
            Reporter:
            lynne.wang@mongodb.com Lynne Wang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: