Details

    • Type: Bug
    • Status: Done
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 5.7.24-31.33
    • Fix Version/s: 5.7.25-31.35
    • Component/s: None
    • Labels:
    • Environment:

      I have reproduced this on an Ubuntu 16.04, using the official Percona repositories.

      Description

      I have a Galera cluster setup, with the following versions of packages:

      # dpkg -l | grep percona
      ii  percona-toolkit                   3.0.13-1.xenial                            amd64        Advanced MySQL and system command-line tools
      ii  percona-xtrabackup-24             2.4.12-1.xenial                            amd64        Open source backup tool for InnoDB and XtraDB
      ii  percona-xtradb-cluster-5.7-dbg    5.7.24-31.33-1.xenial                      amd64        Debugging package for Percona XtraDB Cluster
      ii  percona-xtradb-cluster-client-5.7 5.7.24-31.33-1.xenial                      amd64        Percona XtraDB Cluster database client binaries
      ii  percona-xtradb-cluster-common-5.7 5.7.24-31.33-1.xenial                      amd64        Percona XtraDB Cluster database common files (e.g. /etc/mysql/my.cnf)
      ii  percona-xtradb-cluster-galera-3.x 3.30-1.xenial                              amd64        Galera components of Percona XtraDB Cluster
      ii  percona-xtradb-cluster-server-5.7 5.7.24-31.33-1.xenial                      amd64        Percona XtraDB Cluster database server binaries
      

      And when i tried to make a backup i got this:

      # /usr/bin/mysqldump --defaults-file=/etc/mysql/my.cnf  --flush-privileges --hex-blob --opt  --single-transaction --skip-lock-tables --triggers --routines --events   --set-gtid-purged=OFF  --databases mysql  --ignore-table='mysql.innodb_index_stats'  --ignore-table='mysql.innodb_table_stats' > /tmp/backup.sql
      mysqldump: Couldn't execute 'START TRANSACTION /*!40100 WITH CONSISTENT SNAPSHOT */': Lost connection to MySQL server during query (2013)
      # 
      

      in mysqld error log i got this:

      2019-01-09T15:06:34.465906Z 0 [Warning] WSREP: last inactive check more than PT1.5S (3*evs.inactive_check_period) ago (PT2.42045S), skipping check
      15:06:50 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 XtraDB Cluster better by reporting any
      bugs at https://jira.percona.com/projects/PXC/issueskey_buffer_size=8388608
      read_buffer_size=131072
      max_used_connections=5
      max_threads=501
      thread_count=9
      connection_count=4
      It is possible that mysqld could use up to 
      key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 207558 K  bytes of memory
      Hope that's ok; if not, decrease some variables in the equation.Thread pointer: 0x7f281800bcb0
      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 = 7f286c2e0a70 thread_stack 0x40000
      /usr/sbin/mysqld(my_print_stacktrace+0x3b)[0xec7eab]
      /usr/sbin/mysqld(handle_fatal_signal+0x499)[0x788b59]
      /lib/x86_64-linux-gnu/libpthread.so.0(+0x11390)[0x7f2902a15390]
      /usr/sbin/mysqld(my_b_safe_tell+0x12)[0xea9f62]
      2019-01-09T15:06:50.837627Z 48 [Note] Aborted connection 48 to db: 'information_schema' user: 'MyCMONuser007' host: '10.35.112.146' (Got an error reading communication packets)
      2019-01-09T15:06:50.837680Z 8 [Note] Aborted connection 8 to db: 'information_schema' user: 'MyCMONuser007' host: '10.35.112.146' (Got an error reading communication packets)
      2019-01-09T15:06:50.837627Z 11 [Note] Aborted connection 11 to db: 'information_schema' user: 'MyCMONuser007' host: '10.35.112.146' (Got an error reading communication packets)
      2019-01-09T15:06:50.838210Z 0 [Warning] WSREP: last inactive check more than PT1.5S (3*evs.inactive_check_period) ago (PT13.3721S), skipping check
      /usr/sbin/mysqld(_ZN13MYSQL_BIN_LOG19raw_get_current_logEP11st_log_info+0x2a)[0xe4aa0a]
      /usr/sbin/mysqld[0xe5264d]
      /usr/sbin/mysqld[0x801baa]
      /usr/sbin/mysqld(_Z24plugin_foreach_with_maskP3THDPPFcS0_P13st_plugin_intPvEijS3_+0x1e1)[0xc9cbf1]
      /usr/sbin/mysqld(_Z24plugin_foreach_with_maskP3THDPFcS0_P13st_plugin_intPvEijS3_+0x2c)[0xc9cd9c]
      2019-01-09T15:06:50.841929Z 0 [Note] InnoDB: page_cleaner: 1000ms intended loop took 13376ms. The settings might not be optimal. (flushed=0, during the time.)
      /usr/sbin/mysqld(_Z28ha_start_consistent_snapshotP3THD+0x19a)[0x80934a]
      /usr/sbin/mysqld(_Z11trans_beginP3THDj+0x290)[0xd2b040]
      /usr/sbin/mysqld(_Z21mysql_execute_commandP3THDb+0x28e7)[0xc72af7]
      /usr/sbin/mysqld(_Z11mysql_parseP3THDP12Parser_stateb+0x49d)[0xc7915d]
      /usr/sbin/mysqld[0xc792fd]
      /usr/sbin/mysqld(_Z16dispatch_commandP3THDPK8COM_DATA19enum_server_command+0x1312)[0xc7aef2]
      /usr/sbin/mysqld(_Z10do_commandP3THD+0x2ac)[0xc7cdfc]
      /usr/sbin/mysqld(handle_connection+0x3b8)[0xd4ac88]
      /usr/sbin/mysqld(pfs_spawn_thread+0x1b4)[0xee2b24]
      /lib/x86_64-linux-gnu/libpthread.so.0(+0x76ba)[0x7f2902a0b6ba]
      /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x7f2901ea041d]Trying to get some variables.
      Some pointers may be invalid and cause the dump to abort.
      Query (7f2818012af0): is an invalid pointer
      Connection ID (thread ID): 56
      Status: NOT_KILLED
      

      I have also reproduced this with GDB, i have attached the backtrace and my my.cnf as for reference.

        Smart Checklist

          Attachments

          1. my.cnf
            6 kB
            David Kedves
          2. percona_backtrace.txt
            7 kB
            David Kedves

            Issue Links

              Activity

                People

                • Assignee:
                  kenn.takara Kenn Takara
                  Reporter:
                  kedazo David Kedves
                • Votes:
                  5 Vote for this issue
                  Watchers:
                  11 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: