This was first discovered when trying to watch TV on my MythTV box. The screen went black for a few moments, and then returned to the menu.
Digging for the cause, I found my way to the mariadb log, which explained the server had got a segmentation violation. I attach a log where I first restart the Mariadb server, then go over to the MythTV machine (not the same box) and select "watch TV". As you can see, it explains it gets signal 11, and then produce a lot of information I hope can help understand what the issue is.
In that log, there is a SELECT statement. The crash always happens on the same statement. I have tried to run the same statement using the mysql command line tool. I am not able to trigger the problem that way, even after doing a cut-and-paste of the query, even including all the spaces verbatim.
I also attach the core file produced. (I've been trying to look a little myself, and can see the cause is a null pointer being used, created as sa in Type_handler_string_result::Item_const_eq. But I would need much more understanding why this call produces a null pointer.)
The mysqld binary is the standard binary from the Fedora distribution, but for convenience I attach that too.
{"report":{"fcp":925.0999999642372,"ttfb":314.30000001192093,"pageVisibility":"visible","entityId":89693,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"32d955ad-c349-4bb3-aafd-5105fc26aeda","navigationType":0,"readyForUser":1007.1999999880791,"redirectCount":0,"resourceLoadedEnd":1039.5999999642372,"resourceLoadedStart":319.19999998807907,"resourceTiming":[{"duration":139.10000002384186,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":319.19999998807907,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":319.19999998807907,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":458.30000001192093,"responseStart":0,"secureConnectionStart":0},{"duration":139.0999999642372,"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":319.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":319.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":458.5999999642372,"responseStart":0,"secureConnectionStart":0},{"duration":148.69999998807907,"initiatorType":"script","name":"https://jira.mariadb.org/s/fbf975c0cce4b1abf04784eeae9ba1f4-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":319.69999998807907,"connectEnd":319.69999998807907,"connectStart":319.69999998807907,"domainLookupEnd":319.69999998807907,"domainLookupStart":319.69999998807907,"fetchStart":319.69999998807907,"redirectEnd":0,"redirectStart":0,"requestStart":319.69999998807907,"responseEnd":468.39999997615814,"responseStart":468.39999997615814,"secureConnectionStart":319.69999998807907},{"duration":188.5,"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":319.80000001192093,"connectEnd":319.80000001192093,"connectStart":319.80000001192093,"domainLookupEnd":319.80000001192093,"domainLookupStart":319.80000001192093,"fetchStart":319.80000001192093,"redirectEnd":0,"redirectStart":0,"requestStart":319.80000001192093,"responseEnd":508.30000001192093,"responseStart":508.30000001192093,"secureConnectionStart":319.80000001192093},{"duration":192.10000002384186,"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":320.0999999642372,"connectEnd":320.0999999642372,"connectStart":320.0999999642372,"domainLookupEnd":320.0999999642372,"domainLookupStart":320.0999999642372,"fetchStart":320.0999999642372,"redirectEnd":0,"redirectStart":0,"requestStart":320.0999999642372,"responseEnd":512.1999999880791,"responseStart":512.0999999642372,"secureConnectionStart":320.0999999642372},{"duration":192.39999997615814,"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":320.19999998807907,"connectEnd":320.19999998807907,"connectStart":320.19999998807907,"domainLookupEnd":320.19999998807907,"domainLookupStart":320.19999998807907,"fetchStart":320.19999998807907,"redirectEnd":0,"redirectStart":0,"requestStart":320.19999998807907,"responseEnd":512.5999999642372,"responseStart":512.5999999642372,"secureConnectionStart":320.19999998807907},{"duration":192.80000001192093,"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":320.39999997615814,"connectEnd":320.39999997615814,"connectStart":320.39999997615814,"domainLookupEnd":320.39999997615814,"domainLookupStart":320.39999997615814,"fetchStart":320.39999997615814,"redirectEnd":0,"redirectStart":0,"requestStart":320.39999997615814,"responseEnd":513.1999999880791,"responseStart":513.0999999642372,"secureConnectionStart":320.39999997615814},{"duration":291,"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":320.5999999642372,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":320.5999999642372,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":611.5999999642372,"responseStart":0,"secureConnectionStart":0},{"duration":192.89999997615814,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":320.69999998807907,"connectEnd":320.69999998807907,"connectStart":320.69999998807907,"domainLookupEnd":320.69999998807907,"domainLookupStart":320.69999998807907,"fetchStart":320.69999998807907,"redirectEnd":0,"redirectStart":0,"requestStart":320.69999998807907,"responseEnd":513.5999999642372,"responseStart":513.5999999642372,"secureConnectionStart":320.69999998807907},{"duration":290.80000001192093,"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":320.89999997615814,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":320.89999997615814,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":611.6999999880791,"responseStart":0,"secureConnectionStart":0},{"duration":193.19999998807907,"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":321,"connectEnd":321,"connectStart":321,"domainLookupEnd":321,"domainLookupStart":321,"fetchStart":321,"redirectEnd":0,"redirectStart":0,"requestStart":321,"responseEnd":514.1999999880791,"responseStart":514.1999999880791,"secureConnectionStart":321},{"duration":506.10000002384186,"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":326.69999998807907,"connectEnd":326.69999998807907,"connectStart":326.69999998807907,"domainLookupEnd":326.69999998807907,"domainLookupStart":326.69999998807907,"fetchStart":326.69999998807907,"redirectEnd":0,"redirectStart":0,"requestStart":326.69999998807907,"responseEnd":832.8000000119209,"responseStart":832.8000000119209,"secureConnectionStart":326.69999998807907},{"duration":711.5999999642372,"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":326.80000001192093,"connectEnd":326.80000001192093,"connectStart":326.80000001192093,"domainLookupEnd":326.80000001192093,"domainLookupStart":326.80000001192093,"fetchStart":326.80000001192093,"redirectEnd":0,"redirectStart":0,"requestStart":326.80000001192093,"responseEnd":1038.3999999761581,"responseStart":1038.3999999761581,"secureConnectionStart":326.80000001192093},{"duration":209.89999997615814,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":623.3000000119209,"connectEnd":623.3000000119209,"connectStart":623.3000000119209,"domainLookupEnd":623.3000000119209,"domainLookupStart":623.3000000119209,"fetchStart":623.3000000119209,"redirectEnd":0,"redirectStart":0,"requestStart":623.3000000119209,"responseEnd":833.1999999880791,"responseStart":833.1999999880791,"secureConnectionStart":623.3000000119209},{"duration":159.5999999642372,"initiatorType":"link","name":"https://jira.mariadb.org/s/d5715adaadd168a9002b108b2b039b50-CDN/lu2bu7/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","startTime":880,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":880,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1039.5999999642372,"responseStart":0,"secureConnectionStart":0},{"duration":271,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/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","startTime":880.8999999761581,"connectEnd":880.8999999761581,"connectStart":880.8999999761581,"domainLookupEnd":880.8999999761581,"domainLookupStart":880.8999999761581,"fetchStart":880.8999999761581,"redirectEnd":0,"redirectStart":0,"requestStart":880.8999999761581,"responseEnd":1151.8999999761581,"responseStart":1151.800000011921,"secureConnectionStart":880.8999999761581},{"duration":278.0999999642372,"initiatorType":"script","name":"https://jira.mariadb.org/s/f51ef5507eea4c158f257c66c93b2a3f-CDN/lu2bu7/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","startTime":881.3000000119209,"connectEnd":881.3000000119209,"connectStart":881.3000000119209,"domainLookupEnd":881.3000000119209,"domainLookupStart":881.3000000119209,"fetchStart":881.3000000119209,"redirectEnd":0,"redirectStart":0,"requestStart":881.3000000119209,"responseEnd":1159.3999999761581,"responseStart":1159.3999999761581,"secureConnectionStart":881.3000000119209}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":141,"responseStart":315,"responseEnd":326,"domLoading":318,"domInteractive":1117,"domContentLoadedEventStart":1117,"domContentLoadedEventEnd":1161,"domComplete":1372,"loadEventStart":1372,"loadEventEnd":1373,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1085.300000011921},{"name":"bigPipe.sidebar-id.end","time":1086},{"name":"bigPipe.activity-panel-pipe-id.start","time":1086.0999999642372},{"name":"bigPipe.activity-panel-pipe-id.end","time":1088.300000011921},{"name":"activityTabFullyLoaded","time":1179.0999999642372}],"measures":[],"correlationId":"8f025d7829e881","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":115,"dbReadsTimeInMs":17,"dbConnsTimeInMs":26,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
Extracting query from log is:
Can you include:
show create table record;
explain {query};