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

Assertion `! is_set()' failed in Diagnostics_area::set_eof_status after running ANALYZE SELECT with --cursor

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Minor
    • Resolution: Unresolved
    • 10.3, 10.4, 10.5, 10.6, 10.7, 10.8, 10.9
    • 10.4, 10.5, 10.6
    • None
    • None

    Description

      # please run as ./mtr --cursor-protocol
      analyze select 1;
      

      10.3 43c7f6a0f3d2d636fea0decf

      Version: '10.3.36-MariaDB-debug-log'  
      mysqld: /10.3/src/sql/sql_error.cc:375: void Diagnostics_area::set_eof_status(THD*): Assertion `! is_set()' failed.
      220805 19:43:21 [ERROR] mysqld got signal 6 ;
       
      Server version: 10.3.36-MariaDB-debug-log
       
      mysys/stacktrace.c:174(my_print_stacktrace)[0x55a12113bf38]
      sql/signal_handler.cc:231(handle_fatal_signal)[0x55a11fd97afc]
      sql/sql_error.cc:380(Diagnostics_area::set_eof_status(THD*))[0x55a11f562c31]
      sql/sql_class.h:4964(my_eof(THD*))[0x55a11f38f5b0]
      sql/sql_prepare.cc:3850(Select_fetch_protocol_binary::send_eof())[0x55a11f682e3a]
      sql/sql_cursor.cc:318(Materialized_cursor::open(JOIN*))[0x55a11f5478eb]
      sql/sql_cursor.cc:181(mysql_open_cursor(THD*, select_result*, Server_side_cursor**))[0x55a11f5464cf]
      sql/sql_prepare.cc:5007(Prepared_statement::execute(String*, bool))[0x55a11f68be51]
      sql/sql_prepare.cc:4455(Prepared_statement::execute_loop(String*, bool, unsigned char*, unsigned char*))[0x55a11f687181]
      sql/sql_prepare.cc:3437(mysql_stmt_execute_common(THD*, unsigned long, unsigned char*, unsigned char*, unsigned long, bool, bool))[0x55a11f6806fb]
      sql/sql_prepare.cc:3227(mysqld_stmt_execute(THD*, char*, unsigned int))[0x55a11f67f9a7]
      sql/sql_parse.cc:1796(dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool))[0x55a11f60fd77]
      sql/sql_parse.cc:1398(do_command(THD*))[0x55a11f60ce5a]
      sql/sql_connect.cc:1403(do_handle_one_connection(CONNECT*))[0x55a11f9e09d9]
      sql/sql_connect.cc:1309(handle_one_connection)[0x55a11f9e0293]
      perfschema/pfs.cc:1871(pfs_spawn_thread)[0x55a121011255]
      nptl/pthread_create.c:478(start_thread)[0x7f0ef48ab609]
       
      Query (0x62b000032a20): analyze select 1
      

      Attachments

        Activity

          People

            sanja Oleksandr Byelkin
            alice Alice Sherepa
            Votes:
            0 Vote for this issue
            Watchers:
            1 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.