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

Assertion `trn->locked_tables == 0 && trn->used_instances == 0' failed in trnman_end_trn

    XMLWordPrintable

Details

    • Bug
    • Status: Confirmed (View Workflow)
    • Major
    • Resolution: Unresolved
    • 10.6, 10.5(EOL), 10.7(EOL), 10.8(EOL), 10.9(EOL), 10.10(EOL)
    • 10.6
    • Storage Engine - Aria
    • None

    Description

      10.5 55c7536a0268f65d8ffcdb93

       [ERROR] mysqld got signal 11 ;
      Server version: 10.5.5-MariaDB-log
       
      maria/ma_trnman.h:72(_ma_reset_trn_for_table)[0x5593bc4ad073]
      maria/ha_maria.cc:3458(maria_commit(handlerton*, THD*, bool))[0x5593bc3018ee]
      sql/handler.cc:1936(commit_one_phase_2(THD*, bool, THD_TRANS*, bool))[0x5593bc30f0dd]
      sql/handler.cc:1716(ha_commit_trans(THD*, bool))[0x5593bc2139e3]
      sql/transaction.cc:472(trans_commit_stmt(THD*))[0x5593bc1210fb]
      sql/sql_class.h:4038(mysql_execute_command(THD*))[0x5593bc114092]
      sql/sql_parse.cc:8010(mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool))[0x5593bc11ebf7]
      sql/sql_parse.cc:1869(dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool))[0x5593bc11fb4d]
      sql/sql_parse.cc:1347(do_command(THD*))[0x5593bc2058f0]
      sql/sql_connect.cc:1411(do_handle_one_connection(CONNECT*, bool))[0x5593bc205cbd]
      sql/sql_connect.cc:1313(handle_one_connection)[0x5593bc52f2db]
      nptl/pthread_create.c:487(start_thread)[0x7f5f4b854fa3]
      /lib/x86_64-linux-gnu/libc.so.6(clone+0x3f)[0x7f5f4ae5d4cf]
      

      mysqld: /10.5/storage/maria/trnman.c:416: trnman_end_trn: Assertion `trn->locked_tables == 0 && trn->used_instances == 0' failed.
       [ERROR] mysqld got signal 6 ;
       
      Server version: 10.5.5-MariaDB-debug-log
      linux/raise.c:51(__GI_raise)[0x7f887c7ef535]
      stdlib/abort.c:81(__GI_abort)[0x7f887c7ef40f]
      intl/loadmsgcat.c:1177(_nl_load_domain)[0x7f887c7fd102]
      maria/trnman.c:417(trnman_end_trn)[0x5581adba6406]
      maria/ha_maria.cc:2864(ha_maria::external_lock(THD*, int))[0x5581ad5609b7]
      sql/handler.cc:6656(handler::ha_external_lock(THD*, int))[0x5581ad00d36e]
      sql/handler.h:3408(handler::ha_external_unlock(THD*))[0x5581ad85391a]
      sql/lock.cc:727(unlock_external(THD*, TABLE**, unsigned int))[0x5581ad85113d]
      sql/lock.cc:432(mysql_unlock_tables(THD*, st_mysql_lock*, bool))[0x5581ad850f83]
      sql/lock.cc:418(mysql_unlock_tables(THD*, st_mysql_lock*))[0x5581acc5ba87]
      sql/sql_class.cc:5783(THD::commit_whole_transaction_and_close_tables())[0x5581ad9822ae]
      sql/sp.cc:776(Sp_handler::db_find_routine(THD*, Database_qualified_name const*, sp_head**) const)[0x5581ad982451]
      sql/sp.cc:787(Sp_handler::db_find_and_cache_routine(THD*, Database_qualified_name const*, sp_head**) const)[0x5581ad9910b4]
      sql/sp.cc:2833(Sp_handler::sp_cache_routine(THD*, Database_qualified_name const*, bool, sp_head**) const)[0x5581ad990c69]
      sql/sp.cc:2786(Sroutine_hash_entry::sp_cache_routine(THD*, bool, sp_head**) const)[0x5581acbd7284]
      sql/sql_base.cc:3404(open_and_process_routine(THD*, Query_tables_list*, Sroutine_hash_entry*, Prelocking_strategy*, bool, Open_table_context*, bool*, bool*))[0x5581acbdc202]
      sql/sql_base.cc:4328(open_tables(THD*, DDL_options_st const&, TABLE_LIST**, unsigned int*, unsigned int, Prelocking_strategy*))[0x5581acbb281e]
      sql/sql_base.h:477(open_tables(THD*, TABLE_LIST**, unsigned int*, unsigned int))[0x5581ad04e615]
      sql/sql_update.cc:401(mysql_update(THD*, TABLE_LIST*, List<Item>&, List<Item>&, Item*, unsigned int, st_order*, unsigned long long, bool, unsigned long long*, unsigned long long*))[0x5581acd69871]
      sql/sql_parse.cc:4393(mysql_execute_command(THD*))[0x5581acd826c6]
      sql/sql_parse.cc:7993(mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool))[0x5581acd595df]
      sql/sql_parse.cc:1869(dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool))[0x5581acd55ef7]
      sql/sql_parse.cc:1347(do_command(THD*))[0x5581ad17a67d]
      sql/sql_connect.cc:1411(do_handle_one_connection(CONNECT*, bool))[0x5581ad179fda]
      sql/sql_connect.cc:1315(handle_one_connection)[0x5581ade30f0a]
      nptl/pthread_create.c:487(start_thread)[0x7f887d2bffa3]
      /lib/x86_64-linux-gnu/libc.so.6(clone+0x3f)[0x7f887c8c64cf]
       
      Query (0x62b0001a42a8): UPDATE `view_table10_aria_int_autoinc` SET `col_int_key` = RAND() WHERE `col_int_key` = NULL ORDER BY RAND ()
      

      Attachments

        Activity

          People

            monty Michael Widenius
            alice Alice Sherepa
            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.