connect.tbl_thread w2 [ fail ]
|
Test ended at 2017-10-30 10:23:20
|
CURRENT_TEST: connect.tbl_thread
|
mysqltest: At line 60: query 'SELECT * FROM total order by a desc' failed: 2013: Lost connection to MySQL server during query
|
|
The result from queries just before the failure was:
|
< snip >
|
CONNECTION='mysql://root@127.0.0.1:SLAVE_PORT/test/rt4';
|
SELECT * FROM t4;
|
a b
|
12 test12
|
13 test13
|
14 test14
|
15 test15
|
CREATE TABLE t5 ENGINE=CONNECT TABLE_TYPE=MYSQL
|
CONNECTION='mysql://root@127.0.0.1:SLAVE_PORT/test/rt5';
|
SELECT * FROM t5;
|
a b
|
16 test16
|
17 test17
|
18 test18
|
19 test19
|
CREATE TABLE total (a int, b char(10))
|
ENGINE=CONNECT TABLE_TYPE=TBL TABLE_LIST='t1,t2,t3,t4,t5'
|
OPTION_LIST='thread=yes,port=PORT';
|
set connect_xtrace=1;
|
SELECT * FROM total order by a desc;
|
|
More results from queries before failure can be found in /home/alice/aliska/10.2/mysql-test/var/2/log/tbl_thread.log
|
|
|
Server [mysqld.1 - pid: 21335, winpid: 21335, exit: 256] failed during test run
|
Server log from this test:
|
----------SERVER LOG START-----------
|
New CONNECT 0x7f6c780dcd80, table: total
|
Delete CONNECT 0x7f6c780dcd80, table: <null>, xp=(nil) count=0
|
New CONNECT 0x7f6c780de1b0, table: total
|
open: name=./test/total mode=2 test=18
|
external_lock: this=0x7f6c780de1b0 thd=0x7f6c78000a98 xp=0x7f6c78074550 g=0x7f6c78062c10 lock_type=0
|
0x7f6c780de1b0 check_mode: cmdtype=0
|
Cmd=SELECT * FROM total order by a desc
|
New mode=10
|
Calling CntCheckDB db=test cras=0
|
external_lock: rc=0
|
0x7f6c780de1b0 In info: flag=18 valid_info=0
|
XTAB: making new TABLE total (null)
|
XTAB: making new TABLE t1 (null)
|
TBL: Name=t1 db=test
|
XTAB: making new TABLE t2 (null)
|
TBL: Name=t2 db=test
|
Linking tables t1... to t2
|
XTAB: making new TABLE t3 (null)
|
TBL: Name=t3 db=test
|
Linking tables t1... to t3
|
XTAB: making new TABLE t4 (null)
|
TBL: Name=t4 db=test
|
Linking tables t1... to t4
|
XTAB: making new TABLE t5 (null)
|
TBL: Name=t5 db=test
|
Linking tables t1... to t5
|
rnd_init: this=0x7f6c780de1b0 scan=1 xmod=10 alter=0
|
ColDB: am=115 colname=a tabname=total num=0
|
cdp(1).Name=a cp=(nil)
|
making new PRXCOL C1 a at 0x7f6c7ffff4f0
|
colp=0x7f6c7ffff4f0
|
ColDB: am=115 colname=b tabname=total num=0
|
cdp(2).Name=b cp=(nil)
|
making new PRXCOL C2 b at 0x7f6c7ffff570
|
colp=0x7f6c7ffff570
|
TBM OpenDB: tdbp=0x7f6c7ffff3d8 tdb=R1707 use=0 key=(nil) mode=10
|
making copy TABLE t1 <null>
|
Subtable t1 in ./test/
|
ColDB: am=190 colname=a tabname=t1 num=0
|
cdp(1).Name=a cp=(nil)
|
making new MYSQLCOL C1 a at 0x7f6c7ffffb90
|
colp=0x7f6c7ffffb90
|
ColDB: am=190 colname=b tabname=t1 num=0
|
cdp(2).Name=b cp=(nil)
|
making new MYSQLCOL C2 b at 0x7f6c7ffffc58
|
colp=0x7f6c7ffffc58
|
making copy TABLE t2 <null>
|
New CONNECT 0x7f6c78101500, table: t2
|
Delete CONNECT 0x7f6c78101500, table: <null>, xp=(nil) count=0
|
Subtable t2 in ./test/
|
ColDB: am=190 colname=a tabname=t2 num=0
|
cdp(1).Name=a cp=(nil)
|
making new MYSQLCOL C1 a at 0x7f6c80000278
|
colp=0x7f6c80000278
|
ColDB: am=190 colname=b tabname=t2 num=0
|
cdp(2).Name=b cp=(nil)
|
making new MYSQLCOL C2 b at 0x7f6c80000340
|
colp=0x7f6c80000340
|
Linking tables t1... to t2
|
making copy TABLE t3 <null>
|
New CONNECT 0x7f6c78101500, table: t3
|
Delete CONNECT 0x7f6c78101500, table: <null>, xp=(nil) count=0
|
Subtable t3 in ./test/
|
ColDB: am=190 colname=a tabname=t3 num=0
|
cdp(1).Name=a cp=(nil)
|
making new MYSQLCOL C1 a at 0x7f6c80000960
|
colp=0x7f6c80000960
|
ColDB: am=190 colname=b tabname=t3 num=0
|
cdp(2).Name=b cp=(nil)
|
making new MYSQLCOL C2 b at 0x7f6c80000a28
|
colp=0x7f6c80000a28
|
Linking tables t1... to t3
|
making copy TABLE t4 <null>
|
New CONNECT 0x7f6c78101500, table: t4
|
Delete CONNECT 0x7f6c78101500, table: <null>, xp=(nil) count=0
|
Subtable t4 in ./test/
|
ColDB: am=190 colname=a tabname=t4 num=0
|
cdp(1).Name=a cp=(nil)
|
making new MYSQLCOL C1 a at 0x7f6c80001048
|
colp=0x7f6c80001048
|
ColDB: am=190 colname=b tabname=t4 num=0
|
cdp(2).Name=b cp=(nil)
|
making new MYSQLCOL C2 b at 0x7f6c80001110
|
colp=0x7f6c80001110
|
Linking tables t1... to t4
|
making copy TABLE t5 <null>
|
New CONNECT 0x7f6c78101500, table: t5
|
Delete CONNECT 0x7f6c78101500, table: <null>, xp=(nil) count=0
|
Subtable t5 in ./test/
|
ColDB: am=190 colname=a tabname=t5 num=0
|
cdp(1).Name=a cp=(nil)
|
making new MYSQLCOL C1 a at 0x7f6c80001730
|
colp=0x7f6c80001730
|
ColDB: am=190 colname=b tabname=t5 num=0
|
cdp(2).Name=b cp=(nil)
|
making new MYSQLCOL C2 b at 0x7f6c800017f8
|
colp=0x7f6c800017f8
|
Linking tables t1... to t5
|
=====> Local table t1
|
=====> Local table t2
|
=====> New remote table t3
|
=====> New remote table t4
|
=====> New remote table t5
|
ThreadOpen: Thd=2013268632
|
ColDB: am=190 colname=a tabname=t1 num=0
|
cdp(1).Name=a cp=0x7f6c7ffffb90
|
colp=0x7f6c7ffffb90
|
MYSQLC Open: m_DB=6C0008C8 size=1272
|
ColDB: am=190 colname=b tabname=t1 num=0
|
ThreadOpen: Thd=2013268632
|
cdp(2).Name=b cp=0x7f6c7ffffc58
|
colp=0x7f6c7ffffc58
|
ThreadOpen: Thd=2013268632
|
MYSQLC Open: m_DB=700008C8 size=1272
|
Opening subtable t1
|
MYSQLC Open: m_DB=680008C8 size=1272
|
MYSQLC Open: m_DB=78101098 size=1272
|
Query=SELECT `a`, `b` FROM `rt4`
|
Query=SELECT `a`, `b` FROM `t1`
|
Query=SELECT `a`, `b` FROM `rt5`
|
Query=SELECT `a`, `b` FROM `rt3`
|
ExecSQL: m_Res=781038C8 size=152 m_Fields=2 m_Rows=4
|
MYSQLC Close: m_DB=78101098
|
MySQL CloseDB: closing t1 rc=0
|
ColDB: am=190 colname=a tabname=t2 num=0
|
cdp(1).Name=a cp=0x7f6c80000278
|
colp=0x7f6c80000278
|
ColDB: am=190 colname=b tabname=t2 num=0
|
cdp(2).Name=b cp=0x7f6c80000340
|
colp=0x7f6c80000340
|
Opening subtable t2
|
MYSQLC Open: m_DB=78101098 size=1272
|
ExecSQL: m_Res=6800BA68 size=152 m_Fields=2 m_Rows=0
|
Table t5 ready
|
ExecSQL: m_Res=6C00BA68 size=152 m_Fields=2 m_Rows=4
|
Table t4 ready
|
ExecSQL: m_Res=7000BA68 size=152 m_Fields=2 m_Rows=4
|
Table t3 ready
|
Query=SELECT `a`, `b` FROM `rt2`
|
ExecSQL: m_Res=781038D8 size=152 m_Fields=2 m_Rows=4
|
MYSQLC Close: m_DB=78101098
|
MySQL CloseDB: closing t2 rc=0
|
ColDB: am=190 colname=a tabname=t3 num=0
|
cdp(1).Name=a cp=0x7f6c80000960
|
colp=0x7f6c80000960
|
ColDB: am=190 colname=b tabname=t3 num=0
|
cdp(2).Name=b cp=0x7f6c80000a28
|
colp=0x7f6c80000a28
|
Reading subtable t3
|
MYSQLC Close: m_DB=700008C8
|
MySQL CloseDB: closing t3 rc=0
|
ColDB: am=190 colname=a tabname=t4 num=0
|
cdp(1).Name=a cp=0x7f6c80001048
|
colp=0x7f6c80001048
|
ColDB: am=190 colname=b tabname=t4 num=0
|
cdp(2).Name=b cp=0x7f6c80001110
|
colp=0x7f6c80001110
|
Reading subtable t4
|
MYSQLC Close: m_DB=6C0008C8
|
MySQL CloseDB: closing t4 rc=0
|
ColDB: am=190 colname=a tabname=t5 num=0
|
cdp(1).Name=a cp=0x7f6c80001730
|
colp=0x7f6c80001730
|
ColDB: am=190 colname=b tabname=t5 num=0
|
cdp(2).Name=b cp=0x7f6c800017f8
|
colp=0x7f6c800017f8
|
Reading subtable t5
|
171030 10:23:15 [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.10-MariaDB-debug-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 = 63152 K bytes of memory
|
Hope that's ok; if not, decrease some variables in the equation.
|
|
Thread pointer: 0x7f6c78000a98
|
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 = 0x7f6ca0495e70 thread_stack 0x49000
|
/home/alice/aliska/10.2/sql/mysqld(my_print_stacktrace+0x38)[0x55a5c74944df]
|
/home/alice/aliska/10.2/sql/mysqld(handle_fatal_signal+0x3a3)[0x55a5c6d25d62]
|
/lib/x86_64-linux-gnu/libpthread.so.0(+0x11390)[0x7f6ca8e77390]
|
/home/alice/aliska/10.2/mysql-test/var/2/plugins/ha_connect.so(_ZN6PRXCOL10ReadColumnEP7_global+0x5d)[0x7f6ca3560149]
|
/home/alice/aliska/10.2/mysql-test/var/2/plugins/ha_connect.so(_ZN6COLBLK4EvalEP7_global+0xba)[0x7f6ca34f3348]
|
/home/alice/aliska/10.2/mysql-test/var/2/plugins/ha_connect.so(_Z11EvalColumnsP7_globalP3TDBbb+0xc4)[0x7f6ca34e7caf]
|
/home/alice/aliska/10.2/mysql-test/var/2/plugins/ha_connect.so(_Z11CntReadNextP7_globalP3TDB+0x11c)[0x7f6ca34e7e95]
|
/home/alice/aliska/10.2/mysql-test/var/2/plugins/ha_connect.so(_ZN10ha_connect8rnd_nextEPh+0xb0)[0x7f6ca34db438]
|
/home/alice/aliska/10.2/sql/mysqld(_ZN7handler11ha_rnd_nextEPh+0x16d)[0x55a5c6d2c969]
|
/home/alice/aliska/10.2/sql/mysqld(+0x816aa8)[0x55a5c6d21aa8]
|
/home/alice/aliska/10.2/sql/mysqld(_Z8filesortP3THDP5TABLEP8FilesortP16Filesort_trackerP4JOINy+0x8a5)[0x55a5c6d20063]
|
/home/alice/aliska/10.2/sql/mysqld(_Z17create_sort_indexP3THDP4JOINP13st_join_tableP8Filesort+0x300)[0x55a5c6b2dfb5]
|
/home/alice/aliska/10.2/sql/mysqld(_ZN13st_join_table10sort_tableEv+0x102)[0x55a5c6b289ba]
|
/home/alice/aliska/10.2/sql/mysqld(_Z21join_init_read_recordP13st_join_table+0x61)[0x55a5c6b28604]
|
/home/alice/aliska/10.2/sql/mysqld(_Z10sub_selectP4JOINP13st_join_tableb+0x281)[0x55a5c6b265ca]
|
/home/alice/aliska/10.2/sql/mysqld(+0x61abc0)[0x55a5c6b25bc0]
|
/home/alice/aliska/10.2/sql/mysqld(_ZN4JOIN10exec_innerEv+0xac1)[0x55a5c6b006d1]
|
/home/alice/aliska/10.2/sql/mysqld(_ZN4JOIN4execEv+0xcc)[0x55a5c6affb72]
|
/home/alice/aliska/10.2/sql/mysqld(_Z12mysql_selectP3THDP10TABLE_LISTjR4ListI4ItemEPS4_jP8st_orderS9_S7_S9_yP13select_resultP18st_select_lex_unitP13st_select_lex+0x2f3)[0x55a5c6b00d42]
|
/home/alice/aliska/10.2/sql/mysqld(_Z13handle_selectP3THDP3LEXP13select_resultm+0x15f)[0x55a5c6af55db]
|
/home/alice/aliska/10.2/sql/mysqld(+0x5b656c)[0x55a5c6ac156c]
|
/home/alice/aliska/10.2/sql/mysqld(_Z21mysql_execute_commandP3THD+0x18f9)[0x55a5c6ab72c2]
|
/home/alice/aliska/10.2/sql/mysqld(_Z11mysql_parseP3THDPcjP12Parser_statebb+0x2a2)[0x55a5c6ac4ee5]
|
/home/alice/aliska/10.2/sql/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcjbb+0xfee)[0x55a5c6ab2bb2]
|
/home/alice/aliska/10.2/sql/mysqld(_Z10do_commandP3THD+0x700)[0x55a5c6ab1509]
|
/home/alice/aliska/10.2/sql/mysqld(_Z24do_handle_one_connectionP7CONNECT+0x1ca)[0x55a5c6bfe97e]
|
/home/alice/aliska/10.2/sql/mysqld(handle_one_connection+0x30)[0x55a5c6bfe6fe]
|
/home/alice/aliska/10.2/sql/mysqld(+0xa4f256)[0x55a5c6f5a256]
|
/lib/x86_64-linux-gnu/libpthread.so.0(+0x76ba)[0x7f6ca8e6d6ba]
|
/lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x7f6ca83023dd]
|
|
Trying to get some variables.
|
Some pointers may be invalid and cause the dump to abort.
|
Query (0x7f6c780fe550): SELECT * FROM total order by a desc
|
Connection ID (thread ID): 1705
|
Status: NOT_KILLED
|