[MDEV-21040] InnoDB: fulltext search with ` in(...)` crashed on specific combination Created: 2019-11-12 Updated: 2020-04-01 Resolved: 2019-11-27 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Full-text Search, Storage Engine - InnoDB |
| Affects Version/s: | 10.4.3, 10.4.10 |
| Fix Version/s: | 10.4.11 |
| Type: | Bug | Priority: | Major |
| Reporter: | Moshe L | Assignee: | Igor Babaev |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | crash, fulltext, regression | ||
| Environment: |
Windows 10, x64 |
||
| Issue Links: |
|
||||||||||||||||||||||||||||||||||||||||
| Description |
|
From the log : 191112 21:24:03 [ERROR] mysqld got exception 0xc0000005 ; 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 Server version: 10.4.10-MariaDB Thread pointer: 0x1c938d5b018 Trying to get some variables. 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 What I tried to do: Tested on 10.3 - works Scheme used for testing: CREATE TABLE `search_sites2` ( CREATE TABLE `search_sites3` ( I can send the table content, but not in public place. |
| Comments |
| Comment by Marko Mäkelä [ 2019-11-13 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Moshe L, you can upload the table data (a SQL dump would be preferred) to ftps://ftp.mariadb.com/ and note the file name here. I would suggest to start the file name with | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Moshe L [ 2019-11-13 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Sent by email, as I could not upload to the FTPS - wrong user/password. Thanks, Marko. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Marko Mäkelä [ 2019-11-13 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Thanks, Moshe L. Our FTP procedure was changed recently; maybe anonymous FTP (user name "anonymous" or "ftp") does not work any more. I got the SQL dump, but I cannot repeat the crash with that locally. I tried a build of the latest 10.4 as well as 10.4.10. Can you repeat the crash on a newly initialized database that has been loaded from the dump? | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Moshe L [ 2019-11-13 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Yes. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Moshe L [ 2019-11-14 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Tested with Aria, works. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Thirunarayanan Balathandayuthapani [ 2019-11-15 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
I can able to repeat the issue with .sql provided via mail. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Thirunarayanan Balathandayuthapani [ 2019-11-15 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
I can repeat the issue in 10.4.3, not in 10.3. The following stacktrace happens when the above select query:
It looks like the regression of | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Thirunarayanan Balathandayuthapani [ 2019-11-15 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Sent the repeating steps with .sql file via mail. Please take a look at it. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Thirunarayanan Balathandayuthapani [ 2019-11-27 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Fixed as a part of | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Marko Mäkelä [ 2019-11-27 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Actually, |