Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-39854

[11.7.2] Server crash (0xc0000005) in sp_pcontext::retrieve_field_definitions during stored procedure execution with cursor + exception handler

    XMLWordPrintable

Details

    • Bug
    • Status: Needs Feedback (View Workflow)
    • Major
    • Resolution: Unresolved
    • 11.7.2
    • None
    • Stored routines
    • None
    • OS Version: Windows Server 2025 Datacenter 24H2 Build 26100.3775
      Running on: AWS EC2 t3.xlarge

    Description

      Error log:
      260604 11:14:06 [ERROR] C:\Program Files\MariaDB 11.7\bin\mysqld.exe got exception 0xc0000005 ;
      Sorry, we probably made a mistake, and this is a bug.

      Your assistance in bug reporting will enable us to fix this for the next release.
      To report this bug, see https://mariadb.com/kb/en/reporting-bugs about how to report
      a bug on https://jira.mariadb.org/.

      Please include the information from the server start above, to the end of the
      information below.

      Server version: 11.7.2-MariaDB source revision: 80067a69feaeb5df30abb1bfaf7d4e713ccbf027

      The information page at https://mariadb.com/kb/en/how-to-produce-a-full-stack-trace-for-mariadbd/
      contains instructions to obtain a better version of the backtrace below.
      Following these instructions will help MariaDB developers provide a fix quicker.

      Attempting backtrace. Include this in the bug report.
      (note: Retrieving this information may fail)

      Thread pointer: 0x1b85989a438
      server.dll!sp_pcontext::retrieve_field_definitions()[sp_pcontext.cc:669]
      server.dll!sp_pcontext::retrieve_field_definitions()[sp_pcontext.cc:686]
      server.dll!sp_pcontext::retrieve_field_definitions()[sp_pcontext.cc:686]
      server.dll!sp_head::rcontext_create()[sp_head.cc:1675]
      server.dll!sp_head::execute_procedure()[sp_head.cc:2169]
      server.dll!do_execute_sp()[sql_parse.cc:3088]
      server.dll!Sql_cmd_call::execute()[sql_parse.cc:3308]
      server.dll!mysql_execute_command()[sql_parse.cc:5898]
      server.dll!mysql_parse()[sql_parse.cc:7919]
      server.dll!dispatch_command()[sql_parse.cc:1904]
      server.dll!do_command()[sql_parse.cc:1415]
      server.dll!tp_callback()[threadpool_common.cc:252]
      KERNEL32.DLL!BasepConstructSxsCreateProcessMessage()
      ntdll.dll!RtlAcquireSRWLockShared()
      ntdll.dll!RtlRbInsertNodeEx()
      KERNEL32.DLL!BaseThreadInitThunk()
      ntdll.dll!RtlUserThreadStart()

      Connection ID (thread ID): 11611
      Status: NOT_KILLED
      Query (0x1b859338130): CALL sp_qbo_purchase_order_upsert(271910, 'Open', '26-3087', '56090 is not in the system

      Attachments

        Activity

          People

            shipjain Shipra Jain
            Nowayforward Matthew Baker
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.