Type:
Bug
Priority:
Major
Resolution:
Unresolved
Affects Version/s:
10.6 , 10.7(EOL) , 10.8(EOL) , 10.9(EOL) , 10.10(EOL) , 10.11 , 11.0(EOL)
CREATE TABLE t(a INT ) ENGINE=INNODB;
PREPARE s FROM 'CREATE TRIGGER tr AFTER DELETE ON t FOR EACH ROW SET @a=1' ;
EXECUTE s;
EXECUTE s;
Leads to
11.0.1 6252a281b5020d28685777c11ee27688a9db3d66 (Optimized)
Core was generated by `/test/GAL_MD080223-mariadb-11.0.1-linux-x86_64-opt/bin/mysqld --defaults-file=/'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 __pthread_kill (threadid=<optimized out>, signo=signo@entry=11)
at ../sysdeps/unix/sysv/linux/pthread_kill.c:56
[Current thread is 1 (Thread 0x148718d06700 (LWP 3792904))]
(gdb) bt
#0 __pthread_kill (threadid=<optimized out>, signo=signo@entry=11) at ../sysdeps/unix/sysv/linux/pthread_kill.c:56
#1 0x0000562b327e8baf in my_write_core (sig=sig@entry=11) at /test/11.0_opt/mysys/stacktrace.c:424
#2 0x0000562b3234b4f0 in handle_fatal_signal (sig=11) at /test/11.0_opt/sql/signal_handler.cc:357
#3 <signal handler called>
#4 __strcmp_avx2 () at ../sysdeps/x86_64/multiarch/strcmp-avx2.S:101
#5 0x0000562b3210a225 in sp_process_definer (thd=thd@entry=0x1486d4000c58) at /test/11.0_opt/sql/sql_parse.cc:2817
#6 0x0000562b321c861d in Table_triggers_list::create_trigger (this=0x1486d4032880, thd=0x1486d4000c58, tables=0x1486d40232d8, stmt_query=0x148718d03f50, ddl_log_state=0x148718d03f70, ddl_log_state_tmp_file=0x148718d03f90) at /test/11.0_opt/sql/sql_trigger.cc:923
#7 0x0000562b321cb3ef in mysql_create_or_drop_trigger (thd=thd@entry=0x1486d4000c58, tables=0x1486d40232d8, create=create@entry=true) at /test/11.0_opt/sql/sql_trigger.cc:661
#8 0x0000562b3210d905 in mysql_execute_command (thd=0x1486d4000c58, is_called_from_prepared_stmt=is_called_from_prepared_stmt@entry=true) at /test/11.0_opt/sql/sql_parse.cc:5829
#9 0x0000562b3212dd1a in Prepared_statement::execute (this=0x1486d4020938, expanded_query=<optimized out>, open_cursor=false) at /test/11.0_opt/sql/sql_prepare.cc:5225
#10 0x0000562b3212df41 in Prepared_statement::execute_loop (packet=<optimized out>, packet_end=<optimized out>, open_cursor=<optimized out>, expanded_query=0x148718d04de0, this=0x1486d4020938) at /test/11.0_opt/sql/sql_prepare.cc:4648
#11 Prepared_statement::execute_loop (this=0x1486d4020938, expanded_query=0x148718d04de0, open_cursor=<optimized out>, packet=<optimized out>, packet_end=<optimized out>) at /test/11.0_opt/sql/sql_prepare.cc:4597
#12 0x0000562b3212e26b in mysql_sql_stmt_execute (thd=thd@entry=0x1486d4000c58) at /test/11.0_opt/sql/sql_prepare.cc:3690
#13 0x0000562b3210e0fd in mysql_execute_command (thd=0x1486d4000c58, is_called_from_prepared_stmt=<optimized out>) at /test/11.0_opt/sql/sql_parse.cc:3965
#14 0x0000562b320fbf76 in mysql_parse (rawbuf=<optimized out>, length=<optimized out>, parser_state=<optimized out>, thd=0x1486d4000c58) at /test/11.0_opt/sql/sql_parse.cc:8000
#15 mysql_parse (thd=0x1486d4000c58, rawbuf=<optimized out>, length=<optimized out>, parser_state=<optimized out>) at /test/11.0_opt/sql/sql_parse.cc:7922
#16 0x0000562b320fb821 in wsrep_mysql_parse (thd=0x1486d4000c58, rawbuf=0x1486d4010760 "EXECUTE s", length=9, parser_state=0x148718d05400) at /test/11.0_opt/sql/sql_parse.cc:7811
#17 0x0000562b32108edd in dispatch_command (command=COM_QUERY, thd=0x1486d4000c58, packet=<optimized out>, packet_length=<optimized out>, blocking=<optimized out>) at /test/11.0_opt/sql/sql_parse.cc:1977
#18 0x0000562b32109b4e in do_command (thd=0x1486d4000c58, blocking=blocking@entry=true) at /test/11.0_opt/sql/sql_parse.cc:1407
#19 0x0000562b322242b7 in do_handle_one_connection (connect=<optimized out>, connect@entry=0x562b353e4a48, put_in_cache=put_in_cache@entry=true) at /test/11.0_opt/sql/sql_connect.cc:1416
#20 0x0000562b3222459d in handle_one_connection (arg=0x562b353e4a48) at /test/11.0_opt/sql/sql_connect.cc:1318
#21 0x000014874f79d609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#22 0x000014874f389133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Bug confirmed present in:
MariaDB: 10.6.12 (dbg),10.6.12 (opt), 10.7.8 (dbg), 10.7.8 (opt), 10.8.7 (dbg), 10.8.7 (opt), 10.9.5 (dbg), 10.9.5 (opt), 10.10.3 (dbg), 10.10.3 (opt), 10.11.2 (dbg), 10.11.2 (opt), 11.0.1 (dbg), 11.0.1 (opt)
Bug (or feature/syntax) confirmed not present in:
MariaDB: 10.3.38 (dbg), 10.3.38 (opt), 10.4.28 (dbg), 10.4.28 (opt), 10.5.19 (dbg), 10.5.19 (opt)
There are no comments yet on this issue.
{"report":{"fcp":851.5,"ttfb":159.79999995231628,"pageVisibility":"visible","entityId":119064,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"683ebf4c-c1e1-46cc-8008-11bd4c96922a","navigationType":0,"readyForUser":931.2999999523163,"redirectCount":0,"resourceLoadedEnd":1044.2999999523163,"resourceLoadedStart":167.79999995231628,"resourceTiming":[{"duration":177.5,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":167.79999995231628,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":167.79999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":345.2999999523163,"responseStart":0,"secureConnectionStart":0},{"duration":177.20000004768372,"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":168.09999990463257,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":168.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":345.2999999523163,"responseStart":0,"secureConnectionStart":0},{"duration":187.09999990463257,"initiatorType":"script","name":"https://jira.mariadb.org/s/fbf975c0cce4b1abf04784eeae9ba1f4-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":168.29999995231628,"connectEnd":168.29999995231628,"connectStart":168.29999995231628,"domainLookupEnd":168.29999995231628,"domainLookupStart":168.29999995231628,"fetchStart":168.29999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":168.29999995231628,"responseEnd":355.39999985694885,"responseStart":355.39999985694885,"secureConnectionStart":168.29999995231628},{"duration":321.7000000476837,"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":168.79999995231628,"connectEnd":168.79999995231628,"connectStart":168.79999995231628,"domainLookupEnd":168.79999995231628,"domainLookupStart":168.79999995231628,"fetchStart":168.79999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":168.79999995231628,"responseEnd":490.5,"responseStart":490.5,"secureConnectionStart":168.79999995231628},{"duration":318.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":168.79999995231628,"connectEnd":168.79999995231628,"connectStart":168.79999995231628,"domainLookupEnd":168.79999995231628,"domainLookupStart":168.79999995231628,"fetchStart":168.79999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":168.79999995231628,"responseEnd":487.2999999523163,"responseStart":487.2999999523163,"secureConnectionStart":168.79999995231628},{"duration":322.10000014305115,"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":168.89999985694885,"connectEnd":168.89999985694885,"connectStart":168.89999985694885,"domainLookupEnd":168.89999985694885,"domainLookupStart":168.89999985694885,"fetchStart":168.89999985694885,"redirectEnd":0,"redirectStart":0,"requestStart":168.89999985694885,"responseEnd":491,"responseStart":491,"secureConnectionStart":168.89999985694885},{"duration":320.2000000476837,"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":171.09999990463257,"connectEnd":171.09999990463257,"connectStart":171.09999990463257,"domainLookupEnd":171.09999990463257,"domainLookupStart":171.09999990463257,"fetchStart":171.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":171.09999990463257,"responseEnd":491.2999999523163,"responseStart":491.2999999523163,"secureConnectionStart":171.09999990463257},{"duration":320.7999999523163,"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":171.20000004768372,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":171.20000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":492,"responseStart":0,"secureConnectionStart":0},{"duration":331.40000009536743,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":171.29999995231628,"connectEnd":171.29999995231628,"connectStart":171.29999995231628,"domainLookupEnd":171.29999995231628,"domainLookupStart":171.29999995231628,"fetchStart":171.29999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":171.29999995231628,"responseEnd":502.7000000476837,"responseStart":502.7000000476837,"secureConnectionStart":171.29999995231628},{"duration":331.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":171.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":171.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":503.09999990463257,"responseStart":0,"secureConnectionStart":0},{"duration":331.7999999523163,"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":171.5,"connectEnd":171.5,"connectStart":171.5,"domainLookupEnd":171.5,"domainLookupStart":171.5,"fetchStart":171.5,"redirectEnd":0,"redirectStart":0,"requestStart":171.5,"responseEnd":503.2999999523163,"responseStart":503.2999999523163,"secureConnectionStart":171.5},{"duration":690.9000000953674,"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":182.09999990463257,"connectEnd":182.09999990463257,"connectStart":182.09999990463257,"domainLookupEnd":182.09999990463257,"domainLookupStart":182.09999990463257,"fetchStart":182.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":182.09999990463257,"responseEnd":873,"responseStart":873,"secureConnectionStart":182.09999990463257},{"duration":855.2000000476837,"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":183.79999995231628,"connectEnd":183.79999995231628,"connectStart":183.79999995231628,"domainLookupEnd":183.79999995231628,"domainLookupStart":183.79999995231628,"fetchStart":183.79999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":183.79999995231628,"responseEnd":1039,"responseStart":1039,"secureConnectionStart":183.79999995231628},{"duration":135.40000009536743,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":505.39999985694885,"connectEnd":505.39999985694885,"connectStart":505.39999985694885,"domainLookupEnd":505.39999985694885,"domainLookupStart":505.39999985694885,"fetchStart":505.39999985694885,"redirectEnd":0,"redirectStart":0,"requestStart":505.39999985694885,"responseEnd":640.7999999523163,"responseStart":640.7000000476837,"secureConnectionStart":505.39999985694885},{"duration":117.5,"initiatorType":"link","name":"https://jira.mariadb.org/s/d5715adaadd168a9002b108b2b039b50-CDN/lu2bu7/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","startTime":756.3999998569489,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":756.3999998569489,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":873.8999998569489,"responseStart":0,"secureConnectionStart":0},{"duration":282.89999985694885,"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":757.2000000476837,"connectEnd":757.2000000476837,"connectStart":757.2000000476837,"domainLookupEnd":757.2000000476837,"domainLookupStart":757.2000000476837,"fetchStart":757.2000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":757.2000000476837,"responseEnd":1040.0999999046326,"responseStart":1040.0999999046326,"secureConnectionStart":757.2000000476837},{"duration":286.7000000476837,"initiatorType":"script","name":"https://jira.mariadb.org/s/f51ef5507eea4c158f257c66c93b2a3f-CDN/lu2bu7/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","startTime":757.5999999046326,"connectEnd":757.5999999046326,"connectStart":757.5999999046326,"domainLookupEnd":757.5999999046326,"domainLookupStart":757.5999999046326,"fetchStart":757.5999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":757.5999999046326,"responseEnd":1044.2999999523163,"responseStart":1044.2999999523163,"secureConnectionStart":757.5999999046326},{"duration":200.69999980926514,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":844.7000000476837,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":844.7000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1045.3999998569489,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":12,"responseStart":160,"responseEnd":184,"domLoading":163,"domInteractive":1064,"domContentLoadedEventStart":1064,"domContentLoadedEventEnd":1105,"domComplete":1534,"loadEventStart":1534,"loadEventEnd":1534,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1040.8999998569489},{"name":"bigPipe.sidebar-id.end","time":1041.7999999523163},{"name":"bigPipe.activity-panel-pipe-id.start","time":1041.8999998569489},{"name":"bigPipe.activity-panel-pipe-id.end","time":1042.5},{"name":"activityTabFullyLoaded","time":1112.3999998569489}],"measures":[],"correlationId":"518267f6eca548","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":76,"dbReadsTimeInMs":9,"dbConnsTimeInMs":16,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}