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

Assertion failure mysqld: bool trans_commit_stmt(THD*): Assertion `thd->in_active_multi_stmt_transaction() || thd->m_transaction_psi == __null' failed.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.5
    • Fix Version/s: 10.5.2
    • Component/s: Galera
    • Labels:
      None

      Description

      How to repeat: ./mtr --suite=galera_sr

      mysqld: /home/jan/mysql/10.5/sql/transaction.cc:490: bool trans_commit_stmt(THD*): Assertion `thd->in_active_multi_stmt_transaction() || thd->m_transaction_psi == __null' failed.
      200318 16:26:09 [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.5.2-MariaDB-debug-log
      key_buffer_size=1048576
      read_buffer_size=131072
      max_used_connections=2
      max_threads=153
      thread_count=6
      It is possible that mysqld could use up to
      key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 63698 K  bytes of memory
      Hope that's ok; if not, decrease some variables in the equation.
      Thread pointer: 0x7f3984000db8
      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 = 0x7f39e1932e18 thread_stack 0x49000
      /home/jan/mysql/10.5/sql/mysqld(my_print_stacktrace+0x44)[0x56447f73e14b]
      /home/jan/mysql/10.5/sql/mysqld(handle_fatal_signal+0x3b9)[0x56447edd1cc9]
      /lib/x86_64-linux-gnu/libpthread.so.0(+0x15540)[0x7f3a00a35540]
      /lib/x86_64-linux-gnu/libc.so.6(gsignal+0xcb)[0x7f3a005183eb]
      /lib/x86_64-linux-gnu/libc.so.6(abort+0x12b)[0x7f3a004f7899]
      /lib/x86_64-linux-gnu/libc.so.6(+0x25769)[0x7f3a004f7769]
      /lib/x86_64-linux-gnu/libc.so.6(+0x37006)[0x7f3a00509006]
      /home/jan/mysql/10.5/sql/mysqld(_Z17trans_commit_stmtP3THD+0x4fa)[0x56447ec37bad]
      /home/jan/mysql/10.5/sql/mysqld(+0x1045c25)[0x56447f213c25]
      /home/jan/mysql/10.5/sql/mysqld(_ZN12Wsrep_schema16remove_fragmentsEP3THDRKN5wsrep2idENS2_14transaction_idERKSt6vectorINS2_5seqnoESaIS8_EE+0x2a3)[0x56447f217293]
      /home/jan/mysql/10.5/sql/mysqld(_ZN20Wsrep_client_service16remove_fragmentsEv+0x9d)[0x56447f1ebe1f]
      /home/jan/mysql/10.5/sql/mysqld(_ZN5wsrep11transaction14before_prepareERNS_11unique_lockINS_5mutexEEE+0x208)[0x56447f7e3d92]
      /home/jan/mysql/10.5/sql/mysqld(_ZN5wsrep12client_state14before_prepareEv+0xa8)[0x56447edef7e8]
      /home/jan/mysql/10.5/sql/mysqld(+0xc05789)[0x56447edd3789]
      /home/jan/mysql/10.5/sql/mysqld(+0xc08865)[0x56447edd6865]
      /home/jan/mysql/10.5/sql/mysqld(_Z15ha_commit_transP3THDb+0xb6b)[0x56447edd775d]
      

        Attachments

          Activity

            People

            Assignee:
            jplindst Jan Lindström
            Reporter:
            jplindst Jan Lindström
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: