Type:
Bug
Priority:
Minor
Resolution:
Fixed
Affects Version/s:
None
Fix Version/s:
None
Component/s:
None
Timestamp which precedes log record '[ERROR] mysqld got signal 6' is broken:
Version: '5.3.5-MariaDB-ga' socket: '/tmp/mysql.sock' port: 3306 (MariaDB - http://mariadb.com/ )
2d2d2d d:2d:2d [ERROR] mysqld got signal 6 ;
This could be because you hit a bug. It is also possible that this binary
It worked fine on 5.3.4 and 5.2.10, but not on 5.3.5 or the current trees.
There was a code change which, besides moving the logging from mysqld.cc to signal_handler.cc, also replaced fprintf with my_safe_printf_stderr. It seems that the latter does not work well with the timestamp template "%02d%02d%02d %2d:%02d:%02d ".
To reproduce,
start MariaDB server (run mysqld with whatever parameters you normally use);
send a signal that causes server to attempt a coredump (e.g. run 'kill -6 <server pid>');
in STDERR/console or error log file, depending on your settings, find the record 'mysqld got signal', see the timestamp.
Reproducible on recent 5.1 (revno 3133), 5.2 (revno 3122), 5.3 (revno 3455), 5.5 (revno 3316).
It is mainly a cosmetic bug, but becomes somewhat painful when you need to find out from the error log at what time exactly the server crashed.
{"report":{"fcp":1105.5,"ttfb":195.19999998807907,"pageVisibility":"visible","entityId":21224,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"31294ef5-dd11-403e-bafc-5b9b6ba218e5","navigationType":0,"readyForUser":1201.800000011921,"redirectCount":0,"resourceLoadedEnd":930.3000000119209,"resourceLoadedStart":203.30000001192093,"resourceTiming":[{"duration":389,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bv2/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":203.30000001192093,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":203.30000001192093,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":592.3000000119209,"responseStart":0,"secureConnectionStart":0},{"duration":389.09999999403954,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2bv2/820016/12ta74/2380add21a9a1006587582385952de73/_/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":203.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":203.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":592.5999999940395,"responseStart":0,"secureConnectionStart":0},{"duration":487.69999998807907,"initiatorType":"script","name":"https://jira.mariadb.org/s/e9b27a47da5fb0f74a35acd57e9847fb-CDN/lu2bv2/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":203.80000001192093,"connectEnd":203.80000001192093,"connectStart":203.80000001192093,"domainLookupEnd":203.80000001192093,"domainLookupStart":203.80000001192093,"fetchStart":203.80000001192093,"redirectEnd":0,"redirectStart":0,"requestStart":598.0999999940395,"responseEnd":691.5,"responseStart":609.1999999880791,"secureConnectionStart":203.80000001192093},{"duration":626.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/c32eb0da7ad9831253f8397e6cc26afd-CDN/lu2bv2/820016/12ta74/2380add21a9a1006587582385952de73/_/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":204.40000000596046,"connectEnd":204.40000000596046,"connectStart":204.40000000596046,"domainLookupEnd":204.40000000596046,"domainLookupStart":204.40000000596046,"fetchStart":204.40000000596046,"redirectEnd":0,"redirectStart":0,"requestStart":597.9000000059605,"responseEnd":830.9000000059605,"responseStart":611.1999999880791,"secureConnectionStart":204.40000000596046},{"duration":404,"initiatorType":"script","name":"https://jira.mariadb.org/s/bc0bcb146314416123c992714ee00ff7-CDN/lu2bv2/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":204.59999999403954,"connectEnd":204.59999999403954,"connectStart":204.59999999403954,"domainLookupEnd":204.59999999403954,"domainLookupStart":204.59999999403954,"fetchStart":204.59999999403954,"redirectEnd":0,"redirectStart":0,"requestStart":598.4000000059605,"responseEnd":608.5999999940395,"responseStart":608,"secureConnectionStart":204.59999999403954},{"duration":410.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bv2/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":204.69999998807907,"connectEnd":204.69999998807907,"connectStart":204.69999998807907,"domainLookupEnd":204.69999998807907,"domainLookupStart":204.69999998807907,"fetchStart":204.69999998807907,"redirectEnd":0,"redirectStart":0,"requestStart":599.4000000059605,"responseEnd":615.1999999880791,"responseStart":613.3000000119209,"secureConnectionStart":204.69999998807907},{"duration":466.09999999403954,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bv2/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":204.90000000596046,"connectEnd":204.90000000596046,"connectStart":204.90000000596046,"domainLookupEnd":204.90000000596046,"domainLookupStart":204.90000000596046,"fetchStart":204.90000000596046,"redirectEnd":0,"redirectStart":0,"requestStart":600.5,"responseEnd":671,"responseStart":665,"secureConnectionStart":204.90000000596046},{"duration":394.80000001192093,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2bv2/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":205.09999999403954,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":205.09999999403954,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":599.9000000059605,"responseStart":0,"secureConnectionStart":0},{"duration":465.89999997615814,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":205.30000001192093,"connectEnd":205.30000001192093,"connectStart":205.30000001192093,"domainLookupEnd":205.30000001192093,"domainLookupStart":205.30000001192093,"fetchStart":205.30000001192093,"redirectEnd":0,"redirectStart":0,"requestStart":602,"responseEnd":671.1999999880791,"responseStart":665.6999999880791,"secureConnectionStart":205.30000001192093},{"duration":396.2999999821186,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2bv2/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":205.40000000596046,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":205.40000000596046,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":601.6999999880791,"responseStart":0,"secureConnectionStart":0},{"duration":465.90000000596046,"initiatorType":"script","name":"https://jira.mariadb.org/s/719848dd97ebe0663199f49a3936487a-CDN/lu2bv2/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":205.59999999403954,"connectEnd":205.59999999403954,"connectStart":205.59999999403954,"domainLookupEnd":205.59999999403954,"domainLookupStart":205.59999999403954,"fetchStart":205.59999999403954,"redirectEnd":0,"redirectStart":0,"requestStart":603.8000000119209,"responseEnd":671.5,"responseStart":666.5999999940395,"secureConnectionStart":205.59999999403954},{"duration":707.6000000238419,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bv2/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":221.19999998807907,"connectEnd":221.19999998807907,"connectStart":221.19999998807907,"domainLookupEnd":221.19999998807907,"domainLookupStart":221.19999998807907,"fetchStart":221.19999998807907,"redirectEnd":0,"redirectStart":0,"requestStart":916.0999999940395,"responseEnd":928.8000000119209,"responseStart":928,"secureConnectionStart":221.19999998807907},{"duration":707.8000000119209,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bv2/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":222.5,"connectEnd":222.5,"connectStart":222.5,"domainLookupEnd":222.5,"domainLookupStart":222.5,"fetchStart":222.5,"redirectEnd":0,"redirectStart":0,"requestStart":917.6999999880791,"responseEnd":930.3000000119209,"responseStart":929.3000000119209,"secureConnectionStart":222.5},{"duration":142.30000001192093,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":818.5999999940395,"connectEnd":818.5999999940395,"connectStart":818.5999999940395,"domainLookupEnd":818.5999999940395,"domainLookupStart":818.5999999940395,"fetchStart":818.5999999940395,"redirectEnd":0,"redirectStart":0,"requestStart":930.5999999940395,"responseEnd":960.9000000059605,"responseStart":960.1999999880791,"secureConnectionStart":818.5999999940395},{"duration":165,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":1060.9000000059605,"connectEnd":1060.9000000059605,"connectStart":1060.9000000059605,"domainLookupEnd":1060.9000000059605,"domainLookupStart":1060.9000000059605,"fetchStart":1060.9000000059605,"redirectEnd":0,"redirectStart":0,"requestStart":1192.4000000059605,"responseEnd":1225.9000000059605,"responseStart":1224.5999999940395,"secureConnectionStart":1060.9000000059605},{"duration":161.2999999821186,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":1099.300000011921,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1099.300000011921,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1260.5999999940395,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":46,"responseStart":196,"responseEnd":223,"domLoading":199,"domInteractive":1263,"domContentLoadedEventStart":1263,"domContentLoadedEventEnd":1306,"domComplete":1559,"loadEventStart":1559,"loadEventEnd":1559,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1241.9000000059605},{"name":"bigPipe.sidebar-id.end","time":1242.699999988079},{"name":"bigPipe.activity-panel-pipe-id.start","time":1242.9000000059605},{"name":"bigPipe.activity-panel-pipe-id.end","time":1243.699999988079},{"name":"activityTabFullyLoaded","time":1320.800000011921}],"measures":[],"correlationId":"db9b6c4af667be","effectiveType":"4g","downlink":9.4,"rtt":0,"serverDuration":91,"dbReadsTimeInMs":10,"dbConnsTimeInMs":18,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
Launchpad bug id: 952714