Type:
Bug
Priority:
Major
Resolution:
Fixed
Affects Version/s:
10.1(EOL) , 10.2(EOL) , 10.3(EOL) , 10.4(EOL) , 10.5 , 10.6
SET max_session_mem_used = 50000;
help 'it is going to crash';
help 'it is going to crash';
help 'it is going to crash';
help 'it is going to crash';
help 'it is going to crash'; # Crashes
help 'it crashed';
Leads to:
10.5.3 98003440c2f8d20164a191ced1b7d92b283bb68f
mysqld: /test/10.5_dbg/sql/sql_error.cc:375: void Diagnostics_area::set_eof_status(THD*): Assertion `! is_set()' failed.
10.5.3 98003440c2f8d20164a191ced1b7d92b283bb68f
Core was generated by `/test/MD210420-mariadb-10.5.3-linux-x86_64-dbg/bin/mysqld --no-defaults --core-'.
Program terminated with signal SIGABRT, Aborted.
#0 __pthread_kill (threadid=<optimized out>, signo=signo@entry=6)
at ../sysdeps/unix/sysv/linux/pthread_kill.c:57
[Current thread is 1 (Thread 0x7f8234e7c700 (LWP 561173))]
(gdb) bt
#0 __pthread_kill (threadid=<optimized out>, signo=signo@entry=6) at ../sysdeps/unix/sysv/linux/pthread_kill.c:57
#1 0x000055c78332903d in my_write_core (sig=sig@entry=6) at /test/10.5_dbg/mysys/stacktrace.c:518
#2 0x000055c782aced7b in handle_fatal_signal (sig=6) at /test/10.5_dbg/sql/signal_handler.cc:329
#3 <signal handler called>
#4 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#5 0x00007f82335c0801 in __GI_abort () at abort.c:79
#6 0x00007f82335b039a in __assert_fail_base (fmt=0x7f82337377d8 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x55c7834972cd "! is_set()", file=file@entry=0x55c783497140 "/test/10.5_dbg/sql/sql_error.cc", line=line@entry=375, function=function@entry=0x55c783497c80 <Diagnostics_area::set_eof_status(THD*)::__PRETTY_FUNCTION__> "void Diagnostics_area::set_eof_status(THD*)") at assert.c:92
#7 0x00007f82335b0412 in __GI___assert_fail (assertion=assertion@entry=0x55c7834972cd "! is_set()", file=file@entry=0x55c783497140 "/test/10.5_dbg/sql/sql_error.cc", line=line@entry=375, function=function@entry=0x55c783497c80 <Diagnostics_area::set_eof_status(THD*)::__PRETTY_FUNCTION__> "void Diagnostics_area::set_eof_status(THD*)") at assert.c:101
#8 0x000055c7827da737 in Diagnostics_area::set_eof_status (this=0x7f820701ab88, thd=thd@entry=0x7f8207015088) at /test/10.5_dbg/sql/sql_error.cc:375
#9 0x000055c782c9bc95 in my_eof (thd=0x7f8207015088) at /test/10.5_dbg/sql/sql_class.h:5166
#10 mysqld_help_internal (thd=thd@entry=0x7f8207015088, mask=<optimized out>) at /test/10.5_dbg/sql/sql_help.cc:844
#11 0x000055c782c9c1bb in mysqld_help (thd=thd@entry=0x7f8207015088, mask=<optimized out>) at /test/10.5_dbg/sql/sql_help.cc:860
#12 0x000055c782824a58 in mysql_execute_command (thd=thd@entry=0x7f8207015088) at /test/10.5_dbg/sql/sql_parse.cc:3938
#13 0x000055c782831f2b in mysql_parse (thd=thd@entry=0x7f8207015088, rawbuf=<optimized out>, length=<optimized out>, parser_state=parser_state@entry=0x7f8234e7b450, is_com_multi=is_com_multi@entry=false, is_next_command=is_next_command@entry=false) at /test/10.5_dbg/sql/sql_parse.cc:7957
#14 0x000055c78281dc45 in dispatch_command (command=command@entry=COM_QUERY, thd=thd@entry=0x7f8207015088, packet=packet@entry=0x7f8207067089 "", packet_length=packet_length@entry=27, is_com_multi=is_com_multi@entry=false, is_next_command=is_next_command@entry=false) at /test/10.5_dbg/sql/sql_parse.cc:1839
#15 0x000055c78281c49b in do_command (thd=0x7f8207015088) at /test/10.5_dbg/sql/sql_parse.cc:1358
#16 0x000055c782977415 in do_handle_one_connection (connect=<optimized out>, connect@entry=0x7f8212fc53a8, put_in_cache=put_in_cache@entry=true) at /test/10.5_dbg/sql/sql_connect.cc:1422
#17 0x000055c782977744 in handle_one_connection (arg=arg@entry=0x7f8212fc53a8) at /test/10.5_dbg/sql/sql_connect.cc:1319
#18 0x000055c782dd7fb0 in pfs_spawn_thread (arg=0x7f8232845b08) at /test/10.5_dbg/storage/perfschema/pfs.cc:2201
#19 0x00007f82342a36db in start_thread (arg=0x7f8234e7c700) at pthread_create.c:463
#20 0x00007f82336a188f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Bug confirmed present in:
MariaDB: 10.1.45 (dbg), 10.2.32 (dbg), 10.3.23 (dbg), 10.4.13 (dbg), 10.5.2 (dbg), 10.5.3 (dbg)
Bug confirmed not present in:
MariaDB: 10.1.45 (opt), 10.2.32 (opt), 10.3.23 (opt), 10.4.13 (opt), 10.5.2 (opt), 10.5.3 (opt)
MySQL: 5.5.62 (dbg), 5.5.62 (opt), 5.6.47 (dbg), 5.6.47 (opt), 5.7.29 (dbg), 5.7.29 (opt), 8.0.19 (dbg), 8.0.19 (opt)
{"report":{"fcp":1940.5999994277954,"ttfb":710.2999992370605,"pageVisibility":"visible","entityId":86283,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"4f41e2aa-6113-4814-93be-b0b3b285e3cd","navigationType":0,"readyForUser":2036.2999992370605,"redirectCount":0,"resourceLoadedEnd":2397.699999809265,"resourceLoadedStart":717.5999994277954,"resourceTiming":[{"duration":614.3000001907349,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":717.5999994277954,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":717.5999994277954,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1331.8999996185303,"responseStart":0,"secureConnectionStart":0},{"duration":615,"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":717.8999996185303,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":717.8999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1332.8999996185303,"responseStart":0,"secureConnectionStart":0},{"duration":672.1000003814697,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":718.0999994277954,"connectEnd":718.0999994277954,"connectStart":718.0999994277954,"domainLookupEnd":718.0999994277954,"domainLookupStart":718.0999994277954,"fetchStart":718.0999994277954,"redirectEnd":0,"redirectStart":0,"requestStart":718.0999994277954,"responseEnd":1390.1999998092651,"responseStart":1390.1999998092651,"secureConnectionStart":718.0999994277954},{"duration":783.2000007629395,"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":718.2999992370605,"connectEnd":718.2999992370605,"connectStart":718.2999992370605,"domainLookupEnd":718.2999992370605,"domainLookupStart":718.2999992370605,"fetchStart":718.2999992370605,"redirectEnd":0,"redirectStart":0,"requestStart":718.2999992370605,"responseEnd":1501.5,"responseStart":1501.5,"secureConnectionStart":718.2999992370605},{"duration":786.8999996185303,"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":718.5,"connectEnd":718.5,"connectStart":718.5,"domainLookupEnd":718.5,"domainLookupStart":718.5,"fetchStart":718.5,"redirectEnd":0,"redirectStart":0,"requestStart":718.5,"responseEnd":1505.3999996185303,"responseStart":1505.3999996185303,"secureConnectionStart":718.5},{"duration":787.1999998092651,"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":718.6999998092651,"connectEnd":718.6999998092651,"connectStart":718.6999998092651,"domainLookupEnd":718.6999998092651,"domainLookupStart":718.6999998092651,"fetchStart":718.6999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":718.6999998092651,"responseEnd":1505.8999996185303,"responseStart":1505.8999996185303,"secureConnectionStart":718.6999998092651},{"duration":787.3999996185303,"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":718.8999996185303,"connectEnd":718.8999996185303,"connectStart":718.8999996185303,"domainLookupEnd":718.8999996185303,"domainLookupStart":718.8999996185303,"fetchStart":718.8999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":718.8999996185303,"responseEnd":1506.2999992370605,"responseStart":1506.2999992370605,"secureConnectionStart":718.8999996185303},{"duration":822.6000003814697,"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":719.0999994277954,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":719.0999994277954,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1541.6999998092651,"responseStart":0,"secureConnectionStart":0},{"duration":787.5,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":719.2999992370605,"connectEnd":719.2999992370605,"connectStart":719.2999992370605,"domainLookupEnd":719.2999992370605,"domainLookupStart":719.2999992370605,"fetchStart":719.2999992370605,"redirectEnd":0,"redirectStart":0,"requestStart":719.2999992370605,"responseEnd":1506.7999992370605,"responseStart":1506.7999992370605,"secureConnectionStart":719.2999992370605},{"duration":822.3999996185303,"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":719.3999996185303,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":719.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1541.7999992370605,"responseStart":0,"secureConnectionStart":0},{"duration":787.6999998092651,"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":719.5999994277954,"connectEnd":719.5999994277954,"connectStart":719.5999994277954,"domainLookupEnd":719.5999994277954,"domainLookupStart":719.5999994277954,"fetchStart":719.5999994277954,"redirectEnd":0,"redirectStart":0,"requestStart":719.5999994277954,"responseEnd":1507.2999992370605,"responseStart":1507.2999992370605,"secureConnectionStart":719.5999994277954},{"duration":1434.8000001907349,"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":728.2999992370605,"connectEnd":728.2999992370605,"connectStart":728.2999992370605,"domainLookupEnd":728.2999992370605,"domainLookupStart":728.2999992370605,"fetchStart":728.2999992370605,"redirectEnd":0,"redirectStart":0,"requestStart":728.2999992370605,"responseEnd":2163.0999994277954,"responseStart":2163.0999994277954,"secureConnectionStart":728.2999992370605},{"duration":1665.6000003814697,"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":732.0999994277954,"connectEnd":732.0999994277954,"connectStart":732.0999994277954,"domainLookupEnd":732.0999994277954,"domainLookupStart":732.0999994277954,"fetchStart":732.0999994277954,"redirectEnd":0,"redirectStart":0,"requestStart":732.0999994277954,"responseEnd":2397.699999809265,"responseStart":2397.699999809265,"secureConnectionStart":732.0999994277954},{"duration":610.6999998092651,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":1554,"connectEnd":1554,"connectStart":1554,"domainLookupEnd":1554,"domainLookupStart":1554,"fetchStart":1554,"redirectEnd":0,"redirectStart":0,"requestStart":1554,"responseEnd":2164.699999809265,"responseStart":2164.699999809265,"secureConnectionStart":1554},{"duration":515.0999994277954,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":1929,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1929,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":2444.0999994277954,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":543,"responseStart":710,"responseEnd":734,"domLoading":716,"domInteractive":2467,"domContentLoadedEventStart":2467,"domContentLoadedEventEnd":2511,"domComplete":4072,"loadEventStart":4072,"loadEventEnd":4074,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":2403},{"name":"bigPipe.sidebar-id.end","time":2403.7999992370605},{"name":"bigPipe.activity-panel-pipe-id.start","time":2404},{"name":"bigPipe.activity-panel-pipe-id.end","time":2424.699999809265},{"name":"activityTabFullyLoaded","time":2519}],"measures":[],"correlationId":"a01866ac475858","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":104,"dbReadsTimeInMs":18,"dbConnsTimeInMs":30,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}