SET autocommit=OFF;
|
SET GLOBAL wsrep_forced_binlog_format=0;
|
ALTER TABLE mysql.procs_priv ENGINE=InnoDB;
|
CREATE PROCEDURE p() INSERT INTO t VALUES (1);
|
DROP PROCEDURE IF EXISTS p;
|
Leads to
10.4.30 9f909e546e14ed9b529cddc2c1a5c2aa61d57e56 (Debug)
|
mysqld: /test/10.4_dbg/sql/sql_acl.cc:11528: bool sp_revoke_privileges(THD*, const char*, const char*, const Sp_handler*): Assertion `!thd->is_current_stmt_binlog_format_row()' failed.
|
10.4.30 9f909e546e14ed9b529cddc2c1a5c2aa61d57e56 (Debug)
|
Core was generated by `/test/GAL_MD230523-mariadb-10.4.30-linux-x86_64-dbg/bin/mysqld --defaults-file='.
|
Program terminated with signal SIGABRT, Aborted.
|
#0 __pthread_kill (threadid=<optimized out>, signo=signo@entry=6)
|
at ../sysdeps/unix/sysv/linux/pthread_kill.c:56
|
[Current thread is 1 (Thread 0x15511c302700 (LWP 160606))]
|
(gdb) bt
|
#0 __pthread_kill (threadid=<optimized out>, signo=signo@entry=6) at ../sysdeps/unix/sysv/linux/pthread_kill.c:56
|
#1 0x0000562c4b79c03d in my_write_core (sig=sig@entry=6) at /test/10.4_dbg/mysys/stacktrace.c:386
|
#2 0x0000562c4afab472 in handle_fatal_signal (sig=6) at /test/10.4_dbg/sql/signal_handler.cc:372
|
#3 <signal handler called>
|
#4 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
|
#5 0x000015512ce04859 in __GI_abort () at abort.c:79
|
#6 0x000015512ce04729 in __assert_fail_base (fmt=0x15512cf9a588 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=0x562c4b914dc8 "!thd->is_current_stmt_binlog_format_row()", file=0x562c4b916dfd "/test/10.4_dbg/sql/sql_acl.cc", line=11528, function=<optimized out>) at assert.c:92
|
#7 0x000015512ce15fd6 in __GI___assert_fail (assertion=assertion@entry=0x562c4b914dc8 "!thd->is_current_stmt_binlog_format_row()", file=file@entry=0x562c4b916dfd "/test/10.4_dbg/sql/sql_acl.cc", line=line@entry=11528, function=function@entry=0x562c4b914df8 "bool sp_revoke_privileges(THD*, const char*, const char*, const Sp_handler*)") at assert.c:101
|
#8 0x0000562c4ac9cf36 in sp_revoke_privileges (thd=thd@entry=0x1550a0000d28, sp_db=0x1550a0012560 "test", sp_name=0x1550a0012558 "p", sph=0x562c4c10d5e0 <sp_handler_procedure>) at /test/10.4_dbg/sql/sql_acl.cc:11528
|
#9 0x0000562c4ad3457e in mysql_execute_command (thd=thd@entry=0x1550a0000d28) at /test/10.4_dbg/sql/sql_class.h:5165
|
#10 0x0000562c4ad373f9 in mysql_parse (thd=thd@entry=0x1550a0000d28, rawbuf=rawbuf@entry=0x1550a00124c0 "DROP PROCEDURE IF EXISTS p", length=length@entry=26, parser_state=parser_state@entry=0x15511c3013b0, is_com_multi=is_com_multi@entry=false, is_next_command=is_next_command@entry=false) at /test/10.4_dbg/sql/sql_parse.cc:8008
|
#11 0x0000562c4ad380dc in wsrep_mysql_parse (thd=thd@entry=0x1550a0000d28, rawbuf=0x1550a00124c0 "DROP PROCEDURE IF EXISTS p", length=26, parser_state=parser_state@entry=0x15511c3013b0, is_com_multi=is_com_multi@entry=false, is_next_command=is_next_command@entry=false) at /test/10.4_dbg/sql/sql_parse.cc:7810
|
#12 0x0000562c4ad39f99 in dispatch_command (command=command@entry=COM_QUERY, thd=thd@entry=0x1550a0000d28, packet=packet@entry=0x1550a001a699 "DROP PROCEDURE IF EXISTS p", packet_length=packet_length@entry=26, is_com_multi=is_com_multi@entry=false, is_next_command=is_next_command@entry=false) at /test/10.4_dbg/sql/sql_class.h:1231
|
#13 0x0000562c4ad3c80a in do_command (thd=0x1550a0000d28) at /test/10.4_dbg/sql/sql_parse.cc:1378
|
#14 0x0000562c4ae5b2b6 in do_handle_one_connection (connect=<optimized out>) at /test/10.4_dbg/sql/sql_connect.cc:1420
|
#15 0x0000562c4ae5b372 in handle_one_connection (arg=<optimized out>) at /test/10.4_dbg/sql/sql_connect.cc:1324
|
#16 0x000015512d315609 in start_thread (arg=<optimized out>) at pthread_create.c:477
|
#17 0x000015512cf01133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
|
Bug confirmed present in:
MariaDB: 10.4.30 (dbg)
Bug (or feature/syntax) confirmed not present in:
MariaDB: 10.4.30 (opt), 10.5.21 (opt), 10.5.21 (dbg), 10.6.14 (dbg), 10.6.14 (opt), 10.8.8 (dbg), 10.8.8 (opt), 10.9.7 (dbg), 10.9.7 (opt), 10.10.4 (opt), 10.10.4 (dbg), 10.11.3 (dbg), 10.11.3 (opt), 11.0.2 (dbg), 11.1.0 (dbg)
No workflow transitions have been executed yet.
{"report":{"fcp":1157.6999998092651,"ttfb":278,"pageVisibility":"visible","entityId":122289,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"f9b06934-4685-4083-906f-3cc5f6e8e96a","navigationType":0,"readyForUser":1250.0999999046326,"redirectCount":0,"resourceLoadedEnd":1112.6999998092651,"resourceLoadedStart":286.5,"resourceTiming":[{"duration":385.7999999523163,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":286.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":286.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":672.2999999523163,"responseStart":0,"secureConnectionStart":0},{"duration":385.7999999523163,"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":286.7999999523163,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":286.7999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":672.5999999046326,"responseStart":0,"secureConnectionStart":0},{"duration":395.2999999523163,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":287,"connectEnd":287,"connectStart":287,"domainLookupEnd":287,"domainLookupStart":287,"fetchStart":287,"redirectEnd":0,"redirectStart":0,"requestStart":287,"responseEnd":682.2999999523163,"responseStart":682.1999998092651,"secureConnectionStart":287},{"duration":465.30000019073486,"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":287.69999980926514,"connectEnd":287.69999980926514,"connectStart":287.69999980926514,"domainLookupEnd":287.69999980926514,"domainLookupStart":287.69999980926514,"fetchStart":287.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":287.69999980926514,"responseEnd":753,"responseStart":753,"secureConnectionStart":287.69999980926514},{"duration":469,"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":287.89999985694885,"connectEnd":287.89999985694885,"connectStart":287.89999985694885,"domainLookupEnd":287.89999985694885,"domainLookupStart":287.89999985694885,"fetchStart":287.89999985694885,"redirectEnd":0,"redirectStart":0,"requestStart":287.89999985694885,"responseEnd":756.8999998569489,"responseStart":756.8999998569489,"secureConnectionStart":287.89999985694885},{"duration":469.2999999523163,"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":288,"connectEnd":288,"connectStart":288,"domainLookupEnd":288,"domainLookupStart":288,"fetchStart":288,"redirectEnd":0,"redirectStart":0,"requestStart":288,"responseEnd":757.2999999523163,"responseStart":757.2999999523163,"secureConnectionStart":288},{"duration":469.40000009536743,"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":288.19999980926514,"connectEnd":288.19999980926514,"connectStart":288.19999980926514,"domainLookupEnd":288.19999980926514,"domainLookupStart":288.19999980926514,"fetchStart":288.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":288.19999980926514,"responseEnd":757.5999999046326,"responseStart":757.5999999046326,"secureConnectionStart":288.19999980926514},{"duration":542.2000000476837,"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":288.39999985694885,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":288.39999985694885,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":830.5999999046326,"responseStart":0,"secureConnectionStart":0},{"duration":469.89999985694885,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":288.5,"connectEnd":288.5,"connectStart":288.5,"domainLookupEnd":288.5,"domainLookupStart":288.5,"fetchStart":288.5,"redirectEnd":0,"redirectStart":0,"requestStart":288.5,"responseEnd":758.3999998569489,"responseStart":758.3999998569489,"secureConnectionStart":288.5},{"duration":542.0999999046326,"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":288.7999999523163,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":288.7999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":830.8999998569489,"responseStart":0,"secureConnectionStart":0},{"duration":470.2000000476837,"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":288.89999985694885,"connectEnd":288.89999985694885,"connectStart":288.89999985694885,"domainLookupEnd":288.89999985694885,"domainLookupStart":288.89999985694885,"fetchStart":288.89999985694885,"redirectEnd":0,"redirectStart":0,"requestStart":288.89999985694885,"responseEnd":759.0999999046326,"responseStart":759.0999999046326,"secureConnectionStart":288.89999985694885},{"duration":602.2000000476837,"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":292.69999980926514,"connectEnd":292.69999980926514,"connectStart":292.69999980926514,"domainLookupEnd":292.69999980926514,"domainLookupStart":292.69999980926514,"fetchStart":292.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":292.69999980926514,"responseEnd":894.8999998569489,"responseStart":894.8999998569489,"secureConnectionStart":292.69999980926514},{"duration":727.3000001907349,"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":292.69999980926514,"connectEnd":292.69999980926514,"connectStart":292.69999980926514,"domainLookupEnd":292.69999980926514,"domainLookupStart":292.69999980926514,"fetchStart":292.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":292.69999980926514,"responseEnd":1020,"responseStart":1020,"secureConnectionStart":292.69999980926514},{"duration":51.80000019073486,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":844.6999998092651,"connectEnd":844.6999998092651,"connectStart":844.6999998092651,"domainLookupEnd":844.6999998092651,"domainLookupStart":844.6999998092651,"fetchStart":844.6999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":844.6999998092651,"responseEnd":896.5,"responseStart":896.5,"secureConnectionStart":844.6999998092651},{"duration":210.09999990463257,"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":902.5999999046326,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":902.5999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1112.6999998092651,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":71,"responseStart":278,"responseEnd":293,"domLoading":282,"domInteractive":1373,"domContentLoadedEventStart":1373,"domContentLoadedEventEnd":1430,"domComplete":2012,"loadEventStart":2012,"loadEventEnd":2013,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1351.0999999046326},{"name":"bigPipe.sidebar-id.end","time":1351.8999998569489},{"name":"bigPipe.activity-panel-pipe-id.start","time":1352.0999999046326},{"name":"bigPipe.activity-panel-pipe-id.end","time":1352.5},{"name":"activityTabFullyLoaded","time":1435.3999998569489}],"measures":[],"correlationId":"347a6c55748415","effectiveType":"4g","downlink":9.1,"rtt":0,"serverDuration":101,"dbReadsTimeInMs":12,"dbConnsTimeInMs":22,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}