I link a crash report, it append everytime I exec this kind of request.
Another query :
Query (0x5645a0188020): SELECT p.`id_product`, product_shop.`condition`, p.`id_manufacturer`, sa.`quantity`, p.`weight`
FROM cj_product p INNER JOIN cj_product_shop product_shop
ON (product_shop.id_product = p.id_product AND product_shop.id_shop = 1)
INNER JOIN cj_category_product cp ON (cp.id_product = p.id_product)
INNER JOIN cj_category c ON (c.id_category = cp.id_category AND
c.nleft >= 4
AND c.nright <= 5
AND c.active = 1) LEFT JOIN `cj_stock_available` sa
ON (sa.id_product = p.id_product AND sa.id_shop = 1)
WHERE product_shop.`active` = 1 AND product_shop.`visibility` IN ("both", "catalog") AND p.id_product IN (SELECT id_product FROM cj_feature_product fp WHERE fp.`id_feature_value` = 605) AND p.id_product IN (SELECT id_product FROM cj_feature_product fp WHERE fp.`id_feature_value` = 562 OR fp.`id_feature_value` = 558) AND p.id_product IN (SELECT id_product FROM cj_feature_product fp WHERE fp.`id_feature_value` = 338)
GROUP BY p.id_product
I can reproduce the bug by running it in PhpMyAdmin :
If I remove the LEFT here : "LEFT JOIN `cj_stock_available`". The query don't crash the server.
I repaired the table with
mysqlcheck -u USER -p --check -A --auto-repair
But same problem.
- duplicates
-
MDEV-15247
Crash when SET NAMES 'utf8' is set
-
-
Closed
{"report":{"fcp":1212.5999999046326,"ttfb":342.3999996185303,"pageVisibility":"visible","entityId":68071,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"42088c18-1608-45e2-8c66-990ae96d99c0","navigationType":0,"readyForUser":1231.5,"redirectCount":0,"resourceLoadedEnd":1531.5,"resourceLoadedStart":348.19999980926514,"resourceTiming":[{"duration":187.30000019073486,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":348.19999980926514,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":348.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":535.5,"responseStart":0,"secureConnectionStart":0},{"duration":187.39999961853027,"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":348.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":348.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":535.8999996185303,"responseStart":0,"secureConnectionStart":0},{"duration":244.69999980926514,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":348.69999980926514,"connectEnd":348.69999980926514,"connectStart":348.69999980926514,"domainLookupEnd":348.69999980926514,"domainLookupStart":348.69999980926514,"fetchStart":348.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":348.69999980926514,"responseEnd":593.3999996185303,"responseStart":593.2999997138977,"secureConnectionStart":348.69999980926514},{"duration":300.6000003814697,"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":348.8999996185303,"connectEnd":348.8999996185303,"connectStart":348.8999996185303,"domainLookupEnd":348.8999996185303,"domainLookupStart":348.8999996185303,"fetchStart":348.8999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":348.8999996185303,"responseEnd":649.5,"responseStart":649.5,"secureConnectionStart":348.8999996185303},{"duration":304.40000009536743,"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":349.09999990463257,"connectEnd":349.09999990463257,"connectStart":349.09999990463257,"domainLookupEnd":349.09999990463257,"domainLookupStart":349.09999990463257,"fetchStart":349.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":349.09999990463257,"responseEnd":653.5,"responseStart":653.5,"secureConnectionStart":349.09999990463257},{"duration":304.7000002861023,"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":349.2999997138977,"connectEnd":349.2999997138977,"connectStart":349.2999997138977,"domainLookupEnd":349.2999997138977,"domainLookupStart":349.2999997138977,"fetchStart":349.2999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":349.2999997138977,"responseEnd":654,"responseStart":654,"secureConnectionStart":349.2999997138977},{"duration":304.7999997138977,"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":349.59999990463257,"connectEnd":349.59999990463257,"connectStart":349.59999990463257,"domainLookupEnd":349.59999990463257,"domainLookupStart":349.59999990463257,"fetchStart":349.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":349.59999990463257,"responseEnd":654.3999996185303,"responseStart":654.3999996185303,"secureConnectionStart":349.59999990463257},{"duration":390.7000002861023,"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":349.7999997138977,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":349.7999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":740.5,"responseStart":0,"secureConnectionStart":0},{"duration":304.90000009536743,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":349.8999996185303,"connectEnd":349.8999996185303,"connectStart":349.8999996185303,"domainLookupEnd":349.8999996185303,"domainLookupStart":349.8999996185303,"fetchStart":349.8999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":349.8999996185303,"responseEnd":654.7999997138977,"responseStart":654.7999997138977,"secureConnectionStart":349.8999996185303},{"duration":390.5,"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":350.09999990463257,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":350.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":740.5999999046326,"responseStart":0,"secureConnectionStart":0},{"duration":305.2000002861023,"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":350.2999997138977,"connectEnd":350.2999997138977,"connectStart":350.2999997138977,"domainLookupEnd":350.2999997138977,"domainLookupStart":350.2999997138977,"fetchStart":350.2999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":350.2999997138977,"responseEnd":655.5,"responseStart":655.5,"secureConnectionStart":350.2999997138977},{"duration":646.0999999046326,"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":351.09999990463257,"connectEnd":351.09999990463257,"connectStart":351.09999990463257,"domainLookupEnd":351.09999990463257,"domainLookupStart":351.09999990463257,"fetchStart":351.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":351.09999990463257,"responseEnd":997.1999998092651,"responseStart":997.1999998092651,"secureConnectionStart":351.09999990463257},{"duration":1180.3000001907349,"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":351.19999980926514,"connectEnd":351.19999980926514,"connectStart":351.19999980926514,"domainLookupEnd":351.19999980926514,"domainLookupStart":351.19999980926514,"fetchStart":351.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":351.19999980926514,"responseEnd":1531.5,"responseStart":1531.5,"secureConnectionStart":351.19999980926514},{"duration":264,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":754.0999999046326,"connectEnd":754.0999999046326,"connectStart":754.0999999046326,"domainLookupEnd":754.0999999046326,"domainLookupStart":754.0999999046326,"fetchStart":754.0999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":754.0999999046326,"responseEnd":1018.0999999046326,"responseStart":1018.0999999046326,"secureConnectionStart":754.0999999046326}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":184,"responseStart":342,"responseEnd":343,"domLoading":346,"domInteractive":1551,"domContentLoadedEventStart":1551,"domContentLoadedEventEnd":1593,"domComplete":1995,"loadEventStart":1995,"loadEventEnd":1996,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1533.2999997138977},{"name":"bigPipe.sidebar-id.end","time":1534.1999998092651},{"name":"bigPipe.activity-panel-pipe-id.start","time":1534.2999997138977},{"name":"bigPipe.activity-panel-pipe-id.end","time":1535.5},{"name":"activityTabFullyLoaded","time":1612}],"measures":[],"correlationId":"fb7160c59c776f","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":100,"dbReadsTimeInMs":12,"dbConnsTimeInMs":20,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
Same without 'set names UTF8'.
But I forgot to show the storage engine : MyISAM.
All DB converted to innoDB, and no problem with innoDB.