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

test failure: encryption.create_or_replace hangs during DROP for CREATE OR REPLACE TABLE

Details

    Description

      10.2 at commit ce8ee7d90b4f7dd784e1d7587093e671b35303f0

      gcc --version
      gcc (GCC) 7.1.1 20170504
       
      cmake ../mariadb-10.2/ -DCMAKE_BUILD_TYPE=RelWithDebInfo  -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++  '-DCMAKE_C_FLAGS_RELWITHDEBINFO=-m64 -O3 -g -mtune=native' '-DCMAKE_CXX_FLAGS_RELWITHDEBINFO=-m64 -O3 -g -mtune=native' '-DCMAKE_C_FLAGS=-m64 -O3 -g -mtune=native' '-DCMAKE_CXX_FLAGS=-m64 -O3 -g -mtune=native' -DWITH_SSL=system -DCMAKE_INSTALL_PREFIX=/mysql/mariadb-upstream-Debug-10.2-gcc-7  -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DWITHOUT_FEDERATED_STORAGE_ENGINE=1 -DWITHOUT_FEDERATEDX_STORAGE_ENGINE=1 -DWITHOUT_TOKUDB_STORAGE_ENGINE=1
      

      encryption.create_or_replace 'ctr,innodb' w87 [ fail ]  timeout after 900 seconds
              Test ended at 2017-05-05 11:36:47
       
      Test case timeout after 900 seconds
       
      == /home/danielgb/build-mariadb-10.2-gcc7/mysql-test/var/87/log/create_or_replace.log == 
      call mtr.add_suppression("InnoDB: Error: trying to do an operation on a dropped tablespace.*");
      SET default_storage_engine = InnoDB;
      CREATE TABLE t1 (pk INT PRIMARY KEY, c VARCHAR(256));
      CREATE TABLE t2 AS SELECT * FROM t1;
      drop table t1,t2;
      SET GLOBAL innodb_encryption_threads = 0;
      SET GLOBAL innodb_encryption_threads = 4;
      CREATE TABLE `table10_int_autoinc` (`col_int_key` int, pk int auto_increment, `col_int` int, key (`col_int_key` ),primary key (pk)) engine=innodb;
      INSERT /*! IGNORE */ INTO table10_int_autoinc VALUES  (NULL, NULL, -474021888) ,  (1, NULL, NULL) ,  (1141047296, NULL, NULL) ,  (NULL, NULL, NULL) ,  (NULL, NULL, 1) ,  (NULL, NULL, 9) ,  (0, NULL, 1225785344) ,  (NULL, NULL, 1574174720) ,  (2, NULL, NULL) ,  (6, NULL, 3);
      CREATE TABLE `table1_int_autoinc` (`col_int_key` int, pk int auto_increment, `col_int` int,key (`col_int_key` ), primary key (pk)) engine=innodb;
      CREATE TABLE `table0_int_autoinc` (`col_int_key` int, pk int auto_increment, `col_int` int, key (`col_int_key` ),primary key (pk)) engine=innodb;
      INSERT /*! IGNORE */ INTO table1_int_autoinc VALUES  (4, NULL, NULL);
      INSERT IGNORE INTO `table0_int_autoinc` ( `col_int_key` ) VALUES ( 1 ), ( 3 ), ( 4 ), ( 1 );
      INSERT IGNORE INTO `table1_int_autoinc` ( `col_int` ) VALUES ( 1 ), ( 0 ), ( 7 ), ( 9 );
      INSERT IGNORE INTO `table10_int_autoinc` ( `col_int` ) VALUES ( 6 ), ( 2 ), ( 3 ), ( 6 );
      connect  con1,localhost,root,,test;
      connect  con2,localhost,root,,test;
       
       == /home/danielgb/build-mariadb-10.2-gcc7/mysql-test/var/87/tmp/analyze-timeout-mysqld.1.err ==
      mysqltest: Could not open connection 'default' after 500 attempts: 2002 Can't connect to local MySQL server through socket '/home/danielgb/build-mariadb-10.2-gcc7/mysql-test/var/tmp/87/mys' (111)
       
       
       - saving '/home/danielgb/build-mariadb-10.2-gcc7/mysql-test/var/87/log/encryption.create_or_replace-ctr,innodb/' to '/home/danielgb/build-mariadb-10.2-gcc7/mysql-test/var/log/encryption.create_or_replace-ctr,innodb/'
       - found 'core' (0/5)
       
      Trying 'dbx' to get a backtrace
       
      Trying 'gdb' to get a backtrace from coredump /home/danielgb/build-mariadb-10.2-gcc7/mysql-test/var/log/encryption.create_or_replace-ctr,innodb/mysqld.1/data/core
      Core generated by '/home/danielgb/build-mariadb-10.2-gcc7/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 46989]
      [New LWP 48057]
      [New LWP 47823]
      [New LWP 54439]
      [New LWP 47821]
      [New LWP 54441]
      [New LWP 47730]
      [New LWP 47731]
      [New LWP 47733]
      [New LWP 47734]
      [New LWP 47728]
      [New LWP 47732]
      [New LWP 54465]
      [New LWP 47817]
      [New LWP 47700]
      [New LWP 47820]
      [New LWP 47819]
      [New LWP 47822]
      [New LWP 47824]
      [New LWP 47843]
      [New LWP 47844]
      [New LWP 47933]
      [New LWP 47949]
      [New LWP 47842]
      [New LWP 47860]
      [New LWP 47840]
      [New LWP 47839]
      [New LWP 54458]
      [New LWP 47816]
      [New LWP 54437]
      [New LWP 54440]
      [New LWP 47735]
      [New LWP 47818]
      [Thread debugging using libthread_db enabled]
      Using host libthread_db library "/lib/powerpc64le-linux-gnu/libthread_db.so.1".
      Core was generated by `/home/danielgb/build-mariadb-10.2-gcc7/sql/mysqld --defaults-group-suffix=.1 --'.
      Program terminated with signal SIGABRT, Aborted.
      #0  0x00003fffa9901964 in pthread_kill () from /lib/powerpc64le-linux-gnu/libpthread.so.0
      [Current thread is 1 (Thread 0x3fffa99bc830 (LWP 46989))]
      #0  0x00003fffa9901964 in pthread_kill () from /lib/powerpc64le-linux-gnu/libpthread.so.0
      #1  0x0000000056378c38 in my_write_core (sig=<optimized out>) at /home/danielgb/mariadb-10.2/mysys/stacktrace.c:477
      #2  0x0000000055c74ffc in handle_fatal_signal (sig=<optimized out>) at /home/danielgb/mariadb-10.2/sql/signal_handler.cc:299
      #3  <signal handler called>
      #4  0x00003fffa8ef2bf8 in poll () from /lib/powerpc64le-linux-gnu/libc.so.6
      #5  0x00003fffa8f1c064 in __poll_chk () from /lib/powerpc64le-linux-gnu/libc.so.6
      #6  0x00000000559ae5a0 in poll (__timeout=-1, __nfds=2, __fds=0x3fffe9d841f0) at /usr/include/powerpc64le-linux-gnu/bits/poll2.h:41
      #7  handle_connections_sockets () at /home/danielgb/mariadb-10.2/sql/mysqld.cc:6556
      #8  0x00000000559b9108 in mysqld_main (argc=<optimized out>, argv=<optimized out>) at /home/danielgb/mariadb-10.2/sql/mysqld.cc:6022
      #9  0x0000000055990be8 in main (argc=<optimized out>, argv=<optimized out>) at /home/danielgb/mariadb-10.2/sql/main.cc:25
       
      Thread 33 (Thread 0x3fff99fff000 (LWP 47818)):
      #0  0x00003fffa9900614 in pthread_cond_timedwait@@GLIBC_2.17 () from /lib/powerpc64le-linux-gnu/libpthread.so.0
      #1  0x0000000055f1bf0c in os_event::timed_wait (this=<error reading variable: value has been optimized out>, abstime=<optimized out>) at /home/danielgb/mariadb-10.2/storage/innobase/os/os0event.cc:286
      #2  0x0000000055f1c868 in os_event::wait_time_low (reset_sig_count=<optimized out>, time_in_usec=<optimized out>, this=0x1003b246b50) at /home/danielgb/mariadb-10.2/storage/innobase/os/os0event.cc:413
      #3  os_event_wait_time_low (event=0x1003b246b50, time_in_usec=<optimized out>, reset_sig_count=<optimized out>) at /home/danielgb/mariadb-10.2/storage/innobase/os/os0event.cc:518
      #4  0x0000000055fd5688 in srv_monitor_thread () at /home/danielgb/mariadb-10.2/storage/innobase/srv/srv0srv.cc:1775
      #5  0x00003fffa98f8070 in start_thread () from /lib/powerpc64le-linux-gnu/libpthread.so.0
      #6  0x00003fffa8f03230 in clone () from /lib/powerpc64le-linux-gnu/libc.so.6
       
      Thread 32 (Thread 0x3fff9b7ff000 (LWP 47735)):
      #0  0x00003fffa9900614 in pthread_cond_timedwait@@GLIBC_2.17 () from /lib/powerpc64le-linux-gnu/libpthread.so.0
      #1  0x0000000055f1bf0c in os_event::timed_wait (this=<error reading variable: value has been optimized out>, abstime=<optimized out>) at /home/danielgb/mariadb-10.2/storage/innobase/os/os0event.cc:286
      #2  0x0000000055f1c868 in os_event::wait_time_low (reset_sig_count=<optimized out>, time_in_usec=<optimized out>, this=0x1003b246c50) at /home/danielgb/mariadb-10.2/storage/innobase/os/os0event.cc:413
      #3  os_event_wait_time_low (event=0x1003b246c50, time_in_usec=<optimized out>, reset_sig_count=<optimized out>) at /home/danielgb/mariadb-10.2/storage/innobase/os/os0event.cc:518
      #4  0x00000000560aa26c in pc_sleep_if_needed (sig_count=23, next_loop_time=1493948157991) at /home/danielgb/mariadb-10.2/storage/innobase/buf/buf0flu.cc:2706
      #5  buf_flush_page_cleaner_coordinator (arg=<optimized out>) at /home/danielgb/mariadb-10.2/storage/innobase/buf/buf0flu.cc:3207
      #6  0x00003fffa98f8070 in start_thread () from /lib/powerpc64le-linux-gnu/libpthread.so.0
      #7  0x00003fffa8f03230 in clone () from /lib/powerpc64le-linux-gnu/libc.so.6
       
      Thread 31 (Thread 0x3fff6604f000 (LWP 54440)):
      #0  0x00003fffa9900614 in pthread_cond_timedwait@@GLIBC_2.17 () from /lib/powerpc64le-linux-gnu/libpthread.so.0
      #1  0x0000000055f1bf0c in os_event::timed_wait (this=<error reading variable: value has been optimized out>, abstime=<optimized out>) at /home/danielgb/mariadb-10.2/storage/innobase/os/os0event.cc:286
      #2  0x0000000055f1c868 in os_event::wait_time_low (reset_sig_count=<optimized out>, time_in_usec=<optimized out>, this=0x1003b3e2450) at /home/danielgb/mariadb-10.2/storage/innobase/os/os0event.cc:413
      #3  os_event_wait_time_low (event=0x1003b3e2450, time_in_usec=<optimized out>, reset_sig_count=<optimized out>) at /home/danielgb/mariadb-10.2/storage/innobase/os/os0event.cc:518
      #4  0x00000000561358f8 in fil_crypt_thread (arg=<optimized out>) at /home/danielgb/mariadb-10.2/storage/innobase/fil/fil0crypt.cc:2128
      #5  0x00003fffa98f8070 in start_thread () from /lib/powerpc64le-linux-gnu/libpthread.so.0
      #6  0x00003fffa8f03230 in clone () from /lib/powerpc64le-linux-gnu/libc.so.6
       
      Thread 30 (Thread 0x3fff6704f000 (LWP 54437)):
      #0  0x00003fffa9900614 in pthread_cond_timedwait@@GLIBC_2.17 () from /lib/powerpc64le-linux-gnu/libpthread.so.0
      #1  0x0000000055f1bf0c in os_event::timed_wait (this=<error reading variable: value has been optimized out>, abstime=<optimized out>) at /home/danielgb/mariadb-10.2/storage/innobase/os/os0event.cc:286
      #2  0x0000000055f1c868 in os_event::wait_time_low (reset_sig_count=<optimized out>, time_in_usec=<optimized out>, this=0x1003b3e2450) at /home/danielgb/mariadb-10.2/storage/innobase/os/os0event.cc:413
      #3  os_event_wait_time_low (event=0x1003b3e2450, time_in_usec=<optimized out>, reset_sig_count=<optimized out>) at /home/danielgb/mariadb-10.2/storage/innobase/os/os0event.cc:518
      #4  0x00000000561358f8 in fil_crypt_thread (arg=<optimized out>) at /home/danielgb/mariadb-10.2/storage/innobase/fil/fil0crypt.cc:2128
      #5  0x00003fffa98f8070 in start_thread () from /lib/powerpc64le-linux-gnu/libpthread.so.0
      #6  0x00003fffa8f03230 in clone () from /lib/powerpc64le-linux-gnu/libc.so.6
       
      Thread 29 (Thread 0x3fff9afff000 (LWP 47816)):
      #0  0x00003fffa9900614 in pthread_cond_timedwait@@GLIBC_2.17 () from /lib/powerpc64le-linux-gnu/libpthread.so.0
      #1  0x0000000055f1bf0c in os_event::timed_wait (this=<error reading variable: value has been optimized out>, abstime=<optimized out>) at /home/danielgb/mariadb-10.2/storage/innobase/os/os0event.cc:286
      #2  0x0000000055f1c868 in os_event::wait_time_low (reset_sig_count=<optimized out>, time_in_usec=<optimized out>, this=0x1003b3857e0) at /home/danielgb/mariadb-10.2/storage/innobase/os/os0event.cc:413
      #3  os_event_wait_time_low (event=0x1003b3857e0, time_in_usec=<optimized out>, reset_sig_count=<optimized out>) at /home/danielgb/mariadb-10.2/storage/innobase/os/os0event.cc:518
      #4  0x0000000055ede080 in lock_wait_timeout_thread () at /home/danielgb/mariadb-10.2/storage/innobase/lock/lock0wait.cc:529
      #5  0x00003fffa98f8070 in start_thread () from /lib/powerpc64le-linux-gnu/libpthread.so.0
      #6  0x00003fffa8f03230 in clone () from /lib/powerpc64le-linux-gnu/libc.so.6
       
      Thread 28 (Thread 0x3fffa2cd8000 (LWP 54458)):
      #0  0x00003fffa9900614 in pthread_cond_timedwait@@GLIBC_2.17 () from /lib/powerpc64le-linux-gnu/libpthread.so.0
      #1  0x00000000559ad668 in inline_mysql_cond_timedwait (src_file=0x563f3f50 "/home/danielgb/mariadb-10.2/sql/mysqld.cc", src_line=2950, abstime=0x3fffa2cd7478, mutex=0x56a55488 <LOCK_thread_cache>, that=0x56a579b0 <COND_thread_cache>) at /home/danielgb/mariadb-10.2/include/mysql/psi/mysql_thread.h:1175
      #2  cache_thread (thd=0x3fff480009a8) at /home/danielgb/mariadb-10.2/sql/mysqld.cc:2949
      #3  one_thread_per_connection_end (thd=0x3fff480009a8, put_in_cache=<optimized out>) at /home/danielgb/mariadb-10.2/sql/mysqld.cc:3038
      #4  0x0000000055b6d934 in do_handle_one_connection (connect=<optimized out>) at /home/danielgb/mariadb-10.2/sql/sql_connect.cc:1373
      #5  0x0000000055b6dcdc in handle_one_connection (arg=0x1003b74d718) at /home/danielgb/mariadb-10.2/sql/sql_connect.cc:1260
      #6  0x0000000056315a80 in pfs_spawn_thread (arg=0x1003b6de728) at /home/danielgb/mariadb-10.2/storage/perfschema/pfs.cc:1862
      #7  0x00003fffa98f8070 in start_thread () from /lib/powerpc64le-linux-gnu/libpthread.so.0
      #8  0x00003fffa8f03230 in clone () from /lib/powerpc64le-linux-gnu/libc.so.6
       
      Thread 27 (Thread 0x3fff927ff000 (LWP 47839)):
      #0  0x00003fffa9900614 in pthread_cond_timedwait@@GLIBC_2.17 () from /lib/powerpc64le-linux-gnu/libpthread.so.0
      #1  0x0000000055f1bf0c in os_event::timed_wait (this=<error reading variable: value has been optimized out>, abstime=<optimized out>) at /home/danielgb/mariadb-10.2/storage/innobase/os/os0event.cc:286
      #2  0x0000000055f1c868 in os_event::wait_time_low (reset_sig_count=<optimized out>, time_in_usec=<optimized out>, this=0x1003b398a30) at /home/danielgb/mariadb-10.2/storage/innobase/os/os0event.cc:413
      #3  os_event_wait_time_low (event=0x1003b398a30, time_in_usec=<optimized out>, reset_sig_count=<optimized out>) at /home/danielgb/mariadb-10.2/storage/innobase/os/os0event.cc:518
      #4  0x000000005610e910 in dict_stats_thread () at /home/danielgb/mariadb-10.2/storage/innobase/dict/dict0stats_bg.cc:419
      #5  0x00003fffa98f8070 in start_thread () from /lib/powerpc64le-linux-gnu/libpthread.so.0
      #6  0x00003fffa8f03230 in clone () from /lib/powerpc64le-linux-gnu/libc.so.6
       
      Thread 26 (Thread 0x3fff91fff000 (LWP 47840)):
      #0  0x00003fffa9900614 in pthread_cond_timedwait@@GLIBC_2.17 () from /lib/powerpc64le-linux-gnu/libpthread.so.0
      #1  0x0000000055f1bf0c in os_event::timed_wait (this=<error reading variable: value has been optimized out>, abstime=<optimized out>) at /home/danielgb/mariadb-10.2/storage/innobase/os/os0event.cc:286
      #2  0x0000000055f1c868 in os_event::wait_time_low (reset_sig_count=<optimized out>, time_in_usec=<optimized out>, this=0x1003b360410) at /home/danielgb/mariadb-10.2/storage/innobase/os/os0event.cc:413
      #3  os_event_wait_time_low (event=0x1003b360410, time_in_usec=<optimized out>, reset_sig_count=<optimized out>) at /home/danielgb/mariadb-10.2/storage/innobase/os/os0event.cc:518
      #4  0x0000000056040ad0 in ib_wqueue_timedwait (wq=0x1003b34e1f0, wait_in_usecs=5000000) at /home/danielgb/mariadb-10.2/storage/innobase/ut/ut0wqueue.cc:161
      #5  0x000000005617a028 in fts_optimize_thread (arg=0x1003b34e1f0) at /home/danielgb/mariadb-10.2/storage/innobase/fts/fts0opt.cc:3039
      #6  0x00003fffa98f8070 in start_thread () from /lib/powerpc64le-linux-gnu/libpthread.so.0
      #7  0x00003fffa8f03230 in clone () from /lib/powerpc64le-linux-gnu/libc.so.6
       
      Thread 25 (Thread 0x3fff6784f000 (LWP 47860)):
      #0  0x00003fffa9900614 in pthread_cond_timedwait@@GLIBC_2.17 () from /lib/powerpc64le-linux-gnu/libpthread.so.0
      #1  0x000000005620abdc in inline_mysql_cond_timedwait (src_file=0x564cc7e0 "/home/danielgb/mariadb-10.2/storage/maria/ma_servicethread.c", src_line=116, abstime=<optimized out>, mutex=0x572e9830 <LOCK_checkpoint>, that=0x572e9868 <COND_checkpoint>) at /home/danielgb/mariadb-10.2/include/mysql/psi/mysql_thread.h:1175
      #2  my_service_thread_sleep (control=0x569d7338 <checkpoint_control>, sleep_time=<optimized out>) at /home/danielgb/mariadb-10.2/storage/maria/ma_servicethread.c:115
      #3  0x00000000561fb3ac in ma_checkpoint_background (arg=0x1e) at /home/danielgb/mariadb-10.2/storage/maria/ma_checkpoint.c:708
      #4  0x0000000056315a80 in pfs_spawn_thread (arg=0x1003b364fe8) at /home/danielgb/mariadb-10.2/storage/perfschema/pfs.cc:1862
      #5  0x00003fffa98f8070 in start_thread () from /lib/powerpc64le-linux-gnu/libpthread.so.0
      #6  0x00003fffa8f03230 in clone () from /lib/powerpc64le-linux-gnu/libc.so.6
       
      Thread 24 (Thread 0x3fff917ff000 (LWP 47842)):
      #0  0x00003fffa9905dec in nanosleep () from /lib/powerpc64le-linux-gnu/libpthread.so.0
      #1  0x0000000055f1cf6c in os_thread_sleep (tm=<optimized out>) at /home/danielgb/mariadb-10.2/storage/innobase/os/os0thread.cc:245
      #2  0x000000005607c6d8 in btr_defragment_thread (arg=<optimized out>) at /home/danielgb/mariadb-10.2/storage/innobase/btr/btr0defragment.cc:771
      #3  0x00003fffa98f8070 in start_thread () from /lib/powerpc64le-linux-gnu/libpthread.so.0
      #4  0x00003fffa8f03230 in clone () from /lib/powerpc64le-linux-gnu/libc.so.6
       
      Thread 23 (Thread 0x3fffa2d98000 (LWP 47949)):
      #0  0x00003fffa9900110 in pthread_cond_wait@@GLIBC_2.17 () from /lib/powerpc64le-linux-gnu/libpthread.so.0
      #1  0x00000000559d6e20 in inline_mysql_cond_wait (that=<optimized out>, mutex=<optimized out>, src_file=0x563fd340 "/home/danielgb/mariadb-10.2/sql/slave.cc", src_line=334) at /home/danielgb/mariadb-10.2/include/mysql/psi/mysql_thread.h:1138
      #2  handle_slave_background (arg=<optimized out>) at /home/danielgb/mariadb-10.2/sql/slave.cc:334
      #3  0x0000000056315a80 in pfs_spawn_thread (arg=0x1003b737c98) at /home/danielgb/mariadb-10.2/storage/perfschema/pfs.cc:1862
      #4  0x00003fffa98f8070 in start_thread () from /lib/powerpc64le-linux-gnu/libpthread.so.0
      #5  0x00003fffa8f03230 in clone () from /lib/powerpc64le-linux-gnu/libc.so.6
       
      Thread 22 (Thread 0x3fffa2df8000 (LWP 47933)):
      #0  0x00003fffa9906774 in sigwait () from /lib/powerpc64le-linux-gnu/libpthread.so.0
      #1  0x00000000559abd2c in signal_hand (arg=<optimized out>) at /home/danielgb/mariadb-10.2/sql/mysqld.cc:3487
      #2  0x0000000056315a80 in pfs_spawn_thread (arg=0x1003b6ec648) at /home/danielgb/mariadb-10.2/storage/perfschema/pfs.cc:1862
      #3  0x00003fffa98f8070 in start_thread () from /lib/powerpc64le-linux-gnu/libpthread.so.0
      #4  0x00003fffa8f03230 in clone () from /lib/powerpc64le-linux-gnu/libc.so.6
       
      Thread 21 (Thread 0x3fff907ff000 (LWP 47844)):
      #0  0x00003fffa9900110 in pthread_cond_wait@@GLIBC_2.17 () from /lib/powerpc64le-linux-gnu/libpthread.so.0
      #1  0x0000000055e74e0c in inline_mysql_cond_wait (src_file=0x56489058 "/home/danielgb/mariadb-10.2/storage/innobase/handler/ha_innodb.cc", src_line=338, mutex=0x3fff907fe540, that=0x3fff907fe570) at /home/danielgb/mariadb-10.2/include/mysql/psi/mysql_thread.h:1149
      #2  thd_destructor_proxy () at /home/danielgb/mariadb-10.2/storage/innobase/handler/ha_innodb.cc:338
      #3  0x0000000056315a80 in pfs_spawn_thread (arg=0x1003b360b28) at /home/danielgb/mariadb-10.2/storage/perfschema/pfs.cc:1862
      #4  0x00003fffa98f8070 in start_thread () from /lib/powerpc64le-linux-gnu/libpthread.so.0
      #5  0x00003fffa8f03230 in clone () from /lib/powerpc64le-linux-gnu/libc.so.6
       
      Thread 20 (Thread 0x3fff90fff000 (LWP 47843)):
      #0  0x00003fffa9900110 in pthread_cond_wait@@GLIBC_2.17 () from /lib/powerpc64le-linux-gnu/libpthread.so.0
      #1  0x0000000055f1ca48 in os_event::wait (this=<optimized out>) at /home/danielgb/mariadb-10.2/storage/innobase/os/os0event.cc:166
      #2  os_event::wait_low (reset_sig_count=<optimized out>, this=0x1003b246cd0) at /home/danielgb/mariadb-10.2/storage/innobase/os/os0event.cc:336
      #3  os_event_wait_low (event=0x1003b246cd0, reset_sig_count=<optimized out>) at /home/danielgb/mariadb-10.2/storage/innobase/os/os0event.cc:535
      #4  0x000000005608de40 in buf_resize_thread () at /home/danielgb/mariadb-10.2/storage/innobase/buf/buf0buf.cc:3080
      #5  0x00003fffa98f8070 in start_thread () from /lib/powerpc64le-linux-gnu/libpthread.so.0
      #6  0x00003fffa8f03230 in clone () from /lib/powerpc64le-linux-gnu/libc.so.6
       
      Thread 19 (Thread 0x3fff92fff000 (LWP 47824)):
      #0  0x00003fffa9900110 in pthread_cond_wait@@GLIBC_2.17 () from /lib/powerpc64le-linux-gnu/libpthread.so.0
      #1  0x0000000055f1ca48 in os_event::wait (this=<optimized out>) at /home/danielgb/mariadb-10.2/storage/innobase/os/os0event.cc:166
      #2  os_event::wait_low (reset_sig_count=<optimized out>, this=0x1003b246bd0) at /home/danielgb/mariadb-10.2/storage/innobase/os/os0event.cc:336
      #3  os_event_wait_low (event=0x1003b246bd0, reset_sig_count=<optimized out>) at /home/danielgb/mariadb-10.2/storage/innobase/os/os0event.cc:535
      #4  0x0000000056099198 in buf_dump_thread () at /home/danielgb/mariadb-10.2/storage/innobase/buf/buf0dump.cc:815
      #5  0x00003fffa98f8070 in start_thread () from /lib/powerpc64le-linux-gnu/libpthread.so.0
      #6  0x00003fffa8f03230 in clone () from /lib/powerpc64le-linux-gnu/libc.so.6
       
      Thread 18 (Thread 0x3fff93fff000 (LWP 47822)):
      #0  0x00003fffa9900110 in pthread_cond_wait@@GLIBC_2.17 () from /lib/powerpc64le-linux-gnu/libpthread.so.0
      #1  0x0000000055f1ca48 in os_event::wait (this=<optimized out>) at /home/danielgb/mariadb-10.2/storage/innobase/os/os0event.cc:166
      #2  os_event::wait_low (reset_sig_count=<optimized out>, this=0x1003b246950) at /home/danielgb/mariadb-10.2/storage/innobase/os/os0event.cc:336
      #3  os_event_wait_low (event=0x1003b246950, reset_sig_count=<optimized out>) at /home/danielgb/mariadb-10.2/storage/innobase/os/os0event.cc:535
      #4  0x0000000055fd6e7c in srv_resume_thread (sig_count=0, wait=true, timeout_usec=0, slot=0x1003b246598) at /home/danielgb/mariadb-10.2/storage/innobase/srv/srv0srv.cc:954
      #5  srv_worker_thread (arg=<optimized out>) at /home/danielgb/mariadb-10.2/storage/innobase/srv/srv0srv.cc:2710
      #6  0x00003fffa98f8070 in start_thread () from /lib/powerpc64le-linux-gnu/libpthread.so.0
      #7  0x00003fffa8f03230 in clone () from /lib/powerpc64le-linux-gnu/libc.so.6
       
      Thread 17 (Thread 0x3fff997ff000 (LWP 47819)):
      #0  0x00003fffa9900110 in pthread_cond_wait@@GLIBC_2.17 () from /lib/powerpc64le-linux-gnu/libpthread.so.0
      #1  0x0000000055f1ca48 in os_event::wait (this=<optimized out>) at /home/danielgb/mariadb-10.2/storage/innobase/os/os0event.cc:166
      #2  os_event::wait_low (reset_sig_count=<optimized out>, this=0x1003b3a2ea0) at /home/danielgb/mariadb-10.2/storage/innobase/os/os0event.cc:336
      #3  os_event_wait_low (event=0x1003b3a2ea0, reset_sig_count=<optimized out>) at /home/danielgb/mariadb-10.2/storage/innobase/os/os0event.cc:535
      #4  0x0000000055fe294c in sync_array_wait_event (arr=0x1003b22fa10, cell=@0x3fff997fe398: 0x3fffa3e10050) at /home/danielgb/mariadb-10.2/storage/innobase/sync/sync0arr.cc:475
      #5  0x0000000055fe6854 in rw_lock_x_lock_func (lock=0x1003b3bf2b0, pass=0, file_name=0x564aafb0 "/home/danielgb/mariadb-10.2/storage/innobase/srv/srv0srv.cc", line=<optimized out>) at /home/danielgb/mariadb-10.2/storage/innobase/sync/sync0rw.cc:751
      #6  0x0000000055fce4dc in pfs_rw_lock_x_lock_func (pass=0, file_name=0x564aafb0 "/home/danielgb/mariadb-10.2/storage/innobase/srv/srv0srv.cc", line=2173, lock=0x1003b3bf2b0) at /home/danielgb/mariadb-10.2/storage/innobase/include/sync0rw.ic:538
      #7  srv_master_evict_from_table_cache (pct_check=100) at /home/danielgb/mariadb-10.2/storage/innobase/srv/srv0srv.cc:2173
      #8  0x0000000055fd6358 in srv_master_do_idle_tasks () at /home/danielgb/mariadb-10.2/storage/innobase/srv/srv0srv.cc:2421
      #9  srv_master_thread (arg=<optimized out>) at /home/danielgb/mariadb-10.2/storage/innobase/srv/srv0srv.cc:2576
      #10 0x00003fffa98f8070 in start_thread () from /lib/powerpc64le-linux-gnu/libpthread.so.0
      #11 0x00003fffa8f03230 in clone () from /lib/powerpc64le-linux-gnu/libc.so.6
       
      Thread 16 (Thread 0x3fff98fff000 (LWP 47820)):
      #0  0x00003fffa9900110 in pthread_cond_wait@@GLIBC_2.17 () from /lib/powerpc64le-linux-gnu/libpthread.so.0
      #1  0x0000000055f1ca48 in os_event::wait (this=<optimized out>) at /home/danielgb/mariadb-10.2/storage/innobase/os/os0event.cc:166
      #2  os_event::wait_low (reset_sig_count=<optimized out>, this=0x1003b2468d0) at /home/danielgb/mariadb-10.2/storage/innobase/os/os0event.cc:336
      #3  os_event_wait_low (event=0x1003b2468d0, reset_sig_count=<optimized out>) at /home/danielgb/mariadb-10.2/storage/innobase/os/os0event.cc:535
      #4  0x0000000055fd8cd8 in srv_resume_thread (timeout_usec=0, wait=true, sig_count=2837, slot=0x1003b246560) at /home/danielgb/mariadb-10.2/storage/innobase/srv/srv0srv.cc:954
      #5  srv_purge_coordinator_suspend (rseg_history_len=<optimized out>, slot=0x1003b246560, thd=<optimized out>) at /home/danielgb/mariadb-10.2/storage/innobase/srv/srv0srv.cc:2867
      #6  srv_purge_coordinator_thread (arg=<optimized out>) at /home/danielgb/mariadb-10.2/storage/innobase/srv/srv0srv.cc:2954
      #7  0x00003fffa98f8070 in start_thread () from /lib/powerpc64le-linux-gnu/libpthread.so.0
      #8  0x00003fffa8f03230 in clone () from /lib/powerpc64le-linux-gnu/libc.so.6
       
      Thread 15 (Thread 0x3fffa477f000 (LWP 47700)):
      #0  0x00003fffa9900614 in pthread_cond_timedwait@@GLIBC_2.17 () from /lib/powerpc64le-linux-gnu/libpthread.so.0
      #1  0x000000005637f61c in inline_mysql_cond_timedwait (that=0x572f96b0 <COND_timer>, mutex=0x572f9648 <LOCK_timer>, src_file=0x564dfeb8 "/home/danielgb/mariadb-10.2/mysys/thr_timer.c", src_line=292, abstime=0x3fffa477e538) at /home/danielgb/mariadb-10.2/include/mysql/psi/mysql_thread.h:1175
      #2  timer_handler (arg=<optimized out>) at /home/danielgb/mariadb-10.2/mysys/thr_timer.c:292
      #3  0x0000000056315a80 in pfs_spawn_thread (arg=0x1003b1def68) at /home/danielgb/mariadb-10.2/storage/perfschema/pfs.cc:1862
      #4  0x00003fffa98f8070 in start_thread () from /lib/powerpc64le-linux-gnu/libpthread.so.0
      #5  0x00003fffa8f03230 in clone () from /lib/powerpc64le-linux-gnu/libc.so.6
       
      Thread 14 (Thread 0x3fff9a7ff000 (LWP 47817)):
      #0  0x00003fffa9905dec in nanosleep () from /lib/powerpc64le-linux-gnu/libpthread.so.0
      #1  0x0000000055f1cf6c in os_thread_sleep (tm=<optimized out>) at /home/danielgb/mariadb-10.2/storage/innobase/os/os0thread.cc:245
      #2  0x0000000055fe4658 in sync_array_print_long_waits (waiter=0x3fff9a7fe3c8, sema=0x3fff9a7fe3d0) at /home/danielgb/mariadb-10.2/storage/innobase/sync/sync0arr.cc:1110
      #3  0x0000000055fd45dc in srv_error_monitor_thread () at /home/danielgb/mariadb-10.2/storage/innobase/srv/srv0srv.cc:1965
      #4  0x00003fffa98f8070 in start_thread () from /lib/powerpc64le-linux-gnu/libpthread.so.0
      #5  0x00003fffa8f03230 in clone () from /lib/powerpc64le-linux-gnu/libc.so.6
       
      Thread 13 (Thread 0x3fffa0208000 (LWP 54465)):
      #0  0x00003fffa9905dec in nanosleep () from /lib/powerpc64le-linux-gnu/libpthread.so.0
      #1  0x0000000055f1cf6c in os_thread_sleep (tm=<optimized out>) at /home/danielgb/mariadb-10.2/storage/innobase/os/os0thread.cc:245
      #2  0x0000000056130b2c in fil_space_crypt_close_tablespace (space=0x3fff50105920) at /home/danielgb/mariadb-10.2/storage/innobase/fil/fil0crypt.cc:2360
      #3  0x000000005611e214 in fil_check_pending_operations (id=653, operation=FIL_OPERATION_DELETE, space=0x3fffa01ffba8, path=0x3fffa01ffba0) at /home/danielgb/mariadb-10.2/storage/innobase/fil/fil0fil.cc:2975
      #4  0x0000000056129474 in fil_delete_tablespace (id=653, buf_remove=<optimized out>) at /home/danielgb/mariadb-10.2/storage/innobase/fil/fil0fil.cc:3138
      #5  0x0000000055f8b610 in row_drop_single_table_tablespace (table_flags=<optimized out>, filepath=0x3fff4c021b10 "./test/create_or_replace_t.ibd", tablename=<optimized out>, space_id=653) at /home/danielgb/mariadb-10.2/storage/innobase/row/row0mysql.cc:3582
      #6  row_drop_table_for_mysql (name=<optimized out>, trx=0x3fffa3a00ed8, drop_db=<optimized out>, create_failed=<optimized out>, nonatomic=<optimized out>) at /home/danielgb/mariadb-10.2/storage/innobase/row/row0mysql.cc:4111
      #7  0x0000000055e98448 in ha_innobase::delete_table (this=<optimized out>, name=0x3fffa0202270 "./test/create_or_replace_t") at /home/danielgb/mariadb-10.2/storage/innobase/handler/ha_innodb.cc:13845
      #8  0x0000000055c7fbc4 in handler::ha_delete_table (this=0x3fff4c0110f8, name=0x3fffa0202270 "./test/create_or_replace_t") at /home/danielgb/mariadb-10.2/sql/handler.cc:4333
      #9  0x0000000055c7fd2c in ha_delete_table (thd=<optimized out>, table_type=<optimized out>, path=<optimized out>, db=0x3fff4c00f6c8 "test", alias=0x3fff4c00f038 "create_or_replace_t", generate_warning=<optimized out>) at /home/danielgb/mariadb-10.2/sql/handler.cc:2358
      #10 0x0000000055b07d60 in mysql_rm_table_no_locks (thd=0x3fff4c0009a8, tables=0x3fffa02032f8, if_exists=<optimized out>, drop_temporary=<optimized out>, drop_view=<optimized out>, dont_log_query=<optimized out>, dont_free_locks=<optimized out>) at /home/danielgb/mariadb-10.2/sql/sql_table.cc:2469
      #11 0x0000000055b11164 in create_table_impl (thd=0x3fff4c0009a8, orig_db=0x3fff4c00f6c8 "test", orig_table_name=0x3fff4c00f038 "create_or_replace_t", db=0x3fff4c00f6c8 "test", table_name=0x3fff4c00f038 "create_or_replace_t", path=0x3fffa0203a50 "./test/create_or_replace_t", options=..., create_info=0x3fffa02052a0, alter_info=0x3fffa02051f0, create_table_mode=3, is_trans=0x0, key_info=0x3fffa0203a38, key_count=0x3fffa0203a34, frm=0x3fffa0203a40) at /home/danielgb/mariadb-10.2/sql/sql_table.cc:4789
      #12 0x0000000055b11370 in mysql_create_table_no_lock (thd=0x3fff4c0009a8, db=0x3fff4c00f6c8 "test", table_name=0x3fff4c00f038 "create_or_replace_t", create_info=0x3fffa02052a0, alter_info=0x3fffa02051f0, is_trans=0x0, create_table_mode=<optimized out>) at /home/danielgb/mariadb-10.2/sql/sql_table.cc:4986
      #13 0x0000000055a56550 in create_table_from_items (thd=0x3fff4c0009a8, create_info=0x3fffa02052a0, create_table=0x3fff4c00f0b8, alter_info=0x3fffa02051f0, items=0x3fff4c004ba8, lock=0x3fffa0204d98, hooks=0x3fffa0204da0) at /home/danielgb/mariadb-10.2/sql/sql_insert.cc:4120
      #14 0x0000000055a56908 in select_create::prepare (this=0x3fff4c010078, values=..., u=<optimized out>) at /home/danielgb/mariadb-10.2/sql/sql_insert.cc:4297
      #15 0x0000000055ac747c in JOIN::prepare (this=0x3fff4c010170, tables_init=<optimized out>, wild_num=<optimized out>, conds_init=0x0, og_num=<optimized out>, order_init=0x0, skip_order_by=<optimized out>, group_init=0x0, having_init=0x0, proc_param_init=0x0, select_lex_arg=0x3fff4c004a80, unit_arg=0x3fff4c004348) at /home/danielgb/mariadb-10.2/sql/sql_select.cc:1021
      #16 0x0000000055ad4ec4 in mysql_select (thd=0x3fff4c0009a8, tables=0x3fff4c00f870, wild_num=<optimized out>, fields=..., conds=0x0, og_num=<optimized out>, order=0x0, group=0x0, having=0x0, proc_param=0x0, select_options=2416184064, result=0x3fff4c010078, unit=0x3fff4c004348, select_lex=0x3fff4c004a80) at /home/danielgb/mariadb-10.2/sql/sql_select.cc:3644
      #17 0x0000000055ad51b4 in handle_select (thd=0x3fff4c0009a8, lex=0x3fff4c004280, result=0x3fff4c010078, setup_tables_done_option=0) at /home/danielgb/mariadb-10.2/sql/sql_select.cc:361
      #18 0x0000000055a7b24c in mysql_execute_command (thd=0x3fff4c0009a8) at /home/danielgb/mariadb-10.2/sql/sql_parse.cc:3917
      #19 0x0000000055a7b6bc in mysql_parse (thd=0x3fff4c0009a8, rawbuf=0x3fff4c00ef00 "CREATE OR REPLACE TABLE `create_or_replace_t` AS SELECT * FROM `table10_int_autoinc`", length=<optimized out>, parser_state=0x3fffa0206830, is_com_multi=<optimized out>, is_next_command=<optimized out>) at /home/danielgb/mariadb-10.2/sql/sql_parse.cc:7874
      #20 0x0000000055a7e53c in dispatch_command (command=<optimized out>, thd=<optimized out>, packet=<optimized out>, packet_length=<optimized out>, is_com_multi=<optimized out>, is_next_command=<optimized out>) at /home/danielgb/mariadb-10.2/sql/sql_parse.cc:1811
      #21 0x0000000055a7eea0 in do_command (thd=0x3fff4c0009a8) at /home/danielgb/mariadb-10.2/sql/sql_parse.cc:1361
      #22 0x0000000055b6d9d4 in do_handle_one_connection (connect=<optimized out>) at /home/danielgb/mariadb-10.2/sql/sql_connect.cc:1354
      #23 0x0000000055b6dcdc in handle_one_connection (arg=0x1003b74d718) at /home/danielgb/mariadb-10.2/sql/sql_connect.cc:1260
      #24 0x0000000056315a80 in pfs_spawn_thread (arg=0x1003b6dea78) at /home/danielgb/mariadb-10.2/storage/perfschema/pfs.cc:1862
      #25 0x00003fffa98f8070 in start_thread () from /lib/powerpc64le-linux-gnu/libpthread.so.0
      #26 0x00003fffa8f03230 in clone () from /lib/powerpc64le-linux-gnu/libc.so.6
       
      Thread 12 (Thread 0x3fffa144f000 (LWP 47732)):
      #0  0x00003fffa9810738 in ?? () from /lib/powerpc64le-linux-gnu/libaio.so.1
      #1  0x00003fffa98107a0 in io_getevents () from /lib/powerpc64le-linux-gnu/libaio.so.1
      #2  0x0000000055f0fde8 in LinuxAIOHandler::collect (this=0x3fffa144e4b8) at /home/danielgb/mariadb-10.2/storage/innobase/os/os0file.cc:1886
      #3  0x0000000055f13284 in LinuxAIOHandler::poll (this=0x3fffa144e4b8, m1=0x3fffa144e5b0, m2=0x3fffa144e5b8, request=0x3fffa144e5c0) at /home/danielgb/mariadb-10.2/storage/innobase/os/os0file.cc:2031
      #4  0x0000000055f1821c in os_aio_linux_handler (request=0x3fffa144e5c0, m2=0x3fffa144e5b8, m1=0x3fffa144e5b0, global_segment=<optimized out>) at /home/danielgb/mariadb-10.2/storage/innobase/os/os0file.cc:2085
      #5  os_aio_handler (segment=<optimized out>, m1=0x3fffa144e5b0, m2=0x3fffa144e5b8, request=0x3fffa144e5c0) at /home/danielgb/mariadb-10.2/storage/innobase/os/os0file.cc:5683
      #6  0x000000005611d1f8 in fil_aio_wait (segment=<optimized out>) at /home/danielgb/mariadb-10.2/storage/innobase/fil/fil0fil.cc:5498
      #7  0x0000000055fda508 in io_handler_thread (arg=<optimized out>) at /home/danielgb/mariadb-10.2/storage/innobase/srv/srv0start.cc:327
      #8  0x00003fffa98f8070 in start_thread () from /lib/powerpc64le-linux-gnu/libpthread.so.0
      #9  0x00003fffa8f03230 in clone () from /lib/powerpc64le-linux-gnu/libc.so.6
       
      Thread 11 (Thread 0x3fffa2c4f000 (LWP 47728)):
      #0  0x00003fffa9810738 in ?? () from /lib/powerpc64le-linux-gnu/libaio.so.1
      #1  0x00003fffa98107a0 in io_getevents () from /lib/powerpc64le-linux-gnu/libaio.so.1
      #2  0x0000000055f0fde8 in LinuxAIOHandler::collect (this=0x3fffa2c4e4b8) at /home/danielgb/mariadb-10.2/storage/innobase/os/os0file.cc:1886
      #3  0x0000000055f13284 in LinuxAIOHandler::poll (this=0x3fffa2c4e4b8, m1=0x3fffa2c4e5b0, m2=0x3fffa2c4e5b8, request=0x3fffa2c4e5c0) at /home/danielgb/mariadb-10.2/storage/innobase/os/os0file.cc:2031
      #4  0x0000000055f1821c in os_aio_linux_handler (request=0x3fffa2c4e5c0, m2=0x3fffa2c4e5b8, m1=0x3fffa2c4e5b0, global_segment=<optimized out>) at /home/danielgb/mariadb-10.2/storage/innobase/os/os0file.cc:2085
      #5  os_aio_handler (segment=<optimized out>, m1=0x3fffa2c4e5b0, m2=0x3fffa2c4e5b8, request=0x3fffa2c4e5c0) at /home/danielgb/mariadb-10.2/storage/innobase/os/os0file.cc:5683
      #6  0x000000005611d1f8 in fil_aio_wait (segment=<optimized out>) at /home/danielgb/mariadb-10.2/storage/innobase/fil/fil0fil.cc:5498
      #7  0x0000000055fda508 in io_handler_thread (arg=<optimized out>) at /home/danielgb/mariadb-10.2/storage/innobase/srv/srv0start.cc:327
      #8  0x00003fffa98f8070 in start_thread () from /lib/powerpc64le-linux-gnu/libpthread.so.0
      #9  0x00003fffa8f03230 in clone () from /lib/powerpc64le-linux-gnu/libc.so.6
       
      Thread 10 (Thread 0x3fff9bfff000 (LWP 47734)):
      #0  0x00003fffa9810738 in ?? () from /lib/powerpc64le-linux-gnu/libaio.so.1
      #1  0x00003fffa98107a0 in io_getevents () from /lib/powerpc64le-linux-gnu/libaio.so.1
      #2  0x0000000055f0fde8 in LinuxAIOHandler::collect (this=0x3fff9bffe4b8) at /home/danielgb/mariadb-10.2/storage/innobase/os/os0file.cc:1886
      #3  0x0000000055f13284 in LinuxAIOHandler::poll (this=0x3fff9bffe4b8, m1=0x3fff9bffe5b0, m2=0x3fff9bffe5b8, request=0x3fff9bffe5c0) at /home/danielgb/mariadb-10.2/storage/innobase/os/os0file.cc:2031
      #4  0x0000000055f1821c in os_aio_linux_handler (request=0x3fff9bffe5c0, m2=0x3fff9bffe5b8, m1=0x3fff9bffe5b0, global_segment=<optimized out>) at /home/danielgb/mariadb-10.2/storage/innobase/os/os0file.cc:2085
      #5  os_aio_handler (segment=<optimized out>, m1=0x3fff9bffe5b0, m2=0x3fff9bffe5b8, request=0x3fff9bffe5c0) at /home/danielgb/mariadb-10.2/storage/innobase/os/os0file.cc:5683
      #6  0x000000005611d1f8 in fil_aio_wait (segment=<optimized out>) at /home/danielgb/mariadb-10.2/storage/innobase/fil/fil0fil.cc:5498
      #7  0x0000000055fda508 in io_handler_thread (arg=<optimized out>) at /home/danielgb/mariadb-10.2/storage/innobase/srv/srv0start.cc:327
      #8  0x00003fffa98f8070 in start_thread () from /lib/powerpc64le-linux-gnu/libpthread.so.0
      #9  0x00003fffa8f03230 in clone () from /lib/powerpc64le-linux-gnu/libc.so.6
       
      Thread 9 (Thread 0x3fffa0c4f000 (LWP 47733)):
      #0  0x00003fffa9810738 in ?? () from /lib/powerpc64le-linux-gnu/libaio.so.1
      #1  0x00003fffa98107a0 in io_getevents () from /lib/powerpc64le-linux-gnu/libaio.so.1
      #2  0x0000000055f0fde8 in LinuxAIOHandler::collect (this=0x3fffa0c4e4b8) at /home/danielgb/mariadb-10.2/storage/innobase/os/os0file.cc:1886
      #3  0x0000000055f13284 in LinuxAIOHandler::poll (this=0x3fffa0c4e4b8, m1=0x3fffa0c4e5b0, m2=0x3fffa0c4e5b8, request=0x3fffa0c4e5c0) at /home/danielgb/mariadb-10.2/storage/innobase/os/os0file.cc:2031
      #4  0x0000000055f1821c in os_aio_linux_handler (request=0x3fffa0c4e5c0, m2=0x3fffa0c4e5b8, m1=0x3fffa0c4e5b0, global_segment=<optimized out>) at /home/danielgb/mariadb-10.2/storage/innobase/os/os0file.cc:2085
      #5  os_aio_handler (segment=<optimized out>, m1=0x3fffa0c4e5b0, m2=0x3fffa0c4e5b8, request=0x3fffa0c4e5c0) at /home/danielgb/mariadb-10.2/storage/innobase/os/os0file.cc:5683
      #6  0x000000005611d1f8 in fil_aio_wait (segment=<optimized out>) at /home/danielgb/mariadb-10.2/storage/innobase/fil/fil0fil.cc:5498
      #7  0x0000000055fda508 in io_handler_thread (arg=<optimized out>) at /home/danielgb/mariadb-10.2/storage/innobase/srv/srv0start.cc:327
      #8  0x00003fffa98f8070 in start_thread () from /lib/powerpc64le-linux-gnu/libpthread.so.0
      #9  0x00003fffa8f03230 in clone () from /lib/powerpc64le-linux-gnu/libc.so.6
       
      Thread 8 (Thread 0x3fffa1c4f000 (LWP 47731)):
      #0  0x00003fffa9810738 in ?? () from /lib/powerpc64le-linux-gnu/libaio.so.1
      #1  0x00003fffa98107a0 in io_getevents () from /lib/powerpc64le-linux-gnu/libaio.so.1
      #2  0x0000000055f0fde8 in LinuxAIOHandler::collect (this=0x3fffa1c4e4b8) at /home/danielgb/mariadb-10.2/storage/innobase/os/os0file.cc:1886
      #3  0x0000000055f13284 in LinuxAIOHandler::poll (this=0x3fffa1c4e4b8, m1=0x3fffa1c4e5b0, m2=0x3fffa1c4e5b8, request=0x3fffa1c4e5c0) at /home/danielgb/mariadb-10.2/storage/innobase/os/os0file.cc:2031
      #4  0x0000000055f1821c in os_aio_linux_handler (request=0x3fffa1c4e5c0, m2=0x3fffa1c4e5b8, m1=0x3fffa1c4e5b0, global_segment=<optimized out>) at /home/danielgb/mariadb-10.2/storage/innobase/os/os0file.cc:2085
      #5  os_aio_handler (segment=<optimized out>, m1=0x3fffa1c4e5b0, m2=0x3fffa1c4e5b8, request=0x3fffa1c4e5c0) at /home/danielgb/mariadb-10.2/storage/innobase/os/os0file.cc:5683
      #6  0x000000005611d1f8 in fil_aio_wait (segment=<optimized out>) at /home/danielgb/mariadb-10.2/storage/innobase/fil/fil0fil.cc:5498
      #7  0x0000000055fda508 in io_handler_thread (arg=<optimized out>) at /home/danielgb/mariadb-10.2/storage/innobase/srv/srv0start.cc:327
      #8  0x00003fffa98f8070 in start_thread () from /lib/powerpc64le-linux-gnu/libpthread.so.0
      #9  0x00003fffa8f03230 in clone () from /lib/powerpc64le-linux-gnu/libc.so.6
       
      Thread 7 (Thread 0x3fffa244f000 (LWP 47730)):
      #0  0x00003fffa9810738 in ?? () from /lib/powerpc64le-linux-gnu/libaio.so.1
      #1  0x00003fffa98107a0 in io_getevents () from /lib/powerpc64le-linux-gnu/libaio.so.1
      #2  0x0000000055f0fde8 in LinuxAIOHandler::collect (this=0x3fffa244e4b8) at /home/danielgb/mariadb-10.2/storage/innobase/os/os0file.cc:1886
      #3  0x0000000055f13284 in LinuxAIOHandler::poll (this=0x3fffa244e4b8, m1=0x3fffa244e5b0, m2=0x3fffa244e5b8, request=0x3fffa244e5c0) at /home/danielgb/mariadb-10.2/storage/innobase/os/os0file.cc:2031
      #4  0x0000000055f1821c in os_aio_linux_handler (request=0x3fffa244e5c0, m2=0x3fffa244e5b8, m1=0x3fffa244e5b0, global_segment=<optimized out>) at /home/danielgb/mariadb-10.2/storage/innobase/os/os0file.cc:2085
      #5  os_aio_handler (segment=<optimized out>, m1=0x3fffa244e5b0, m2=0x3fffa244e5b8, request=0x3fffa244e5c0) at /home/danielgb/mariadb-10.2/storage/innobase/os/os0file.cc:5683
      #6  0x000000005611d1f8 in fil_aio_wait (segment=<optimized out>) at /home/danielgb/mariadb-10.2/storage/innobase/fil/fil0fil.cc:5498
      #7  0x0000000055fda508 in io_handler_thread (arg=<optimized out>) at /home/danielgb/mariadb-10.2/storage/innobase/srv/srv0start.cc:327
      #8  0x00003fffa98f8070 in start_thread () from /lib/powerpc64le-linux-gnu/libpthread.so.0
      #9  0x00003fffa8f03230 in clone () from /lib/powerpc64le-linux-gnu/libc.so.6
       
      Thread 6 (Thread 0x3fff6584f000 (LWP 54441)):
      #0  0x00003fffa9900614 in pthread_cond_timedwait@@GLIBC_2.17 () from /lib/powerpc64le-linux-gnu/libpthread.so.0
      #1  0x0000000055f1bf0c in os_event::timed_wait (this=<error reading variable: value has been optimized out>, abstime=<optimized out>) at /home/danielgb/mariadb-10.2/storage/innobase/os/os0event.cc:286
      #2  0x0000000055f1c868 in os_event::wait_time_low (reset_sig_count=<optimized out>, time_in_usec=<optimized out>, this=0x1003b3e2450) at /home/danielgb/mariadb-10.2/storage/innobase/os/os0event.cc:413
      #3  os_event_wait_time_low (event=0x1003b3e2450, time_in_usec=<optimized out>, reset_sig_count=<optimized out>) at /home/danielgb/mariadb-10.2/storage/innobase/os/os0event.cc:518
      #4  0x00000000561358f8 in fil_crypt_thread (arg=<optimized out>) at /home/danielgb/mariadb-10.2/storage/innobase/fil/fil0crypt.cc:2128
      #5  0x00003fffa98f8070 in start_thread () from /lib/powerpc64le-linux-gnu/libpthread.so.0
      #6  0x00003fffa8f03230 in clone () from /lib/powerpc64le-linux-gnu/libc.so.6
       
      Thread 5 (Thread 0x3fff987ff000 (LWP 47821)):
      #0  0x00003fffa9900110 in pthread_cond_wait@@GLIBC_2.17 () from /lib/powerpc64le-linux-gnu/libpthread.so.0
      #1  0x0000000055f1ca48 in os_event::wait (this=<optimized out>) at /home/danielgb/mariadb-10.2/storage/innobase/os/os0event.cc:166
      #2  os_event::wait_low (reset_sig_count=<optimized out>, this=0x1003b246a50) at /home/danielgb/mariadb-10.2/storage/innobase/os/os0event.cc:336
      #3  os_event_wait_low (event=0x1003b246a50, reset_sig_count=<optimized out>) at /home/danielgb/mariadb-10.2/storage/innobase/os/os0event.cc:535
      #4  0x0000000055fd6e7c in srv_resume_thread (sig_count=0, wait=true, timeout_usec=0, slot=0x1003b246608) at /home/danielgb/mariadb-10.2/storage/innobase/srv/srv0srv.cc:954
      #5  srv_worker_thread (arg=<optimized out>) at /home/danielgb/mariadb-10.2/storage/innobase/srv/srv0srv.cc:2710
      #6  0x00003fffa98f8070 in start_thread () from /lib/powerpc64le-linux-gnu/libpthread.so.0
      #7  0x00003fffa8f03230 in clone () from /lib/powerpc64le-linux-gnu/libc.so.6
       
      Thread 4 (Thread 0x3fff6684f000 (LWP 54439)):
      #0  0x00003fffa9900614 in pthread_cond_timedwait@@GLIBC_2.17 () from /lib/powerpc64le-linux-gnu/libpthread.so.0
      #1  0x0000000055f1bf0c in os_event::timed_wait (this=<error reading variable: value has been optimized out>, abstime=<optimized out>) at /home/danielgb/mariadb-10.2/storage/innobase/os/os0event.cc:286
      #2  0x0000000055f1c868 in os_event::wait_time_low (reset_sig_count=<optimized out>, time_in_usec=<optimized out>, this=0x1003b3e2450) at /home/danielgb/mariadb-10.2/storage/innobase/os/os0event.cc:413
      #3  os_event_wait_time_low (event=0x1003b3e2450, time_in_usec=<optimized out>, reset_sig_count=<optimized out>) at /home/danielgb/mariadb-10.2/storage/innobase/os/os0event.cc:518
      #4  0x00000000561358f8 in fil_crypt_thread (arg=<optimized out>) at /home/danielgb/mariadb-10.2/storage/innobase/fil/fil0crypt.cc:2128
      #5  0x00003fffa98f8070 in start_thread () from /lib/powerpc64le-linux-gnu/libpthread.so.0
      #6  0x00003fffa8f03230 in clone () from /lib/powerpc64le-linux-gnu/libc.so.6
       
      Thread 3 (Thread 0x3fff937ff000 (LWP 47823)):
      #0  0x00003fffa9900110 in pthread_cond_wait@@GLIBC_2.17 () from /lib/powerpc64le-linux-gnu/libpthread.so.0
      #1  0x0000000055f1ca48 in os_event::wait (this=<optimized out>) at /home/danielgb/mariadb-10.2/storage/innobase/os/os0event.cc:166
      #2  os_event::wait_low (reset_sig_count=<optimized out>, this=0x1003b2469d0) at /home/danielgb/mariadb-10.2/storage/innobase/os/os0event.cc:336
      #3  os_event_wait_low (event=0x1003b2469d0, reset_sig_count=<optimized out>) at /home/danielgb/mariadb-10.2/storage/innobase/os/os0event.cc:535
      #4  0x0000000055fd6e7c in srv_resume_thread (sig_count=0, wait=true, timeout_usec=0, slot=0x1003b2465d0) at /home/danielgb/mariadb-10.2/storage/innobase/srv/srv0srv.cc:954
      #5  srv_worker_thread (arg=<optimized out>) at /home/danielgb/mariadb-10.2/storage/innobase/srv/srv0srv.cc:2710
      #6  0x00003fffa98f8070 in start_thread () from /lib/powerpc64le-linux-gnu/libpthread.so.0
      #7  0x00003fffa8f03230 in clone () from /lib/powerpc64le-linux-gnu/libc.so.6
       
      Thread 2 (Thread 0x3fffa2d38000 (LWP 48057)):
      #0  0x00003fffa9900614 in pthread_cond_timedwait@@GLIBC_2.17 () from /lib/powerpc64le-linux-gnu/libpthread.so.0
      #1  0x0000000055b79208 in inline_mysql_cond_timedwait (src_file=0x56416320 "/home/danielgb/mariadb-10.2/sql/mdl.cc", src_line=1092, abstime=<optimized out>, mutex=0x3fff50000aa8, that=<optimized out>) at /home/danielgb/mariadb-10.2/include/mysql/psi/mysql_thread.h:1175
      #2  MDL_wait::timed_wait (this=0x3fff50000aa8, owner=0x3fff50000a58, abs_timeout=0x3fffa2d34920, set_status_on_timeout=<optimized out>, wait_state_name=<optimized out>) at /home/danielgb/mariadb-10.2/sql/mdl.cc:1091
      #3  0x0000000055b7b890 in MDL_context::acquire_lock (this=0x3fff50000aa8, mdl_request=0x3fff5000f590, lock_wait_timeout=<optimized out>) at /home/danielgb/mariadb-10.2/sql/mdl.cc:2137
      #4  0x0000000055b7c53c in MDL_context::acquire_locks (this=0x3fff50000aa8, mdl_requests=<optimized out>, lock_wait_timeout=86400) at /home/danielgb/mariadb-10.2/sql/mdl.cc:2258
      #5  0x0000000055a1a724 in lock_table_names (thd=0x3fff500009a8, options=..., tables_start=0x3fff5000f148, tables_end=0x0, lock_wait_timeout=<optimized out>, flags=<optimized out>) at /home/danielgb/mariadb-10.2/sql/sql_base.cc:3677
      #6  0x0000000055a1c788 in open_tables (thd=0x3fff500009a8, options=..., start=0x3fffa2d35098, counter=0x3fffa2d350ac, flags=<optimized out>, prelocking_strategy=0x3fffa2d351e8) at /home/danielgb/mariadb-10.2/sql/sql_base.cc:3895
      #7  0x0000000055a1ce80 in open_and_lock_tables (thd=<optimized out>, options=..., tables=<error reading variable: value has been optimized out>, derived=<optimized out>, flags=<optimized out>, prelocking_strategy=<optimized out>) at /home/danielgb/mariadb-10.2/sql/sql_base.cc:4681
      #8  0x0000000055a7b180 in open_and_lock_tables (flags=0, derived=true, tables=<optimized out>, options=..., thd=0x3fff500009a8) at /home/danielgb/mariadb-10.2/sql/sql_base.h:484
      #9  mysql_execute_command (thd=0x3fff500009a8) at /home/danielgb/mariadb-10.2/sql/sql_parse.cc:3865
      #10 0x0000000055a7b6bc in mysql_parse (thd=0x3fff500009a8, rawbuf=0x3fff5000ef90 "CREATE OR REPLACE TABLE `create_or_replace_t` AS SELECT * FROM `table0_int_autoinc`", length=<optimized out>, parser_state=0x3fffa2d36830, is_com_multi=<optimized out>, is_next_command=<optimized out>) at /home/danielgb/mariadb-10.2/sql/sql_parse.cc:7874
      #11 0x0000000055a7e53c in dispatch_command (command=<optimized out>, thd=<optimized out>, packet=<optimized out>, packet_length=<optimized out>, is_com_multi=<optimized out>, is_next_command=<optimized out>) at /home/danielgb/mariadb-10.2/sql/sql_parse.cc:1811
      #12 0x0000000055a7eea0 in do_command (thd=0x3fff500009a8) at /home/danielgb/mariadb-10.2/sql/sql_parse.cc:1361
      #13 0x0000000055b6d9d4 in do_handle_one_connection (connect=<optimized out>) at /home/danielgb/mariadb-10.2/sql/sql_connect.cc:1354
      #14 0x0000000055b6dcdc in handle_one_connection (arg=0x1003b74d718) at /home/danielgb/mariadb-10.2/sql/sql_connect.cc:1260
      #15 0x0000000056315a80 in pfs_spawn_thread (arg=0x1003b6de728) at /home/danielgb/mariadb-10.2/storage/perfschema/pfs.cc:1862
      #16 0x00003fffa98f8070 in start_thread () from /lib/powerpc64le-linux-gnu/libpthread.so.0
      #17 0x00003fffa8f03230 in clone () from /lib/powerpc64le-linux-gnu/libc.so.6
       
      Thread 1 (Thread 0x3fffa99bc830 (LWP 46989)):
      #0  0x00003fffa9901964 in pthread_kill () from /lib/powerpc64le-linux-gnu/libpthread.so.0
      #1  0x0000000056378c38 in my_write_core (sig=<optimized out>) at /home/danielgb/mariadb-10.2/mysys/stacktrace.c:477
      #2  0x0000000055c74ffc in handle_fatal_signal (sig=<optimized out>) at /home/danielgb/mariadb-10.2/sql/signal_handler.cc:299
      #3  <signal handler called>
      #4  0x00003fffa8ef2bf8 in poll () from /lib/powerpc64le-linux-gnu/libc.so.6
      #5  0x00003fffa8f1c064 in __poll_chk () from /lib/powerpc64le-linux-gnu/libc.so.6
      #6  0x00000000559ae5a0 in poll (__timeout=-1, __nfds=2, __fds=0x3fffe9d841f0) at /usr/include/powerpc64le-linux-gnu/bits/poll2.h:41
      #7  handle_connections_sockets () at /home/danielgb/mariadb-10.2/sql/mysqld.cc:6556
      #8  0x00000000559b9108 in mysqld_main (argc=<optimized out>, argv=<optimized out>) at /home/danielgb/mariadb-10.2/sql/mysqld.cc:6022
      #9  0x0000000055990be8 in main (argc=<optimized out>, argv=<optimized out>) at /home/danielgb/mariadb-10.2/sql/main.cc:25
       
      Compressed file /home/danielgb/build-mariadb-10.2-gcc7/mysql-test/var/log/encryption.create_or_replace-ctr,innodb/mysqld.1/data/core
      ***Warnings generated in error logs during shutdown after running tests: encryption.create_or_replace
       
      2017-05-05 11:21:29 70367135694848 [Warning] InnoDB: Waited 30 seconds to drop space: test/create_or_replace_t.
      2017-05-05 11:21:59 70367135694848 [Warning] InnoDB: Waited 60 seconds to drop space: test/create_or_replace_t.
      2017-05-05 11:22:29 70367135694848 [Warning] InnoDB: Waited 90 seconds to drop space: test/create_or_replace_t.
      2017-05-05 11:22:59 70367135694848 [Warning] InnoDB: Waited 120 seconds to drop space: test/create_or_replace_t.
      2017-05-05 11:23:29 70367135694848 [Warning] InnoDB: Waited 150 seconds to drop space: test/create_or_replace_t.
      2017-05-05 11:23:59 70367135694848 [Warning] InnoDB: Waited 180 seconds to drop space: test/create_or_replace_t.
      2017-05-05 11:24:29 70367135694848 [Warning] InnoDB: Waited 210 seconds to drop space: test/create_or_replace_t.
      2017-05-05 11:24:59 70367135694848 [Warning] InnoDB: Waited 240 seconds to drop space: test/create_or_replace_t.
      2017-05-05 11:25:01 70367041286144 [Warning] InnoDB: A long semaphore wait:
      2017-05-05 11:25:29 70367135694848 [Warning] InnoDB: Waited 270 seconds to drop space: test/create_or_replace_t.
      2017-05-05 11:25:32 70367041286144 [Warning] InnoDB: A long semaphore wait:
      2017-05-05 11:25:59 70367135694848 [Warning] InnoDB: Waited 300 seconds to drop space: test/create_or_replace_t.
      2017-05-05 11:26:03 70367041286144 [Warning] InnoDB: A long semaphore wait:
      2017-05-05 11:26:29 70367135694848 [Warning] InnoDB: Waited 330 seconds to drop space: test/create_or_replace_t.
      2017-05-05 11:26:34 70367041286144 [Warning] InnoDB: A long semaphore wait:
      2017-05-05 11:26:59 70367135694848 [Warning] InnoDB: Waited 360 seconds to drop space: test/create_or_replace_t.
      2017-05-05 11:27:05 70367041286144 [Warning] InnoDB: A long semaphore wait:
      2017-05-05 11:27:29 70367135694848 [Warning] InnoDB: Waited 390 seconds to drop space: test/create_or_replace_t.
      2017-05-05 11:27:36 70367041286144 [Warning] InnoDB: A long semaphore wait:
      2017-05-05 11:27:59 70367135694848 [Warning] InnoDB: Waited 420 seconds to drop space: test/create_or_replace_t.
      2017-05-05 11:28:07 70367041286144 [Warning] InnoDB: A long semaphore wait:
      2017-05-05 11:28:29 70367135694848 [Warning] InnoDB: Waited 450 seconds to drop space: test/create_or_replace_t.
      2017-05-05 11:28:38 70367041286144 [Warning] InnoDB: A long semaphore wait:
      2017-05-05 11:28:59 70367135694848 [Warning] InnoDB: Waited 480 seconds to drop space: test/create_or_replace_t.
      2017-05-05 11:29:09 70367041286144 [Warning] InnoDB: A long semaphore wait:
      2017-05-05 11:29:29 70367135694848 [Warning] InnoDB: Waited 510 seconds to drop space: test/create_or_replace_t.
      2017-05-05 11:29:40 70367041286144 [Warning] InnoDB: A long semaphore wait:
      2017-05-05 11:29:59 70367135694848 [Warning] InnoDB: Waited 540 seconds to drop space: test/create_or_replace_t.
      2017-05-05 11:30:11 70367041286144 [Warning] InnoDB: A long semaphore wait:
      2017-05-05 11:30:29 70367135694848 [Warning] InnoDB: Waited 570 seconds to drop space: test/create_or_replace_t.
      2017-05-05 11:30:42 70367041286144 [Warning] InnoDB: A long semaphore wait:
      2017-05-05 11:30:59 70367135694848 [Warning] InnoDB: Waited 600 seconds to drop space: test/create_or_replace_t.
      2017-05-05 11:31:13 70367041286144 [Warning] InnoDB: A long semaphore wait:
      2017-05-05 11:31:29 70367135694848 [Warning] InnoDB: Waited 630 seconds to drop space: test/create_or_replace_t.
      2017-05-05 11:31:44 70367041286144 [Warning] InnoDB: A long semaphore wait:
      2017-05-05 11:31:59 70367135694848 [Warning] InnoDB: Waited 660 seconds to drop space: test/create_or_replace_t.
      2017-05-05 11:32:15 70367041286144 [Warning] InnoDB: A long semaphore wait:
      2017-05-05 11:32:29 70367135694848 [Warning] InnoDB: Waited 690 seconds to drop space: test/create_or_replace_t.
      2017-05-05 11:32:46 70367041286144 [Warning] InnoDB: A long semaphore wait:
      2017-05-05 11:32:59 70367135694848 [Warning] InnoDB: Waited 720 seconds to drop space: test/create_or_replace_t.
      2017-05-05 11:33:17 70367041286144 [Warning] InnoDB: A long semaphore wait:
      2017-05-05 11:33:29 70367135694848 [Warning] InnoDB: Waited 750 seconds to drop space: test/create_or_replace_t.
      2017-05-05 11:33:48 70367041286144 [Warning] InnoDB: A long semaphore wait:
      2017-05-05 11:33:59 70367135694848 [Warning] InnoDB: Waited 780 seconds to drop space: test/create_or_replace_t.
      2017-05-05 11:34:19 70367041286144 [Warning] InnoDB: A long semaphore wait:
      2017-05-05 11:34:29 70367135694848 [Warning] InnoDB: Waited 810 seconds to drop space: test/create_or_replace_t.
      2017-05-05 11:34:50 70367041286144 [Warning] InnoDB: A long semaphore wait:
      2017-05-05 11:34:59 70367135694848 [Warning] InnoDB: Waited 840 seconds to drop space: test/create_or_replace_t.
      2017-05-05 11:35:21 70367041286144 [Warning] InnoDB: A long semaphore wait:
      2017-05-05 11:35:29 70367135694848 [Warning] InnoDB: Waited 870 seconds to drop space: test/create_or_replace_t.
      2017-05-05 11:35:52 70367041286144 [Warning] InnoDB: A long semaphore wait:
      Attempting backtrace. You can use the following information to find out
      

      Attachments

        Issue Links

          Activity

            danblack Daniel Black added a comment - http://buildbot.askmonty.org/buildbot/builders/kvm-fulltest2-big/builds/744/steps/test_2/logs/stdio

            The test seems to hang while dropping a pre-existing table during the execution of the following statement:

            CREATE OR REPLACE TABLE `create_or_replace_t` AS SELECT * FROM `table10_int_autoinc`;
            

            This suggests that my fix in MDEV-12545 was insufficient.

            marko Marko Mäkelä added a comment - The test seems to hang while dropping a pre-existing table during the execution of the following statement: CREATE OR REPLACE TABLE `create_or_replace_t` AS SELECT * FROM `table10_int_autoinc`; This suggests that my fix in MDEV-12545 was insufficient.

            I believe that this bug has been fixed, possibly already in the 10.2.6 release. MDEV-12602 was the last of several fixes to make encryption hang less easily.

            The reported commit is somewhere between the 10.2.5 and 10.2.6 (50 commits before the 10.2.6 release), and it is before the MDEV-12602 fix.

            marko Marko Mäkelä added a comment - I believe that this bug has been fixed, possibly already in the 10.2.6 release. MDEV-12602 was the last of several fixes to make encryption hang less easily. The reported commit is somewhere between the 10.2.5 and 10.2.6 (50 commits before the 10.2.6 release), and it is before the MDEV-12602 fix.

            People

              marko Marko Mäkelä
              danblack Daniel Black
              Votes:
              0 Vote for this issue
              Watchers:
              3 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.