Also filed as http://bugs.mysql.com/bug.php?id=65711
#3 <signal handler called>
|
#4 0x000000000061ddfb in intern_plugin_lock (lex=0x24a83e8, rc=0x248e6f0) at sql/sql_plugin.cc:924
|
#5 0x0000000000622c1d in find_sys_var (thd=0x24a6110, str=0x25a8a28 "rpl_semi_sync_master_enabled", length=28) at sql/sql_plugin.cc:2650
|
#6 0x0000000000759b5a in find_sys_var_null_base (thd=0x24a6110, tmp=0x7fb73224e830) at sql/sql_yacc.yy:416
|
#7 0x000000000077c283 in MYSQLparse (yythd=0x24a6110) at sql/sql_yacc.yy:13586
|
#8 0x000000000061a5a1 in parse_sql (thd=0x24a6110, parser_state=0x7fb732250500, creation_ctx=0x0) at sql/sql_parse.cc:7602
|
#9 0x00000000006165b1 in mysql_parse (thd=0x24a6110, rawbuf=0x25a8958 "SET GLOBAL rpl_semi_sync_master_enabled = ON", length=44, parser_state=0x7fb732250500) at sql/sql_parse.cc:5691
|
#10 0x0000000000609f73 in dispatch_command (command=COM_QUERY, thd=0x24a6110, packet=0x25a1141 "SET GLOBAL rpl_semi_sync_master_enabled = ON", packet_length=44) at sql/sql_parse.cc:1055
|
#11 0x000000000060922a in do_command (thd=0x24a6110) at sql/sql_parse.cc:794
|
#12 0x000000000070a4ef in do_handle_one_connection (thd_arg=0x24a6110) at sql/sql_connect.cc:1253
|
#13 0x0000000000709eda in handle_one_connection (arg=0x24a6110) at sql/sql_connect.cc:1168
|
#14 0x0000000000bffb0f in pfs_spawn_thread (arg=0x2629ad0) at storage/perfschema/pfs.cc:1015
|
#15 0x00007fb73d8adefc in start_thread (arg=0x7fb732251700) at pthread_create.c:304
|
#16 0x00007fb73cc2059d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
|
bzr version-info
revision-id: knielsen@knielsen-hq.org-20120622084255-u53u21xv3w7sqxms
|
date: 2012-06-22 10:42:55 +0200
|
build-date: 2012-06-22 17:46:40 +0400
|
revno: 3456
|
(also reproducible on current MySQL 5.5 and MySQL trunk).
MTR test case
(you might try to run it with --repeat=N
if you are not getting the crash right away)
--connect (con1,127.0.0.1,root,,test)
|
--error 0,ER_UNKNOWN_SYSTEM_VARIABLE
|
SET GLOBAL rpl_semi_sync_master_enabled = OFF;
|
--error 0,ER_SP_DOES_NOT_EXIST
|
UNINSTALL PLUGIN rpl_semi_sync_master;
|
--send
|
INSTALL PLUGIN rpl_semi_sync_master SONAME 'semisync_master.so';
|
--connection default
|
--error 0,ER_UNKNOWN_SYSTEM_VARIABLE
|
SET GLOBAL rpl_semi_sync_master_enabled = ON;
|
--connection con1
|
--reap
|
If you are still not getting the crash, try this RQG grammar
cat semi.yy
thread1:
|
SET GLOBAL rpl_semi_sync_master_enabled = on_off ;
|
|
query:
|
INSTALL PLUGIN rpl_semi_sync_master SONAME 'semisync_master.so' | UNINSTALL PLUGIN rpl_semi_sync_master ;
|
|
on_off:
|
ON | OFF ;
|
Run it as
perl runall.pl \
|
--grammar=semi.yy \
|
--queries=100M \
|
--threads=2 \
|
--duration=300 \
|
--skip-gendata \
|
--basedir=<your basedir> --vardir=<your vardir>
|
Make sure the tests find the library all right
and if not, additionally provide plugin-dir on the command line
{"report":{"fcp":1624.2999999998137,"ttfb":244.89999999990687,"pageVisibility":"visible","entityId":12210,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":16,"apdex":0.5,"journeyId":"258d5ee5-6166-4082-92fb-780d193c6e64","navigationType":0,"readyForUser":1812.2999999998137,"redirectCount":0,"resourceLoadedEnd":1123.3999999999069,"resourceLoadedStart":259.5,"resourceTiming":[{"duration":162,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":259.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":259.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":421.5,"responseStart":0,"secureConnectionStart":0},{"duration":163.39999999990687,"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":259.70000000018626,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":259.70000000018626,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":423.10000000009313,"responseStart":0,"secureConnectionStart":0},{"duration":638.8000000002794,"initiatorType":"script","name":"https://jira.mariadb.org/s/fbf975c0cce4b1abf04784eeae9ba1f4-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":259.79999999981374,"connectEnd":259.79999999981374,"connectStart":259.79999999981374,"domainLookupEnd":259.79999999981374,"domainLookupStart":259.79999999981374,"fetchStart":259.79999999981374,"redirectEnd":0,"redirectStart":0,"requestStart":429.10000000009313,"responseEnd":898.6000000000931,"responseStart":474.89999999990687,"secureConnectionStart":259.79999999981374},{"duration":837.3999999999069,"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":259.89999999990687,"connectEnd":259.89999999990687,"connectStart":259.89999999990687,"domainLookupEnd":259.89999999990687,"domainLookupStart":259.89999999990687,"fetchStart":259.89999999990687,"redirectEnd":0,"redirectStart":0,"requestStart":429.29999999981374,"responseEnd":1097.2999999998137,"responseStart":474.20000000018626,"secureConnectionStart":259.89999999990687},{"duration":224.29999999981374,"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":260,"connectEnd":260,"connectStart":260,"domainLookupEnd":260,"domainLookupStart":260,"fetchStart":260,"redirectEnd":0,"redirectStart":0,"requestStart":429.5,"responseEnd":484.29999999981374,"responseStart":479.39999999990687,"secureConnectionStart":260},{"duration":225.89999999990687,"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":260.10000000009313,"connectEnd":260.10000000009313,"connectStart":260.10000000009313,"domainLookupEnd":260.10000000009313,"domainLookupStart":260.10000000009313,"fetchStart":260.10000000009313,"redirectEnd":0,"redirectStart":0,"requestStart":430,"responseEnd":486,"responseStart":481.10000000009313,"secureConnectionStart":260.10000000009313},{"duration":232.6999999997206,"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":260.20000000018626,"connectEnd":260.20000000018626,"connectStart":260.20000000018626,"domainLookupEnd":260.20000000018626,"domainLookupStart":260.20000000018626,"fetchStart":260.20000000018626,"redirectEnd":0,"redirectStart":0,"requestStart":434.5,"responseEnd":492.89999999990687,"responseStart":489,"secureConnectionStart":260.20000000018626},{"duration":173.70000000018626,"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":260.29999999981374,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":260.29999999981374,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":434,"responseStart":0,"secureConnectionStart":0},{"duration":237.3000000002794,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":260.39999999990687,"connectEnd":260.39999999990687,"connectStart":260.39999999990687,"domainLookupEnd":260.39999999990687,"domainLookupStart":260.39999999990687,"fetchStart":260.39999999990687,"redirectEnd":0,"redirectStart":0,"requestStart":436.70000000018626,"responseEnd":497.70000000018626,"responseStart":494.29999999981374,"secureConnectionStart":260.39999999990687},{"duration":175.89999999990687,"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":260.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":260.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":436.39999999990687,"responseStart":0,"secureConnectionStart":0},{"duration":257.79999999981374,"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":260.60000000009313,"connectEnd":260.60000000009313,"connectStart":260.60000000009313,"domainLookupEnd":260.60000000009313,"domainLookupStart":260.60000000009313,"fetchStart":260.60000000009313,"redirectEnd":0,"redirectStart":0,"requestStart":437.5,"responseEnd":518.3999999999069,"responseStart":493.70000000018626,"secureConnectionStart":260.60000000009313},{"duration":859.1000000000931,"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":262.29999999981374,"connectEnd":262.29999999981374,"connectStart":262.29999999981374,"domainLookupEnd":262.29999999981374,"domainLookupStart":262.29999999981374,"fetchStart":262.29999999981374,"redirectEnd":0,"redirectStart":0,"requestStart":504.79999999981374,"responseEnd":1121.3999999999069,"responseStart":1115.7999999998137,"secureConnectionStart":262.29999999981374},{"duration":861,"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":262.39999999990687,"connectEnd":262.39999999990687,"connectStart":262.39999999990687,"domainLookupEnd":262.39999999990687,"domainLookupStart":262.39999999990687,"fetchStart":262.39999999990687,"redirectEnd":0,"redirectStart":0,"requestStart":539.3999999999069,"responseEnd":1123.3999999999069,"responseStart":1119.2999999998137,"secureConnectionStart":262.39999999990687},{"duration":189.5,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":1082.3999999999069,"connectEnd":1082.3999999999069,"connectStart":1082.3999999999069,"domainLookupEnd":1082.3999999999069,"domainLookupStart":1082.3999999999069,"fetchStart":1082.3999999999069,"redirectEnd":0,"redirectStart":0,"requestStart":1243.6000000000931,"responseEnd":1271.8999999999069,"responseStart":1271.5,"secureConnectionStart":1082.3999999999069},{"duration":80.5,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":1546.1000000000931,"connectEnd":1546.1000000000931,"connectStart":1546.1000000000931,"domainLookupEnd":1546.1000000000931,"domainLookupStart":1546.1000000000931,"fetchStart":1546.1000000000931,"redirectEnd":0,"redirectStart":0,"requestStart":1592.7999999998137,"responseEnd":1626.6000000000931,"responseStart":1625.2999999998137,"secureConnectionStart":1546.1000000000931},{"duration":12.200000000186265,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":1616.7999999998137,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1616.7999999998137,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1629,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":66,"responseStart":245,"responseEnd":254,"domLoading":257,"domInteractive":1930,"domContentLoadedEventStart":1930,"domContentLoadedEventEnd":1987,"domComplete":2709,"loadEventStart":2709,"loadEventEnd":2713,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1893.5},{"name":"bigPipe.sidebar-id.end","time":1894.2999999998137},{"name":"bigPipe.activity-panel-pipe-id.start","time":1894.3999999999069},{"name":"bigPipe.activity-panel-pipe-id.end","time":1899.6000000000931},{"name":"activityTabFullyLoaded","time":2002.2999999998137}],"measures":[],"correlationId":"805033d1b89e7f","effectiveType":"4g","downlink":9.5,"rtt":0,"serverDuration":91,"dbReadsTimeInMs":11,"dbConnsTimeInMs":18,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}