-
Bug
-
-
Major
-
Resolution:
Fixed
-
10.4(EOL), 10.5, 10.6, 10.7(EOL), 10.8(EOL)
-
-
-
-
Linux version 5.13.0-1-MANJARO (
builduser@LEGION) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) 2.36.1) #1 SMP PREEMPT Mon Jun 7 06:16:10 UTC 2021 x86_64
PoC:
CREATE TABLE v0 ( v1 BIGINT ( 67 ) NOT NULL ) ;
|
CREATE TABLE v2 ( v4 INT , v3 INT NOT NULL UNIQUE KEY CHECK ( -128 | ( str_to_date ( CHAR ( 33 ) , 'x' ) ) ) ) ;
|
DROP FUNCTION IF EXISTS v0 ;
|
INSERT INTO v0 SELECT DISTINCT * FROM v0 FULL JOIN v2 ON ( SELECT v0 . v1 ) ;
|
Crash Log:
Version: '10.7.0-MariaDB' socket: '/tmp/18.socket' port: 10018 Source distribution
|
210816 15:33:24 [ERROR] mysqld got signal 11 ;
|
This could be because you hit a bug. It is also possible that this binary
|
or one of the libraries it was linked against is corrupt, improperly built,
|
or misconfigured. This error can also be caused by malfunctioning hardware.
|
|
To report this bug, see https://mariadb.com/kb/en/reporting-bugs
|
|
We will try our best to scrape up some info that will hopefully help
|
diagnose the problem, but since we have already crashed,
|
something is definitely wrong and this may fail.
|
|
Server version: 10.7.0-MariaDB
|
key_buffer_size=134217728
|
read_buffer_size=131072
|
max_used_connections=1
|
max_threads=153
|
thread_count=1
|
It is possible that mysqld could use up to
|
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 467956 K bytes of memory
|
Hope that's ok; if not, decrease some variables in the equation.
|
|
Thread pointer: 0x62b0000bd218
|
Attempting backtrace. You can use the following information to find out
|
where mysqld died. If you see no messages after this, something went
|
terribly wrong...
|
stack_bottom = 0x7f722a3fd850 thread_stack 0x5fc00
|
sanitizer_common/sanitizer_common_interceptors.inc:4203(__interceptor_backtrace.part.0)[0x7f7249ca9c3e]
|
mysys/stacktrace.c:213(my_print_stacktrace)[0x55c05f113747]
|
sql/signal_handler.cc:222(handle_fatal_signal)[0x55c05e0db120]
|
sigaction.c:0(__restore_rt)[0x7f7249693870]
|
sql/item.cc:5561(Item_field::fix_outer_field(THD*, Field**, Item**))[0x55c05e168491]
|
sql/item.cc:5982(Item_field::fix_fields(THD*, Item**))[0x55c05e16b34c]
|
sql/item.h:1148(Item::fix_fields_if_needed_for_scalar(THD*, Item**))[0x55c05d80a2ed]
|
sql/sql_select.cc:1397(JOIN::prepare(TABLE_LIST*, Item*, unsigned int, st_order*, bool, st_order*, Item*, st_order*, st_select_lex*, st_select_lex_unit*))[0x55c05dac647c]
|
sql/item_subselect.cc:3903(subselect_single_select_engine::prepare(THD*))[0x55c05e3cf4f6]
|
sql/item_subselect.cc:295(Item_subselect::fix_fields(THD*, Item**))[0x55c05e3ccd05]
|
sql/item.h:1148(Item::fix_fields_if_needed_for_scalar(THD*, Item**))[0x55c05d810338]
|
sql/sql_base.cc:8454(setup_conds(THD*, TABLE_LIST*, List<TABLE_LIST>&, Item**))[0x55c05d810d40]
|
sql/sql_select.cc:833(JOIN::prepare(TABLE_LIST*, Item*, unsigned int, st_order*, bool, st_order*, Item*, st_order*, st_select_lex*, st_select_lex_unit*))[0x55c05dac6748]
|
sql/sql_select.cc:4967(mysql_select(THD*, TABLE_LIST*, List<Item>&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*))[0x55c05db0dcaa]
|
sql/sql_select.cc:545(handle_select(THD*, LEX*, select_result*, unsigned long))[0x55c05db0e655]
|
sql/sql_parse.cc:4718(mysql_execute_command(THD*, bool))[0x55c05d97d9c1]
|
sql/sql_parse.cc:8047(mysql_parse(THD*, char*, unsigned int, Parser_state*))[0x55c05d9805a1]
|
sql/sql_parse.cc:1898(dispatch_command(enum_server_command, THD*, char*, unsigned int, bool))[0x55c05d98660c]
|
sql/sql_parse.cc:1406(do_command(THD*, bool))[0x55c05d98b73d]
|
sql/sql_connect.cc:1418(do_handle_one_connection(CONNECT*, bool))[0x55c05dd46e57]
|
sql/sql_connect.cc:1312(handle_one_connection)[0x55c05dd4733d]
|
perfschema/pfs.cc:2204(pfs_spawn_thread)[0x55c05e7d7c2c]
|
pthread_create.c:0(start_thread)[0x7f7249689259]
|
:0(__GI___clone)[0x7f72492345e3]
|
|
Trying to get some variables.
|
Some pointers may be invalid and cause the dump to abort.
|
Query (0x629000087238): INSERT INTO v0 SELECT DISTINCT * FROM v0 FULL JOIN v2 ON ( SELECT v0 . v1 )
|
|
Connection ID (thread ID): 4
|
Status: NOT_KILLED
|
|
{"report":{"fcp":949.8000001907349,"ttfb":267.5,"pageVisibility":"visible","entityId":102079,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"741545ed-c211-4e3b-b4e9-8df3358af608","navigationType":0,"readyForUser":1040.6999998092651,"redirectCount":0,"resourceLoadedEnd":1412.8999996185303,"resourceLoadedStart":274.0999994277954,"resourceTiming":[{"duration":173.4000005722046,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":274.0999994277954,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":274.0999994277954,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":447.5,"responseStart":0,"secureConnectionStart":0},{"duration":173.4000005722046,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2cib/820016/12ta74/2bf333562ca6724060a9d5f1535471f6/_/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":274.3999996185303,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":274.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":447.80000019073486,"responseStart":0,"secureConnectionStart":0},{"duration":211,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":274.5999994277954,"connectEnd":274.5999994277954,"connectStart":274.5999994277954,"domainLookupEnd":274.5999994277954,"domainLookupStart":274.5999994277954,"fetchStart":274.5999994277954,"redirectEnd":0,"redirectStart":0,"requestStart":274.5999994277954,"responseEnd":485.5999994277954,"responseStart":485.5999994277954,"secureConnectionStart":274.5999994277954},{"duration":341.29999923706055,"initiatorType":"script","name":"https://jira.mariadb.org/s/2d8175ec2fa4c816e8023260bd8c1786-CDN/lu2cib/820016/12ta74/2bf333562ca6724060a9d5f1535471f6/_/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":274.80000019073486,"connectEnd":274.80000019073486,"connectStart":274.80000019073486,"domainLookupEnd":274.80000019073486,"domainLookupStart":274.80000019073486,"fetchStart":274.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":274.80000019073486,"responseEnd":616.0999994277954,"responseStart":616.0999994277954,"secureConnectionStart":274.80000019073486},{"duration":345.0999994277954,"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":275,"connectEnd":275,"connectStart":275,"domainLookupEnd":275,"domainLookupStart":275,"fetchStart":275,"redirectEnd":0,"redirectStart":0,"requestStart":275,"responseEnd":620.0999994277954,"responseStart":620.0999994277954,"secureConnectionStart":275},{"duration":345.5,"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":275.19999980926514,"connectEnd":275.19999980926514,"connectStart":275.19999980926514,"domainLookupEnd":275.19999980926514,"domainLookupStart":275.19999980926514,"fetchStart":275.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":275.19999980926514,"responseEnd":620.6999998092651,"responseStart":620.6999998092651,"secureConnectionStart":275.19999980926514},{"duration":345.69999980926514,"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":275.3999996185303,"connectEnd":275.3999996185303,"connectStart":275.3999996185303,"domainLookupEnd":275.3999996185303,"domainLookupStart":275.3999996185303,"fetchStart":275.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":275.3999996185303,"responseEnd":621.0999994277954,"responseStart":621.0999994277954,"secureConnectionStart":275.3999996185303},{"duration":357.20000076293945,"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":275.5999994277954,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":275.5999994277954,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":632.8000001907349,"responseStart":0,"secureConnectionStart":0},{"duration":345.79999923706055,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":275.80000019073486,"connectEnd":275.80000019073486,"connectStart":275.80000019073486,"domainLookupEnd":275.80000019073486,"domainLookupStart":275.80000019073486,"fetchStart":275.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":275.80000019073486,"responseEnd":621.5999994277954,"responseStart":621.5999994277954,"secureConnectionStart":275.80000019073486},{"duration":357,"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":275.8999996185303,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":275.8999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":632.8999996185303,"responseStart":0,"secureConnectionStart":0},{"duration":346,"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":276.0999994277954,"connectEnd":276.0999994277954,"connectStart":276.0999994277954,"domainLookupEnd":276.0999994277954,"domainLookupStart":276.0999994277954,"fetchStart":276.0999994277954,"redirectEnd":0,"redirectStart":0,"requestStart":276.0999994277954,"responseEnd":622.0999994277954,"responseStart":622.0999994277954,"secureConnectionStart":276.0999994277954},{"duration":1021,"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":277.0999994277954,"connectEnd":277.0999994277954,"connectStart":277.0999994277954,"domainLookupEnd":277.0999994277954,"domainLookupStart":277.0999994277954,"fetchStart":277.0999994277954,"redirectEnd":0,"redirectStart":0,"requestStart":277.0999994277954,"responseEnd":1298.0999994277954,"responseStart":1298.0999994277954,"secureConnectionStart":277.0999994277954},{"duration":1135.6999998092651,"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":277.19999980926514,"connectEnd":277.19999980926514,"connectStart":277.19999980926514,"domainLookupEnd":277.19999980926514,"domainLookupStart":277.19999980926514,"fetchStart":277.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":277.19999980926514,"responseEnd":1412.8999996185303,"responseStart":1412.8999996185303,"secureConnectionStart":277.19999980926514},{"duration":662,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":644.6999998092651,"connectEnd":644.6999998092651,"connectStart":644.6999998092651,"domainLookupEnd":644.6999998092651,"domainLookupStart":644.6999998092651,"fetchStart":644.6999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":644.6999998092651,"responseEnd":1306.6999998092651,"responseStart":1306.6999998092651,"secureConnectionStart":644.6999998092651},{"duration":488.30000019073486,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":941.0999994277954,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":941.0999994277954,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1429.3999996185303,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":86,"responseStart":267,"responseEnd":270,"domLoading":272,"domInteractive":1435,"domContentLoadedEventStart":1435,"domContentLoadedEventEnd":1478,"domComplete":2213,"loadEventStart":2213,"loadEventEnd":2215,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1418.5999994277954},{"name":"bigPipe.sidebar-id.end","time":1419.3000001907349},{"name":"bigPipe.activity-panel-pipe-id.start","time":1419.3999996185303},{"name":"bigPipe.activity-panel-pipe-id.end","time":1421.6999998092651},{"name":"activityTabFullyLoaded","time":1485.0999994277954}],"measures":[],"correlationId":"5bfa7200334fc4","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":113,"dbReadsTimeInMs":16,"dbConnsTimeInMs":25,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}