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

Galera stack smashing detected during SP commit

    XMLWordPrintable

Details

    Description

      2020-10-09  4:19:06 6973 [ERROR] WSREP: FSM: no such a transition REPLICATING -> COMMITTED
      201009  4:19:06 [ERROR] mysqld got signal 6 ;
      This could be because you hit a bug. It is also possible that this binary
      or one of the libraries it was linked against is corrupt, improperly built,
      or misconfigured. This error can also be caused by malfunctioning hardware.
       
      To report this bug, see https://mariadb.com/kb/en/reporting-bugs
       
      We will try our best to scrape up some info that will hopefully help
      diagnose the problem, but since we have already crashed, 
      something is definitely wrong and this may fail.
       
      Server version: 10.4.14-MariaDB-log
      key_buffer_size=33554432
      read_buffer_size=2097152
      max_used_connections=273
      max_threads=10011
      thread_count=208
      It is possible that mysqld could use up to 
      key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 102792608 K  bytes of memory
      Hope that's ok; if not, decrease some variables in the equation.
       
      Thread pointer: 0x7f05ec0009a8
      Attempting backtrace. You can use the following information to find out
      where mysqld died. If you see no messages after this, something went
      terribly wrong...
      stack_bottom = 0x7f1c86330e40 thread_stack 0x49000
      *** stack smashing detected ***: /usr/local/mysql/bin/mysqld terminated
      ======= Backtrace: =========
      /lib64/libc.so.6(__fortify_fail+0x37)[0x7f1e605ff597]
      /lib64/libc.so.6(+0x118552)[0x7f1e605ff552]
      /usr/local/mysql/bin/mysqld(+0xf418c2)[0x55769d40e8c2]
      /usr/local/mysql/bin/mysqld(my_print_stacktrace+0x1c2)[0x55769d3f6d92]
      /usr/local/mysql/bin/mysqld(handle_fatal_signal+0x30f)[0x55769ce0772f]
      /lib64/libpthread.so.0(+0xf600)[0x7f1e6178f600]
      /lib64/libc.so.6(gsignal+0x37)[0x7f1e6051d3a7]
      /lib64/libc.so.6(abort+0x148)[0x7f1e6051ea98]
      /usr/local/mysql/lib/galera-4/libgalera_smm.so(+0x1bb82e)[0x7f1dae93a82e]
      /usr/local/mysql/lib/galera-4/libgalera_smm.so(+0x1acee7)[0x7f1dae92bee7]
      /usr/local/mysql/lib/galera-4/libgalera_smm.so(+0x1c9108)[0x7f1dae948108]
      /usr/local/mysql/bin/mysqld(_ZN5wsrep18wsrep_provider_v2618commit_order_leaveERKNS_9ws_handleERKNS_7ws_metaERKNS_14mutable_bufferE+0x91)[0x55769d4b1a51]
      /usr/local/mysql/bin/mysqld(_ZN5wsrep11transaction14ordered_commitEv+0x77)[0x55769d4a77f7]
      /usr/local/mysql/bin/mysqld(_ZN13MYSQL_BIN_LOG34write_transaction_to_binlog_eventsEPNS_18group_commit_entryE+0xd8)[0x55769cef6818]
      /usr/local/mysql/bin/mysqld(_ZN13MYSQL_BIN_LOG27write_transaction_to_binlogEP3THDP17binlog_cache_mngrP9Log_eventbbb+0xd0)[0x55769cef6e00]
      /usr/local/mysql/bin/mysqld(+0xa29fad)[0x55769cef6fad]
      /usr/local/mysql/bin/mysqld(+0xa2a2ce)[0x55769cef72ce]
      /usr/local/mysql/bin/mysqld(+0xa2a5a9)[0x55769cef75a9]
      /usr/local/mysql/bin/mysqld(_Z17ha_rollback_transP3THDb+0xfb)[0x55769ce0a71b]
      /usr/local/mysql/bin/mysqld(_Z15ha_commit_transP3THDb+0x9b4)[0x55769ce15ed4]
      /usr/local/mysql/bin/mysqld(_Z17trans_commit_stmtP3THD+0x3f)[0x55769ccf475f]
      /usr/local/mysql/bin/mysqld(_Z21mysql_execute_commandP3THD+0xfb2)[0x55769cbface2]
      /usr/local/mysql/bin/mysqld(_ZN13sp_instr_stmt9exec_coreEP3THDPj+0x15)[0x55769cb5f8e5]
      /usr/local/mysql/bin/mysqld(_ZN13sp_lex_keeper23reset_lex_and_exec_coreEP3THDPjbP8sp_instr+0x119)[0x55769cb67c79]
      /usr/local/mysql/bin/mysqld(_ZN13sp_instr_stmt7executeEP3THDPj+0x64c)[0x55769cb6871c]
      /usr/local/mysql/bin/mysqld(_ZN7sp_head7executeEP3THDb+0x9c7)[0x55769cb636f7]
      /usr/local/mysql/bin/mysqld(_ZN7sp_head17execute_procedureEP3THDP4ListI4ItemE+0x779)[0x55769cb64bf9]
      /usr/local/mysql/bin/mysqld(+0x724f4a)[0x55769cbf1f4a]
      /usr/local/mysql/bin/mysqld(+0x726876)[0x55769cbf3876]
      /usr/local/mysql/bin/mysqld(_ZN12Sql_cmd_call7executeEP3THD+0x90)[0x55769cbf40b0]
      /usr/local/mysql/bin/mysqld(_Z21mysql_execute_commandP3THD+0x2860)[0x55769cbfc590]
      /usr/local/mysql/bin/mysqld(_ZN13sp_instr_stmt9exec_coreEP3THDPj+0x15)[0x55769cb5f8e5]
      /usr/local/mysql/bin/mysqld(_ZN13sp_lex_keeper23reset_lex_and_exec_coreEP3THDPjbP8sp_instr+0x119)[0x55769cb67c79]
      /usr/local/mysql/bin/mysqld(_ZN13sp_instr_stmt7executeEP3THDPj+0x64c)[0x55769cb6871c]
      /usr/local/mysql/bin/mysqld(_ZN7sp_head7executeEP3THDb+0x9c7)[0x55769cb636f7]
      /usr/local/mysql/bin/mysqld(_ZN7sp_head17execute_procedureEP3THDP4ListI4ItemE+0x779)[0x55769cb64bf9]
      /usr/local/mysql/bin/mysqld(+0x724f4a)[0x55769cbf1f4a]
      /usr/local/mysql/bin/mysqld(+0x726876)[0x55769cbf3876]
      /usr/local/mysql/bin/mysqld(_ZN12Sql_cmd_call7executeEP3THD+0x90)[0x55769cbf40b0]
      /usr/local/mysql/bin/mysqld(_Z21mysql_execute_commandP3THD+0x2860)[0x55769cbfc590]
      /usr/local/mysql/bin/mysqld(_ZN13sp_instr_stmt9exec_coreEP3THDPj+0x15)[0x55769cb5f8e5]
      /usr/local/mysql/bin/mysqld(_ZN13sp_lex_keeper23reset_lex_and_exec_coreEP3THDPjbP8sp_instr+0x119)[0x55769cb67c79]
      /usr/local/mysql/bin/mysqld(_ZN13sp_instr_stmt7executeEP3THDPj+0x64c)[0x55769cb6871c]
      /usr/local/mysql/bin/mysqld(_ZN7sp_head7executeEP3THDb+0x9c7)[0x55769cb636f7]
      /usr/local/mysql/bin/mysqld(_ZN7sp_head17execute_procedureEP3THDP4ListI4ItemE+0x779)[0x55769cb64bf9]
      /usr/local/mysql/bin/mysqld(+0x724f4a)[0x55769cbf1f4a]
      /usr/local/mysql/bin/mysqld(+0x726876)[0x55769cbf3876]
      /usr/local/mysql/bin/mysqld(_ZN12Sql_cmd_call7executeEP3THD+0x90)[0x55769cbf40b0]
      /usr/local/mysql/bin/mysqld(_Z21mysql_execute_commandP3THD+0x2860)[0x55769cbfc590]
      /usr/local/mysql/bin/mysqld(_ZN18Prepared_statement7executeEP6Stringb+0x545)[0x55769cc15975]
      /usr/local/mysql/bin/mysqld(_ZN18Prepared_statement12execute_loopEP6StringbPhS2_+0x92)[0x55769cc15a82]
      /usr/local/mysql/bin/mysqld(+0x7493c7)[0x55769cc163c7]
      /usr/local/mysql/bin/mysqld(_Z19mysqld_stmt_executeP3THDPcj+0x27)[0x55769cc16457]
      /usr/local/mysql/bin/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcjbb+0x17f1)[0x55769cc050e1]
      /usr/local/mysql/bin/mysqld(_Z10do_commandP3THD+0x109)[0x55769cc06e89]
      /usr/local/mysql/bin/mysqld(_Z24do_handle_one_connectionP7CONNECT+0x1fa)[0x55769cce5f9a]
      /usr/local/mysql/bin/mysqld(handle_one_connection+0x3d)[0x55769cce607d]
      /usr/local/mysql/bin/mysqld(+0xe53bdd)[0x55769d320bdd]
      /lib64/libpthread.so.0(+0x7e75)[0x7f1e61787e75]
      

      Attachments

        Issue Links

          Activity

            People

              seppo Seppo Jaakola
              jplindst Jan Lindström (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

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