Details

      Description

      21:13:03 rocksdb.drop_table                       w4 [ fail ]
      21:13:03         Test ended at 2017-05-03 17:13:03
      21:13:03 
      21:13:03 CURRENT_TEST: rocksdb.drop_table
      21:13:03 mysqltest: At line 88: query 'set global rocksdb_compact_cf = 'cf1'' failed: 2013: Lost connection to MySQL server during query
      21:13:03 
      21:13:03 The result from queries just before the failure was:
      21:13:03 set global rocksdb_compact_cf = 'cf1';
      21:13:03 set global rocksdb_compact_cf = 'rev:cf2';
      21:13:03 set global rocksdb_signal_drop_index_thread = 1;
      21:13:03 # restart
      21:13:03 CREATE TABLE t1 (
      21:13:03 a int not null,
      21:13:03 b int not null,
      21:13:03 primary key (a,b) comment 'cf1',
      21:13:03 key (b) comment 'rev:cf2'
      21:13:03 ) ENGINE=ROCKSDB;
      21:13:03 CREATE TABLE t2 (
      21:13:03 a int not null,
      21:13:03 b int not null,
      21:13:03 primary key (a,b) comment 'cf1',
      21:13:03 key (b) comment 'rev:cf2'
      21:13:03 ) ENGINE=ROCKSDB;
      21:13:03 CREATE TABLE t3 (
      21:13:03 a int not null,
      21:13:03 b int not null,
      21:13:03 primary key (a,b) comment 'cf1',
      21:13:03 key (b) comment 'rev:cf2'
      21:13:03 ) ENGINE=ROCKSDB;
      21:13:03 CREATE TABLE t4 (
      21:13:03 a int not null,
      21:13:03 b int not null,
      21:13:03 primary key (a,b) comment 'cf1',
      21:13:03 key (b) comment 'rev:cf2'
      21:13:03 ) ENGINE=ROCKSDB;
      21:13:03 DELETE FROM t1;
      21:13:03 DELETE FROM t2;
      21:13:03 DELETE FROM t3;
      21:13:03 DELETE FROM t4;
      21:13:03 drop table t2;
      21:13:03 # restart
      21:13:03 DELETE FROM t1;
      21:13:03 DELETE FROM t4;
      21:13:03 drop table t3;
      21:13:03 DELETE FROM t1;
      21:13:03 DELETE FROM t4;
      21:13:03 drop table t4;
      21:13:03 # restart
      21:13:03 CREATE TABLE t5 (
      21:13:03 a int not null,
      21:13:03 b int not null,
      21:13:03 primary key (a,b) comment 'cf1',
      21:13:03 key (b) comment 'rev:cf2'
      21:13:03 ) ENGINE=ROCKSDB;
      21:13:03 DELETE FROM t5;
      21:13:03 drop table t5;
      21:13:03 safe_process[8725]: Child process: 8726, exit: 1
      21:13:03 
      21:13:03 
      21:13:03 Server [mysqld.1 - pid: 9227, winpid: 9227, exit: 256] failed during test run
      21:13:03 Server log from this test:
      21:13:03 ----------SERVER LOG START-----------
      21:13:03 ----------SERVER LOG END-------------
      21:13:03 
      21:13:03 
      21:13:03  - the logfile can be found in '/mnt/workspace/mysql-5.7-param/BUILD_TYPE/debug/Host/centos6-64/build/mysql-test/var/log/rocksdb.drop_table/drop_table.log'
      21:13:03  - found 'core.9228' (0/5)
      21:13:03 
      21:13:03 Trying 'dbx' to get a backtrace
      21:13:03 
      21:13:03 Trying 'gdb' to get a backtrace
      21:13:11 Guessing that core was generated by '/mnt/workspace/mysql-5.7-param/BUILD_TYPE/debug/Host/centos6-64/build/sql/mysqld-debug'
      21:13:20 Output from gdb follows. The first stack trace is from the failing thread.
      21:13:20 The following stack traces are from all threads (so the failing one is
      21:13:20 duplicated).
      21:13:20 --------------------------
      21:13:20 [New Thread 9329]
      21:13:20 [New Thread 9230]
      21:13:20 [New Thread 9228]
      21:13:20 [New Thread 9336]
      21:13:20 [New Thread 9232]
      21:13:20 [New Thread 9231]
      21:13:20 [New Thread 9253]
      21:13:20 [New Thread 9235]
      21:13:20 [New Thread 9233]
      21:13:20 [New Thread 9325]
      21:13:20 [New Thread 9259]
      21:13:20 [New Thread 9237]
      21:13:20 [New Thread 9234]
      21:13:20 [New Thread 9258]
      21:13:20 [New Thread 9241]
      21:13:20 [New Thread 9236]
      21:13:20 [New Thread 9243]
      21:13:20 [New Thread 9239]
      21:13:20 [New Thread 9252]
      21:13:20 [New Thread 9324]
      21:13:20 [New Thread 9244]
      21:13:20 [New Thread 9255]
      21:13:20 [New Thread 9254]
      21:13:20 [New Thread 9251]
      21:13:20 [New Thread 9256]
      21:13:20 [New Thread 9245]
      21:13:20 [New Thread 9250]
      21:13:20 [New Thread 9257]
      21:13:20 [New Thread 9246]
      21:13:20 [New Thread 9249]
      21:13:20 [New Thread 9247]
      21:13:20 [New Thread 9326]
      21:13:20 [New Thread 9248]
      21:13:20 [New Thread 9328]
      21:13:20 [New Thread 9242]
      21:13:20 [New Thread 9238]
      21:13:20 [Thread debugging using libthread_db enabled]
      21:13:20 Core was generated by `/mnt/workspace/mysql-5.7-param/BUILD_TYPE/debug/Host/centos6-64/build/sql/mysql'.
      21:13:20 Program terminated with signal 6, Aborted.
      21:13:20 #0  __pthread_kill (threadid=<value optimized out>, signo=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/pthread_kill.c:63
      21:13:20 63	  val = INTERNAL_SYSCALL (tgkill, err, 3, THREAD_GETMEM (THREAD_SELF, pid),
      21:13:20 #0  __pthread_kill (threadid=<value optimized out>, signo=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/pthread_kill.c:63
      21:13:20 #1  0x000000000186d678 in my_write_core (sig=6) at /mnt/workspace/mysql-5.7-param/BUILD_TYPE/debug/Host/centos6-64/mysys/stacktrace.c:249
      21:13:20 #2  0x0000000000e8289b in handle_fatal_signal (sig=6) at /mnt/workspace/mysql-5.7-param/BUILD_TYPE/debug/Host/centos6-64/sql/signal_handler.cc:223
      21:13:20 #3  <signal handler called>
      21:13:20 #4  0x00007f03f8a65495 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
      21:13:20 #5  0x00007f03f8a66c75 in abort () at abort.c:92
      21:13:20 #6  0x00007f03f8a5e60e in __assert_fail_base (fmt=<value optimized out>, assertion=0x7f03a3b16bc0 "!exclusive || !manual_conflict", file=0x7f03a3b159a0 "/mnt/workspace/mysql-5.7-param/BUILD_TYPE/debug/Host/centos6-64/storage/rocksdb/rocksdb/db/db_impl.cc", line=<value optimized out>, function=<value optimized out>) at assert.c:96
      21:13:20 #7  0x00007f03f8a5e6d0 in __assert_fail (assertion=0x7f03a3b16bc0 "!exclusive || !manual_conflict", file=0x7f03a3b159a0 "/mnt/workspace/mysql-5.7-param/BUILD_TYPE/debug/Host/centos6-64/storage/rocksdb/rocksdb/db/db_impl.cc", line=2855, function=0x7f03a3b1c500 "rocksdb::Status rocksdb::DBImpl::RunManualCompaction(rocksdb::ColumnFamilyData*, int, int, uint32_t, const rocksdb::Slice*, const rocksdb::Slice*, bool, bool)") at assert.c:105
      21:13:20 #8  0x00007f03a37acf3a in rocksdb::DBImpl::RunManualCompaction (this=0x3ac3cb0, cfd=0x3f87c30, input_level=1, output_level=2, output_path_id=0, begin=0x0, end=0x0, exclusive=true, disallow_trivial_move=false) at /mnt/workspace/mysql-5.7-param/BUILD_TYPE/debug/Host/centos6-64/storage/rocksdb/rocksdb/db/db_impl.cc:2855
      21:13:20 #9  0x00007f03a37a854f in rocksdb::DBImpl::CompactRange (this=0x3ac3cb0, options=..., column_family=0x3f72470, begin=0x0, end=0x0) at /mnt/workspace/mysql-5.7-param/BUILD_TYPE/debug/Host/centos6-64/storage/rocksdb/rocksdb/db/db_impl.cc:2076
      21:13:20 #10 0x00007f03a3a152b2 in rocksdb::StackableDB::CompactRange (this=0x3fb6370, options=..., column_family=0x3f72470, begin=0x0, end=0x0) at /mnt/workspace/mysql-5.7-param/BUILD_TYPE/debug/Host/centos6-64/storage/rocksdb/rocksdb/include/rocksdb/utilities/stackable_db.h:173
      21:13:20 #11 0x00007f03a365bd39 in myrocks::rocksdb_compact_column_family (thd=0x7f0348000d00, var=0x7f03a3fe50a0, var_ptr=0x7f0348006670, value=0x7f03f0a065b0) at /mnt/workspace/mysql-5.7-param/BUILD_TYPE/debug/Host/centos6-64/storage/rocksdb/ha_rocksdb.cc:173
      21:13:20 #12 0x0000000001567001 in sys_var_pluginvar::do_check (this=0x3c8b860, thd=0x7f0348000d00, var=0x7f0348006650) at /mnt/workspace/mysql-5.7-param/BUILD_TYPE/debug/Host/centos6-64/sql/sql_plugin.cc:3524
      21:13:20 #13 0x0000000001466cce in sys_var::check (this=0x3c8b860, thd=0x7f0348000d00, var=0x7f0348006650) at /mnt/workspace/mysql-5.7-param/BUILD_TYPE/debug/Host/centos6-64/sql/set_var.cc:241
      21:13:20 #14 0x0000000001467ea5 in set_var::check (this=0x7f0348006650, thd=0x7f0348000d00) at /mnt/workspace/mysql-5.7-param/BUILD_TYPE/debug/Host/centos6-64/sql/set_var.cc:757
      21:13:20 #15 0x00000000014678fb in sql_set_variables (thd=0x7f0348000d00, var_list=0x7f03480036d0, free_joins=true) at /mnt/workspace/mysql-5.7-param/BUILD_TYPE/debug/Host/centos6-64/sql/set_var.cc:665
      21:13:20 #16 0x0000000001534d76 in mysql_execute_command (thd=0x7f0348000d00, first_level=true) at /mnt/workspace/mysql-5.7-param/BUILD_TYPE/debug/Host/centos6-64/sql/sql_parse.cc:3896
      21:13:20 #17 0x000000000153a73c in mysql_parse (thd=0x7f0348000d00, parser_state=0x7f03f0a07c00) at /mnt/workspace/mysql-5.7-param/BUILD_TYPE/debug/Host/centos6-64/sql/sql_parse.cc:5928
      21:13:20 #18 0x000000000152efed in dispatch_command (thd=0x7f0348000d00, com_data=0x7f03f0a08c90, command=COM_QUERY) at /mnt/workspace/mysql-5.7-param/BUILD_TYPE/debug/Host/centos6-64/sql/sql_parse.cc:1493
      21:13:20 #19 0x000000000152de1f in do_command (thd=0x7f0348000d00) at /mnt/workspace/mysql-5.7-param/BUILD_TYPE/debug/Host/centos6-64/sql/sql_parse.cc:1021
      21:13:20 #20 0x000000000166fd7a in handle_connection (arg=0x3f93c60) at /mnt/workspace/mysql-5.7-param/BUILD_TYPE/debug/Host/centos6-64/sql/conn_handler/connection_handler_per_thread.cc:312
      21:13:20 #21 0x0000000001c8fbfd in pfs_spawn_thread (arg=0x3f77ee0) at /mnt/workspace/mysql-5.7-param/BUILD_TYPE/debug/Host/centos6-64/storage/perfschema/pfs.cc:2188
      21:13:20 #22 0x00007f03fa824aa1 in start_thread (arg=0x7f03f0a09700) at pthread_create.c:301
      21:13:20 #23 0x00007f03f8b1bbcd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115
      

        Smart Checklist

          Attachments

          1. gdb.txt
            56 kB
            George Lorch

            Activity

              People

              • Assignee:
                george.lorch George Lorch
                Reporter:
                george.lorch George Lorch
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: