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

LP #1199647: CHECK TABLE in a fake changes session crashes debug build

    Details

    • Type: Bug
    • Status: Done
    • Priority: Low
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None

      Description

      **Reported in Launchpad by Laurynas Biveinis last update 30-03-2016 12:06:36

      --source include/have_innodb.inc

      --disable_warnings
      DROP TABLE IF EXISTS t1;
      --enable_warnings

      CREATE TABLE t1 (a INT) ENGINE=InnoDB;
      INSERT INTO t1 VALUES (1);

      SET autocommit=0;
      SET innodb_fake_changes=1;

      CHECK TABLE t1;

      SET innodb_fake_changes=default;
      SET autocommit=default;

      DROP TABLE t1;

      produces

      mysqld: /home/laurynas/percona/src/fake-changes-from-fb/5.5/Percona-Server/sql/sql_error.cc:387: void Diagnostics_area::set_eof_status(THD*): Assertion `! is_set()' failed.
      07:42:18 UTC - 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.
      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.
      Please help us make Percona Server better by reporting any
      bugs at http://bugs.percona.com/

      key_buffer_size=1048576
      read_buffer_size=131072
      max_used_connections=1
      max_threads=153
      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 = 61693 K bytes of memory
      Hope that's ok; if not, decrease some variables in the equation.

      Thread pointer: 0x2300390
      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 = 7fa3dc41ce00 thread_stack 0x40000
      /home/laurynas/percona/src/fake-changes-from-fb/5.5/obj-debug/sql/mysqld(my_print_stacktrace+0x38)[0x8ff98e]
      /home/laurynas/percona/src/fake-changes-from-fb/5.5/obj-debug/sql/mysqld(handle_fatal_signal+0x42d)[0x781885]
      /lib/x86_64-linux-gnu/libpthread.so.0(+0xfbd0)[0x7fa3deb83bd0]
      /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x37)[0x7fa3ddd9e037]
      /lib/x86_64-linux-gnu/libc.so.6(abort+0x148)[0x7fa3ddda1698]
      /lib/x86_64-linux-gnu/libc.so.6(+0x2fe03)[0x7fa3ddd96e03]
      /lib/x86_64-linux-gnu/libc.so.6(+0x2feb2)[0x7fa3ddd96eb2]
      /home/laurynas/percona/src/fake-changes-from-fb/5.5/obj-debug/sql/mysqld(_ZN16Diagnostics_area14set_eof_statusEP3THD+0x5e)[0x5e6542]
      /home/laurynas/percona/src/fake-changes-from-fb/5.5/obj-debug/sql/mysqld(_Z6my_eofP3THD+0x39)[0x576486]
      /home/laurynas/percona/src/fake-changes-from-fb/5.5/obj-debug/sql/mysqld[0x704a51]
      /home/laurynas/percona/src/fake-changes-from-fb/5.5/obj-debug/sql/mysqld(_ZN21Check_table_statement7executeEP3THD+0x112)[0x705084]
      /home/laurynas/percona/src/fake-changes-from-fb/5.5/obj-debug/sql/mysqld(_Z21mysql_execute_commandP3THD+0x7856)[0x60c302]
      /home/laurynas/percona/src/fake-changes-from-fb/5.5/obj-debug/sql/mysqld(_Z11mysql_parseP3THDPcjP12Parser_state+0x358)[0x60ef17]
      /home/laurynas/percona/src/fake-changes-from-fb/5.5/obj-debug/sql/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcj+0xbed)[0x6026c8]
      /home/laurynas/percona/src/fake-changes-from-fb/5.5/obj-debug/sql/mysqld(_Z10do_commandP3THD+0x301)[0x6018cb]
      /home/laurynas/percona/src/fake-changes-from-fb/5.5/obj-debug/sql/mysqld(_Z24do_handle_one_connectionP3THD+0x1a7)[0x6f4090]
      /home/laurynas/percona/src/fake-changes-from-fb/5.5/obj-debug/sql/mysqld(handle_one_connection+0x33)[0x6f3b85]
      /home/laurynas/percona/src/fake-changes-from-fb/5.5/obj-debug/sql/mysqld(pfs_spawn_thread+0xa8)[0x99a61e]
      /lib/x86_64-linux-gnu/libpthread.so.0(+0x7f8e)[0x7fa3deb7bf8e]
      /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x7fa3dde60e1d]

      Trying to get some variables.
      Some pointers may be invalid and cause the dump to abort.
      Query (7fa3c8004c10): CHECK TABLE t1
      Connection ID (thread ID): 2
      Status: NOT_KILLED

      You may download the Percona Server operations manual by visiting
      http://www.percona.com/software/percona-server/. You may find information
      in the manual which will help you identify the cause of the crash.
      Writing a core file
      ---------SERVER LOG END------------

      • saving '/home/laurynas/percona/src/fake-changes-from-fb/5.5/obj-debug/mysql-test/var/log/main.foo/' to '/home/laurynas/percona/src/fake-changes-from-fb/5.5/obj-debug/mysql-test/var/log/main.foo/'
      • found 'core' (0/5)

      Trying 'dbx' to get a backtrace

      Trying 'gdb' to get a backtrace
      Core generated by '/home/laurynas/percona/src/fake-changes-from-fb/5.5/obj-debug/sql/mysqld'
      Output from gdb follows. The first stack trace is from the failing thread.
      The following stack traces are from all threads (so the failing one is
      duplicated).
      --------------------------
      [New LWP 30096]
      [New LWP 30073]
      [New LWP 30075]
      [New LWP 30084]
      [New LWP 30078]
      [New LWP 30076]
      [New LWP 30085]
      [New LWP 30077]
      [New LWP 30086]
      [New LWP 30079]
      [New LWP 30080]
      [New LWP 30082]
      [New LWP 30083]
      [New LWP 30087]
      [New LWP 30088]

      warning: Can't read pathname for load map: Input/output error.
      [Thread debugging using libthread_db enabled]
      Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
      Core was generated by `/home/laurynas/percona/src/fake-changes-from-fb/5.5/obj-debug/sql/mysqld --defa'.
      Program terminated with signal 6, Aborted.
      #0 0x00007fa3deb80f2c in __pthread_kill (threadid=<optimized out>, signo=6) at ../nptl/sysdeps/unix/sysv/linux/pthread_kill.c:62
      62 ../nptl/sysdeps/unix/sysv/linux/pthread_kill.c: No such file or directory.
      #0 0x00007fa3deb80f2c in __pthread_kill (threadid=<optimized out>, signo=6) at ../nptl/sysdeps/unix/sysv/linux/pthread_kill.c:62
      #1 0x00000000008ffa19 in my_write_core (sig=6) at /home/laurynas/percona/src/fake-changes-from-fb/5.5/Percona-Server/mysys/stacktrace.c:433
      #2 0x0000000000781a9d in handle_fatal_signal (sig=6) at /home/laurynas/percona/src/fake-changes-from-fb/5.5/Percona-Server/sql/signal_handler.cc:250
      #3 <signal handler called>
      #4 0x00007fa3ddd9e037 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
      #5 0x00007fa3ddda1698 in __GI_abort () at abort.c:90
      #6 0x00007fa3ddd96e03 in _assert_fail_base (fmt=0x7fa3ddeed578 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0xbef7c4 "! is_set()", file=file@entry=0xbef6c8 "/home/laurynas/percona/src/fake-changes-from-fb/5.5/Percona-Server/sql/sql_error.cc", line=line@entry=387, function=function@entry=0xbeff80 <Diagnostics_area::set_eof_status(THD*)::PRETTY_FUNCTION_> "void Diagnostics_area::set_eof_status(THD*)") at assert.c:92
      #7 0x00007fa3ddd96eb2 in _GI_assert_fail (assertion=0xbef7c4 "! is_set()", file=0xbef6c8 "/home/laurynas/percona/src/fake-changes-from-fb/5.5/Percona-Server/sql/sql_error.cc", line=387, function=0xbeff80 <Diagnostics_area::set_eof_status(THD*)::PRETTY_FUNCTION_> "void Diagnostics_area::set_eof_status(THD*)") at assert.c:101
      #8 0x00000000005e6542 in Diagnostics_area::set_eof_status (this=0x2303308, thd=0x2300390) at /home/laurynas/percona/src/fake-changes-from-fb/5.5/Percona-Server/sql/sql_error.cc:387
      #9 0x0000000000576486 in my_eof (thd=0x2300390) at /home/laurynas/percona/src/fake-changes-from-fb/5.5/Percona-Server/sql/sql_class.h:3145
      #10 0x0000000000704a51 in mysql_admin_table(THD *, TABLE_LIST *, HA_CHECK_OPT *, const char *, thr_lock_type, bool, bool, uint, int (THD *, TABLE_LIST *, HA_CHECK_OPT *), struct

      {...}, int (THD , TABLE_LIST *)) (thd=0x2300390, tables=0x7fa3c8004ce0, check_opt=0x2302de0, operator_name=0xc22f27 "check", lock_type=TL_READ_NO_INSERT, open_for_modify=false, repair_table_use_frm=false, extra_open_options=32, prepare_func=0x0, operator_func=(int (handler::)(handler * const, THD , HA_CHECK_OPT *)) 0x78875c <handler::ha_check(THD, st_ha_check_opt*)>, view_operator_func=0x6b56ca <view_checksum(THD*, TABLE_LIST*)>) at /home/laurynas/percona/src/fake-changes-from-fb/5.5/Percona-Server/sql/sql_admin.cc:887
      #11 0x0000000000705084 in Check_table_statement::execute (this=0x7fa3c8005210, thd=0x2300390) at /home/laurynas/percona/src/fake-changes-from-fb/5.5/Percona-Server/sql/sql_admin.cc:1016
      #12 0x000000000060c302 in mysql_execute_command (thd=0x2300390) at /home/laurynas/percona/src/fake-changes-from-fb/5.5/Percona-Server/sql/sql_parse.cc:4655
      #13 0x000000000060ef17 in mysql_parse (thd=0x2300390, rawbuf=0x7fa3c8004c10 "CHECK TABLE t1", length=14, parser_state=0x7fa3dc41c140) at /home/laurynas/percona/src/fake-changes-from-fb/5.5/Percona-Server/sql/sql_parse.cc:5884
      #14 0x00000000006026c8 in dispatch_command (command=COM_QUERY, thd=0x2300390, packet=0x238ddb1 "", packet_length=14) at /home/laurynas/percona/src/fake-changes-from-fb/5.5/Percona-Server/sql/sql_parse.cc:1079
      #15 0x00000000006018cb in do_command (thd=0x2300390) at /home/laurynas/percona/src/fake-changes-from-fb/5.5/Percona-Server/sql/sql_parse.cc:789
      #16 0x00000000006f4090 in do_handle_one_connection (thd_arg=0x2300390) at /home/laurynas/percona/src/fake-changes-from-fb/5.5/Percona-Server/sql/sql_connect.cc:1487
      #17 0x00000000006f3b85 in handle_one_connection (arg=0x2300390) at /home/laurynas/percona/src/fake-changes-from-fb/5.5/Percona-Server/sql/sql_connect.cc:1402
      #18 0x000000000099a61e in pfs_spawn_thread (arg=0x2378530) at /home/laurynas/percona/src/fake-changes-from-fb/5.5/Percona-Server/storage/perfschema/pfs.cc:1015
      #19 0x00007fa3deb7bf8e in start_thread (arg=0x7fa3dc41d700) at pthread_create.c:311
      #20 0x00007fa3dde60e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

      Thread 15 (Thread 0x7fa3dc45e700 (LWP 30088)):
      #0 do_sigwait (sig=0x7fa3dc45dda0, set=<optimized out>) at ../nptl/sysdeps/unix/sysv/linux/../../../../../sysdeps/unix/sysv/linux/sigwait.c:64
      #1 __sigwait (set=<optimized out>, sig=0x7fa3dc45dda0) at ../nptl/sysdeps/unix/sysv/linux/../../../../../sysdeps/unix/sysv/linux/sigwait.c:99
      #2 0x000000000055fff2 in signal_hand (arg=0x0) at /home/laurynas/percona/src/fake-changes-from-fb/5.5/Percona-Server/sql/mysqld.cc:2701
      #3 0x000000000099a61e in pfs_spawn_thread (arg=0x22e8580) at /home/laurynas/percona/src/fake-changes-from-fb/5.5/Percona-Server/storage/perfschema/pfs.cc:1015
      #4 0x00007fa3deb7bf8e in start_thread (arg=0x7fa3dc45e700) at pthread_create.c:311
      #5 0x00007fa3dde60e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

      Thread 14 (Thread 0x7fa3cfc51700 (LWP 30087)):
      #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
      #1 0x0000000000906a6c in safe_cond_wait (cond=0x1b604f8, mp=0x1b60480, file=0xd351f8 "/home/laurynas/percona/src/fake-changes-from-fb/5.5/Percona-Server/storage/innobase/os/os0sync.c", line=207) at /home/laurynas/percona/src/fake-changes-from-fb/5.5/Percona-Server/mysys/thr_mutex.c:240
      #2 0x0000000000b34006 in os_cond_wait (cond=0x1b604f8, mutex=0x1b60480) at /home/laurynas/percona/src/fake-changes-from-fb/5.5/Percona-Server/storage/innobase/os/os0sync.c:207
      #3 0x0000000000b347f4 in os_event_wait_low (event=0x1b60480, reset_sig_count=1) at /home/laurynas/percona/src/fake-changes-from-fb/5.5/Percona-Server/storage/innobase/os/os0sync.c:609
      #4 0x0000000000a08b02 in srv_purge_thread (arg=0x0) at /home/laurynas/percona/src/fake-changes-from-fb/5.5/Percona-Server/storage/innobase/srv/srv0srv.c:4111
      #5 0x00007fa3deb7bf8e in start_thread (arg=0x7fa3cfc51700) at pthread_create.c:311
      #6 0x00007fa3dde60e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

      Thread 13 (Thread 0x7fa3d1c55700 (LWP 30083)):
      #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
      #1 0x0000000000906c3e in safe_cond_timedwait (cond=0x1f07ff8, mp=0x1f07f80, abstime=0x7fa3d1c54de0, file=0xd351f8 "/home/laurynas/percona/src/fake-changes-from-fb/5.5/Percona-Server/storage/innobase/os/os0sync.c", line=171) at /home/laurynas/percona/src/fake-changes-from-fb/5.5/Percona-Server/mysys/thr_mutex.c:278
      #2 0x0000000000b33f0b in os_cond_wait_timed (cond=0x1f07ff8, mutex=0x1f07f80, abstime=0x7fa3d1c54de0) at /home/laurynas/percona/src/fake-changes-from-fb/5.5/Percona-Server/storage/innobase/os/os0sync.c:171
      #3 0x0000000000b349ae in os_event_wait_time_low (event=0x1f07f80, time_in_usec=1000000, reset_sig_count=1) at /home/laurynas/percona/src/fake-changes-from-fb/5.5/Percona-Server/storage/innobase/os/os0sync.c:716
      #4 0x0000000000a0664c in srv_error_monitor_thread (arg=0x0) at /home/laurynas/percona/src/fake-changes-from-fb/5.5/Percona-Server/storage/innobase/srv/srv0srv.c:2986
      #5 0x00007fa3deb7bf8e in start_thread (arg=0x7fa3d1c55700) at pthread_create.c:311
      #6 0x00007fa3dde60e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

      Thread 12 (Thread 0x7fa3d2456700 (LWP 30082)):
      #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
      #1 0x0000000000906c3e in safe_cond_timedwait (cond=0x1f080b8, mp=0x1f08040, abstime=0x7fa3d2455e10, file=0xd351f8 "/home/laurynas/percona/src/fake-changes-from-fb/5.5/Percona-Server/storage/innobase/os/os0sync.c", line=171) at /home/laurynas/percona/src/fake-changes-from-fb/5.5/Percona-Server/mysys/thr_mutex.c:278
      #2 0x0000000000b33f0b in os_cond_wait_timed (cond=0x1f080b8, mutex=0x1f08040, abstime=0x7fa3d2455e10) at /home/laurynas/percona/src/fake-changes-from-fb/5.5/Percona-Server/storage/innobase/os/os0sync.c:171
      #3 0x0000000000b349ae in os_event_wait_time_low (event=0x1f08040, time_in_usec=1000000, reset_sig_count=1) at /home/laurynas/percona/src/fake-changes-from-fb/5.5/Percona-Server/storage/innobase/os/os0sync.c:716
      #4 0x0000000000a060f1 in srv_lock_timeout_thread (arg=0x0) at /home/laurynas/percona/src/fake-changes-from-fb/5.5/Percona-Server/storage/innobase/srv/srv0srv.c:2773
      #5 0x00007fa3deb7bf8e in start_thread (arg=0x7fa3d2456700) at pthread_create.c:311
      #6 0x00007fa3dde60e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

      Thread 11 (Thread 0x7fa3d2e5c700 (LWP 30080)):
      #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
      #1 0x0000000000906a6c in safe_cond_wait (cond=0x2147708, mp=0x2147690, file=0xd351f8 "/home/laurynas/percona/src/fake-changes-from-fb/5.5/Percona-Server/storage/innobase/os/os0sync.c", line=207) at /home/laurynas/percona/src/fake-changes-from-fb/5.5/Percona-Server/mysys/thr_mutex.c:240
      #2 0x0000000000b34006 in os_cond_wait (cond=0x2147708, mutex=0x2147690) at /home/laurynas/percona/src/fake-changes-from-fb/5.5/Percona-Server/storage/innobase/os/os0sync.c:207
      #3 0x0000000000b347f4 in os_event_wait_low (event=0x2147690, reset_sig_count=1) at /home/laurynas/percona/src/fake-changes-from-fb/5.5/Percona-Server/storage/innobase/os/os0sync.c:609
      #4 0x0000000000b32c3b in os_aio_simulated_handle (global_segment=5, message1=0x7fa3d2e5be48, message2=0x7fa3d2e5be50, type=0x7fa3d2e5be58, space_id=0x7fa3d2e5be60) at /home/laurynas/percona/src/fake-changes-from-fb/5.5/Percona-Server/storage/innobase/os/os0file.c:5281
      #5 0x0000000000ad2436 in fil_aio_wait (segment=5) at /home/laurynas/percona/src/fake-changes-from-fb/5.5/Percona-Server/storage/innobase/fil/fil0fil.c:5590
      #6 0x0000000000a0a274 in io_handler_thread (arg=0x1394048 <n+40>) at /home/laurynas/percona/src/fake-changes-from-fb/5.5/Percona-Server/storage/innobase/srv/srv0start.c:485
      #7 0x00007fa3deb7bf8e in start_thread (arg=0x7fa3d2e5c700) at pthread_create.c:311
      #8 0x00007fa3dde60e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

      Thread 10 (Thread 0x7fa3d365d700 (LWP 30079)):
      #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
      #1 0x0000000000906a6c in safe_cond_wait (cond=0x2147648, mp=0x21475d0, file=0xd351f8 "/home/laurynas/percona/src/fake-changes-from-fb/5.5/Percona-Server/storage/innobase/os/os0sync.c", line=207) at /home/laurynas/percona/src/fake-changes-from-fb/5.5/Percona-Server/mysys/thr_mutex.c:240
      #2 0x0000000000b34006 in os_cond_wait (cond=0x2147648, mutex=0x21475d0) at /home/laurynas/percona/src/fake-changes-from-fb/5.5/Percona-Server/storage/innobase/os/os0sync.c:207
      #3 0x0000000000b347f4 in os_event_wait_low (event=0x21475d0, reset_sig_count=1) at /home/laurynas/percona/src/fake-changes-from-fb/5.5/Percona-Server/storage/innobase/os/os0sync.c:609
      #4 0x0000000000b32c3b in os_aio_simulated_handle (global_segment=4, message1=0x7fa3d365ce48, message2=0x7fa3d365ce50, type=0x7fa3d365ce58, space_id=0x7fa3d365ce60) at /home/laurynas/percona/src/fake-changes-from-fb/5.5/Percona-Server/storage/innobase/os/os0file.c:5281
      #5 0x0000000000ad2436 in fil_aio_wait (segment=4) at /home/laurynas/percona/src/fake-changes-from-fb/5.5/Percona-Server/storage/innobase/fil/fil0fil.c:5590
      #6 0x0000000000a0a274 in io_handler_thread (arg=0x1394040 <n+32>) at /home/laurynas/percona/src/fake-changes-from-fb/5.5/Percona-Server/storage/innobase/srv/srv0start.c:485
      #7 0x00007fa3deb7bf8e in start_thread (arg=0x7fa3d365d700) at pthread_create.c:311
      #8 0x00007fa3dde60e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

      Thread 9 (Thread 0x7fa3d0452700 (LWP 30086)):
      #0 0x00007fa3dde59233 in select () at ../sysdeps/unix/syscall-template.S:81
      #1 0x0000000000b3527e in os_thread_sleep (tm=1000000) at /home/laurynas/percona/src/fake-changes-from-fb/5.5/Percona-Server/storage/innobase/os/os0thread.c:259
      #2 0x0000000000a0707c in srv_master_thread (arg=0x0) at /home/laurynas/percona/src/fake-changes-from-fb/5.5/Percona-Server/storage/innobase/srv/srv0srv.c:3465
      #3 0x00007fa3deb7bf8e in start_thread (arg=0x7fa3d0452700) at pthread_create.c:311
      #4 0x00007fa3dde60e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

      Thread 8 (Thread 0x7fa3d465f700 (LWP 30077)):
      #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
      #1 0x0000000000906a6c in safe_cond_wait (cond=0x21474c8, mp=0x2147450, file=0xd351f8 "/home/laurynas/percona/src/fake-changes-from-fb/5.5/Percona-Server/storage/innobase/os/os0sync.c", line=207) at /home/laurynas/percona/src/fake-changes-from-fb/5.5/Percona-Server/mysys/thr_mutex.c:240
      #2 0x0000000000b34006 in os_cond_wait (cond=0x21474c8, mutex=0x2147450) at /home/laurynas/percona/src/fake-changes-from-fb/5.5/Percona-Server/storage/innobase/os/os0sync.c:207
      #3 0x0000000000b347f4 in os_event_wait_low (event=0x2147450, reset_sig_count=1) at /home/laurynas/percona/src/fake-changes-from-fb/5.5/Percona-Server/storage/innobase/os/os0sync.c:609
      #4 0x0000000000b32c3b in os_aio_simulated_handle (global_segment=2, message1=0x7fa3d465ee48, message2=0x7fa3d465ee50, type=0x7fa3d465ee58, space_id=0x7fa3d465ee60) at /home/laurynas/percona/src/fake-changes-from-fb/5.5/Percona-Server/storage/innobase/os/os0file.c:5281
      #5 0x0000000000ad2436 in fil_aio_wait (segment=2) at /home/laurynas/percona/src/fake-changes-from-fb/5.5/Percona-Server/storage/innobase/fil/fil0fil.c:5590
      #6 0x0000000000a0a274 in io_handler_thread (arg=0x1394030 <n+16>) at /home/laurynas/percona/src/fake-changes-from-fb/5.5/Percona-Server/storage/innobase/srv/srv0start.c:485
      #7 0x00007fa3deb7bf8e in start_thread (arg=0x7fa3d465f700) at pthread_create.c:311
      #8 0x00007fa3dde60e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

      Thread 7 (Thread 0x7fa3d0c53700 (LWP 30085)):
      #0 0x00007fa3dde59233 in select () at ../sysdeps/unix/syscall-template.S:81
      #1 0x0000000000b3527e in os_thread_sleep (tm=5000000) at /home/laurynas/percona/src/fake-changes-from-fb/5.5/Percona-Server/storage/innobase/os/os0thread.c:259
      #2 0x0000000000a066b4 in srv_LRU_dump_restore_thread (arg=0x0) at /home/laurynas/percona/src/fake-changes-from-fb/5.5/Percona-Server/storage/innobase/srv/srv0srv.c:3032
      #3 0x00007fa3deb7bf8e in start_thread (arg=0x7fa3d0c53700) at pthread_create.c:311
      #4 0x00007fa3dde60e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

      Thread 6 (Thread 0x7fa3d4e60700 (LWP 30076)):
      #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
      #1 0x0000000000906a6c in safe_cond_wait (cond=0x2147408, mp=0x2147390, file=0xd351f8 "/home/laurynas/percona/src/fake-changes-from-fb/5.5/Percona-Server/storage/innobase/os/os0sync.c", line=207) at /home/laurynas/percona/src/fake-changes-from-fb/5.5/Percona-Server/mysys/thr_mutex.c:240
      #2 0x0000000000b34006 in os_cond_wait (cond=0x2147408, mutex=0x2147390) at /home/laurynas/percona/src/fake-changes-from-fb/5.5/Percona-Server/storage/innobase/os/os0sync.c:207
      #3 0x0000000000b347f4 in os_event_wait_low (event=0x2147390, reset_sig_count=3) at /home/laurynas/percona/src/fake-changes-from-fb/5.5/Percona-Server/storage/innobase/os/os0sync.c:609
      #4 0x0000000000b32c3b in os_aio_simulated_handle (global_segment=1, message1=0x7fa3d4e5fe48, message2=0x7fa3d4e5fe50, type=0x7fa3d4e5fe58, space_id=0x7fa3d4e5fe60) at /home/laurynas/percona/src/fake-changes-from-fb/5.5/Percona-Server/storage/innobase/os/os0file.c:5281
      #5 0x0000000000ad2436 in fil_aio_wait (segment=1) at /home/laurynas/percona/src/fake-changes-from-fb/5.5/Percona-Server/storage/innobase/fil/fil0fil.c:5590
      #6 0x0000000000a0a274 in io_handler_thread (arg=0x1394028 <n+8>) at /home/laurynas/percona/src/fake-changes-from-fb/5.5/Percona-Server/storage/innobase/srv/srv0start.c:485
      #7 0x00007fa3deb7bf8e in start_thread (arg=0x7fa3d4e60700) at pthread_create.c:311
      #8 0x00007fa3dde60e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

      Thread 5 (Thread 0x7fa3d3e5e700 (LWP 30078)):
      #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
      #1 0x0000000000906a6c in safe_cond_wait (cond=0x2147588, mp=0x2147510, file=0xd351f8 "/home/laurynas/percona/src/fake-changes-from-fb/5.5/Percona-Server/storage/innobase/os/os0sync.c", line=207) at /home/laurynas/percona/src/fake-changes-from-fb/5.5/Percona-Server/mysys/thr_mutex.c:240
      #2 0x0000000000b34006 in os_cond_wait (cond=0x2147588, mutex=0x2147510) at /home/laurynas/percona/src/fake-changes-from-fb/5.5/Percona-Server/storage/innobase/os/os0sync.c:207
      #3 0x0000000000b347f4 in os_event_wait_low (event=0x2147510, reset_sig_count=1) at /home/laurynas/percona/src/fake-changes-from-fb/5.5/Percona-Server/storage/innobase/os/os0sync.c:609
      #4 0x0000000000b32c3b in os_aio_simulated_handle (global_segment=3, message1=0x7fa3d3e5de48, message2=0x7fa3d3e5de50, type=0x7fa3d3e5de58, space_id=0x7fa3d3e5de60) at /home/laurynas/percona/src/fake-changes-from-fb/5.5/Percona-Server/storage/innobase/os/os0file.c:5281
      #5 0x0000000000ad2436 in fil_aio_wait (segment=3) at /home/laurynas/percona/src/fake-changes-from-fb/5.5/Percona-Server/storage/innobase/fil/fil0fil.c:5590
      #6 0x0000000000a0a274 in io_handler_thread (arg=0x1394038 <n+24>) at /home/laurynas/percona/src/fake-changes-from-fb/5.5/Percona-Server/storage/innobase/srv/srv0start.c:485
      #7 0x00007fa3deb7bf8e in start_thread (arg=0x7fa3d3e5e700) at pthread_create.c:311
      #8 0x00007fa3dde60e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

      Thread 4 (Thread 0x7fa3d1454700 (LWP 30084)):
      #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
      #1 0x0000000000906c3e in safe_cond_timedwait (cond=0x1f08178, mp=0x1f08100, abstime=0x7fa3d1453e10, file=0xd351f8 "/home/laurynas/percona/src/fake-changes-from-fb/5.5/Percona-Server/storage/innobase/os/os0sync.c", line=171) at /home/laurynas/percona/src/fake-changes-from-fb/5.5/Percona-Server/mysys/thr_mutex.c:278
      #2 0x0000000000b33f0b in os_cond_wait_timed (cond=0x1f08178, mutex=0x1f08100, abstime=0x7fa3d1453e10) at /home/laurynas/percona/src/fake-changes-from-fb/5.5/Percona-Server/storage/innobase/os/os0sync.c:171
      #3 0x0000000000b349ae in os_event_wait_time_low (event=0x1f08100, time_in_usec=5000000, reset_sig_count=1) at /home/laurynas/percona/src/fake-changes-from-fb/5.5/Percona-Server/storage/innobase/os/os0sync.c:716
      #4 0x0000000000a05d0e in srv_monitor_thread (arg=0x0) at /home/laurynas/percona/src/fake-changes-from-fb/5.5/Percona-Server/storage/innobase/srv/srv0srv.c:2623
      #5 0x00007fa3deb7bf8e in start_thread (arg=0x7fa3d1454700) at pthread_create.c:311
      #6 0x00007fa3dde60e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

      Thread 3 (Thread 0x7fa3ddb50700 (LWP 30075)):
      #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
      #1 0x0000000000906a6c in safe_cond_wait (cond=0x2147348, mp=0x21472d0, file=0xd351f8 "/home/laurynas/percona/src/fake-changes-from-fb/5.5/Percona-Server/storage/innobase/os/os0sync.c", line=207) at /home/laurynas/percona/src/fake-changes-from-fb/5.5/Percona-Server/mysys/thr_mutex.c:240
      #2 0x0000000000b34006 in os_cond_wait (cond=0x2147348, mutex=0x21472d0) at /home/laurynas/percona/src/fake-changes-from-fb/5.5/Percona-Server/storage/innobase/os/os0sync.c:207
      #3 0x0000000000b347f4 in os_event_wait_low (event=0x21472d0, reset_sig_count=1) at /home/laurynas/percona/src/fake-changes-from-fb/5.5/Percona-Server/storage/innobase/os/os0sync.c:609
      #4 0x0000000000b32c3b in os_aio_simulated_handle (global_segment=0, message1=0x7fa3ddb4fe48, message2=0x7fa3ddb4fe50, type=0x7fa3ddb4fe58, space_id=0x7fa3ddb4fe60) at /home/laurynas/percona/src/fake-changes-from-fb/5.5/Percona-Server/storage/innobase/os/os0file.c:5281
      #5 0x0000000000ad2436 in fil_aio_wait (segment=0) at /home/laurynas/percona/src/fake-changes-from-fb/5.5/Percona-Server/storage/innobase/fil/fil0fil.c:5590
      #6 0x0000000000a0a274 in io_handler_thread (arg=0x1394020 <n>) at /home/laurynas/percona/src/fake-changes-from-fb/5.5/Percona-Server/storage/innobase/srv/srv0start.c:485
      #7 0x00007fa3deb7bf8e in start_thread (arg=0x7fa3ddb50700) at pthread_create.c:311
      #8 0x00007fa3dde60e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

      Thread 2 (Thread 0x7fa3df39d740 (LWP 30073)):
      #0 0x00007fa3dde543cd in poll () at ../sysdeps/unix/syscall-template.S:81
      #1 0x00000000005641bf in handle_connections_sockets () at /home/laurynas/percona/src/fake-changes-from-fb/5.5/Percona-Server/sql/mysqld.cc:5346
      #2 0x00000000005634a3 in mysqld_main (argc=47, argv=0x1ada0d8) at /home/laurynas/percona/src/fake-changes-from-fb/5.5/Percona-Server/sql/mysqld.cc:4789
      #3 0x000000000055b82c in main (argc=8, argv=0x7ffff59c50b8) at /home/laurynas/percona/src/fake-changes-from-fb/5.5/Percona-Server/sql/main.cc:25

      Thread 1 (Thread 0x7fa3dc41d700 (LWP 30096)):
      #0 0x00007fa3deb80f2c in __pthread_kill (threadid=<optimized out>, signo=6) at ../nptl/sysdeps/unix/sysv/linux/pthread_kill.c:62
      #1 0x00000000008ffa19 in my_write_core (sig=6) at /home/laurynas/percona/src/fake-changes-from-fb/5.5/Percona-Server/mysys/stacktrace.c:433
      #2 0x0000000000781a9d in handle_fatal_signal (sig=6) at /home/laurynas/percona/src/fake-changes-from-fb/5.5/Percona-Server/sql/signal_handler.cc:250
      #3 <signal handler called>
      #4 0x00007fa3ddd9e037 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
      #5 0x00007fa3ddda1698 in __GI_abort () at abort.c:90
      #6 0x00007fa3ddd96e03 in _assert_fail_base (fmt=0x7fa3ddeed578 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0xbef7c4 "! is_set()", file=file@entry=0xbef6c8 "/home/laurynas/percona/src/fake-changes-from-fb/5.5/Percona-Server/sql/sql_error.cc", line=line@entry=387, function=function@entry=0xbeff80 <Diagnostics_area::set_eof_status(THD*)::PRETTY_FUNCTION_> "void Diagnostics_area::set_eof_status(THD*)") at assert.c:92
      #7 0x00007fa3ddd96eb2 in _GI_assert_fail (assertion=0xbef7c4 "! is_set()", file=0xbef6c8 "/home/laurynas/percona/src/fake-changes-from-fb/5.5/Percona-Server/sql/sql_error.cc", line=387, function=0xbeff80 <Diagnostics_area::set_eof_status(THD*)::PRETTY_FUNCTION_> "void Diagnostics_area::set_eof_status(THD*)") at assert.c:101
      #8 0x00000000005e6542 in Diagnostics_area::set_eof_status (this=0x2303308, thd=0x2300390) at /home/laurynas/percona/src/fake-changes-from-fb/5.5/Percona-Server/sql/sql_error.cc:387
      #9 0x0000000000576486 in my_eof (thd=0x2300390) at /home/laurynas/percona/src/fake-changes-from-fb/5.5/Percona-Server/sql/sql_class.h:3145
      #10 0x0000000000704a51 in mysql_admin_table(THD *, TABLE_LIST *, HA_CHECK_OPT *, const char *, thr_lock_type, bool, bool, uint, int (THD *, TABLE_LIST *, HA_CHECK_OPT *), struct {...}

      , int (THD , TABLE_LIST *)) (thd=0x2300390, tables=0x7fa3c8004ce0, check_opt=0x2302de0, operator_name=0xc22f27 "check", lock_type=TL_READ_NO_INSERT, open_for_modify=false, repair_table_use_frm=false, extra_open_options=32, prepare_func=0x0, operator_func=(int (handler::)(handler * const, THD , HA_CHECK_OPT *)) 0x78875c <handler::ha_check(THD, st_ha_check_opt*)>, view_operator_func=0x6b56ca <view_checksum(THD*, TABLE_LIST*)>) at /home/laurynas/percona/src/fake-changes-from-fb/5.5/Percona-Server/sql/sql_admin.cc:887
      #11 0x0000000000705084 in Check_table_statement::execute (this=0x7fa3c8005210, thd=0x2300390) at /home/laurynas/percona/src/fake-changes-from-fb/5.5/Percona-Server/sql/sql_admin.cc:1016
      #12 0x000000000060c302 in mysql_execute_command (thd=0x2300390) at /home/laurynas/percona/src/fake-changes-from-fb/5.5/Percona-Server/sql/sql_parse.cc:4655
      #13 0x000000000060ef17 in mysql_parse (thd=0x2300390, rawbuf=0x7fa3c8004c10 "CHECK TABLE t1", length=14, parser_state=0x7fa3dc41c140) at /home/laurynas/percona/src/fake-changes-from-fb/5.5/Percona-Server/sql/sql_parse.cc:5884
      #14 0x00000000006026c8 in dispatch_command (command=COM_QUERY, thd=0x2300390, packet=0x238ddb1 "", packet_length=14) at /home/laurynas/percona/src/fake-changes-from-fb/5.5/Percona-Server/sql/sql_parse.cc:1079
      #15 0x00000000006018cb in do_command (thd=0x2300390) at /home/laurynas/percona/src/fake-changes-from-fb/5.5/Percona-Server/sql/sql_parse.cc:789
      #16 0x00000000006f4090 in do_handle_one_connection (thd_arg=0x2300390) at /home/laurynas/percona/src/fake-changes-from-fb/5.5/Percona-Server/sql/sql_connect.cc:1487
      #17 0x00000000006f3b85 in handle_one_connection (arg=0x2300390) at /home/laurynas/percona/src/fake-changes-from-fb/5.5/Percona-Server/sql/sql_connect.cc:1402
      #18 0x000000000099a61e in pfs_spawn_thread (arg=0x2378530) at /home/laurynas/percona/src/fake-changes-from-fb/5.5/Percona-Server/storage/perfschema/pfs.cc:1015
      #19 0x00007fa3deb7bf8e in start_thread (arg=0x7fa3dc41d700) at pthread_create.c:311
      #20 0x00007fa3dde60e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

        Smart Checklist

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                lpjirasync lpjirasync (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: