Type:
Bug
Priority:
Major
Resolution:
Unresolved
Affects Version/s:
10.5 , 10.6 , 10.11 , 11.2(EOL) , 11.4 , 11.6(EOL)
CREATE TABLE t (pk INT PRIMARY KEY );
INSERT INTO t VALUES (1),(2); # Optional, fails either way
PREPARE stmt FROM ' SELECT * FROM t WHERE (1,2) IN (SELECT t1.pk, t2.pk FROM t t1 STRAIGHT_JOIN t t2)' ;
EXECUTE stmt;
EXECUTE stmt;
# Cleanup
DROP TABLE t;
10.5 4281e0068b9c92efe9ff5485899d0c214b51eeed
mariadbd: /data/bld/10.5-asan/mysys/my_alloc.c:212: alloc_root: Assertion `(mem_root->flags & 4) == 0' failed.
241010 0:35:49 [ERROR] mysqld got signal 6 ;
#9 0x00007f20fe653e32 in __GI___assert_fail (assertion=0x56202ec85d60 "(mem_root->flags & 4) == 0", file=0x56202ec85a60 "/data/bld/10.5-asan/mysys/my_alloc.c", line=212, function=0x56202ec86080 <__PRETTY_FUNCTION__.0> "alloc_root") at ./assert/assert.c:101
#10 0x000056202d8b5fd7 in alloc_root (mem_root=0x61900009e618, length=16) at /data/bld/10.5-asan/mysys/my_alloc.c:212
#11 0x000056202b76b872 in Sql_alloc::operator new (size=16, mem_root=0x61900009e618) at /data/bld/10.5-asan/sql/sql_alloc.h:39
#12 0x000056202b76c1a4 in base_list::push_back (this=0x62b00009c160, info=0x62b00009d808, mem_root=0x61900009e618) at /data/bld/10.5-asan/sql/sql_list.h:195
#13 0x000056202b913f03 in List<TABLE_LIST>::push_back (this=0x62b00009c160, a=0x62b00009d808, mem_root=0x61900009e618) at /data/bld/10.5-asan/sql/sql_list.h:505
#14 0x000056202bfc0ab2 in pull_out_semijoin_tables (join=0x62b000038650) at /data/bld/10.5-asan/sql/opt_subselect.cc:2405
#15 0x000056202bb636fe in make_join_statistics (join=0x62b000038650, tables_list=..., keyuse_array=0x62b000038948) at /data/bld/10.5-asan/sql/sql_select.cc:5774
#16 0x000056202bb41072 in JOIN::optimize_inner (this=0x62b000038650) at /data/bld/10.5-asan/sql/sql_select.cc:2416
#17 0x000056202bb3a1ef in JOIN::optimize (this=0x62b000038650) at /data/bld/10.5-asan/sql/sql_select.cc:1765
#18 0x000056202bb5b2b2 in mysql_select (thd=0x62b000069218, tables=0x62b00009c610, fields=..., conds=0x62b000038380, og_num=0, order=0x0, group=0x0, having=0x0, proc_param=0x0, select_options=2201171004160, result=0x62b00009fa90, unit=0x62b00009a310, select_lex=0x62b00009bf80) at /data/bld/10.5-asan/sql/sql_select.cc:4902
#19 0x000056202bb2b7a2 in handle_select (thd=0x62b000069218, lex=0x62b00009a248, result=0x62b00009fa90, setup_tables_done_option=0) at /data/bld/10.5-asan/sql/sql_select.cc:449
#20 0x000056202ba922fd in execute_sqlcom_select (thd=0x62b000069218, all_tables=0x62b00009c610) at /data/bld/10.5-asan/sql/sql_parse.cc:6438
#21 0x000056202ba8073f in mysql_execute_command (thd=0x62b000069218) at /data/bld/10.5-asan/sql/sql_parse.cc:4030
#22 0x000056202baf3426 in Prepared_statement::execute (this=0x61900009e298, expanded_query=0x7f20f4ecbd10, open_cursor=false) at /data/bld/10.5-asan/sql/sql_prepare.cc:5131
#23 0x000056202baee56d in Prepared_statement::execute_loop (this=0x61900009e298, expanded_query=0x7f20f4ecbd10, open_cursor=false, packet=0x0, packet_end=0x0) at /data/bld/10.5-asan/sql/sql_prepare.cc:4553
#24 0x000056202bae7fa7 in mysql_sql_stmt_execute (thd=0x62b000069218) at /data/bld/10.5-asan/sql/sql_prepare.cc:3594
#25 0x000056202ba80784 in mysql_execute_command (thd=0x62b000069218) at /data/bld/10.5-asan/sql/sql_parse.cc:4046
#26 0x000056202ba9d10b in mysql_parse (thd=0x62b000069218, rawbuf=0x62b000038238 "EXECUTE stmt", length=12, parser_state=0x7f20f4eccc10, is_com_multi=false, is_next_command=false) at /data/bld/10.5-asan/sql/sql_parse.cc:8236
#27 0x000056202ba723f1 in dispatch_command (command=COM_QUERY, thd=0x62b000069218, packet=0x629000235219 "EXECUTE stmt", packet_length=12, is_com_multi=false, is_next_command=false) at /data/bld/10.5-asan/sql/sql_parse.cc:1892
#28 0x000056202ba6ed84 in do_command (thd=0x62b000069218) at /data/bld/10.5-asan/sql/sql_parse.cc:1376
#29 0x000056202bec8996 in do_handle_one_connection (connect=0x608000002ab8, put_in_cache=true) at /data/bld/10.5-asan/sql/sql_connect.cc:1417
#30 0x000056202bec8359 in handle_one_connection (arg=0x608000002a38) at /data/bld/10.5-asan/sql/sql_connect.cc:1319
#31 0x000056202cb27004 in pfs_spawn_thread (arg=0x615000005318) at /data/bld/10.5-asan/storage/perfschema/pfs.cc:2201
#32 0x00007f20fe6a8044 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#33 0x00007f20fe72861c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
No workflow transitions have been executed yet.
{"report":{"fcp":765.3000000119209,"ttfb":204.30000001192093,"pageVisibility":"visible","entityId":131142,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"0bc5df8d-7f34-4e5d-84a9-eacaaf41e7e1","navigationType":0,"readyForUser":840.1000000238419,"redirectCount":0,"resourceLoadedEnd":879.8000000119209,"resourceLoadedStart":209.9000000357628,"resourceTiming":[{"duration":13.399999976158142,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":209.9000000357628,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":209.9000000357628,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":223.30000001192093,"responseStart":0,"secureConnectionStart":0},{"duration":13.800000011920929,"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":210.10000002384186,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":210.10000002384186,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":223.9000000357628,"responseStart":0,"secureConnectionStart":0},{"duration":65.89999997615814,"initiatorType":"script","name":"https://jira.mariadb.org/s/fbf975c0cce4b1abf04784eeae9ba1f4-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":210.4000000357628,"connectEnd":210.4000000357628,"connectStart":210.4000000357628,"domainLookupEnd":210.4000000357628,"domainLookupStart":210.4000000357628,"fetchStart":210.4000000357628,"redirectEnd":0,"redirectStart":0,"requestStart":210.4000000357628,"responseEnd":276.30000001192093,"responseStart":276.2000000476837,"secureConnectionStart":210.4000000357628},{"duration":147.9000000357628,"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":210.5,"connectEnd":210.5,"connectStart":210.5,"domainLookupEnd":210.5,"domainLookupStart":210.5,"fetchStart":210.5,"redirectEnd":0,"redirectStart":0,"requestStart":210.5,"responseEnd":358.4000000357628,"responseStart":358.4000000357628,"secureConnectionStart":210.5},{"duration":151.5,"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":210.80000001192093,"connectEnd":210.80000001192093,"connectStart":210.80000001192093,"domainLookupEnd":210.80000001192093,"domainLookupStart":210.80000001192093,"fetchStart":210.80000001192093,"redirectEnd":0,"redirectStart":0,"requestStart":210.80000001192093,"responseEnd":362.30000001192093,"responseStart":362.30000001192093,"secureConnectionStart":210.80000001192093},{"duration":151.80000001192093,"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":211,"connectEnd":211,"connectStart":211,"domainLookupEnd":211,"domainLookupStart":211,"fetchStart":211,"redirectEnd":0,"redirectStart":0,"requestStart":211,"responseEnd":362.80000001192093,"responseStart":362.80000001192093,"secureConnectionStart":211},{"duration":152,"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":211.10000002384186,"connectEnd":211.10000002384186,"connectStart":211.10000002384186,"domainLookupEnd":211.10000002384186,"domainLookupStart":211.10000002384186,"fetchStart":211.10000002384186,"redirectEnd":0,"redirectStart":0,"requestStart":211.10000002384186,"responseEnd":363.10000002384186,"responseStart":363.10000002384186,"secureConnectionStart":211.10000002384186},{"duration":204.19999998807907,"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":211.30000001192093,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":211.30000001192093,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":415.5,"responseStart":0,"secureConnectionStart":0},{"duration":152,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":211.5,"connectEnd":211.5,"connectStart":211.5,"domainLookupEnd":211.5,"domainLookupStart":211.5,"fetchStart":211.5,"redirectEnd":0,"redirectStart":0,"requestStart":211.5,"responseEnd":363.5,"responseStart":363.5,"secureConnectionStart":211.5},{"duration":204.10000002384186,"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":211.60000002384186,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":211.60000002384186,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":415.7000000476837,"responseStart":0,"secureConnectionStart":0},{"duration":152.30000001192093,"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":211.80000001192093,"connectEnd":211.80000001192093,"connectStart":211.80000001192093,"domainLookupEnd":211.80000001192093,"domainLookupStart":211.80000001192093,"fetchStart":211.80000001192093,"redirectEnd":0,"redirectStart":0,"requestStart":211.80000001192093,"responseEnd":364.10000002384186,"responseStart":364.10000002384186,"secureConnectionStart":211.80000001192093},{"duration":377.80000001192093,"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":212.60000002384186,"connectEnd":212.60000002384186,"connectStart":212.60000002384186,"domainLookupEnd":212.60000002384186,"domainLookupStart":212.60000002384186,"fetchStart":212.60000002384186,"redirectEnd":0,"redirectStart":0,"requestStart":212.60000002384186,"responseEnd":590.4000000357628,"responseStart":590.4000000357628,"secureConnectionStart":212.60000002384186},{"duration":556.6999999880791,"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":212.60000002384186,"connectEnd":212.60000002384186,"connectStart":212.60000002384186,"domainLookupEnd":212.60000002384186,"domainLookupStart":212.60000002384186,"fetchStart":212.60000002384186,"redirectEnd":0,"redirectStart":0,"requestStart":212.60000002384186,"responseEnd":769.3000000119209,"responseStart":769.3000000119209,"secureConnectionStart":212.60000002384186},{"duration":163.60000002384186,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":427.10000002384186,"connectEnd":427.10000002384186,"connectStart":427.10000002384186,"domainLookupEnd":427.10000002384186,"domainLookupStart":427.10000002384186,"fetchStart":427.10000002384186,"redirectEnd":0,"redirectStart":0,"requestStart":427.10000002384186,"responseEnd":590.7000000476837,"responseStart":590.7000000476837,"secureConnectionStart":427.10000002384186},{"duration":202.69999998807907,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/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","startTime":677.1000000238419,"connectEnd":677.1000000238419,"connectStart":677.1000000238419,"domainLookupEnd":677.1000000238419,"domainLookupStart":677.1000000238419,"fetchStart":677.1000000238419,"redirectEnd":0,"redirectStart":0,"requestStart":677.1000000238419,"responseEnd":879.8000000119209,"responseStart":879.8000000119209,"secureConnectionStart":677.1000000238419},{"duration":166.19999998807907,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":759.6000000238419,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":759.6000000238419,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":925.8000000119209,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":40,"responseStart":204,"responseEnd":207,"domLoading":208,"domInteractive":885,"domContentLoadedEventStart":885,"domContentLoadedEventEnd":922,"domComplete":1299,"loadEventStart":1299,"loadEventEnd":1299,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":876.6000000238419},{"name":"bigPipe.sidebar-id.end","time":877.3000000119209},{"name":"bigPipe.activity-panel-pipe-id.start","time":877.4000000357628},{"name":"bigPipe.activity-panel-pipe-id.end","time":877.8000000119209},{"name":"activityTabFullyLoaded","time":932}],"measures":[],"correlationId":"43f46f5cb4ddf7","effectiveType":"4g","downlink":9.6,"rtt":0,"serverDuration":98,"dbReadsTimeInMs":10,"dbConnsTimeInMs":18,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}