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

thd_get_error_context_description race condition

    Details

      Description

      A Galera Cluster node crashed with the stack trace below

      170118 10:01:53 [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.0.28-MariaDB-1~trusty-wsrep
      key_buffer_size=33554432
      read_buffer_size=4194304
      max_used_connections=2
      max_threads=2085
      thread_count=3
      It is possible that mysqld could use up to
      key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 17155321 K  bytes of memory
      Hope that's ok; if not, decrease some variables in the equation.
       
      Thread pointer: 0x0x7f55bc8cb008
      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 = 0x7f63055eadc0 thread_stack 0x48000
      /usr/sbin/mysqld(my_print_stacktrace+0x2e)[0x7f63061cd67e]
      /usr/sbin/mysqld(handle_fatal_signal+0x433)[0x7f6305cf5853]
      /lib/x86_64-linux-gnu/libpthread.so.0(+0x10330)[0x7f6304493330]
      /lib/x86_64-linux-gnu/libc.so.6(+0x97ee0)[0x7f6303b4bee0]
      /usr/sbin/mysqld(_ZN6String6appendEPKcj+0xb8)[0x7f6305be8708]
      /usr/sbin/mysqld(thd_get_error_context_description+0x28e)[0x7f6305b2ccbe]
      /usr/sbin/mysqld(+0x80e5c4)[0x7f6305f675c4]
      /usr/sbin/mysqld(+0x846b41)[0x7f6305f9fb41]
      /usr/sbin/mysqld(+0x8dfcde)[0x7f6306038cde]
      /usr/sbin/mysqld(+0x8077b9)[0x7f6305f607b9]
      /usr/sbin/mysqld(_Z14ha_show_statusP3THDP10handlerton12ha_stat_type+0x3e5)[0x7f6305cffd95]
      /usr/sbin/mysqld(_Z21mysql_execute_commandP3THD+0x1e35)[0x7f6305b65fa5]
      /usr/sbin/mysqld(+0x41606b)[0x7f6305b6f06b]
      /usr/sbin/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcj+0x1fcd)[0x7f6305b7167d]
      /usr/sbin/mysqld(_Z10do_commandP3THD+0x2fd)[0x7f6305b7244d]
      /usr/sbin/mysqld(_Z24do_handle_one_connectionP3THD+0x34b)[0x7f6305c4307b]
      /usr/sbin/mysqld(handle_one_connection+0x40)[0x7f6305c43160]
      /usr/sbin/mysqld(+0x74bd4d)[0x7f6305ea4d4d]
      /lib/x86_64-linux-gnu/libpthread.so.0(+0x8184)[0x7f630448b184]
      /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x7f6303bae37d]
       
      Trying to get some variables.
      Some pointers may be invalid and cause the dump to abort.
      Query (0x7f55c08cb020): is an invalid pointer
      Connection ID (thread ID): 417
      Status: NOT_KILLED
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                serg Sergei Golubchik
                Reporter:
                tbanza TYNDALE BANZA
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: