Details
-
Bug
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Fixed
-
10.0.11
-
None
Description
I tried this syntax with SPIDER, because it is supported with FederatedX. It crashes the server. (this problem does not occur with CONNECT)
MariaDB [test]> CREATE OR REPLACE TABLE user |
-> ENGINE = SPIDER
|
-> COMMENT 'host "127.0.0.1", user "root", password "root", database "db1", table "user"'; |
ERROR 2013 (HY000): Lost connection to MySQL server during query |
Errlog:
140526 4:10:33 [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 http://kb.askmonty.org/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.0.11-MariaDB-log
key_buffer_size=134217728
read_buffer_size=131072
max_used_connections=1
max_threads=501
thread_count=2
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 1224392 K bytes of memory
Hope that's ok; if not, decrease some variables in the equation.
Thread pointer: 0x0x7f6742f8d008
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 = 0x7f6762733d08 thread_stack 0x48000
mysys/stacktrace.c:247(my_print_stacktrace)[0xbb334e]
sql/signal_handler.cc:153(handle_fatal_signal)[0x713dec]
/lib/x86_64-linux-gnu/libpthread.so.0(+0xf030)[0x7f6762408030]
/usr/local/mysql/lib/plugin/ha_spider.so(_ZN18spider_mysql_share20convert_key_hint_strEv+0x3b)[0x7f674b91a63b]
/usr/local/mysql/lib/plugin/ha_spider.so(_ZN18spider_mysql_share4initEv+0x26a)[0x7f674b924eca]
/usr/local/mysql/lib/plugin/ha_spider.so(_Z19spider_create_sharePKcP11TABLE_SHAREP14partition_infojPi+0x57d)[0x7f674b8ea77d]
/usr/local/mysql/lib/plugin/ha_spider.so(_Z31spider_discover_table_structureP10handlertonP3THDP11TABLE_SHAREP14HA_CREATE_INFO+0x776)[0x7f674b8eaf96]
sql/sql_table.cc:4819(create_table_impl)[0x6180c8]
sql/sql_table.cc:4953(mysql_create_table_no_lock(THD*, char const*, char const*, HA_CREATE_INFO*, Alter_info*, bool*, int))[0x61c255]
sql/sql_table.cc:5004(mysql_create_table(THD*, TABLE_LIST*, HA_CREATE_INFO*, Alter_info*))[0x61ca87]
sql/sql_parse.cc:3022(mysql_execute_command(THD*))[0x599b4e]
sql/sql_parse.cc:6409(mysql_parse(THD*, char*, unsigned int, Parser_state*))[0x599e2a]
sql/sql_parse.cc:1311(dispatch_command(enum_server_command, THD*, char*, unsigned int))[0x59bbd7]
sql/sql_parse.cc:1006(do_command(THD*))[0x59c2f5]
sql/threadpool_common.cc:233(threadpool_process_request(THD*))[0x6ae528]
sql/threadpool_unix.cc:1448(handle_event)[0x6e8018]
perfschema/pfs.cc:1863(pfs_spawn_thread)[0x8b3399]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x6b50)[0x7f67623ffb50]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x7f676137c0ed]
Trying to get some variables.
Some pointers may be invalid and cause the dump to abort.
Query (0x7f675f8b8020): is an invalid pointer
Connection ID (thread ID): 4
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=off,table_elimination=on,extended_keys=on,exists_to_in=off
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.