Type:
Bug
Priority:
Major
Resolution:
Unresolved
Affects Version/s:
10.1(EOL) , 10.2(EOL) , 10.3(EOL) , 10.4(EOL) , 10.5 , 10.6 , 10.7(EOL) , 10.8(EOL) , 10.9(EOL) , 10.10(EOL) , 11.1(EOL) , 11.3(EOL) , 11.4
Comments to this bug contain various observations, non-deterministic tests which could be no longer applicable, and so on.They are an optional read for whoever ends up fixing this bug, there is no need to check every test mentioned there, only the one here in the description; but I preserve them mainly to keep all the variety of stack traces searchable in JIRA. All attachments also relate to comments, not to the description.
10.4 0b8b11b0
mysqld: /data/src/10.4/sql/sql_cache.cc:1175: void Query_cache::end_of_result(THD*): Assertion `thd->get_stmt_da()->is_eof()' failed.
191204 17:25:26 [ERROR] mysqld got signal 6 ;
# 2019-12-04T17:25:40 [15637] #3 0x00007f38a5705f12 in __GI___assert_fail (assertion=0x55c90441007a "thd->get_stmt_da()->is_eof()", file=0x55c90440fbf0 "/data/src/10.4/sql/sql_cache.cc", line=1175, function=0x55c904412320 <Query_cache::end_of_result(THD*)::__PRETTY_FUNCTION__> "void Query_cache::end_of_result(THD*)") at assert.c:101
# 2019-12-04T17:25:40 [15637] #4 0x000055c9036a251b in Query_cache::end_of_result (this=0x55c9050ab260 <query_cache>, thd=0x7f3834000af0) at /data/src/10.4/sql/sql_cache.cc:1175
# 2019-12-04T17:25:40 [15637] #5 0x000055c903729696 in dispatch_command (command=COM_QUERY, thd=0x7f3834000af0, packet=0x7f3834008261 "", packet_length=40, is_com_multi=false, is_next_command=false) at /data/src/10.4/sql/sql_parse.cc:2435
# 2019-12-04T17:25:40 [15637] #6 0x000055c903725bb9 in do_command (thd=0x7f3834000af0) at /data/src/10.4/sql/sql_parse.cc:1360
# 2019-12-04T17:25:40 [15637] #7 0x000055c9038ae6a7 in do_handle_one_connection (connect=0x55c90800ced0) at /data/src/10.4/sql/sql_connect.cc:1412
# 2019-12-04T17:25:40 [15637] #8 0x000055c9038ae3f6 in handle_one_connection (arg=0x55c90800ced0) at /data/src/10.4/sql/sql_connect.cc:1316
# 2019-12-04T17:25:40 [15637] #9 0x00007f38a727b4a4 in start_thread (arg=0x7f38a41f3700) at pthread_create.c:456
# 2019-12-04T17:25:40 [15637] #10 0x00007f38a57c2d0f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97
Steps to reproduce
git clone https://github.com/MariaDB/randgen --branch mdev10826 rqg-mdev10826
cd rqg-mdev10826
perl ./runall-new.pl --basedir=<basedir> --grammar=./mdev10826.yy --duration=350 --threads=8 --seed=1 --mysqld=--query-cache-type=1 --skip-gendata --vardir=/dev/shm/vardir-mdev10826
Remember to set the right basedir in the command line above.
Make sure you use the RQG version as described above. There is no guarantee that another one will work the same way.
Reproducible on current 10.1-10.5. Couldn't reproduce on 5.5.
{"report":{"fcp":594.7999999523163,"ttfb":146.79999995231628,"pageVisibility":"visible","entityId":58123,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"3843dbea-90db-4386-bd32-be20e75205fb","navigationType":0,"readyForUser":739.6999998092651,"redirectCount":0,"resourceLoadedEnd":782.5,"resourceLoadedStart":151.5,"resourceTiming":[{"duration":5.799999952316284,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":151.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":151.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":157.29999995231628,"responseStart":0,"secureConnectionStart":0},{"duration":5.8999998569488525,"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":151.79999995231628,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":151.79999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":157.69999980926514,"responseStart":0,"secureConnectionStart":0},{"duration":59,"initiatorType":"script","name":"https://jira.mariadb.org/s/fbf975c0cce4b1abf04784eeae9ba1f4-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":151.89999985694885,"connectEnd":151.89999985694885,"connectStart":151.89999985694885,"domainLookupEnd":151.89999985694885,"domainLookupStart":151.89999985694885,"fetchStart":151.89999985694885,"redirectEnd":0,"redirectStart":0,"requestStart":151.89999985694885,"responseEnd":210.89999985694885,"responseStart":210.89999985694885,"secureConnectionStart":151.89999985694885},{"duration":137.20000004768372,"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":152.09999990463257,"connectEnd":152.09999990463257,"connectStart":152.09999990463257,"domainLookupEnd":152.09999990463257,"domainLookupStart":152.09999990463257,"fetchStart":152.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":152.09999990463257,"responseEnd":289.2999999523163,"responseStart":289.2999999523163,"secureConnectionStart":152.09999990463257},{"duration":140.60000014305115,"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":152.19999980926514,"connectEnd":152.19999980926514,"connectStart":152.19999980926514,"domainLookupEnd":152.19999980926514,"domainLookupStart":152.19999980926514,"fetchStart":152.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":152.19999980926514,"responseEnd":292.7999999523163,"responseStart":292.69999980926514,"secureConnectionStart":152.19999980926514},{"duration":141,"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":152.19999980926514,"connectEnd":152.19999980926514,"connectStart":152.19999980926514,"domainLookupEnd":152.19999980926514,"domainLookupStart":152.19999980926514,"fetchStart":152.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":152.19999980926514,"responseEnd":293.19999980926514,"responseStart":293.19999980926514,"secureConnectionStart":152.19999980926514},{"duration":141.29999995231628,"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":152.29999995231628,"connectEnd":152.29999995231628,"connectStart":152.29999995231628,"domainLookupEnd":152.29999995231628,"domainLookupStart":152.29999995231628,"fetchStart":152.29999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":152.29999995231628,"responseEnd":293.59999990463257,"responseStart":293.59999990463257,"secureConnectionStart":152.29999995231628},{"duration":141.79999995231628,"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":152.39999985694885,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":152.39999985694885,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":294.19999980926514,"responseStart":0,"secureConnectionStart":0},{"duration":141.79999995231628,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":152.5,"connectEnd":152.5,"connectStart":152.5,"domainLookupEnd":152.5,"domainLookupStart":152.5,"fetchStart":152.5,"redirectEnd":0,"redirectStart":0,"requestStart":152.5,"responseEnd":294.2999999523163,"responseStart":294.2999999523163,"secureConnectionStart":152.5},{"duration":142.09999990463257,"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":152.59999990463257,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":152.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":294.69999980926514,"responseStart":0,"secureConnectionStart":0},{"duration":142,"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":152.79999995231628,"connectEnd":152.79999995231628,"connectStart":152.79999995231628,"domainLookupEnd":152.79999995231628,"domainLookupStart":152.79999995231628,"fetchStart":152.79999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":152.79999995231628,"responseEnd":294.7999999523163,"responseStart":294.7999999523163,"secureConnectionStart":152.79999995231628},{"duration":382.90000009536743,"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":158.39999985694885,"connectEnd":158.39999985694885,"connectStart":158.39999985694885,"domainLookupEnd":158.39999985694885,"domainLookupStart":158.39999985694885,"fetchStart":158.39999985694885,"redirectEnd":0,"redirectStart":0,"requestStart":158.39999985694885,"responseEnd":541.2999999523163,"responseStart":541.2999999523163,"secureConnectionStart":158.39999985694885},{"duration":404.2000000476837,"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":158.39999985694885,"connectEnd":158.39999985694885,"connectStart":158.39999985694885,"domainLookupEnd":158.39999985694885,"domainLookupStart":158.39999985694885,"fetchStart":158.39999985694885,"redirectEnd":0,"redirectStart":0,"requestStart":158.39999985694885,"responseEnd":562.5999999046326,"responseStart":562.5999999046326,"secureConnectionStart":158.39999985694885},{"duration":135.79999995231628,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":421.2999999523163,"connectEnd":421.2999999523163,"connectStart":421.2999999523163,"domainLookupEnd":421.2999999523163,"domainLookupStart":421.2999999523163,"fetchStart":421.2999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":421.2999999523163,"responseEnd":557.0999999046326,"responseStart":557.0999999046326,"secureConnectionStart":421.2999999523163},{"duration":1.8000001907348633,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":588.1999998092651,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":588.1999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":590,"responseStart":0,"secureConnectionStart":0},{"duration":126.20000004768372,"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":656.2999999523163,"connectEnd":656.2999999523163,"connectStart":656.2999999523163,"domainLookupEnd":656.2999999523163,"domainLookupStart":656.2999999523163,"fetchStart":656.2999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":656.2999999523163,"responseEnd":782.5,"responseStart":782.5,"secureConnectionStart":656.2999999523163}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":7,"responseStart":147,"responseEnd":156,"domLoading":150,"domInteractive":807,"domContentLoadedEventStart":807,"domContentLoadedEventEnd":850,"domComplete":1455,"loadEventStart":1455,"loadEventEnd":1455,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":782},{"name":"bigPipe.sidebar-id.end","time":782.6999998092651},{"name":"bigPipe.activity-panel-pipe-id.start","time":782.8999998569489},{"name":"bigPipe.activity-panel-pipe-id.end","time":785.2999999523163},{"name":"activityTabFullyLoaded","time":861.5999999046326}],"measures":[],"correlationId":"c186ee8223de91","effectiveType":"4g","downlink":9.2,"rtt":0,"serverDuration":80,"dbReadsTimeInMs":17,"dbConnsTimeInMs":24,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}