Details
-
Bug
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Fixed
-
10.4.7, 10.4(EOL)
-
None
-
docker
Description
Query
select count(0) AS `aggregate` from `ticket_message` where `ticket_message`.`ticket_id` = 15066 and (match `ticket_message`.`text` against ('+"Website design"' in boolean mode)); |
Explain
+------+-------------+----------------+-----------------+---------------------------------------+---------------------------------------+---------+------+--------+---------------------------------+
|
| id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
|
+------+-------------+----------------+-----------------+---------------------------------------+---------------------------------------+---------+------+--------+---------------------------------+
|
| 1 | SIMPLE | ticket_message | fulltext|filter | ticket_message_ticket_id_foreign,text | text|ticket_message_ticket_id_foreign | 0|4 | | 1 (0%) | Using where; Using rowid filter | |
+------+-------------+----------------+-----------------+---------------------------------------+---------------------------------------+---------+------+--------+---------------------------------+
|
1 row in set (0.000 sec) |
Result
ERROR 2013 (HY000): Lost connection to MySQL server during query |
Logs
190822 14:32:29 [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.4.7-MariaDB-1:10.4.7+maria~bionic |
key_buffer_size=134217728 |
read_buffer_size=2097152 |
max_used_connections=1 |
max_threads=102 |
thread_count=7 |
It is possible that mysqld could use up to
|
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 760243 K bytes of memory |
Hope that's ok; if not, decrease some variables in the equation. |
|
Thread pointer: 0x7f1068000f38 |
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 = 0x7f1080de7dd8 thread_stack 0x49000 |
mysqld(my_print_stacktrace+0x2e)[0x55dd4ed9ecee] |
mysqld(handle_fatal_signal+0x515)[0x55dd4e816085] |
/lib/x86_64-linux-gnu/libpthread.so.0(+0x12890)[0x7f109011d890] |
mysqld(+0xae5314)[0x55dd4eaa4314] |
mysqld(+0x561d35)[0x55dd4e520d35] |
mysqld(+0x561fe1)[0x55dd4e520fe1] |
mysqld(+0xae7653)[0x55dd4eaa6653] |
mysqld(+0xa011dd)[0x55dd4e9c01dd] |
mysqld(+0x68bfb2)[0x55dd4e64afb2] |
mysqld(_Z10sub_selectP4JOINP13st_join_tableb+0x163)[0x55dd4e640f63] |
mysqld(_ZN4JOIN10exec_innerEv+0xa8b)[0x55dd4e6621fb] |
mysqld(_ZN4JOIN4execEv+0x33)[0x55dd4e6625a3] |
mysqld(_Z12mysql_selectP3THDP10TABLE_LISTjR4ListI4ItemEPS4_jP8st_orderS9_S7_S9_yP13select_resultP18st_select_lex_unitP13st_select_lex+0x131)[0x55dd4e660961] |
mysqld(_Z13handle_selectP3THDP3LEXP13select_resultm+0x141)[0x55dd4e661311] |
mysqld(+0x63f291)[0x55dd4e5fe291] |
mysqld(_Z21mysql_execute_commandP3THD+0x12ab)[0x55dd4e60653b] |
mysqld(_Z11mysql_parseP3THDPcjP12Parser_statebb+0x22a)[0x55dd4e60dd4a] |
mysqld(_Z16dispatch_command19enum_server_commandP3THDPcjbb+0x1689)[0x55dd4e610559] |
mysqld(_Z10do_commandP3THD+0x148)[0x55dd4e611b48] |
mysqld(_Z24do_handle_one_connectionP7CONNECT+0x2c6)[0x55dd4e6ecca6] |
mysqld(handle_one_connection+0x3d)[0x55dd4e6ecd9d] |
/lib/x86_64-linux-gnu/libpthread.so.0(+0x76db)[0x7f10901126db] |
/lib/x86_64-linux-gnu/libc.so.6(clone+0x3f)[0x7f108f51088f] |
|
Trying to get some variables.
|
Some pointers may be invalid and cause the dump to abort.
|
Query (0x7f1068010210): select count(0) AS `aggregate` from `supportpal`.`ticket_message` where `supportpal`.`ticket_message`.`ticket_id` = 15066 and (match `supportpal`.`ticket_message`.`text` against ('+"Website design"' in boolean mode)) |
Connection ID (thread ID): 8 |
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=on,table_elimination=on,extended_keys=on,exists_to_in=on,orderby_uses_equalities=on,condition_pushdown_for_derived=on,split_materialized=on,condition_pushdown_for_subquery=on,rowid_filter=on,condition_pushdown_from_having=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...
|
Working directory at /var/lib/mysql
|
Resource Limits:
|
Limit Soft Limit Hard Limit Units
|
Max cpu time unlimited unlimited seconds
|
Max file size unlimited unlimited bytes
|
Max data size unlimited unlimited bytes
|
Max stack size 8388608 unlimited bytes |
Max core file size unlimited unlimited bytes
|
Max resident set unlimited unlimited bytes
|
Max processes unlimited unlimited processes
|
Max open files 1048576 1048576 files |
Max locked memory 16777216 16777216 bytes |
Max address space unlimited unlimited bytes
|
Max file locks unlimited unlimited locks
|
Max pending signals 7873 7873 signals |
Max msgqueue size 819200 819200 bytes |
Max nice priority 0 0 |
Max realtime priority 0 0 |
Max realtime timeout unlimited unlimited us
|
Core pattern: |/usr/share/apport/apport %p %s %c %d %P
|
Steps to replicate
curl -fsSL https://get.docker.com -o get-docker.sh && sh get-docker.sh |
docker run --name mariadb -e MYSQL_ROOT_PASSWORD=my-secret-pw -d mariadb:10.4.7 |
docker exec -i mariadb sh -c 'exec mysql -uroot -p"my-secret-pw" supportpal' < db_supportPAL.sql |
Fix
Turning off rowid_filter in the optimizer switch stops it from dieing.
Attachments
Issue Links
- is caused by
-
MDEV-16188 Use in-memory PK filters built from range index scans
- Closed
- is duplicated by
-
MDEV-21040 InnoDB: fulltext search with ` in(...)` crashed on specific combination
- Closed
- relates to
-
MDEV-21040 InnoDB: fulltext search with ` in(...)` crashed on specific combination
- Closed
-
MDEV-21047 Crash on UTF-8 Full text search
- Closed
-
MDEV-21125 Crash with FTS query
- Closed