Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-12209

Segfault detected in MongoDB 5.0.23 on shutdown in __wt_session_release_dhandle

    • Type: Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: DHandles
    • Storage Engines
    • 2
    • Megabat - 2024-05-14

      Stack trace:

      {
        "backtrace": [
          {
            "a": "AAAABEB6EBBC",
            "b": "AAAABB150000",
            "o": "3A1EBBC",
            "s": "_ZN5mongo18stack_trace_detail12_GLOBAL__N_117getStackTraceImplERKNS1_7OptionsE.constprop.133",
            "s+": "1CC"
          },
          {
            "a": "AAAABEB712E0",
            "b": "AAAABB150000",
            "o": "3A212E0",
            "s": "_ZN5mongo15printStackTraceEv",
            "s+": "48"
          },
          {
            "a": "AAAABEB699B4",
            "b": "AAAABB150000",
            "o": "3A199B4",
            "s": "abruptQuitWithAddrSignal",
            "s+": "F4"
          },
          {
            "a": "AAAABE212BD8",
            "b": "AAAABB150000",
            "o": "30C2BD8",
            "s": "_ZL16WasmFaultHandleriP9siginfo_tPv",
            "s+": "128"
          },
          {
            "a": "FFFF97524860",
            "b": "FFFF97524000",
            "o": "860",
            "s": "__kernel_rt_sigreturn",
            "s+": "0"
          },
          {
            "a": "AAAABCCEDC90",
            "b": "AAAABB150000",
            "o": "1B9DC90",
            "s": "__wt_session_release_dhandle",
            "s+": "30"
          },
          {
            "a": "AAAABCC87648",
            "b": "AAAABB150000",
            "o": "1B37648",
            "s": "__curfile_close",
            "s+": "320"
          },
          {
            "a": "AAAABCCDE268",
            "b": "AAAABB150000",
            "o": "1B8E268",
            "s": "__session_close_cursors.isra.5",
            "s+": "88"
          },
          {
            "a": "AAAABCCE8FC8",
            "b": "AAAABB150000",
            "o": "1B98FC8",
            "s": "__wt_session_close_internal",
            "s+": "58"
          },
          {
            "a": "AAAABCC69920",
            "b": "AAAABB150000",
            "o": "1B19920",
            "s": "__conn_close",
            "s+": "1E8"
          },
          {
            "a": "AAAABCC25548",
            "b": "AAAABB150000",
            "o": "1AD5548",
            "s": "_ZN5mongo18WiredTigerKVEngine13cleanShutdownEv",
            "s+": "900"
          },
          {
            "a": "AAAABD179338",
            "b": "AAAABB150000",
            "o": "2029338",
            "s": "_ZN5mongo17StorageEngineImpl13cleanShutdownEv",
            "s+": "D8"
          },
          {
            "a": "AAAABC0D09E8",
            "b": "AAAABB150000",
            "o": "F809E8",
            "s": "_ZN5mongo34shutdownGlobalStorageEngineCleanlyEPNS_14ServiceContextE",
            "s+": "94"
          },
          {
            "a": "AAAABC2DDF34",
            "b": "AAAABB150000",
            "o": "118DF34",
            "s": "_ZN5mongo12_GLOBAL__N_112shutdownTaskERKNS_16ShutdownTaskArgsE",
            "s+": "1D3C"
          },
          {
            "a": "AAAABEB64E80",
            "b": "AAAABB150000",
            "o": "3A14E80",
            "s": "_ZN5mongo12_GLOBAL__N_18runTasksESt5stackINS_15unique_functionIFvRKNS_16ShutdownTaskArgsEEEESt5dequeIS7_SaIS7_EEES5_",
            "s+": "E8"
          },
          {
            "a": "AAAABC13CD08",
            "b": "AAAABB150000",
            "o": "FECD08",
            "s": "_ZN5mongo8shutdownENS_8ExitCodeERKNS_16ShutdownTaskArgsE",
            "s+": "404"
          },
          {
            "a": "AAAABCF1B7A0",
            "b": "AAAABB150000",
            "o": "1DCB7A0",
            "s": "_ZN5mongo15shutdown_detail14finishShutdownEbxNS_8DurationISt5ratioILl1ELl1000EEEE",
            "s+": "120"
          },
          {
            "a": "AAAABC669F84",
            "b": "AAAABB150000",
            "o": "1519F84",
            "s": "_ZN5mongo12TypedCommandINS_12_GLOBAL__N_117CmdShutdownMongoDEE14InvocationBase3runEPNS_16OperationContextEPNS_3rpc21ReplyBuilderInterfaceE",
            "s+": "EC"
          },
          {
            "a": "AAAABD9C84E4",
            "b": "AAAABB150000",
            "o": "28784E4",
            "s": "_ZN5mongo14CommandHelpers20runCommandInvocationEPNS_16OperationContextERKNS_12OpMsgRequestEPNS_17CommandInvocationEPNS_3rpc21ReplyBuilderInterfaceE",
            "s+": "9C"
          },
          {
            "a": "AAAABD9CDFE4",
            "b": "AAAABB150000",
            "o": "287DFE4",
            "s": "_ZN5mongo14CommandHelpers20runCommandInvocationESt10shared_ptrINS_23RequestExecutionContextEES1_INS_17CommandInvocationEENS_9transport15ServiceExecutor14ThreadingModelE",
            "s+": "1A4"
          },
          {
            "a": "AAAABC312DD0",
            "b": "AAAABB150000",
            "o": "11C2DD0",
            "s": "_ZN5mongo12_GLOBAL__N_120runCommandInvocationESt10shared_ptrINS_23RequestExecutionContextEES1_INS_17CommandInvocationEE",
            "s+": "78"
          },
          {
            "a": "AAAABC326720",
            "b": "AAAABB150000",
            "o": "11D6720",
            "s": "_ZN5mongo12_GLOBAL__N_114RunCommandImpl11_runCommandEv",
            "s+": "108"
          },
          {
            "a": "AAAABC3279B8",
            "b": "AAAABB150000",
            "o": "11D79B8",
            "s": "_ZN5mongo12_GLOBAL__N_114RunCommandImpl8_runImplEv",
            "s+": "A0"
          },
          {
            "a": "AAAABC317784",
            "b": "AAAABB150000",
            "o": "11C7784",
            "s": "_ZN5mongo12_GLOBAL__N_114RunCommandImpl3runEv",
            "s+": "13C"
          },
          {
            "a": "AAAABC319D7C",
            "b": "AAAABB150000",
            "o": "11C9D7C",
            "s": "_ZN5mongo12_GLOBAL__N_119ExecCommandDatabase12_commandExecEv",
            "s+": "2CC"
          },
          {
            "a": "AAAABC323298",
            "b": "AAAABB150000",
            "o": "11D3298",
            "s": "_ZZN5mongo12_GLOBAL__N_114executeCommandESt10shared_ptrINS0_13HandleRequest16ExecutionContextEEENUlvE0_clEv",
            "s+": "3C0"
          },
          {
            "a": "AAAABC3253BC",
            "b": "AAAABB150000",
            "o": "11D53BC",
            "s": "_ZZN5mongo15unique_functionIFvPNS_14future_details15SharedStateBaseEEE8makeImplIZNS1_10FutureImplINS1_8FakeVoidEE16makeContinuationIvZZNOS9_4thenIZNS_12_GLOBAL__N_114executeCommandESt10shared_ptrINSC_13HandleRequest16ExecutionContextEEEUlvE0_EEDaOT_ENKUlvE1_clEvEUlPNS1_15SharedStateImplIS8_EESN_E_EENS7_ISI_EEOT0_EUlS3_E_EEDaSJ_EN12SpecificImpl4callEOS3_",
            "s+": "8C"
          },
          {
            "a": "AAAABC2E2E58",
            "b": "AAAABB150000",
            "o": "1192E58",
            "s": "_ZN5mongo14future_details15SharedStateBase20transitionToFinishedEv",
            "s+": "148"
          },
          {
            "a": "AAAABC329920",
            "b": "AAAABB150000",
            "o": "11D9920",
            "s": "_ZN5mongo14future_details10FutureImplINS0_8FakeVoidEE11generalImplIZNOS3_17propagateResultToEPNS0_15SharedStateImplIS2_EEEUlOS2_E_ZNOS3_17propagateResultToES7_EUlONS_6StatusEE0_ZNOS3_17propagateResultToES7_EUlvE1_EEDaOT_OT0_OT1_",
            "s+": "160"
          },
          {
            "a": "AAAABC31C844",
            "b": "AAAABB150000",
            "o": "11CC844",
            "s": "_ZZN5mongo15unique_functionIFvPNS_14future_details15SharedStateBaseEEE8makeImplIZNS1_10FutureImplINS1_8FakeVoidEE16makeContinuationIvZZNOS9_4thenIZNS_12_GLOBAL__N_114executeCommandESt10shared_ptrINSC_13HandleRequest16ExecutionContextEEEUlvE_EEDaOT_ENKUlvE1_clEvEUlPNS1_15SharedStateImplIS8_EESN_E_EENS7_ISI_EEOT0_EUlS3_E_EEDaSJ_EN12SpecificImpl4callEOS3_",
            "s+": "AC"
          },
          {
            "a": "AAAABC2E2E58",
            "b": "AAAABB150000",
            "o": "1192E58",
            "s": "_ZN5mongo14future_details15SharedStateBase20transitionToFinishedEv",
            "s+": "148"
          },
          {
            "a": "AAAABC323F08",
            "b": "AAAABB150000",
            "o": "11D3F08",
            "s": "_ZN5mongo12_GLOBAL__N_114executeCommandESt10shared_ptrINS0_13HandleRequest16ExecutionContextEE",
            "s+": "308"
          },
          {
            "a": "AAAABC324690",
            "b": "AAAABB150000",
            "o": "11D4690",
            "s": "_ZN5mongo12_GLOBAL__N_116receivedCommandsESt10shared_ptrINS0_13HandleRequest16ExecutionContextEE",
            "s+": "178"
          },
          {
            "a": "AAAABC3252DC",
            "b": "AAAABB150000",
            "o": "11D52DC",
            "s": "_ZN5mongo12_GLOBAL__N_115CommandOpRunner3runEv",
            "s+": "3C"
          },
          {
            "a": "AAAABC31F200",
            "b": "AAAABB150000",
            "o": "11CF200",
            "s": "_ZN5mongo23ServiceEntryPointCommon13handleRequestEPNS_16OperationContextERKNS_7MessageESt10unique_ptrIKNS0_5HooksESt14default_deleteIS8_EE",
            "s+": "228"
          },
          {
            "a": "AAAABC30E7E0",
            "b": "AAAABB150000",
            "o": "11BE7E0",
            "s": "_ZN5mongo23ServiceEntryPointMongod13handleRequestEPNS_16OperationContextERKNS_7MessageE",
            "s+": "60"
          },
          {
            "a": "AAAABC3626D8",
            "b": "AAAABB150000",
            "o": "12126D8",
            "s": "_ZN5mongo9transport19ServiceStateMachine4Impl14processMessageEv",
            "s+": "128"
          },
          {
            "a": "AAAABC362A18",
            "b": "AAAABB150000",
            "o": "1212A18",
            "s": "_ZZNO5mongo14future_details10FutureImplINS0_8FakeVoidEE4thenIZNS_9transport19ServiceStateMachine4Impl12startNewLoopERKNS_6StatusEEUlvE0_EEDaOT_ENKUlOS2_E_clESE_.isra.714",
            "s+": "30"
          },
          {
            "a": "AAAABC365C98",
            "b": "AAAABB150000",
            "o": "1215C98",
            "s": "_ZN5mongo9transport19ServiceStateMachine4Impl12startNewLoopERKNS_6StatusE",
            "s+": "1B8"
          },
          {
            "a": "AAAABC366198",
            "b": "AAAABB150000",
            "o": "1216198",
            "s": "_ZZN5mongo15unique_functionIFvNS_6StatusEEE8makeImplIZNS_9transport19ServiceStateMachine4Impl15scheduleNewLoopES1_EUlS1_E_EEDaOT_EN12SpecificImpl4callEOS1_",
            "s+": "88"
          },
          {
            "a": "AAAABE39ECEC",
            "b": "AAAABB150000",
            "o": "324ECEC",
            "s": "_ZZN5mongo15unique_functionIFvNS_6StatusEEE8makeImplIZNS_9transport26ServiceExecutorSynchronous18runOnDataAvailableERKSt10shared_ptrINS5_7SessionEES3_EUlS1_E_EEDaOT_EN12SpecificImpl4callEOS1_",
            "s+": "44"
          },
          {
            "a": "AAAABC898734",
            "b": "AAAABB150000",
            "o": "1748734",
            "s": "_ZZN5mongo15unique_functionIFvvEE8makeImplIZNS_9transport15ServiceExecutor8scheduleENS0_IFvNS_6StatusEEEEEUlvE_EEDaOT_EN12SpecificImpl4callEv",
            "s+": "3C"
          },
          {
            "a": "AAAABE39EF08",
            "b": "AAAABB150000",
            "o": "324EF08",
            "s": "_ZZN5mongo15unique_functionIFvvEE8makeImplIZNS_9transport26ServiceExecutorSynchronous12scheduleTaskES2_NS4_15ServiceExecutor13ScheduleFlagsEEUlvE0_EEDaOT_EN12SpecificImpl4callEv",
            "s+": "B0"
          },
          {
            "a": "AAAABE3A2A58",
            "b": "AAAABB150000",
            "o": "3252A58",
            "s": "_ZZN5mongo15unique_functionIFvvEE8makeImplIZNS_25launchServiceWorkerThreadES2_EUlvE2_EEDaOT_EN12SpecificImpl4callEv",
            "s+": "60"
          },
          {
            "a": "AAAABE3A2B0C",
            "b": "AAAABB150000",
            "o": "3252B0C",
            "s": "_ZN5mongo12_GLOBAL__N_17runFuncEPv",
            "s+": "24"
          },
          {
            "a": "FFFF968DB230",
            "b": "FFFF968D4000",
            "o": "7230",
            "s": "start_thread",
            "s+": "B0"
          },
          {
            "a": "FFFF968297DC",
            "b": "FFFF9674E000",
            "o": "DB7DC",
            "s": "thread_start",
            "s+": "C"
          }
        ],
        "processInfo": {
          "mongodbVersion": "5.0.23",
          "gitVersion": "3367195a14d0ba2734d2ba2719294fb974ad0834",
          "compiledModules": [
            "enterprise"
          ],
          "uname": {
            "sysname": "Linux",
            "release": "5.10.199-190.747.amzn2.aarch64",
            "version": "#1 SMP Sat Nov 4 16:54:54 UTC 2023",
            "machine": "aarch64"
          },
          "somap": [
            {
              "b": "AAAABB150000",
              "elfType": 3,
              "buildId": "949DB052FAC69F1A3B0D70FE54BFF9BEE497401D"
            },
            {
              "b": "FFFF97524000",
              "path": "linux-vdso.so.1",
              "elfType": 3,
              "buildId": "356C073677C94B19524C10A4DF3A1158F820FD41"
            },
            {
              "b": "FFFF968D4000",
              "path": "/lib64/libpthread.so.0",
              "elfType": 3,
              "buildId": "635E47A0FDC7C1119AF7DAA8A199ED4E5A738518"
            },
            {
              "b": "FFFF9674E000",
              "path": "/lib64/libc.so.6",
              "elfType": 3,
              "buildId": "A2BB3A552E08590E0FA2AFF14F645C6B63A37AC0"
            }
          ]
        }
      }

            Assignee:
            will.korteland@mongodb.com Will Korteland
            Reporter:
            mick.graham@mongodb.com Mick Graham
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: