subselect_notembedded test fails on some platforms
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MariaDB |
Invalid
|
Undecided
|
Oleksandr "Sanja" Byelkin |
Bug Description
subselect_
main.subselect_
Test ended at 2010-03-22 02:50:26
CURRENT_TEST: main.subselect_
mysqltest: At line 57: query 'explain $start $end' failed with wrong errno 2013: 'Lost connection to MySQL server during query', instead of 0...
The result from queries just before the failure was:
< snip >
drop table if exists t1;
create table t1(a int,b int,key(a),key(b));
insert into t1(a,b) values (1,2),(
(6,7),(7,4),(5,3);
5
4
3
2
1
26
25
24
23
22
21
20
19
18
17
16
Server [mysqld.1 - pid: 6751, winpid: 6751, exit: 256] failed during test run
Server log from this test:
100322 2:50:25 - 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.
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.
key_buffer_
read_buffer_
max_used_
max_threads=153
threads_connected=1
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_
bytes of memory
Hope that's ok; if not, decrease some variables in the equation.
thd: 0x92fbaa8
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 = 0xacc2e3a4 thread_stack 0x48000
/home/buildbot/
/home/buildbot/
[0xffffe420]
/home/buildbot/
/home/buildbot/
/home/buildbot/
/home/buildbot/
/home/buildbot/
/home/buildbot/
/home/buildbot/
/home/buildbot/
/home/buildbot/
/home/buildbot/
/home/buildbot/
/home/buildbot/
/home/buildbot/
/home/buildbot/
/home/buildbot/
/home/buildbot/
/home/buildbot/
/home/buildbot/
/home/buildbot/
/home/buildbot/
/home/buildbot/
/home/buildbot/
/home/buildbot/
/home/buildbot/
/home/buildbot/
/home/buildbot/
/home/buildbot/
/home/buildbot/
/home/buildbot/
/home/buildbot/
/home/buildbot/
/home/buildbot/
/home/buildbot/
/home/buildbot/
/home/buildbot/
/home/buildbot/
/home/buildbot/
/home/buildbot/
/home/buildbot/
/home/buildbot/
/home/buildbot/
/home/buildbot/
/lib/libpthread
/lib/libc.
Trying to get some variables.
Some pointers may be invalid and cause the dump to abort...
thd->query at 0x9cffa90 = explain select sum(a),a from t1 where a> ( select sum(a) from t1
where a> ( select sum(a) from t1
where a> ( select sum(a) from t1
where a> ( select sum(a) from t1
where a> ( select sum(a) from t1
where a> ( select sum(a) from t1
where a> ( select sum(a) from t1
where a> ( select sum(a) from t1
where a> ( select sum(a) from t1
where a> ( select sum(a) from t1
where a> ( select sum(a) from t1
where a> ( select sum(a) from t1
where a> ( select sum(a) from t1
where a> ( select sum(a) from t1
where a> ( select sum(a) from t1
where a> ( select sum(a) from t1 )group by b limit 1
)group by b limit 1
)group by b limit 1
)group by b limit 1
)group by b limit 1
)group by b limit 1
)group by b limit 1
)group by b limit 1
)group by b limit 1
)group by b limit 1
)group by b limit 1
)group by b limit 1
)group by b limit 1
)group by b limit 1
)group by b limit 1
)group by a
thd->thread_id=646
thd->killed=
The manual page at http://
information that should help you find out what is causing the crash.
Writing a core file
...
#0 0xb7f5814e in pthread_kill () from /lib/libpthread
#0 0xb7f5814e in pthread_kill () from /lib/libpthread
#1 0x08752caf in my_write_core (sig=11) at stacktrace.c:329
#2 0x08296a45 in handle_segfault (sig=11) at mysqld.cc:2683
#3 <signal handler called>
#4 0x081ae671 in String::free (this=0x6a209a60)
at ../../.
#5 0x081ae6eb in ~String (this=0x6a209a60) at ../../.
#6 0x081e2f9c in ~Copy_field (this=0x6a209a34) at field.h:2228
#7 0x081e3ab0 in TMP_TABLE_
#8 0x08328542 in JOIN::cleanup (this=0x96a41c8, full=true)
at sql_select.cc:7875
#9 0x0832c530 in JOIN::destroy (this=0x96a41c8) at sql_select.cc:2239
#10 0x0832c508 in JOIN::destroy (this=0x949b340) at sql_select.cc:2235
#11 0x0846134f in st_select_
#12 0x08461156 in st_select_
at sql_union.cc:681
#13 0x084613b3 in st_select_
#14 0x08461156 in st_select_
at sql_union.cc:681
#15 0x084613b3 in st_select_
#16 0x08461156 in st_select_
at sql_union.cc:681
#17 0x084613b3 in st_select_
#18 0x08461156 in st_select_
at sql_union.cc:681
#19 0x084613b3 in st_select_
#20 0x08461156 in st_select_
at sql_union.cc:681
#21 0x084613b3 in st_select_
#22 0x08461156 in st_select_
at sql_union.cc:681
#23 0x084613b3 in st_select_
#24 0x08461156 in st_select_
at sql_union.cc:681
#25 0x084613b3 in st_select_
#26 0x08461156 in st_select_
at sql_union.cc:681
#27 0x084613b3 in st_select_
#28 0x08461156 in st_select_
at sql_union.cc:681
#29 0x084613b3 in st_select_
#30 0x08461156 in st_select_
at sql_union.cc:681
#31 0x084613b3 in st_select_
#32 0x08461156 in st_select_
at sql_union.cc:681
#33 0x084613b3 in st_select_
#34 0x08461156 in st_select_
at sql_union.cc:681
#35 0x084613b3 in st_select_
#36 0x08461156 in st_select_
at sql_union.cc:681
#37 0x084613b3 in st_select_
#38 0x08461156 in st_select_
at sql_union.cc:681
#39 0x084613b3 in st_select_
#40 0x08461156 in st_select_
at sql_union.cc:681
#41 0x084613b3 in st_select_
#42 0x08461156 in st_select_
at sql_union.cc:681
#43 0x082b3e0a in mysql_parse (thd=0x92fbaa8,
inBuf=0x9cffa90 "explain select sum(a),a from t1 where a> ( select sum(a) from t1 \nwhere a> ( select sum(a) from t1 \nwhere a> ( select sum(a) from t1 \nwhere a> ( select sum(a) from t1 \nwhere a> ( select sum(a) from t1"...,
length=902, found_semicolon
#44 0x082b4cd5 in dispatch_command (command=COM_QUERY, thd=0x92fbaa8,
packet=
#45 0x082b6036 in do_command (thd=0x92fbaa8) at sql_parse.cc:891
#46 0x082a0df2 in handle_
Changed in maria: | |
milestone: | none → 5.1 |
A couple of hosts this happened at: buildbot. askmonty. org/buildbot/ builders/ gentoo- x86-dbg/ builds/ 302/steps/ test_1/ logs/stdio buildbot. askmonty. org/buildbot/ builders/ opensolaris- 511-x86/ builds/ 125/steps/ test/logs/ stdio
http://
http://