CREATE SERVER srv FOREIGN DATA WRAPPER MYSQL OPTIONS (SOCKET '../socket.sock',DATABASE'',USER'',PASSWORD'');
|
SET GLOBAL wait_timeout=+1;
|
INSTALL PLUGIN Spider SONAME 'ha_spider.so';
|
CREATE TABLE t (c INT KEY,c1 BLOB,c2 TEXT) ENGINE=Spider COMMENT='WRAPPER "mysql",srv "srv"';
|
XA START 'a';
|
INSERT INTO t VALUES (0,0,0,0);
|
SELECT SLEEP (4);
|
INSERT INTO t VALUES (1,2,3),(4,5,6),(7,8,9);
|
SELECT * FROM information_schema.key_column_usage;
|
Leads to:
11.0.2 5ba3bafb834dbc56e6105809ded9a7ccef70ee54 (Optimized)
|
Core was generated by `/test/MD060623-mariadb-11.0.2-linux-x86_64-opt/bin/mariadbd --no-defaults --cor'.
|
Program terminated with signal SIGSEGV, Segmentation fault.
|
#0 0x000055e2abdce487 in server_mysql_send_query (mysql=mysql@entry=0x0,
|
query=0x14e250201918 "set @old_lock_wait_timeout=@@session.lock_wait_timeout;set session lock_wait_timeout=1;", length=87)
|
at /test/11.0_opt/sql-common/client.c:3541
|
[Current thread is 1 (Thread 0x14e28c08f700 (LWP 64380))]
|
(gdb) bt
|
#0 0x000055e2abdce487 in server_mysql_send_query (mysql=mysql@entry=0x0, query=0x14e250201918 "set @old_lock_wait_timeout=@@session.lock_wait_timeout;set session lock_wait_timeout=1;", length=87) at /test/11.0_opt/sql-common/client.c:3541
|
#1 0x000055e2abdce516 in server_mysql_real_query (mysql=0x0, query=<optimized out>, length=<optimized out>) at /test/11.0_opt/sql-common/client.c:3558
|
#2 0x000014e278173738 in spider_db_mbase::exec_query (this=0x14e2500654e0, query=0x14e250201918 "set @old_lock_wait_timeout=@@session.lock_wait_timeout;set session lock_wait_timeout=1;", length=87, quick_mode=<optimized out>) at /test/11.0_opt/storage/spider/spd_db_mysql.cc:2083
|
#3 0x000014e278181c11 in spider_db_mbase::set_lock_wait_timeout (this=0x14e2500654e0, timeout=<optimized out>) at /test/11.0_opt/sql/sql_string.h:741
|
#4 0x000014e278182116 in spider_mbase_handler::show_table_status (this=0x14e250069390, link_idx=<optimized out>, sts_mode=1, flag=<optimized out>) at /test/11.0_opt/storage/spider/spd_db_mysql.cc:13595
|
#5 0x000014e278135411 in spider_get_sts (share=0x14e250061f38, link_idx=0, tmp_time=tmp_time@entry=1686553891, spider=spider@entry=0x14e2500247b0, sts_interval=sts_interval@entry=0, sts_mode=sts_mode@entry=1, sts_sync=sts_sync@entry=0, sts_sync_level=1, flag=86) at /test/11.0_opt/storage/spider/spd_table.cc:6822
|
#6 0x000014e278163b68 in ha_spider::info (this=0x14e2500247b0, flag=22) at /test/11.0_opt/storage/spider/ha_spider.cc:6690
|
#7 0x000055e2abc38b82 in get_schema_key_column_usage_record (res=false, table_name=0x14e250082008, db_name=0x14e250014670, table=0x14e250083d10, tables=<optimized out>, thd=0x14e250000c58) at /test/11.0_opt/sql/sql_show.cc:7448
|
#8 get_schema_key_column_usage_record (thd=0x14e250000c58, tables=<optimized out>, table=0x14e250083d10, res=<optimized out>, db_name=0x14e250014670, table_name=0x14e250082008) at /test/11.0_opt/sql/sql_show.cc:7426
|
#9 0x000055e2abc28218 in fill_schema_table_by_open (thd=0x14e250000c58, mem_root=<optimized out>, is_show_fields_or_keys=<optimized out>, table=0x14e250083d10, schema_table=0x55e2acc87ce0 <schema_tables+1280>, orig_db_name=0x14e250014670, orig_table_name=0x14e250082008, open_tables_state_backup=0x14e28c08bdf0, can_deadlock=true) at /test/11.0_opt/sql/sql_show.cc:4749
|
#10 0x000055e2abc3f7ea in get_all_tables (thd=0x14e250000c58, tables=0x14e250010ec8, cond=<optimized out>) at /test/11.0_opt/sql/sql_show.cc:5385
|
#11 0x000055e2abc40f2e in get_schema_tables_result (join=join@entry=0x14e250012560, executed_place=executed_place@entry=PROCESSED_BY_JOIN_EXEC) at /test/11.0_opt/sql/sql_show.cc:9060
|
#12 0x000055e2abc23e97 in JOIN::exec_inner (this=0x14e250012560) at /test/11.0_opt/sql/sql_select.cc:4859
|
#13 0x000055e2abc247ae in JOIN::exec (this=this@entry=0x14e250012560) at /test/11.0_opt/sql/sql_select.cc:4680
|
#14 0x000055e2abc228ec in mysql_select (thd=0x14e250000c58, tables=0x14e250010ec8, fields=<optimized out>, conds=0x0, og_num=0, order=0x0, group=0x0, having=0x0, proc_param=0x0, select_options=<optimized out>, result=0x14e250012538, unit=0x14e250004ce0, select_lex=0x14e250010830) at /test/11.0_opt/sql/sql_select.cc:5161
|
#15 0x000055e2abc23037 in handle_select (thd=thd@entry=0x14e250000c58, lex=lex@entry=0x14e250004c08, result=result@entry=0x14e250012538, setup_tables_done_option=setup_tables_done_option@entry=0) at /test/11.0_opt/sql/sql_select.cc:619
|
#16 0x000055e2abba01fe in execute_sqlcom_select (thd=0x14e250000c58, all_tables=0x14e250010ec8) at /test/11.0_opt/sql/sql_parse.cc:6279
|
#17 0x000055e2abbae0d4 in mysql_execute_command (thd=0x14e250000c58, is_called_from_prepared_stmt=<optimized out>) at /test/11.0_opt/sql/sql_parse.cc:3949
|
#18 0x000055e2abb9ae55 in mysql_parse (rawbuf=<optimized out>, length=<optimized out>, parser_state=<optimized out>, thd=0x14e250000c58) at /test/11.0_opt/sql/sql_parse.cc:8014
|
#19 mysql_parse (thd=0x14e250000c58, rawbuf=<optimized out>, length=<optimized out>, parser_state=<optimized out>) at /test/11.0_opt/sql/sql_parse.cc:7936
|
#20 0x000055e2abba7142 in dispatch_command (command=COM_QUERY, thd=0x14e250000c58, packet=<optimized out>, packet_length=<optimized out>, blocking=<optimized out>) at /test/11.0_opt/sql/sql_class.h:1370
|
#21 0x000055e2abba8f5e in do_command (thd=0x14e250000c58, blocking=blocking@entry=true) at /test/11.0_opt/sql/sql_parse.cc:1407
|
#22 0x000055e2abcc850f in do_handle_one_connection (connect=<optimized out>, connect@entry=0x55e2adfbbaf8, put_in_cache=put_in_cache@entry=true) at /test/11.0_opt/sql/sql_connect.cc:1416
|
#23 0x000055e2abcc87fd in handle_one_connection (arg=0x55e2adfbbaf8) at /test/11.0_opt/sql/sql_connect.cc:1318
|
#24 0x000014e2a453a609 in start_thread (arg=<optimized out>) at pthread_create.c:477
|
#25 0x000014e2a4126133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
|
Bug confirmed present in:
MariaDB: 11.0.2 (dbg), 11.0.2 (opt)
Bug (or feature/syntax) confirmed not present in:
MariaDB: 10.4.30 (dbg), 10.4.30 (opt), 10.5.21 (dbg), 10.5.21 (opt), 10.6.14 (dbg), 10.6.14 (opt), 10.9.7 (dbg), 10.9.7 (opt), 10.10.5 (dbg), 10.10.5 (opt), 10.11.4 (dbg), 10.11.4 (opt), 11.1.0 (dbg), 11.1.0 (opt)
{"report":{"fcp":1351.1999998092651,"ttfb":321.3999996185303,"pageVisibility":"visible","entityId":122675,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"f6030178-add4-444b-b862-2ce9e3dbbc31","navigationType":0,"readyForUser":1513.8999996185303,"redirectCount":0,"resourceLoadedEnd":2166.800000190735,"resourceLoadedStart":327.30000019073486,"resourceTiming":[{"duration":416.5,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":327.30000019073486,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":327.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":743.8000001907349,"responseStart":0,"secureConnectionStart":0},{"duration":416.70000076293945,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2cib/820016/12ta74/2bf333562ca6724060a9d5f1535471f6/_/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":327.5999994277954,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":327.5999994277954,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":744.3000001907349,"responseStart":0,"secureConnectionStart":0},{"duration":426.19999980926514,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":327.80000019073486,"connectEnd":327.80000019073486,"connectStart":327.80000019073486,"domainLookupEnd":327.80000019073486,"domainLookupStart":327.80000019073486,"fetchStart":327.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":327.80000019073486,"responseEnd":754,"responseStart":754,"secureConnectionStart":327.80000019073486},{"duration":469.6000003814697,"initiatorType":"script","name":"https://jira.mariadb.org/s/2d8175ec2fa4c816e8023260bd8c1786-CDN/lu2cib/820016/12ta74/2bf333562ca6724060a9d5f1535471f6/_/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":327.8999996185303,"connectEnd":327.8999996185303,"connectStart":327.8999996185303,"domainLookupEnd":327.8999996185303,"domainLookupStart":327.8999996185303,"fetchStart":327.8999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":327.8999996185303,"responseEnd":797.5,"responseStart":797.5,"secureConnectionStart":327.8999996185303},{"duration":475.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/a9324d6758d385eb45c462685ad88f1d-CDN/lu2cib/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":328.0999994277954,"connectEnd":328.0999994277954,"connectStart":328.0999994277954,"domainLookupEnd":328.0999994277954,"domainLookupStart":328.0999994277954,"fetchStart":328.0999994277954,"redirectEnd":0,"redirectStart":0,"requestStart":328.0999994277954,"responseEnd":803.5999994277954,"responseStart":803.5999994277954,"secureConnectionStart":328.0999994277954},{"duration":476.0999994277954,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":328.30000019073486,"connectEnd":328.30000019073486,"connectStart":328.30000019073486,"domainLookupEnd":328.30000019073486,"domainLookupStart":328.30000019073486,"fetchStart":328.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":328.30000019073486,"responseEnd":804.3999996185303,"responseStart":804.3999996185303,"secureConnectionStart":328.30000019073486},{"duration":476.19999980926514,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":328.5,"connectEnd":328.5,"connectStart":328.5,"domainLookupEnd":328.5,"domainLookupStart":328.5,"fetchStart":328.5,"redirectEnd":0,"redirectStart":0,"requestStart":328.5,"responseEnd":804.6999998092651,"responseStart":804.6999998092651,"secureConnectionStart":328.5},{"duration":587.1999998092651,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2cib/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":328.69999980926514,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":328.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":915.8999996185303,"responseStart":0,"secureConnectionStart":0},{"duration":476.5,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":328.80000019073486,"connectEnd":328.80000019073486,"connectStart":328.80000019073486,"domainLookupEnd":328.80000019073486,"domainLookupStart":328.80000019073486,"fetchStart":328.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":328.80000019073486,"responseEnd":805.3000001907349,"responseStart":805.3000001907349,"secureConnectionStart":328.80000019073486},{"duration":587.3999996185303,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2cib/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":329,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":329,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":916.3999996185303,"responseStart":0,"secureConnectionStart":0},{"duration":478.20000076293945,"initiatorType":"script","name":"https://jira.mariadb.org/s/5d5e8fe91fbc506585e83ea3b62ccc4b-CDN/lu2cib/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":329.0999994277954,"connectEnd":329.0999994277954,"connectStart":329.0999994277954,"domainLookupEnd":329.0999994277954,"domainLookupStart":329.0999994277954,"fetchStart":329.0999994277954,"redirectEnd":0,"redirectStart":0,"requestStart":329.0999994277954,"responseEnd":807.3000001907349,"responseStart":807.3000001907349,"secureConnectionStart":329.0999994277954},{"duration":1430,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":335.30000019073486,"connectEnd":335.30000019073486,"connectStart":335.30000019073486,"domainLookupEnd":335.30000019073486,"domainLookupStart":335.30000019073486,"fetchStart":335.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":335.30000019073486,"responseEnd":1765.3000001907349,"responseStart":1765.3000001907349,"secureConnectionStart":335.30000019073486},{"duration":1830.8000001907349,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":336,"connectEnd":336,"connectStart":336,"domainLookupEnd":336,"domainLookupStart":336,"fetchStart":336,"redirectEnd":0,"redirectStart":0,"requestStart":336,"responseEnd":2166.800000190735,"responseStart":2166.800000190735,"secureConnectionStart":336},{"duration":812,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":955.8000001907349,"connectEnd":955.8000001907349,"connectStart":955.8000001907349,"domainLookupEnd":955.8000001907349,"domainLookupStart":955.8000001907349,"fetchStart":955.8000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":955.8000001907349,"responseEnd":1767.8000001907349,"responseStart":1767.8000001907349,"secureConnectionStart":955.8000001907349},{"duration":870.9000005722046,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":1324.5999994277954,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1324.5999994277954,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":2195.5,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":142,"responseStart":321,"responseEnd":336,"domLoading":326,"domInteractive":2206,"domContentLoadedEventStart":2206,"domContentLoadedEventEnd":2260,"domComplete":3069,"loadEventStart":3069,"loadEventEnd":3070,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":2172.5},{"name":"bigPipe.sidebar-id.end","time":2173.300000190735},{"name":"bigPipe.activity-panel-pipe-id.start","time":2173.5},{"name":"bigPipe.activity-panel-pipe-id.end","time":2175},{"name":"activityTabFullyLoaded","time":2277.8999996185303}],"measures":[],"correlationId":"bc04ec77ccbf24","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":103,"dbReadsTimeInMs":12,"dbConnsTimeInMs":21,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
Raising the prio because this is a new failure caused by a recent change