Uploaded image for project: 'Percona Server'
  1. Percona Server
  2. PS-3959

Installing QRT plugins causes server crash

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.7.21-21
    • Component/s: None
    • Labels:
      None

      Description

      mysql> INSTALL PLUGIN QUERY_RESPONSE_TIME_AUDIT SONAME 'query_response_time.so';
      Query OK, 0 rows affected (0.01 sec)
      
      mysql> INSTALL PLUGIN QUERY_RESPONSE_TIME SONAME 'query_response_time.so';
      ERROR 2006 (HY000): MySQL server has gone away
      No connection. Trying to reconnect...
      ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111)
      ERROR:
      Can't connect to the server
      

      reproduced on trusty with:

      Server version: 5.7.21-21 Percona Server (GPL), Release '21', Revision '24448dc'
      

      error log:

      Version: '5.7.21-21'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306  Percona Server (GPL), Release '21', Revision '24448dc'
      17:12:33 UTC - 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.
      Attempting to collect some information that could help diagnose the problem.
      As this is a crash and something is definitely wrong, the information
      collection process might fail.
      Please help us make Percona Server better by reporting any
      bugs at http://bugs.percona.com/
      
      key_buffer_size=8388608
      read_buffer_size=131072
      max_used_connections=1
      max_threads=152
      thread_count=1
      connection_count=1
      It is possible that mysqld could use up to
      key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 68324 K  bytes of memory
      Hope that's ok; if not, decrease some variables in the equation.
      
      Thread pointer: 0x7f6f76986000
      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 = 7f6f8b77fe00 thread_stack 0x40000
      /usr/sbin/mysqld(my_print_stacktrace+0x2c)[0xec6e0c]
      /usr/sbin/mysqld(handle_fatal_signal+0x461)[0x79bdc1]
      /lib/x86_64-linux-gnu/libpthread.so.0(+0x10330)[0x7f6f89cf0330]
      
      Trying to get some variables.
      Some pointers may be invalid and cause the dump to abort.
      Query (7f6f76999030): INSTALL PLUGIN QUERY_RESPONSE_TIME_AUDIT SONAME 'query_response_time.so'
      Connection ID (thread ID): 11
      Status: NOT_KILLED
      

        Smart Checklist

          Attachments

            Activity

              People

              • Assignee:
                yura.sorokin Yura Sorokin
                Reporter:
                hrvoje.matijakovic Hrvoje Matijakovic
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 days, 16 minutes
                  2d 16m