USE test;
|
SET SESSION default_master_connection='a';
|
CREATE TABLE t(a INT) UNION=(t);
|
CHANGE MASTER TO MASTER_USER='a', MASTER_PASSWORD='a';
|
SET GLOBAL REPLICATE_DO_TABLE=NULL;
|
Leads to:
10.4.15 eae968f62d285de97ed607c87bc131cd863d5d03 (Debug)
|
Core was generated by `/test/MD110820-mariadb-10.4.15-linux-x86_64-dbg/bin/mysqld --no-defaults --core'.
|
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:57
|
[Current thread is 1 (Thread 0x15366c344700 (LWP 1432627))]
|
(gdb) bt
|
#0 __pthread_kill (threadid=<optimized out>, signo=signo@entry=11) at ../sysdeps/unix/sysv/linux/pthread_kill.c:57
|
#1 0x0000564c6424e8a6 in my_write_core (sig=sig@entry=11) at /test/10.4_dbg/mysys/stacktrace.c:482
|
#2 0x0000564c639cacdc in handle_fatal_signal (sig=11) at /test/10.4_dbg/sql/signal_handler.cc:343
|
#3 <signal handler called>
|
#4 sf_malloc_usable_size (ptr=ptr@entry=0x38, is_thread_specific=is_thread_specific@entry=0x15366c340fff "") at /test/10.4_dbg/mysys/safemalloc.c:215
|
#5 0x0000564c64249b76 in my_free (ptr=0x38) at /test/10.4_dbg/mysys/my_malloc.c:213
|
#6 0x0000564c642264ab in delete_dynamic (array=array@entry=0x15364480ef28) at /test/10.4_dbg/mysys/array.c:302
|
#7 0x0000564c6422a6e7 in my_hash_free (hash=hash@entry=0x15364480ef00) at /test/10.4_dbg/mysys/hash.c:158
|
#8 0x0000564c6362f152 in Rpl_filter::set_do_table (this=this@entry=0x15364480ef00, table_spec=table_spec@entry=0x0) at /test/10.4_dbg/sql/rpl_filter.cc:358
|
#9 0x0000564c6386ee4f in Sys_var_rpl_filter::set_filter_value (this=this@entry=0x564c64ea7320 <Sys_replicate_do_table>, value=0x0, mi=mi@entry=0x153644900000) at /test/10.4_dbg/sql/sys_vars.cc:5028
|
#10 0x0000564c6386efd9 in Sys_var_rpl_filter::global_update (this=0x564c64ea7320 <Sys_replicate_do_table>, thd=<optimized out>, var=0x15364486d1e8) at /test/10.4_dbg/sql/sys_vars.cc:5007
|
#11 0x0000564c63633a3a in sys_var::update (this=0x564c64ea7320 <Sys_replicate_do_table>, thd=0x153644815070, var=0x15364486d1e8) at /test/10.4_dbg/sql/set_var.cc:208
|
#12 0x0000564c63633f75 in set_var::update (this=<optimized out>, thd=<optimized out>) at /test/10.4_dbg/sql/set_var.cc:837
|
#13 0x0000564c636352c2 in sql_set_variables (thd=thd@entry=0x153644815070, var_list=var_list@entry=0x153644819ea8, free=free@entry=true) at /test/10.4_dbg/sql/set_var.cc:740
|
#14 0x0000564c6371bde0 in mysql_execute_command (thd=thd@entry=0x153644815070) at /test/10.4_dbg/sql/sql_parse.cc:4942
|
#15 0x0000564c63722090 in mysql_parse (thd=thd@entry=0x153644815070, rawbuf=<optimized out>, length=<optimized out>, parser_state=parser_state@entry=0x15366c343460, 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:7896
|
#16 0x0000564c63724920 in dispatch_command (command=command@entry=COM_QUERY, thd=thd@entry=0x153644815070, packet=packet@entry=0x153644857071 "SET GLOBAL replicate_do_TABLE=NULL", packet_length=packet_length@entry=34, 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:1834
|
#17 0x0000564c6372835b in do_command (thd=0x153644815070) at /test/10.4_dbg/sql/sql_parse.cc:1352
|
#18 0x0000564c638548b6 in do_handle_one_connection (connect=connect@entry=0x153669035790) at /test/10.4_dbg/sql/sql_connect.cc:1412
|
#19 0x0000564c638549d6 in handle_one_connection (arg=0x153669035790) at /test/10.4_dbg/sql/sql_connect.cc:1316
|
#20 0x000015366b5426db in start_thread (arg=0x15366c344700) at pthread_create.c:463
|
#21 0x000015366a6bca3f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
|
Bug confirmed present in:
MariaDB: 10.2.34 (dbg), 10.3.25 (dbg), 10.4.15 (dbg)
Bug confirmed not present in:
MariaDB: 10.1.47 (dbg), 10.1.47 (opt), 10.2.34 (opt), 10.3.25 (opt), 10.4.15 (opt), 10.5.6 (dbg), 10.5.6 (opt)
MySQL: 5.5.62 (dbg), 5.5.62 (opt), 5.6.47 (dbg), 5.6.47 (opt), 5.7.29 (dbg), 5.7.29 (opt), 8.0.19 (dbg), 8.0.19 (opt)
{"report":{"fcp":1085.5999999046326,"ttfb":337.59999990463257,"pageVisibility":"visible","entityId":91020,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"82db652d-f5d2-4c1a-8468-c2a020facfa2","navigationType":0,"readyForUser":1166.5,"redirectCount":0,"resourceLoadedEnd":1195.5,"resourceLoadedStart":343.40000009536743,"resourceTiming":[{"duration":162,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":343.40000009536743,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":343.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":505.40000009536743,"responseStart":0,"secureConnectionStart":0},{"duration":162.40000009536743,"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":343.69999980926514,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":343.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":506.09999990463257,"responseStart":0,"secureConnectionStart":0},{"duration":223.59999990463257,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":343.90000009536743,"connectEnd":343.90000009536743,"connectStart":343.90000009536743,"domainLookupEnd":343.90000009536743,"domainLookupStart":343.90000009536743,"fetchStart":343.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":343.90000009536743,"responseEnd":567.5,"responseStart":567.5,"secureConnectionStart":343.90000009536743},{"duration":279.7000002861023,"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":344.09999990463257,"connectEnd":344.09999990463257,"connectStart":344.09999990463257,"domainLookupEnd":344.09999990463257,"domainLookupStart":344.09999990463257,"fetchStart":344.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":344.09999990463257,"responseEnd":623.8000001907349,"responseStart":623.8000001907349,"secureConnectionStart":344.09999990463257},{"duration":283.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":344.30000019073486,"connectEnd":344.30000019073486,"connectStart":344.30000019073486,"domainLookupEnd":344.30000019073486,"domainLookupStart":344.30000019073486,"fetchStart":344.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":344.30000019073486,"responseEnd":627.8000001907349,"responseStart":627.8000001907349,"secureConnectionStart":344.30000019073486},{"duration":283.80000019073486,"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":344.5,"connectEnd":344.5,"connectStart":344.5,"domainLookupEnd":344.5,"domainLookupStart":344.5,"fetchStart":344.5,"redirectEnd":0,"redirectStart":0,"requestStart":344.5,"responseEnd":628.3000001907349,"responseStart":628.3000001907349,"secureConnectionStart":344.5},{"duration":284,"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":344.69999980926514,"connectEnd":344.69999980926514,"connectStart":344.69999980926514,"domainLookupEnd":344.69999980926514,"domainLookupStart":344.69999980926514,"fetchStart":344.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":344.69999980926514,"responseEnd":628.6999998092651,"responseStart":628.6999998092651,"secureConnectionStart":344.69999980926514},{"duration":365.69999980926514,"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":344.90000009536743,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":344.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":710.5999999046326,"responseStart":0,"secureConnectionStart":0},{"duration":284.19999980926514,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":345,"connectEnd":345,"connectStart":345,"domainLookupEnd":345,"domainLookupStart":345,"fetchStart":345,"redirectEnd":0,"redirectStart":0,"requestStart":345,"responseEnd":629.1999998092651,"responseStart":629.1999998092651,"secureConnectionStart":345},{"duration":365.6000003814697,"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":345.19999980926514,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":345.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":710.8000001907349,"responseStart":0,"secureConnectionStart":0},{"duration":284.40000009536743,"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":345.40000009536743,"connectEnd":345.40000009536743,"connectStart":345.40000009536743,"domainLookupEnd":345.40000009536743,"domainLookupStart":345.40000009536743,"fetchStart":345.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":345.40000009536743,"responseEnd":629.8000001907349,"responseStart":629.8000001907349,"secureConnectionStart":345.40000009536743},{"duration":750.3999996185303,"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":346.30000019073486,"connectEnd":346.30000019073486,"connectStart":346.30000019073486,"domainLookupEnd":346.30000019073486,"domainLookupStart":346.30000019073486,"fetchStart":346.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":346.30000019073486,"responseEnd":1096.6999998092651,"responseStart":1096.6999998092651,"secureConnectionStart":346.30000019073486},{"duration":746.7999997138977,"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":350.80000019073486,"connectEnd":350.80000019073486,"connectStart":350.80000019073486,"domainLookupEnd":350.80000019073486,"domainLookupStart":350.80000019073486,"fetchStart":350.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":350.80000019073486,"responseEnd":1097.5999999046326,"responseStart":1097.5999999046326,"secureConnectionStart":350.80000019073486},{"duration":176.19999980926514,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":722.4000000953674,"connectEnd":722.4000000953674,"connectStart":722.4000000953674,"domainLookupEnd":722.4000000953674,"domainLookupStart":722.4000000953674,"fetchStart":722.4000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":722.4000000953674,"responseEnd":898.5999999046326,"responseStart":898.5999999046326,"secureConnectionStart":722.4000000953674},{"duration":212.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":983.4000000953674,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":983.4000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1195.5,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":158,"responseStart":338,"responseEnd":345,"domLoading":341,"domInteractive":1242,"domContentLoadedEventStart":1242,"domContentLoadedEventEnd":1301,"domComplete":1868,"loadEventStart":1868,"loadEventEnd":1868,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1211.4000000953674},{"name":"bigPipe.sidebar-id.end","time":1212.1999998092651},{"name":"bigPipe.activity-panel-pipe-id.start","time":1212.3000001907349},{"name":"bigPipe.activity-panel-pipe-id.end","time":1215.4000000953674},{"name":"activityTabFullyLoaded","time":1317.8000001907349}],"measures":[],"correlationId":"46dd6972b74b00","effectiveType":"4g","downlink":9.9,"rtt":0,"serverDuration":118,"dbReadsTimeInMs":19,"dbConnsTimeInMs":30,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
The stack and filtering thereof (unique bugid SIGSEGV|sf_malloc_usable_size|my_free|delete_dynamic|my_hash_free) may mask other bugs. A fix would be appreciated to avoid masking other bugs.