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

Crash during transaction rollback with thread_handling=pool-of-threads

    XMLWordPrintable

Details

    Description

      A user saw the following crash:

      170913 12:01:14 [ERROR] mysqld got signal 11 ;
      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.2.7-MariaDB-log
      key_buffer_size=134217728
      read_buffer_size=131072
      max_used_connections=2001
      max_threads=65537
      thread_count=35
      It is possible that mysqld could use up to 
      key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 142781808 K  bytes of memory
      Hope that's ok; if not, decrease some variables in the equation.
       
      Thread pointer: 0x7fb07462daf8
      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 = 0x7fb1e3e8cd80 thread_stack 0x49000
      (my_addr_resolve failure: fork)
      /mysql/apps/mariadb/home/bin/mysqld(my_print_stacktrace+0x2e) [0xddc02e]
      /mysql/apps/mariadb/home/bin/mysqld(handle_fatal_signal+0x444) [0x7d5984]
      /lib64/libpthread.so.0(+0xf370) [0x7fbb6ce29370]
      /lib64/libc.so.6(+0x150131) [0x7fbb6bd59131]
      /mysql/apps/mariadb/home/bin/mysqld() [0xb81544]
      /mysql/apps/mariadb/home/bin/mysqld() [0xb38093]
      /mysql/apps/mariadb/home/bin/mysqld() [0xacb166]
      /mysql/apps/mariadb/home/bin/mysqld() [0xb7ffa8]
      /mysql/apps/mariadb/home/bin/mysqld() [0xb831a0]
      /mysql/apps/mariadb/home/bin/mysqld() [0xb83757]
      /mysql/apps/mariadb/home/bin/mysqld() [0xa263ff]
      /mysql/apps/mariadb/home/bin/mysqld(ha_rollback_trans(THD*, bool)+0xf7) [0x7d9087]
      /mysql/apps/mariadb/home/bin/mysqld(trans_rollback(THD*)+0x53) [0x6e6b03]
      /mysql/apps/mariadb/home/bin/mysqld(THD::cleanup()+0x60) [0x5ad3a0]
      /mysql/apps/mariadb/home/bin/mysqld(unlink_thd(THD*)+0xa8) [0x54d978]
      /mysql/apps/mariadb/home/bin/mysqld() [0x72c41f]
      /mysql/apps/mariadb/home/bin/mysqld(tp_callback(TP_connection*)+0x13a) [0x72c6aa]
      /mysql/apps/mariadb/home/bin/mysqld() [0x7a4f95]
      /mysql/apps/mariadb/home/bin/mysqld() [0x9f82c9]
      /lib64/libpthread.so.0(+0x7dc5) [0x7fbb6ce21dc5]
      /lib64/libc.so.6(clone+0x6d) [0x7fbb6bd0073d]
       
      Trying to get some variables.
      Some pointers may be invalid and cause the dump to abort.
      Query (0x0): 
      Connection ID (thread ID): 22848691
      Status: KILL_CONNECTION
      

      Based on the stack trace, the crash occurred while the server was rolling back a transaction, and it may involve the thread pool.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              GeoffMontee Geoff Montee (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.