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

"mtr --suite=spider" crashes if built with -DWITH_INNOBASE_STORAGE_ENGINE=0

    Details

      Description

      I build MariaDB-10.0 with dynamic InnoDB plugin,
      then run the "spider" test suite:

       cmake . -DWITH_INNOBASE_STORAGE_ENGINE=0 -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=/opt/mariadb-10.0
      make -j10
      cd mysql-test
      ./mtr --suite=spider

      It crashes with the following output:

      Logging: ./mtr  --suite=spider
      Using suites: spider
      vardir: /dev/shm/var_auto_DHmO
      Checking leftover processes...
      Removing old var directory...
      Creating var directory '/dev/shm/var_auto_DHmO'...
      Checking supported features...
      MariaDB Version 10.0.7-MariaDB-debug
      Installing system database...
       - SSL connections supported
       - binaries are debug compiled
      Collecting tests...
      Using server port 40890
       
      ==============================================================================
       
      TEST                                      RESULT   TIME (ms) or COMMENT
      --------------------------------------------------------------------------
       
      worker[1] Using MTR_BUILD_THREAD 300, with reserved ports 16000..16019
      spider.spider3_fixes                     [ fail ]
              Test ended at 2013-11-28 16:21:00
       
      CURRENT_TEST: spider.spider3_fixes
      mysqltest: At line 160: query 'INSERT INTO t1 () VALUES ()' failed: 2013: Lost connection to MySQL server during query
       
      The result from queries just before the failure was:
      < snip >
      'srv "s_2_1"')
      1
      spider_direct_sql('SET SESSION AUTO_INCREMENT_INCREMENT = 4', '',
      'srv "s_2_2"')
      1
      spider_bg_direct_sql('SET SESSION AUTO_INCREMENT_OFFSET = 2', '',
      'srv "s_2_1"')
      1
      spider_bg_direct_sql('SET SESSION AUTO_INCREMENT_OFFSET = 3', '',
      'srv "s_2_2"')
      1
      CREATE TABLE t1 (
      id int(11) NOT NULL AUTO_INCREMENT,
      PRIMARY KEY (id)
      ) SLAVE1_1_ENGINE SLAVE1_1_CHARSET SLAVE1_1_COMMENT_INCREMENT1_1
      CREATE TABLE t2 (
      id int(11) NOT NULL AUTO_INCREMENT,
      PRIMARY KEY (id)
      ) SLAVE1_1_ENGINE SLAVE1_1_CHARSET SLAVE1_1_COMMENT_INCREMENT1_1
      INSERT INTO t1 () VALUES ();
       
      More results from queries before failure can be found in /dev/shm/var_auto_DHmO/log/spider3_fixes.log
       
       
      Server [mysqld.1.1 - pid: 23034, winpid: 23034, exit: 256] failed during test run
      Server log from this test:
      ----------SERVER LOG START-----------
      131128 16:20:58 [Note] Plugin 'CONNECT' is disabled.
      131128 16:20:58 [Warning] /media/DATA/maria-bzr/maria-10.0/sql/mysqld: unknown variable 'loose-feedback-user-info=mysql-test'
      131128 16:20:58 [Warning] /media/DATA/maria-bzr/maria-10.0/sql/mysqld: unknown variable 'loose-innodb_data_file_path=ibdata1:12M:autoextend'
      131128 16:20:58 [Warning] /media/DATA/maria-bzr/maria-10.0/sql/mysqld: unknown variable 'loose-innodb_buffer_pool_size=8M'
      131128 16:20:58 [Warning] /media/DATA/maria-bzr/maria-10.0/sql/mysqld: unknown variable 'loose-innodb_lru_scan_depth=100'
      131128 16:20:58 [Warning] /media/DATA/maria-bzr/maria-10.0/sql/mysqld: unknown variable 'loose-innodb_write_io_threads=2'
      131128 16:20:58 [Warning] /media/DATA/maria-bzr/maria-10.0/sql/mysqld: unknown variable 'loose-innodb_read_io_threads=2'
      131128 16:20:58 [Warning] /media/DATA/maria-bzr/maria-10.0/sql/mysqld: unknown variable 'loose-innodb_log_buffer_size=1M'
      131128 16:20:58 [Warning] /media/DATA/maria-bzr/maria-10.0/sql/mysqld: unknown variable 'loose-innodb_log_file_size=5M'
      131128 16:20:58 [Warning] /media/DATA/maria-bzr/maria-10.0/sql/mysqld: unknown variable 'loose-innodb_log_files_in_group=2'
      131128 16:20:58 [Warning] /media/DATA/maria-bzr/maria-10.0/sql/mysqld: unknown variable 'loose-innodb-stats-persistent=OFF'
      131128 16:20:58 [Warning] /media/DATA/maria-bzr/maria-10.0/sql/mysqld: unknown variable 'loose_handlersocket_port=20000'
      131128 16:20:58 [Warning] /media/DATA/maria-bzr/maria-10.0/sql/mysqld: unknown variable 'loose_handlersocket_port_wr=20001'
      131128 16:20:58 [Warning] /media/DATA/maria-bzr/maria-10.0/sql/mysqld: unknown variable 'loose_handlersocket_threads=2'
      131128 16:20:58 [Warning] /media/DATA/maria-bzr/maria-10.0/sql/mysqld: unknown variable 'loose_handlersocket_threads_wr=1'
      131128 16:20:58 [Warning] /media/DATA/maria-bzr/maria-10.0/sql/mysqld: unknown variable 'loose_handlersocket_support_merge_table=0'
      131128 16:20:58 [Warning] /media/DATA/maria-bzr/maria-10.0/sql/mysqld: unknown variable 'loose_handlersocket_direct_update_mode=2'
      131128 16:20:58 [Warning] /media/DATA/maria-bzr/maria-10.0/sql/mysqld: unknown variable 'loose_handlersocket_unlimited_boundary=65536'
      131128 16:20:58 [Warning] /media/DATA/maria-bzr/maria-10.0/sql/mysqld: unknown variable 'loose_handlersocket_bulk_insert=0'
      131128 16:20:58 [Warning] /media/DATA/maria-bzr/maria-10.0/sql/mysqld: unknown variable 'loose_handlersocket_bulk_insert_timeout=0'
      131128 16:20:58 [Warning] /media/DATA/maria-bzr/maria-10.0/sql/mysqld: unknown variable 'loose_handlersocket_general_log=1'
      131128 16:20:58 [Warning] /media/DATA/maria-bzr/maria-10.0/sql/mysqld: unknown variable 'loose_handlersocket_timeout=30'
      131128 16:20:58 [Warning] /media/DATA/maria-bzr/maria-10.0/sql/mysqld: unknown variable 'loose_handlersocket_close_table_interval=2'
      131128 16:20:58 [Warning] /media/DATA/maria-bzr/maria-10.0/sql/mysqld: unknown option '--loose-innodb'
      131128 16:20:58 [Note] Server socket created on IP: '0.0.0.0'.
      131128 16:20:58 [Note] Event Scheduler: Loaded 0 events
      131128 16:20:58 [Note] /media/DATA/maria-bzr/maria-10.0/sql/mysqld: ready for connections.
      Version: '10.0.7-MariaDB-debug-log'  socket: '/dev/shm/var_auto_DHmO/tmp/mysqld.1.1.sock'  port: 16000  Source distribution
      mysqld: /home/bar/maria-bzr/maria-10.0/sql/log.h:109: virtual int TC_LOG_DUMMY::log_and_order(THD*, my_xid, bool, bool, bool): Assertion `0' failed.
      131128 16:20:58 [ERROR] 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.
       
      To report this bug, see http://kb.askmonty.org/en/reporting-bugs
       
      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.
       
      Server version: 10.0.7-MariaDB-debug-log
      key_buffer_size=1048576
      read_buffer_size=131072
      max_used_connections=3
      max_threads=153
      thread_count=3
      It is possible that mysqld could use up to 
      key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 62966 K  bytes of memory
      Hope that's ok; if not, decrease some variables in the equation.
       
      Thread pointer: 0x0x7f9d88884070
      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 = 0x7f9d910a8cf8 thread_stack 0x48000
      mysys/stacktrace.c:246(my_print_stacktrace)[0xbeaef2]
      sql/signal_handler.cc:155(handle_fatal_signal)[0x8211fd]
      ??:0(??)[0x37c780f000]
      ??:0(??)[0x37c7035c55]
      ??:0(??)[0x37c7037408]
      ??:0(??)[0x37c702e972]
      ??:0(??)[0x37c702ea22]
      sql/log.h:112(TC_LOG_DUMMY::unlog(unsigned long, unsigned long long))[0x90058c]
      sql/handler.cc:1407(ha_commit_trans(THD*, bool))[0x82438a]
      sql/transaction.cc:341(trans_commit_stmt(THD*))[0x767b84]
      sql/sql_parse.cc:5098(mysql_execute_command(THD*))[0x648300]
      sql/sql_parse.cc:6365(mysql_parse(THD*, char*, unsigned int, Parser_state*))[0x64b0ae]
      sql/sql_parse.cc:1298(dispatch_command(enum_server_command, THD*, char*, unsigned int))[0x63ddfe]
      sql/sql_parse.cc:993(do_command(THD*))[0x63d0f8]
      sql/sql_connect.cc:1379(do_handle_one_connection(THD*))[0x754562]
      sql/sql_connect.cc:1294(handle_one_connection)[0x754288]
      perfschema/pfs.cc:1855(pfs_spawn_thread)[0xb24d79]
      ??:0(??)[0x37c7807d15]
      ??:0(??)[0x37c70f253d]
       
      Trying to get some variables.
      Some pointers may be invalid and cause the dump to abort.
      Query (0x7f9d87422088): INSERT INTO t1 () VALUES ()
      Connection ID (thread ID): 5
      Status: NOT_KILLED
       
      Optimizer switch: index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=off,table_elimination=on,extended_keys=off,exists_to_in=off
       
      The manual page at http://dev.mysql.com/doc/mysql/en/crashing.html contains
      information that should help you find out what is causing the crash.
      Writing a core file
      ----------SERVER LOG END-------------
       
       
       - saving '/dev/shm/var_auto_DHmO/log/spider.spider3_fixes/' to '/dev/shm/var_auto_DHmO/log/spider.spider3_fixes/'
       - found 'core.23035' (0/5)
       
      Trying 'dbx' to get a backtrace
       
      Trying 'gdb' to get a backtrace
      Core generated by '/media/DATA/maria-bzr/maria-10.0/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 23126]
      [New LWP 23035]
      [New LWP 23059]
      [New LWP 23139]
      [New LWP 23140]
      [New LWP 23062]
      [New LWP 23136]
      [New LWP 23058]
      [New LWP 23125]
      [Thread debugging using libthread_db enabled]
      Using host libthread_db library "/lib64/libthread_db.so.1".
      Core was generated by `/media/DATA/maria-bzr/maria-10.0/sql/mysqld --defaults-group-suffix=.1.1 --defa'.
      Program terminated with signal 6, Aborted.
      #0  0x00000037c780c65c in pthread_kill () from /lib64/libpthread.so.0
      #0  0x00000037c780c65c in pthread_kill () from /lib64/libpthread.so.0
      #1  0x0000000000beafc3 in my_write_core (sig=6) at /home/bar/maria-bzr/maria-10.0/mysys/stacktrace.c:457
      #2  0x000000000082150d in handle_fatal_signal (sig=6) at /home/bar/maria-bzr/maria-10.0/sql/signal_handler.cc:262
      #3  <signal handler called>
      #4  0x00000037c7035c55 in raise () from /lib64/libc.so.6
      #5  0x00000037c7037408 in abort () from /lib64/libc.so.6
      #6  0x00000037c702e972 in __assert_fail_base () from /lib64/libc.so.6
      #7  0x00000037c702ea22 in __assert_fail () from /lib64/libc.so.6
      #8  0x000000000090058c in TC_LOG_DUMMY::log_and_order (this=0x1564400 <tc_log_dummy>, thd=0x7f9d88884070, xid=82, all=false, need_prepare_ordered=false, need_commit_ordered=false) at /home/bar/maria-bzr/maria-10.0/sql/log.h:109
      #9  0x000000000082438a in ha_commit_trans (thd=0x7f9d88884070, all=false) at /home/bar/maria-bzr/maria-10.0/sql/handler.cc:1407
      #10 0x0000000000767b84 in trans_commit_stmt (thd=0x7f9d88884070) at /home/bar/maria-bzr/maria-10.0/sql/transaction.cc:341
      #11 0x0000000000648300 in mysql_execute_command (thd=0x7f9d88884070) at /home/bar/maria-bzr/maria-10.0/sql/sql_parse.cc:5097
      #12 0x000000000064b0ae in mysql_parse (thd=0x7f9d88884070, rawbuf=0x7f9d87422088 "INSERT INTO t1 () VALUES ()", length=27, parser_state=0x7f9d910a8530) at /home/bar/maria-bzr/maria-10.0/sql/sql_parse.cc:6365
      #13 0x000000000063ddfe in dispatch_command (command=COM_QUERY, thd=0x7f9d88884070, packet=0x7f9d8888a071 "INSERT INTO t1 () VALUES ()", packet_length=27) at /home/bar/maria-bzr/maria-10.0/sql/sql_parse.cc:1296
      #14 0x000000000063d0f8 in do_command (thd=0x7f9d88884070) at /home/bar/maria-bzr/maria-10.0/sql/sql_parse.cc:993
      #15 0x0000000000754562 in do_handle_one_connection (thd_arg=0x7f9d88884070) at /home/bar/maria-bzr/maria-10.0/sql/sql_connect.cc:1379
      #16 0x0000000000754288 in handle_one_connection (arg=0x7f9d88884070) at /home/bar/maria-bzr/maria-10.0/sql/sql_connect.cc:1293
      #17 0x0000000000b24d79 in pfs_spawn_thread (arg=0x7f9d8bb74cb0) at /home/bar/maria-bzr/maria-10.0/storage/perfschema/pfs.cc:1853
      #18 0x00000037c7807d15 in start_thread () from /lib64/libpthread.so.0
      #19 0x00000037c70f253d in clone () from /lib64/libc.so.6
       
      Thread 9 (Thread 0x7f9d910f2700 (LWP 23125)):
      #0  0x00000037c70e9a5d in poll () from /lib64/libc.so.6
      #1  0x0000000000c37ff1 in vio_io_wait (vio=0x7f9d90811a70, event=VIO_IO_EVENT_READ, timeout=28800000) at /home/bar/maria-bzr/maria-10.0/vio/viosocket.c:969
      #2  0x0000000000c36a59 in vio_socket_io_wait (vio=0x7f9d90811a70, event=VIO_IO_EVENT_READ) at /home/bar/maria-bzr/maria-10.0/vio/viosocket.c:108
      #3  0x0000000000c36c09 in vio_read (vio=0x7f9d90811a70, buf=0x7f9d8b333070 "\001", size=4) at /home/bar/maria-bzr/maria-10.0/vio/viosocket.c:181
      #4  0x00000000005957f7 in my_real_read (net=0x7f9d8b33d328, complen=0x7f9d910f1bf0) at /home/bar/maria-bzr/maria-10.0/sql/net_serv.cc:870
      #5  0x0000000000595f1b in my_net_read (net=0x7f9d8b33d328) at /home/bar/maria-bzr/maria-10.0/sql/net_serv.cc:1072
      #6  0x000000000063ce99 in do_command (thd=0x7f9d8b33d070) at /home/bar/maria-bzr/maria-10.0/sql/sql_parse.cc:925
      #7  0x0000000000754562 in do_handle_one_connection (thd_arg=0x7f9d8b33d070) at /home/bar/maria-bzr/maria-10.0/sql/sql_connect.cc:1379
      #8  0x0000000000754288 in handle_one_connection (arg=0x7f9d8b33d070) at /home/bar/maria-bzr/maria-10.0/sql/sql_connect.cc:1293
      #9  0x0000000000b24d79 in pfs_spawn_thread (arg=0x7f9d8bb74c10) at /home/bar/maria-bzr/maria-10.0/storage/perfschema/pfs.cc:1853
      #10 0x00000037c7807d15 in start_thread () from /lib64/libpthread.so.0
      #11 0x00000037c70f253d in clone () from /lib64/libc.so.6
       
      Thread 8 (Thread 0x7f9d907ff700 (LWP 23058)):
      #0  0x00000037c780b952 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
      #1  0x0000000000bf04e1 in safe_cond_timedwait (cond=0x1d66dc0 <COND_checkpoint>, mp=0x1d66d00 <LOCK_checkpoint>, abstime=0x7f9d907fecb0, file=0xdf3cd0 "/home/bar/maria-bzr/maria-10.0/include/mysql/psi/mysql_thread.h", line=1191) at /home/bar/maria-bzr/maria-10.0/mysys/thr_mutex.c:547
      #2  0x00000000009fafad in inline_mysql_cond_timedwait (that=0x1d66dc0 <COND_checkpoint>, mutex=0x1d66d00 <LOCK_checkpoint>, abstime=0x7f9d907fecb0, src_file=0xdf3d10 "/home/bar/maria-bzr/maria-10.0/storage/maria/ma_servicethread.c", src_line=119) at /home/bar/maria-bzr/maria-10.0/include/mysql/psi/mysql_thread.h:1191
      #3  0x00000000009fb4a8 in my_service_thread_sleep (control=0x138b530 <checkpoint_control>, sleep_time=29000000000) at /home/bar/maria-bzr/maria-10.0/storage/maria/ma_servicethread.c:118
      #4  0x00000000009f0928 in ma_checkpoint_background (arg=0x1e) at /home/bar/maria-bzr/maria-10.0/storage/maria/ma_checkpoint.c:709
      #5  0x0000000000b24d79 in pfs_spawn_thread (arg=0x7f9d9085f490) at /home/bar/maria-bzr/maria-10.0/storage/perfschema/pfs.cc:1853
      #6  0x00000037c7807d15 in start_thread () from /lib64/libpthread.so.0
      #7  0x00000037c70f253d in clone () from /lib64/libc.so.6
       
      Thread 7 (Thread 0x7f9d91060700 (LWP 23136)):
      #0  0x00000037c780b952 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
      #1  0x0000000000bf04e1 in safe_cond_timedwait (cond=0x1563698 <mysql_bin_log+1784>, mp=0x1562fa8 <mysql_bin_log+8>, abstime=0x7f9d9105f320, file=0xdb6f60 "/home/bar/maria-bzr/maria-10.0/include/mysql/psi/mysql_thread.h", line=1191) at /home/bar/maria-bzr/maria-10.0/mysys/thr_mutex.c:547
      #2  0x00000000008e988b in inline_mysql_cond_timedwait (that=0x1563698 <mysql_bin_log+1784>, mutex=0x1562fa8 <mysql_bin_log+8>, abstime=0x7f9d9105f320, src_file=0xdb72a8 "/home/bar/maria-bzr/maria-10.0/sql/log.cc", src_line=7426) at /home/bar/maria-bzr/maria-10.0/include/mysql/psi/mysql_thread.h:1191
      #3  0x00000000008fba91 in MYSQL_BIN_LOG::wait_for_update_bin_log (this=0x1562fa0 <mysql_bin_log>, thd=0x7f9d8888f070, timeout=0x7f9d9105f320) at /home/bar/maria-bzr/maria-10.0/sql/log.cc:7426
      #4  0x000000000066e2ad in mysql_binlog_send (thd=0x7f9d8888f070, log_ident=0x7f9d84432088 "", pos=4, flags=0) at /home/bar/maria-bzr/maria-10.0/sql/sql_repl.cc:2508
      #5  0x000000000063e958 in dispatch_command (command=COM_BINLOG_DUMP, thd=0x7f9d8888f070, packet=0x7f9d88895071 "", packet_length=10) at /home/bar/maria-bzr/maria-10.0/sql/sql_parse.cc:1506
      #6  0x000000000063d0f8 in do_command (thd=0x7f9d8888f070) at /home/bar/maria-bzr/maria-10.0/sql/sql_parse.cc:993
      #7  0x0000000000754562 in do_handle_one_connection (thd_arg=0x7f9d8888f070) at /home/bar/maria-bzr/maria-10.0/sql/sql_connect.cc:1379
      #8  0x0000000000754288 in handle_one_connection (arg=0x7f9d8888f070) at /home/bar/maria-bzr/maria-10.0/sql/sql_connect.cc:1293
      #9  0x0000000000b24d79 in pfs_spawn_thread (arg=0x7f9d8bb74fd0) at /home/bar/maria-bzr/maria-10.0/storage/perfschema/pfs.cc:1853
      #10 0x00000037c7807d15 in start_thread () from /lib64/libpthread.so.0
      #11 0x00000037c70f253d in clone () from /lib64/libc.so.6
       
      Thread 6 (Thread 0x7f9d9113b700 (LWP 23062)):
      #0  0x00000037c780ed90 in sigwait () from /lib64/libpthread.so.0
      #1  0x000000000058924b in signal_hand (arg=0x0) at /home/bar/maria-bzr/maria-10.0/sql/mysqld.cc:3289
      #2  0x0000000000b24d79 in pfs_spawn_thread (arg=0x7f9d8a7fe1d0) at /home/bar/maria-bzr/maria-10.0/storage/perfschema/pfs.cc:1853
      #3  0x00000037c7807d15 in start_thread () from /lib64/libpthread.so.0
      #4  0x00000037c70f253d in clone () from /lib64/libc.so.6
       
      Thread 5 (Thread 0x7f9d833ff700 (LWP 23140)):
      #0  0x00000037c780b5e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
      #1  0x0000000000bf0209 in safe_cond_wait (cond=0x7f9d875d6568, mp=0x7f9d875d65a0, file=0x7f9d8fdbee00 "/home/bar/maria-bzr/maria-10.0/include/mysql/psi/mysql_thread.h", line=1154) at /home/bar/maria-bzr/maria-10.0/mysys/thr_mutex.c:493
      #2  0x00007f9d8fce59a0 in inline_mysql_cond_wait (that=0x7f9d875d6568, mutex=0x7f9d875d65a0, src_file=0x7f9d8fdbeef0 "/home/bar/maria-bzr/maria-10.0/storage/spider/spd_conn.cc", src_line=2174) at /home/bar/maria-bzr/maria-10.0/include/mysql/psi/mysql_thread.h:1154
      #3  0x00007f9d8fceb2e4 in spider_bg_conn_action (arg=0x7f9d875d6280) at /home/bar/maria-bzr/maria-10.0/storage/spider/spd_conn.cc:2174
      #4  0x0000000000b24d79 in pfs_spawn_thread (arg=0x7f9d875874f0) at /home/bar/maria-bzr/maria-10.0/storage/perfschema/pfs.cc:1853
      #5  0x00000037c7807d15 in start_thread () from /lib64/libpthread.so.0
      #6  0x00000037c70f253d in clone () from /lib64/libc.so.6
       
      Thread 4 (Thread 0x7f9d843ff700 (LWP 23139)):
      #0  0x00000037c780b5e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
      #1  0x0000000000bf0209 in safe_cond_wait (cond=0x7f9d875d4768, mp=0x7f9d875d47a0, file=0x7f9d8fdbee00 "/home/bar/maria-bzr/maria-10.0/include/mysql/psi/mysql_thread.h", line=1154) at /home/bar/maria-bzr/maria-10.0/mysys/thr_mutex.c:493
      #2  0x00007f9d8fce59a0 in inline_mysql_cond_wait (that=0x7f9d875d4768, mutex=0x7f9d875d47a0, src_file=0x7f9d8fdbeef0 "/home/bar/maria-bzr/maria-10.0/storage/spider/spd_conn.cc", src_line=2174) at /home/bar/maria-bzr/maria-10.0/include/mysql/psi/mysql_thread.h:1154
      #3  0x00007f9d8fceb2e4 in spider_bg_conn_action (arg=0x7f9d875d4480) at /home/bar/maria-bzr/maria-10.0/storage/spider/spd_conn.cc:2174
      #4  0x0000000000b24d79 in pfs_spawn_thread (arg=0x7f9d8757c3f0) at /home/bar/maria-bzr/maria-10.0/storage/perfschema/pfs.cc:1853
      #5  0x00000037c7807d15 in start_thread () from /lib64/libpthread.so.0
      #6  0x00000037c70f253d in clone () from /lib64/libc.so.6
       
      Thread 3 (Thread 0x7f9d8a3ff700 (LWP 23059)):
      #0  0x00000037c780b5e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
      #1  0x0000000000bf0209 in safe_cond_wait (cond=0x1563f68 <mysql_bin_log+4040>, mp=0x1563eb8 <mysql_bin_log+3864>, file=0xdb6f60 "/home/bar/maria-bzr/maria-10.0/include/mysql/psi/mysql_thread.h", line=1154) at /home/bar/maria-bzr/maria-10.0/mysys/thr_mutex.c:493
      #2  0x00000000008e97aa in inline_mysql_cond_wait (that=0x1563f68 <mysql_bin_log+4040>, mutex=0x1563eb8 <mysql_bin_log+3864>, src_file=0xdb72a8 "/home/bar/maria-bzr/maria-10.0/sql/log.cc", src_line=8975) at /home/bar/maria-bzr/maria-10.0/include/mysql/psi/mysql_thread.h:1154
      #3  0x00000000008ff6a0 in binlog_background_thread (arg=0x0) at /home/bar/maria-bzr/maria-10.0/sql/log.cc:8975
      #4  0x0000000000b24d79 in pfs_spawn_thread (arg=0x7f9d9085fb70) at /home/bar/maria-bzr/maria-10.0/storage/perfschema/pfs.cc:1853
      #5  0x00000037c7807d15 in start_thread () from /lib64/libpthread.so.0
      #6  0x00000037c70f253d in clone () from /lib64/libc.so.6
       
      Thread 2 (Thread 0x7f9d9113d840 (LWP 23035)):
      #0  0x00000037c70e9a5d in poll () from /lib64/libc.so.6
      #1  0x000000000058dcb5 in handle_connections_sockets () at /home/bar/maria-bzr/maria-10.0/sql/mysqld.cc:6001
      #2  0x000000000058cd2d in mysqld_main (argc=101, argv=0x7f9d908804c0) at /home/bar/maria-bzr/maria-10.0/sql/mysqld.cc:5436
      #3  0x000000000058361c in main (argc=8, argv=0x7fff095aef48) at /home/bar/maria-bzr/maria-10.0/sql/main.cc:25
       
      Thread 1 (Thread 0x7f9d910a9700 (LWP 23126)):
      #0  0x00000037c780c65c in pthread_kill () from /lib64/libpthread.so.0
      #1  0x0000000000beafc3 in my_write_core (sig=6) at /home/bar/maria-bzr/maria-10.0/mysys/stacktrace.c:457
      #2  0x000000000082150d in handle_fatal_signal (sig=6) at /home/bar/maria-bzr/maria-10.0/sql/signal_handler.cc:262
      #3  <signal handler called>
      #4  0x00000037c7035c55 in raise () from /lib64/libc.so.6
      #5  0x00000037c7037408 in abort () from /lib64/libc.so.6
      #6  0x00000037c702e972 in __assert_fail_base () from /lib64/libc.so.6
      #7  0x00000037c702ea22 in __assert_fail () from /lib64/libc.so.6
      #8  0x000000000090058c in TC_LOG_DUMMY::log_and_order (this=0x1564400 <tc_log_dummy>, thd=0x7f9d88884070, xid=82, all=false, need_prepare_ordered=false, need_commit_ordered=false) at /home/bar/maria-bzr/maria-10.0/sql/log.h:109
      #9  0x000000000082438a in ha_commit_trans (thd=0x7f9d88884070, all=false) at /home/bar/maria-bzr/maria-10.0/sql/handler.cc:1407
      #10 0x0000000000767b84 in trans_commit_stmt (thd=0x7f9d88884070) at /home/bar/maria-bzr/maria-10.0/sql/transaction.cc:341
      #11 0x0000000000648300 in mysql_execute_command (thd=0x7f9d88884070) at /home/bar/maria-bzr/maria-10.0/sql/sql_parse.cc:5097
      #12 0x000000000064b0ae in mysql_parse (thd=0x7f9d88884070, rawbuf=0x7f9d87422088 "INSERT INTO t1 () VALUES ()", length=27, parser_state=0x7f9d910a8530) at /home/bar/maria-bzr/maria-10.0/sql/sql_parse.cc:6365
      #13 0x000000000063ddfe in dispatch_command (command=COM_QUERY, thd=0x7f9d88884070, packet=0x7f9d8888a071 "INSERT INTO t1 () VALUES ()", packet_length=27) at /home/bar/maria-bzr/maria-10.0/sql/sql_parse.cc:1296
      #14 0x000000000063d0f8 in do_command (thd=0x7f9d88884070) at /home/bar/maria-bzr/maria-10.0/sql/sql_parse.cc:993
      #15 0x0000000000754562 in do_handle_one_connection (thd_arg=0x7f9d88884070) at /home/bar/maria-bzr/maria-10.0/sql/sql_connect.cc:1379
      #16 0x0000000000754288 in handle_one_connection (arg=0x7f9d88884070) at /home/bar/maria-bzr/maria-10.0/sql/sql_connect.cc:1293
      #17 0x0000000000b24d79 in pfs_spawn_thread (arg=0x7f9d8bb74cb0) at /home/bar/maria-bzr/maria-10.0/storage/perfschema/pfs.cc:1853
      #18 0x00000037c7807d15 in start_thread () from /lib64/libpthread.so.0
      #19 0x00000037c70f253d in clone () from /lib64/libc.so.6
       
      Compressed file /dev/shm/var_auto_DHmO/log/spider.spider3_fixes/mysqld.1.1/data/core.23035
       
      Only  1  of 14 completed.
      --------------------------------------------------------------------------
      The servers were restarted 0 times
      Spent 0.000 of 8 seconds executing testcases
       
      Failure: Failed 1/1 tests, 0.00% were successful.
       
      Failing test(s): spider.spider3_fixes
       
      The log files in var/log may give you some hint of what went wrong.
       
      If you want to report this error, please read first the documentation
      at http://dev.mysql.com/doc/mysql/en/mysql-test-suite.html
       
      mysql-test-run: *** ERROR: there were failing test cases

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Kentoku Kentoku Shiba
                Reporter:
                bar Alexander Barkov
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: