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":1528.0999999046326,"ttfb":580.1999998092651,"pageVisibility":"visible","entityId":91020,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"a57bf765-49a9-47bd-94bd-142546d4643b","navigationType":0,"readyForUser":1640.5999999046326,"redirectCount":0,"resourceLoadedEnd":2136.5,"resourceLoadedStart":585.9000000953674,"resourceTiming":[{"duration":187.19999980926514,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":585.9000000953674,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":585.9000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":773.0999999046326,"responseStart":0,"secureConnectionStart":0},{"duration":195.5,"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":586.0999999046326,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":586.0999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":781.5999999046326,"responseStart":0,"secureConnectionStart":0},{"duration":293.2000002861023,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":586.2999997138977,"connectEnd":586.2999997138977,"connectStart":586.2999997138977,"domainLookupEnd":586.2999997138977,"domainLookupStart":586.2999997138977,"fetchStart":586.2999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":586.2999997138977,"responseEnd":879.5,"responseStart":879.5,"secureConnectionStart":586.2999997138977},{"duration":411.19999980926514,"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":586.5,"connectEnd":586.5,"connectStart":586.5,"domainLookupEnd":586.5,"domainLookupStart":586.5,"fetchStart":586.5,"redirectEnd":0,"redirectStart":0,"requestStart":586.5,"responseEnd":997.6999998092651,"responseStart":997.6999998092651,"secureConnectionStart":586.5},{"duration":416.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":586.7999997138977,"connectEnd":586.7999997138977,"connectStart":586.7999997138977,"domainLookupEnd":586.7999997138977,"domainLookupStart":586.7999997138977,"fetchStart":586.7999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":586.7999997138977,"responseEnd":1003.2999997138977,"responseStart":1003.2999997138977,"secureConnectionStart":586.7999997138977},{"duration":416.69999980926514,"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":587,"connectEnd":587,"connectStart":587,"domainLookupEnd":587,"domainLookupStart":587,"fetchStart":587,"redirectEnd":0,"redirectStart":0,"requestStart":587,"responseEnd":1003.6999998092651,"responseStart":1003.6999998092651,"secureConnectionStart":587},{"duration":417.09999990463257,"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":587.1999998092651,"connectEnd":587.1999998092651,"connectStart":587.1999998092651,"domainLookupEnd":587.1999998092651,"domainLookupStart":587.1999998092651,"fetchStart":587.1999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":587.1999998092651,"responseEnd":1004.2999997138977,"responseStart":1004.2999997138977,"secureConnectionStart":587.1999998092651},{"duration":455.6000003814697,"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":587.2999997138977,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":587.2999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1042.9000000953674,"responseStart":0,"secureConnectionStart":0},{"duration":417.69999980926514,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":587.5999999046326,"connectEnd":587.5999999046326,"connectStart":587.5999999046326,"domainLookupEnd":587.5999999046326,"domainLookupStart":587.5999999046326,"fetchStart":587.5999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":587.5999999046326,"responseEnd":1005.2999997138977,"responseStart":1005.2999997138977,"secureConnectionStart":587.5999999046326},{"duration":455.30000019073486,"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":587.6999998092651,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":587.6999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1043,"responseStart":0,"secureConnectionStart":0},{"duration":418.09999990463257,"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":587.9000000953674,"connectEnd":587.9000000953674,"connectStart":587.9000000953674,"domainLookupEnd":587.9000000953674,"domainLookupStart":587.9000000953674,"fetchStart":587.9000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":587.9000000953674,"responseEnd":1006,"responseStart":1006,"secureConnectionStart":587.9000000953674},{"duration":1510.5,"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":597.1999998092651,"connectEnd":597.1999998092651,"connectStart":597.1999998092651,"domainLookupEnd":597.1999998092651,"domainLookupStart":597.1999998092651,"fetchStart":597.1999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":597.1999998092651,"responseEnd":2107.699999809265,"responseStart":2107.699999809265,"secureConnectionStart":597.1999998092651},{"duration":1511.4000000953674,"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":597.6999998092651,"connectEnd":597.6999998092651,"connectStart":597.6999998092651,"domainLookupEnd":597.6999998092651,"domainLookupStart":597.6999998092651,"fetchStart":597.6999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":597.6999998092651,"responseEnd":2109.0999999046326,"responseStart":2109.0999999046326,"secureConnectionStart":597.6999998092651},{"duration":286.5,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":1081.5999999046326,"connectEnd":1081.5999999046326,"connectStart":1081.5999999046326,"domainLookupEnd":1081.5999999046326,"domainLookupStart":1081.5999999046326,"fetchStart":1081.5999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":1081.5999999046326,"responseEnd":1368.0999999046326,"responseStart":1368.0999999046326,"secureConnectionStart":1081.5999999046326},{"duration":663.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":1473,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1473,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":2136.5,"responseStart":0,"secureConnectionStart":0},{"duration":648.5999999046326,"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":1474.1999998092651,"connectEnd":1474.1999998092651,"connectStart":1474.1999998092651,"domainLookupEnd":1474.1999998092651,"domainLookupStart":1474.1999998092651,"fetchStart":1474.1999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":1474.1999998092651,"responseEnd":2122.7999997138977,"responseStart":2122.7999997138977,"secureConnectionStart":1474.1999998092651},{"duration":627.6000003814697,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":1517.2999997138977,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1517.2999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":2144.9000000953674,"responseStart":0,"secureConnectionStart":0},{"duration":656.5999999046326,"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":1474.6999998092651,"connectEnd":1474.6999998092651,"connectStart":1474.6999998092651,"domainLookupEnd":1474.6999998092651,"domainLookupStart":1474.6999998092651,"fetchStart":1474.6999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":1474.6999998092651,"responseEnd":2131.2999997138977,"responseStart":2131.2999997138977,"secureConnectionStart":1474.6999998092651}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":402,"responseStart":580,"responseEnd":594,"domLoading":584,"domInteractive":2150,"domContentLoadedEventStart":2150,"domContentLoadedEventEnd":2205,"domComplete":3103,"loadEventStart":3103,"loadEventEnd":3104,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":2113.5999999046326},{"name":"bigPipe.sidebar-id.end","time":2114.5},{"name":"bigPipe.activity-panel-pipe-id.start","time":2114.5999999046326},{"name":"bigPipe.activity-panel-pipe-id.end","time":2117.5999999046326},{"name":"activityTabFullyLoaded","time":2230.5}],"measures":[],"correlationId":"1bc2591f66e9b6","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":114,"dbReadsTimeInMs":15,"dbConnsTimeInMs":24,"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.