[MDEV-19467] MariaDB 10.2.14 Crash with signal-11 for SELECT + Multiple JOINs Created: 2019-05-14  Updated: 2020-08-25  Resolved: 2019-05-21

Status: Closed
Project: MariaDB Server
Component/s: N/A
Affects Version/s: 10.2.14
Fix Version/s: N/A

Type: Bug Priority: Major
Reporter: Nilnandan Joshi Assignee: Alice Sherepa
Resolution: Duplicate Votes: 1
Labels: None

Issue Links:
Duplicate
duplicates MDEV-13749 Server crashes in _ma_unique_hash / J... Closed

 Description   

MariaDB_signal-11__GGIS_PRD_10.2.14_22257

190514 11:11:45 [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.14-MariaDB-log
key_buffer_size=67108864
read_buffer_size=131072
max_used_connections=27
max_threads=10002
thread_count=32
It is possible that mysqld could use up to 
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 22047722 K  bytes of memory
Hope that's ok; if not, decrease some variables in the equation.
 
Thread pointer: 0x7f17b00008c8
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 = 0x7f1958773d30 thread_stack 0x40000
/usr/sbin/mysqld(my_print_stacktrace+0x2e)[0x56265f03958e]
/usr/sbin/mysqld(handle_fatal_signal+0x355)[0x56265eacdcc5]
/lib64/libpthread.so.0(+0xf680)[0x7f2e64278680]
/usr/sbin/mysqld(+0xb8d920)[0x56265ef2f920]
/usr/sbin/mysqld(+0xb93a06)[0x56265ef35a06]
/usr/sbin/mysqld(_ZN11select_unit9send_dataER4ListI4ItemE+0x2f3)[0x56265e9a0c33]
/usr/sbin/mysqld(+0x5b1a4f)[0x56265e953a4f]
/usr/sbin/mysqld(+0x5991c3)[0x56265e93b1c3]
/usr/sbin/mysqld(_Z10sub_selectP4JOINP13st_join_tableb+0x1c4)[0x56265e943c04]
/usr/sbin/mysqld(+0x5991c3)[0x56265e93b1c3]
/usr/sbin/mysqld(_Z10sub_selectP4JOINP13st_join_tableb+0x17e)[0x56265e943bbe]
/usr/sbin/mysqld(+0x5991c3)[0x56265e93b1c3]
/usr/sbin/mysqld(_Z10sub_selectP4JOINP13st_join_tableb+0x17e)[0x56265e943bbe]
/usr/sbin/mysqld(+0x5991c3)[0x56265e93b1c3]
/usr/sbin/mysqld(_Z10sub_selectP4JOINP13st_join_tableb+0x17e)[0x56265e943bbe]
/usr/sbin/mysqld(+0x5991c3)[0x56265e93b1c3]
/usr/sbin/mysqld(_Z10sub_selectP4JOINP13st_join_tableb+0x17e)[0x56265e943bbe]
/usr/sbin/mysqld(+0x5991c3)[0x56265e93b1c3]
/usr/sbin/mysqld(_Z10sub_selectP4JOINP13st_join_tableb+0x17e)[0x56265e943bbe]
/usr/sbin/mysqld(+0x5991c3)[0x56265e93b1c3]
/usr/sbin/mysqld(_Z10sub_selectP4JOINP13st_join_tableb+0x17e)[0x56265e943bbe]
/usr/sbin/mysqld(+0x5991c3)[0x56265e93b1c3]
/usr/sbin/mysqld(_Z10sub_selectP4JOINP13st_join_tableb+0x17e)[0x56265e943bbe]
/usr/sbin/mysqld(_ZN10JOIN_CACHE24generate_full_extensionsEPh+0x201)[0x56265ea06a51]
/usr/sbin/mysqld(_ZN10JOIN_CACHE21join_matching_recordsEb+0x264)[0x56265ea06d54]
/usr/sbin/mysqld(_ZN10JOIN_CACHE12join_recordsEb+0xf4)[0x56265ea06694]
/usr/sbin/mysqld(_Z16sub_select_cacheP4JOINP13st_join_tableb+0x5a)[0x56265e943fca]
/usr/sbin/mysqld(_ZN4JOIN10exec_innerEv+0x903)[0x56265e963473]
/usr/sbin/mysqld(_ZN4JOIN4execEv+0x33)[0x56265e9637c3]
/usr/sbin/mysqld(_ZN18st_select_lex_unit4execEv+0x2db)[0x56265e9a25eb]
/usr/sbin/mysqld(_Z11mysql_unionP3THDP3LEXP13select_resultP18st_select_lex_unitm+0x2e)[0x56265e9a534e]
/usr/sbin/mysqld(_Z13handle_selectP3THDP3LEXP13select_resultm+0x55)[0x56265e964285]
/usr/sbin/mysqld(+0x4885c1)[0x56265e82a5c1]
/usr/sbin/mysqld(_Z21mysql_execute_commandP3THD+0x6910)[0x56265e9116a0]
/usr/sbin/mysqld(_Z11mysql_parseP3THDPcjP12Parser_statebb+0x392)[0x56265e9145f2]
/usr/sbin/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcjbb+0x29d5)[0x56265e9180e5]
/usr/sbin/mysqld(_Z10do_commandP3THD+0x149)[0x56265e918e29]
/usr/sbin/mysqld(_Z24do_handle_one_connectionP7CONNECT+0x1aa)[0x56265e9dfcca]
/usr/sbin/mysqld(handle_one_connection+0x3d)[0x56265e9dfded]
/lib64/libpthread.so.0(+0x7dd5)[0x7f2e64270dd5]
/lib64/libc.so.6(clone+0x6d)[0x7f2e62614b3d]

One time crash.



 Comments   
Comment by Sergei Golubchik [ 2019-05-17 ]

Please, provide the crashing query and as much of the repeatable test case as you can

Generated at Thu Feb 08 08:51:55 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.