New regression:
--source include/have_partition.inc
|
SET sql_mode='';
|
INSTALL SONAME 'ha_spider';
|
CREATE TABLE t (c INT) ENGINE=Spider PARTITION BY KEY(c) (PARTITION p);
|
UNINSTALL SONAME IF EXISTS 'ha_spider';
|
INSERT INTO t SELECT 1;
|
Leads to:
11.2.5 a21e49cbcc5f4adb1a1b4970ceead6a85e968063 (Debug)
|
Core was generated by `/test/MD190624-mariadb-11.2.5-linux-x86_64-dbg/bin/mariadbd --no-defaults --max'.
|
Program terminated with signal SIGSEGV, Segmentation fault.
|
#0 parse_engine_part_options (thd=thd@entry=0x154270000d58, table=table@entry=0x154270056a68)at /test/11.2_dbg/sql/create_options.cc:540
|
Downloading source file /test/11.2_dbg/sql/create_options.cc...
|
[Current thread is 1 (LWP 2665548)]
|
(gdb) bt
|
#0 parse_engine_part_options (thd=thd@entry=0x154270000d58, table=table@entry=0x154270056a68)at /test/11.2_dbg/sql/create_options.cc:540
|
#1 0x000056180e853b03 in open_table_from_share (thd=thd@entry=0x154270000d58, share=share@entry=0x1542700d17f0, alias=alias@entry=0x154270013750, db_stat=db_stat@entry=33, prgflag=prgflag@entry=8, ha_open_flags=16, outparam=0x154270056a68, is_create_table=false, partitions_to_open=0x0)at /test/11.2_dbg/sql/table.cc:4485
|
#2 0x000056180e6a22f0 in open_table (thd=thd@entry=0x154270000d58, table_list=table_list@entry=0x154270013708, ot_ctx=ot_ctx@entry=0x1542a4107c40) at /test/11.2_dbg/sql/sql_base.cc:2247
|
#3 0x000056180e6a5e72 in open_and_process_table (ot_ctx=0x1542a4107c40, has_prelocking_list=false, prelocking_strategy=0x1542a4107d78, flags=0, counter=0x1542a4107cdc, tables=0x154270013708, thd=0x154270000d58)at /test/11.2_dbg/sql/sql_base.cc:4180
|
#4 open_tables (thd=thd@entry=0x154270000d58, options=@0x154270006828: {m_options = DDL_options_st::OPT_NONE}, start=start@entry=0x1542a4107cc8, counter=counter@entry=0x1542a4107cdc, flags=flags@entry=0, prelocking_strategy=prelocking_strategy@entry=0x1542a4107d78)at /test/11.2_dbg/sql/sql_base.cc:4666
|
#5 0x000056180e6a6d67 in open_and_lock_tables (thd=thd@entry=0x154270000d58, options=<optimized out>, tables=<optimized out>, derived=derived@entry=true, flags=flags@entry=0, prelocking_strategy=prelocking_strategy@entry=0x1542a4107d78)at /test/11.2_dbg/sql/sql_base.cc:5639
|
#6 0x000056180e727274 in open_and_lock_tables (flags=0, derived=true, tables=<optimized out>, thd=0x154270000d58)at /test/11.2_dbg/sql/sql_base.h:530
|
#7 mysql_execute_command (thd=thd@entry=0x154270000d58, is_called_from_prepared_stmt=is_called_from_prepared_stmt@entry=false)at /test/11.2_dbg/sql/sql_parse.cc:4581
|
#8 0x000056180e72c010 in mysql_parse (thd=thd@entry=0x154270000d58, rawbuf=<optimized out>, length=<optimized out>, parser_state=parser_state@entry=0x1542a41082e0)at /test/11.2_dbg/sql/sql_parse.cc:7920
|
#9 0x000056180e72e3d3 in dispatch_command (command=command@entry=COM_QUERY, thd=thd@entry=0x154270000d58, packet=packet@entry=0x15427000b2f9 "INSERT INTO t SELECT 1", packet_length=packet_length@entry=22, blocking=blocking@entry=true)at /test/11.2_dbg/sql/sql_class.h:247
|
#10 0x000056180e73076c in do_command (thd=0x154270000d58, blocking=blocking@entry=true) at /test/11.2_dbg/sql/sql_parse.cc:1407
|
#11 0x000056180e897c49 in do_handle_one_connection (connect=<optimized out>, connect@entry=0x5618117b7fa8, put_in_cache=put_in_cache@entry=true)at /test/11.2_dbg/sql/sql_connect.cc:1439
|
#12 0x000056180e897f3e in handle_one_connection (arg=arg@entry=0x5618117b7fa8)at /test/11.2_dbg/sql/sql_connect.cc:1341
|
#13 0x000056180ecea52c in pfs_spawn_thread (arg=0x561811724838)at /test/11.2_dbg/storage/perfschema/pfs.cc:2201
|
#14 0x00001542bb897ada in start_thread (arg=<optimized out>)at ./nptl/pthread_create.c:444
|
#15 0x00001542bb92847c in clone3 ()at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78
|
Bug confirmed present in:
MariaDB: 10.11.9 (dbg), 10.11.9 (opt), 11.1.6 (dbg), 11.1.6 (opt), 11.2.5 (dbg), 11.2.5 (opt), 11.4.3 (dbg), 11.4.3 (opt)
Bug (or feature/syntax) confirmed not present in:
MariaDB: 10.5.26 (dbg), 10.5.26 (opt), 10.6.19 (dbg), 10.6.19 (opt)
Unconfirmed (pending upmerge):
11.5.2 (dbg), 11.5.2 (opt), 11.6.0 (dbg), 11.6.0 (opt)
- is caused by
-
MDEV-32487
SIGSEGV in ha_resolve_storage_engine_name, UBSAN: runtime error: index 4294967295 out of bounds for type 'st_plugin_int *[64]'
-
-
Closed
{"report":{"fcp":2021.1999998092651,"ttfb":207.5,"pageVisibility":"visible","entityId":129661,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"0d341db6-11b4-477e-a236-18f8fd2af2cb","navigationType":0,"readyForUser":2110.0999999046326,"redirectCount":0,"resourceLoadedEnd":2740.5999999046326,"resourceLoadedStart":215,"resourceTiming":[{"duration":1295.5,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":215,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":215,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1510.5,"responseStart":0,"secureConnectionStart":0},{"duration":1295.6000003814697,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2cib/820016/12ta74/494e4c556ecbb29f90a3d3b4f09cb99c/_/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&whisper-enabled=true","startTime":215.2999997138977,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":215.2999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1510.9000000953674,"responseStart":0,"secureConnectionStart":0},{"duration":1305.1999998092651,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":215.40000009536743,"connectEnd":215.40000009536743,"connectStart":215.40000009536743,"domainLookupEnd":215.40000009536743,"domainLookupStart":215.40000009536743,"fetchStart":215.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":215.40000009536743,"responseEnd":1520.5999999046326,"responseStart":1520.5999999046326,"secureConnectionStart":215.40000009536743},{"duration":1344.9000000953674,"initiatorType":"script","name":"https://jira.mariadb.org/s/2d8175ec2fa4c816e8023260bd8c1786-CDN/lu2cib/820016/12ta74/494e4c556ecbb29f90a3d3b4f09cb99c/_/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&whisper-enabled=true","startTime":215.59999990463257,"connectEnd":215.59999990463257,"connectStart":215.59999990463257,"domainLookupEnd":215.59999990463257,"domainLookupStart":215.59999990463257,"fetchStart":215.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":215.59999990463257,"responseEnd":1560.5,"responseStart":1560.5,"secureConnectionStart":215.59999990463257},{"duration":1348.7000002861023,"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":215.7999997138977,"connectEnd":215.7999997138977,"connectStart":215.7999997138977,"domainLookupEnd":215.7999997138977,"domainLookupStart":215.7999997138977,"fetchStart":215.7999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":215.7999997138977,"responseEnd":1564.5,"responseStart":1564.5,"secureConnectionStart":215.7999997138977},{"duration":1349.1999998092651,"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":216.09999990463257,"connectEnd":216.09999990463257,"connectStart":216.09999990463257,"domainLookupEnd":216.09999990463257,"domainLookupStart":216.09999990463257,"fetchStart":216.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":216.09999990463257,"responseEnd":1565.2999997138977,"responseStart":1565.2999997138977,"secureConnectionStart":216.09999990463257},{"duration":1349.5,"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":216.19999980926514,"connectEnd":216.19999980926514,"connectStart":216.19999980926514,"domainLookupEnd":216.19999980926514,"domainLookupStart":216.19999980926514,"fetchStart":216.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":216.19999980926514,"responseEnd":1565.6999998092651,"responseStart":1565.6999998092651,"secureConnectionStart":216.19999980926514},{"duration":1451,"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":216.40000009536743,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":216.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1667.4000000953674,"responseStart":0,"secureConnectionStart":0},{"duration":1349.5999999046326,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":216.59999990463257,"connectEnd":216.59999990463257,"connectStart":216.59999990463257,"domainLookupEnd":216.59999990463257,"domainLookupStart":216.59999990463257,"fetchStart":216.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":216.59999990463257,"responseEnd":1566.1999998092651,"responseStart":1566.1999998092651,"secureConnectionStart":216.59999990463257},{"duration":1450.9000000953674,"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":216.69999980926514,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":216.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1667.5999999046326,"responseStart":0,"secureConnectionStart":0},{"duration":1350.1999998092651,"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":216.90000009536743,"connectEnd":216.90000009536743,"connectStart":216.90000009536743,"domainLookupEnd":216.90000009536743,"domainLookupStart":216.90000009536743,"fetchStart":216.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":216.90000009536743,"responseEnd":1567.0999999046326,"responseStart":1567.0999999046326,"secureConnectionStart":216.90000009536743},{"duration":1592.6000003814697,"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":217.7999997138977,"connectEnd":217.7999997138977,"connectStart":217.7999997138977,"domainLookupEnd":217.7999997138977,"domainLookupStart":217.7999997138977,"fetchStart":217.7999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":217.7999997138977,"responseEnd":1810.4000000953674,"responseStart":1810.4000000953674,"secureConnectionStart":217.7999997138977},{"duration":2522.699999809265,"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":217.90000009536743,"connectEnd":217.90000009536743,"connectStart":217.90000009536743,"domainLookupEnd":217.90000009536743,"domainLookupStart":217.90000009536743,"fetchStart":217.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":217.90000009536743,"responseEnd":2740.5999999046326,"responseStart":2740.5999999046326,"secureConnectionStart":217.90000009536743},{"duration":130.7999997138977,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":1680.4000000953674,"connectEnd":1680.4000000953674,"connectStart":1680.4000000953674,"domainLookupEnd":1680.4000000953674,"domainLookupStart":1680.4000000953674,"fetchStart":1680.4000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":1680.4000000953674,"responseEnd":1811.1999998092651,"responseStart":1811.1999998092651,"secureConnectionStart":1680.4000000953674},{"duration":871.5,"initiatorType":"link","name":"https://jira.mariadb.org/s/d5715adaadd168a9002b108b2b039b50-CDN/lu2cib/820016/12ta74/be4b45e9cec53099498fa61c8b7acba4/_/download/contextbatch/css/jira.project.sidebar,-_super,-project.issue.navigator,-jira.general,-jira.browse.project,-jira.view.issue,-jira.global,-atl.general,-com.atlassian.jira.projects.sidebar.init/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true&whisper-enabled=true","startTime":1967.2999997138977,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1967.2999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":2838.7999997138977,"responseStart":0,"secureConnectionStart":0},{"duration":833,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/e65b778d185daf5aee24936755b43da6/_/download/contextbatch/js/browser-metrics-plugin.contrib,-_super,-project.issue.navigator,-jira.view.issue,-atl.general/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true&whisper-enabled=true","startTime":1968.4000000953674,"connectEnd":1968.4000000953674,"connectStart":1968.4000000953674,"domainLookupEnd":1968.4000000953674,"domainLookupStart":1968.4000000953674,"fetchStart":1968.4000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":1968.4000000953674,"responseEnd":2801.4000000953674,"responseStart":2801.4000000953674,"secureConnectionStart":1968.4000000953674},{"duration":846.3000001907349,"initiatorType":"script","name":"https://jira.mariadb.org/s/097ae97cb8fbec7d6ea4bbb1f26955b9-CDN/lu2cib/820016/12ta74/be4b45e9cec53099498fa61c8b7acba4/_/download/contextbatch/js/jira.project.sidebar,-_super,-project.issue.navigator,-jira.general,-jira.browse.project,-jira.view.issue,-jira.global,-atl.general,-com.atlassian.jira.projects.sidebar.init/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en&slack-enabled=true&whisper-enabled=true","startTime":1968.7999997138977,"connectEnd":1968.7999997138977,"connectStart":1968.7999997138977,"domainLookupEnd":1968.7999997138977,"domainLookupStart":1968.7999997138977,"fetchStart":1968.7999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":1968.7999997138977,"responseEnd":2815.0999999046326,"responseStart":2815.0999999046326,"secureConnectionStart":1968.7999997138977}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":14,"responseStart":208,"responseEnd":211,"domLoading":211,"domInteractive":2783,"domContentLoadedEventStart":2783,"domContentLoadedEventEnd":2839,"domComplete":4415,"loadEventStart":4415,"loadEventEnd":4416,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":2742.2999997138977},{"name":"bigPipe.sidebar-id.end","time":2743.199999809265},{"name":"bigPipe.activity-panel-pipe-id.start","time":2743.4000000953674},{"name":"bigPipe.activity-panel-pipe-id.end","time":2749.4000000953674},{"name":"activityTabFullyLoaded","time":2863.0999999046326}],"measures":[],"correlationId":"f076790bf2daa","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":128,"dbReadsTimeInMs":14,"dbConnsTimeInMs":23,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
No UB/ASAN issues observed