On MariaDB Server 10.5.9 on Ubuntu 20.04, Spider causes a crash when the following CREATE TABLE statement is executed:
CREATE TABLE test.fed_test_spider (
|
id INT PRIMARY KEY AUTO_INCREMENT,
|
name VARCHAR(50)
|
) ENGINE = Spider
|
COMMENT "host '<user_ip_address>', port 3306, user 'spider_user', password 'user_passwd', database 'ken_test', table 'fed_test'";
|
ERROR 2013 (HY000): Lost connection to MySQL server during query
|
The error log says that the crash occurred in st_spider_param_string_parse::get_next_parameter_head(). Especially, it appears to refer to this line of code: https://github.com/MariaDB/server/blob/mariadb-10.5.9/storage/spider/spd_table.h#L197
Thread pointer: 0x7f3f10000db8
|
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 = 0x7f3f501f6d98 thread_stack 0x49000
|
mysys/stacktrace.c:212(my_print_stacktrace)[0x560ae22279da]
|
sql/signal_handler.cc:211(handle_fatal_signal)[0x560ae1906955]
|
??:0(__restore_rt)[0x7f3f9874e3c0]
|
spider/spd_table.h:197(st_spider_param_string_parse::get_next_parameter_head(char*, char**))[0x7f3f97cbd8ac]
|
spider/spd_table.cc:2273(spider_parse_connect_info(st_spider_share*, TABLE_SHARE*, partition_info*, unsigned int))[0x7f3f97c8e2fb]
|
spider/ha_spider.cc:11630(ha_spider::create(char const*, TABLE*, HA_CREATE_INFO*))[0x7f3f97d0ea13]
|
sql/handler.cc:5092(handler::ha_create(char const*, TABLE*, HA_CREATE_INFO*))[0x560ae1918760]
|
sql/handler.cc:5557(ha_create_table(THD*, char const*, char const*, char const*, HA_CREATE_INFO*, st_mysql_const_unsigned_lex_string*))[0x560ae1919fae]
|
sql/sql_table.cc:5376(create_table_impl(THD*, st_mysql_const_lex_string const&, st_mysql_const_lex_string const&, st_mysql_const_lex_string const&, st_mysql_const_lex_string const&, char const*, DDL_options_st, HA_CREATE_INFO*, Alter_info*, int, bool*, st_key**, unsigned int*, st_mysql_const_unsigned_lex_string*))[0x560ae1699aed]
|
sql/sql_table.cc:5460(mysql_create_table_no_lock(THD*, st_mysql_const_lex_string const*, st_mysql_const_lex_string const*, Table_specification_st*, Alter_info*, bool*, int, TABLE_LIST*))[0x560ae1699f2d]
|
sql/sql_table.cc:5564(mysql_create_table(THD*, TABLE_LIST*, Table_specification_st*, Alter_info*))[0x560ae169a3c5]
|
sql/sql_table.cc:12142(Sql_cmd_create_table_like::execute(THD*))[0x560ae16ae165]
|
sql/sql_parse.cc:6024(mysql_execute_command(THD*))[0x560ae15a7c0c]
|
sql/sql_parse.cc:8063(mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool))[0x560ae15adfe2]
|
sql/sql_parse.cc:1892(dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool))[0x560ae1599f47]
|
sql/sql_parse.cc:1370(do_command(THD*))[0x560ae159873b]
|
sql/sql_connect.cc:1410(do_handle_one_connection(CONNECT*, bool))[0x560ae174690f]
|
sql/sql_connect.cc:1314(handle_one_connection)[0x560ae1746672]
|
perfschema/pfs.cc:2203(pfs_spawn_thread)[0x560ae1c66439]
|
??:0(start_thread)[0x7f3f98742609]
|
??:0(clone)[0x7f3f98315293]
|
{"report":{"fcp":734.5,"ttfb":194.79999995231628,"pageVisibility":"visible","entityId":101220,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"0f8218bb-5d9c-4614-b5f0-e3f8fab1fe6d","navigationType":0,"readyForUser":807.2999999523163,"redirectCount":0,"resourceLoadedEnd":664.3999998569489,"resourceLoadedStart":200.39999985694885,"resourceTiming":[{"duration":7.200000047683716,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":200.39999985694885,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":200.39999985694885,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":207.59999990463257,"responseStart":0,"secureConnectionStart":0},{"duration":7.300000190734863,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2bu7/820016/12ta74/8679b4946efa1a0bb029a3a22206fb5d/_/download/contextbatch/css/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true","startTime":200.69999980926514,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":200.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":208,"responseStart":0,"secureConnectionStart":0},{"duration":60.89999985694885,"initiatorType":"script","name":"https://jira.mariadb.org/s/fbf975c0cce4b1abf04784eeae9ba1f4-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":200.79999995231628,"connectEnd":200.79999995231628,"connectStart":200.79999995231628,"domainLookupEnd":200.79999995231628,"domainLookupStart":200.79999995231628,"fetchStart":200.79999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":200.79999995231628,"responseEnd":261.69999980926514,"responseStart":261.69999980926514,"secureConnectionStart":200.79999995231628},{"duration":143.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/099b33461394b8015fc36c0a4b96e19f-CDN/lu2bu7/820016/12ta74/8679b4946efa1a0bb029a3a22206fb5d/_/download/contextbatch/js/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en&slack-enabled=true","startTime":200.89999985694885,"connectEnd":200.89999985694885,"connectStart":200.89999985694885,"domainLookupEnd":200.89999985694885,"domainLookupStart":200.89999985694885,"fetchStart":200.89999985694885,"redirectEnd":0,"redirectStart":0,"requestStart":200.89999985694885,"responseEnd":344.39999985694885,"responseStart":344.39999985694885,"secureConnectionStart":200.89999985694885},{"duration":147.09999990463257,"initiatorType":"script","name":"https://jira.mariadb.org/s/94c15bff32baef80f4096a08aceae8bc-CDN/lu2bu7/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":201,"connectEnd":201,"connectStart":201,"domainLookupEnd":201,"domainLookupStart":201,"fetchStart":201,"redirectEnd":0,"redirectStart":0,"requestStart":201,"responseEnd":348.09999990463257,"responseStart":348.09999990463257,"secureConnectionStart":201},{"duration":147.90000009536743,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":201.09999990463257,"connectEnd":201.09999990463257,"connectStart":201.09999990463257,"domainLookupEnd":201.09999990463257,"domainLookupStart":201.09999990463257,"fetchStart":201.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":201.09999990463257,"responseEnd":349,"responseStart":349,"secureConnectionStart":201.09999990463257},{"duration":149.40000009536743,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2bu7/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":201.19999980926514,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":201.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":350.59999990463257,"responseStart":0,"secureConnectionStart":0},{"duration":148.60000014305115,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":201.19999980926514,"connectEnd":201.19999980926514,"connectStart":201.19999980926514,"domainLookupEnd":201.19999980926514,"domainLookupStart":201.19999980926514,"fetchStart":201.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":201.19999980926514,"responseEnd":349.7999999523163,"responseStart":349.7999999523163,"secureConnectionStart":201.19999980926514},{"duration":149.10000014305115,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":201.39999985694885,"connectEnd":201.39999985694885,"connectStart":201.39999985694885,"domainLookupEnd":201.39999985694885,"domainLookupStart":201.39999985694885,"fetchStart":201.39999985694885,"redirectEnd":0,"redirectStart":0,"requestStart":201.39999985694885,"responseEnd":350.5,"responseStart":350.5,"secureConnectionStart":201.39999985694885},{"duration":149.59999990463257,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2bu7/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/css/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.css?jira.create.linked.issue=true","startTime":201.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":201.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":351.09999990463257,"responseStart":0,"secureConnectionStart":0},{"duration":149.70000004768372,"initiatorType":"script","name":"https://jira.mariadb.org/s/3339d87fa2538a859872f2df449bf8d0-CDN/lu2bu7/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/js/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.js?jira.create.linked.issue=true&locale=en","startTime":201.59999990463257,"connectEnd":201.59999990463257,"connectStart":201.59999990463257,"domainLookupEnd":201.59999990463257,"domainLookupStart":201.59999990463257,"fetchStart":201.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":201.59999990463257,"responseEnd":351.2999999523163,"responseStart":351.2999999523163,"secureConnectionStart":201.59999990463257},{"duration":418.89999985694885,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":202.29999995231628,"connectEnd":202.29999995231628,"connectStart":202.29999995231628,"domainLookupEnd":202.29999995231628,"domainLookupStart":202.29999995231628,"fetchStart":202.29999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":202.29999995231628,"responseEnd":621.1999998092651,"responseStart":621.1999998092651,"secureConnectionStart":202.29999995231628},{"duration":462.09999990463257,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":202.29999995231628,"connectEnd":202.29999995231628,"connectStart":202.29999995231628,"domainLookupEnd":202.29999995231628,"domainLookupStart":202.29999995231628,"fetchStart":202.29999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":202.29999995231628,"responseEnd":664.3999998569489,"responseStart":664.3999998569489,"secureConnectionStart":202.29999995231628},{"duration":176.20000004768372,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":480.89999985694885,"connectEnd":480.89999985694885,"connectStart":480.89999985694885,"domainLookupEnd":480.89999985694885,"domainLookupStart":480.89999985694885,"fetchStart":480.89999985694885,"redirectEnd":0,"redirectStart":0,"requestStart":480.89999985694885,"responseEnd":657.0999999046326,"responseStart":657.0999999046326,"secureConnectionStart":480.89999985694885},{"duration":221,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":677.7999999523163,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":677.7999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":898.7999999523163,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":35,"responseStart":195,"responseEnd":197,"domLoading":198,"domInteractive":863,"domContentLoadedEventStart":863,"domContentLoadedEventEnd":900,"domComplete":1166,"loadEventStart":1166,"loadEventEnd":1167,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":843.7999999523163},{"name":"bigPipe.sidebar-id.end","time":844.5},{"name":"bigPipe.activity-panel-pipe-id.start","time":844.6999998092651},{"name":"bigPipe.activity-panel-pipe-id.end","time":846.0999999046326},{"name":"activityTabFullyLoaded","time":915.8999998569489}],"measures":[],"correlationId":"308a2e01ab4020","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":102,"dbReadsTimeInMs":26,"dbConnsTimeInMs":45,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}