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

connect.tbl_thread failed in builbot

    Details

      Description

      http://buildbot.askmonty.org/buildbot/builders/kvm-fulltest/builds/9880/steps/test_3/logs/stdio and here http://buildbot.askmonty.org/buildbot/builders/kvm-deb-wheezy-x86/builds/5084/steps/mtr/logs/stdio

      connect.tbl_thread                       w1 [ fail ]
              Test ended at 2017-08-18 19:26:08
       
      CURRENT_TEST: connect.tbl_thread
      mysqltest: At line 84: query 'SELECT * FROM total order by v desc' failed: 2013: Lost connection to MySQL server during query
       
      The result from queries just before the failure was:
      < snip >
      22
      CREATE TABLE total (v BIGINT(20) UNSIGNED NOT NULL) ENGINE=CONNECT TABLE_TYPE=TBL TABLE_LIST='t1,t2' OPTION_LIST='thread=yes,port=PORT';;
      SELECT * FROM total order by v desc;
      v
      22
      11
      DROP TABLE t1,t2,total;
      #
      # Old thread TBL tables test not modified
      #
      CREATE TABLE t1 ENGINE=CONNECT TABLE_TYPE=MYSQL SRCDEF='select 11 as v';
      SELECT * FROM t1;
      v
      11
      CREATE TABLE t2 ENGINE=CONNECT TABLE_TYPE=MYSQL SRCDEF='select 22 as v';
      SELECT * FROM t2;
      v
      22
      CREATE TABLE total (v BIGINT(20) UNSIGNED NOT NULL) ENGINE=CONNECT TABLE_TYPE=TBL TABLE_LIST='t1,t2' OPTION_LIST='thread=yes,port=PORT';;
      SELECT * FROM total order by v desc;
       
      More results from queries before failure can be found in /mnt/buildbot/build/mariadb-10.2.9/mysql-test/var/1/log/tbl_thread.log
       
       
      Server [mysqld.1 - pid: 2266, winpid: 2266, exit: 256] failed during test run
      Server log from this test:
      ----------SERVER LOG START-----------
      170818 19:26:07 [ERROR] mysqld got signal 11 ;
      This could be because you hit a bug. It is also possible that this binary
      or one of the libraries it was linked against is corrupt, improperly built,
      or misconfigured. This error can also be caused by malfunctioning hardware.
       
      To report this bug, see https://mariadb.com/kb/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.2.9-MariaDB-log
      key_buffer_size=1048576
      read_buffer_size=131072
      max_used_connections=4
      max_threads=153
      thread_count=5
      It is possible that mysqld could use up to 
      key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 62991 K  bytes of memory
      Hope that's ok; if not, decrease some variables in the equation.
       
      Thread pointer: 0x7f9f4c0009a8
      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 = 0x7f9f68343cc8 thread_stack 0x49000
      /mnt/buildbot/build/mariadb-10.2.9/sql/mysqld(my_print_stacktrace+0x2e)[0x562778852bee]
      /mnt/buildbot/build/mariadb-10.2.9/sql/mysqld(handle_fatal_signal+0x305)[0x5627782ae0f5]
      /lib/x86_64-linux-gnu/libpthread.so.0(+0x11390)[0x7f9f6fa2d390]
      /lib/x86_64-linux-gnu/libc.so.6(+0x9ee78)[0x7f9f6f066e78]
      /mnt/buildbot/build/mariadb-10.2.9/sql/mysqld(+0x42d699)[0x562778088699]
      /mnt/buildbot/build/mariadb-10.2.9/sql/mysqld(net_write_command+0x2dd)[0x562778088c1d]
      /mnt/buildbot/build/mariadb-10.2.9/sql/mysqld(cli_advanced_command+0xe4)[0x56277828c914]
      /mnt/buildbot/build/mariadb-10.2.9/sql/mysqld(mysql_close_slow_part+0x48)[0x562778289fa8]
      /mnt/buildbot/build/mariadb-10.2.9/sql/mysqld(mysql_close+0x1a)[0x562778289fea]
      /mnt/buildbot/build/mariadb-10.2.9/mysql-test/var/1/plugins/ha_connect.so(_ZN6MYSQLC5CloseEv+0x33)[0x7f9f6952f3f3]
      /mnt/buildbot/build/mariadb-10.2.9/mysql-test/var/1/plugins/ha_connect.so(_ZN8TDBMYSQL7CloseDBEP7_global+0x45)[0x7f9f6954de55]
      /mnt/buildbot/build/mariadb-10.2.9/mysql-test/var/1/plugins/ha_connect.so(_ZN6TDBTBM14ReadNextRemoteEP7_global+0x26)[0x7f9f69557186]
      /mnt/buildbot/build/mariadb-10.2.9/mysql-test/var/1/plugins/ha_connect.so(_ZN6TDBTBM6ReadDBEP7_global+0xe0)[0x7f9f695573b0]
      /mnt/buildbot/build/mariadb-10.2.9/mysql-test/var/1/plugins/ha_connect.so(_Z11CntReadNextP7_globalP3TDB+0x70)[0x7f9f694ff0b0]
      /mnt/buildbot/build/mariadb-10.2.9/mysql-test/var/1/plugins/ha_connect.so(_ZN10ha_connect8rnd_nextEPh+0x56)[0x7f9f694f3676]
      /mnt/buildbot/build/mariadb-10.2.9/sql/mysqld(_ZN7handler11ha_rnd_nextEPh+0x71)[0x5627782b2731]
      /mnt/buildbot/build/mariadb-10.2.9/sql/mysqld(_Z8filesortP3THDP5TABLEP8FilesortP16Filesort_trackerP4JOINy+0xfcd)[0x5627782ad24d]
      /mnt/buildbot/build/mariadb-10.2.9/sql/mysqld(_Z17create_sort_indexP3THDP4JOINP13st_join_tableP8Filesort+0xd7)[0x562778157177]
      /mnt/buildbot/build/mariadb-10.2.9/sql/mysqld(_ZN13st_join_table10sort_tableEv+0x73)[0x5627781573f3]
      /mnt/buildbot/build/mariadb-10.2.9/sql/mysqld(_Z21join_init_read_recordP13st_join_table+0x29)[0x562778157459]
      /mnt/buildbot/build/mariadb-10.2.9/sql/mysqld(_Z10sub_selectP4JOINP13st_join_tableb+0x164)[0x5627781494c4]
      /mnt/buildbot/build/mariadb-10.2.9/sql/mysqld(_ZN4JOIN10exec_innerEv+0xbc1)[0x562778168941]
      /mnt/buildbot/build/mariadb-10.2.9/sql/mysqld(_ZN4JOIN4execEv+0x33)[0x562778168af3]
      /mnt/buildbot/build/mariadb-10.2.9/sql/mysqld(_Z12mysql_selectP3THDP10TABLE_LISTjR4ListI4ItemEPS4_jP8st_orderS9_S7_S9_yP13select_resultP18st_select_lex_unitP13st_select_lex+0xeb)[0x562778168c3b]
      /mnt/buildbot/build/mariadb-10.2.9/sql/mysqld(_Z13handle_selectP3THDP3LEXP13select_resultm+0x12f)[0x56277816953f]
      /mnt/buildbot/build/mariadb-10.2.9/sql/mysqld(+0x4afb5e)[0x56277810ab5e]
      /mnt/buildbot/build/mariadb-10.2.9/sql/mysqld(_Z21mysql_execute_commandP3THD+0x5f92)[0x562778117502]
      /mnt/buildbot/build/mariadb-10.2.9/sql/mysqld(_ZN18Prepared_statement7executeEP6Stringb+0x4f5)[0x56277812e7c5]
      /mnt/buildbot/build/mariadb-10.2.9/sql/mysqld(+0x4d3f75)[0x56277812ef75]
      /mnt/buildbot/build/mariadb-10.2.9/sql/mysqld(+0x4d49a8)[0x56277812f9a8]
      /mnt/buildbot/build/mariadb-10.2.9/sql/mysqld(_Z19mysqld_stmt_executeP3THDPcj+0x25)[0x56277812fae5]
      /mnt/buildbot/build/mariadb-10.2.9/sql/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcjbb+0xe06)[0x56277811bf76]
      /mnt/buildbot/build/mariadb-10.2.9/sql/mysqld(_Z10do_commandP3THD+0x13c)[0x56277811d96c]
      /mnt/buildbot/build/mariadb-10.2.9/sql/mysqld(_Z24do_handle_one_connectionP7CONNECT+0x24a)[0x5627781e4f2a]
      /mnt/buildbot/build/mariadb-10.2.9/sql/mysqld(handle_one_connection+0x3d)[0x5627781e509d]
      /mnt/buildbot/build/mariadb-10.2.9/sql/mysqld(+0x7ea7a1)[0x5627784457a1]
      /lib/x86_64-linux-gnu/libpthread.so.0(+0x76ba)[0x7f9f6fa236ba]
      /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x7f9f6f0ce82d]
       
      Trying to get some variables.
      Some pointers may be invalid and cause the dump to abort.
      Query (0x7f9f4c0c8768): SELECT * FROM total order by v desc
      Connection ID (thread ID): 269
      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=on,exists_to_in=on,orderby_uses_equalities=on,condition_pushdown_for_derived=on
       
      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-------------
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                alice Alice Sherepa
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: