The following statement by itself in a test file will crash the server:
select @@global.'m2'.replicate_ignore_table;
|
I narrowed down the crash to this commit that implemented MDEV-16244.
10.3 611488e3d9029f617884e10e47da208b0a77efec
|
Version: '10.3.7-MariaDB-debug-log' socket: '/dev/shm/10.3/mysql-test/var/tmp/mysqld.1.sock' port: 16000 Source distribution
|
mysqld: /mariadb/10.3/sql/sql_class.cc:2486: bool THD::check_string_for_wellformedness(const char *, size_t, CHARSET_INFO *) const: Assertion `charset_is_system_charset' failed.
|
190719 11:01:22 [ERROR] mysqld got signal 6 ;
|
…
|
#6 0x00007fab9bf3d102 in __GI___assert_fail (assertion=0x55ba5a069ce5 "charset_is_system_charset", file=0x55ba5a069629 "/mariadb/10.3/sql/sql_class.cc", line=2486, function=0x55ba5a069cff "bool THD::check_string_for_wellformedness(const char *, size_t, CHARSET_INFO *) const") at assert.c:101
|
#7 0x000055ba596ffdf6 in THD::check_string_for_wellformedness (this=0x7fab84000cf8, str=0x7fab84014180 "m2", length=2, cs=0x55ba5a89e480 <my_charset_utf8_general_ci>) at /mariadb/10.3/sql/sql_class.cc:2486
|
#8 0x000055ba5973b2a7 in Lex_ident_sys_st::copy_sys (this=0x7fab95ded800, thd=0x7fab84000cf8, src=0x7fab95dedb70) at /mariadb/10.3/sql/sql_lex.cc:7991
|
#9 0x000055ba598fd77b in MYSQLparse (thd=0x7fab84000cf8) at /mariadb/10.3/sql/sql_yacc.yy:15214
|
#10 0x000055ba5975a8c8 in parse_sql (thd=0x7fab84000cf8, parser_state=0x7fab95dee6a0, creation_ctx=0x0, do_pfs_digest=<optimized out>) at /mariadb/10.3/sql/sql_parse.cc:10031
|
#11 0x000055ba5974ae70 in mysql_parse (thd=0x7fab84000cf8, rawbuf=0x7fab840140a8 "select @@global.'m2'.replicate_ignore_table", length=<optimized out>, parser_state=0x7fab95dee6a0, is_com_multi=<optimized out>, is_next_command=<optimized out>) at /mariadb/10.3/sql/sql_parse.cc:7973
|
Note: this change narrowly missed the 10.3.7 release, even though the version string says 10.3.7.
This bug was accidentally found by merging the test multi_source.mdev-8874 from 10.2 to 10.3. That test will be disabled in 10.3+ until this bug has been fixed. Please remember to re-enable the test as part of fixing this.
- is caused by
-
MDEV-16244
sql_mode=ORACLE: Some keywords do not work in variable declarations
-
-
Closed
{"report":{"fcp":949.6000001430511,"ttfb":151.40000009536743,"pageVisibility":"visible","entityId":77649,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"2170ada2-0e15-48f4-bf99-4abdb395eb6d","navigationType":0,"readyForUser":1017.7999999523163,"redirectCount":0,"resourceLoadedEnd":1048.6000001430511,"resourceLoadedStart":157.90000009536743,"resourceTiming":[{"duration":225,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":157.90000009536743,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":157.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":382.90000009536743,"responseStart":0,"secureConnectionStart":0},{"duration":224.89999985694885,"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":158.10000014305115,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":158.10000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":383,"responseStart":0,"secureConnectionStart":0},{"duration":376.90000009536743,"initiatorType":"script","name":"https://jira.mariadb.org/s/fbf975c0cce4b1abf04784eeae9ba1f4-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":158.20000004768372,"connectEnd":158.20000004768372,"connectStart":158.20000004768372,"domainLookupEnd":158.20000004768372,"domainLookupStart":158.20000004768372,"fetchStart":158.20000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":158.20000004768372,"responseEnd":535.1000001430511,"responseStart":535.1000001430511,"secureConnectionStart":158.20000004768372},{"duration":434.10000014305115,"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":158.29999995231628,"connectEnd":158.29999995231628,"connectStart":158.29999995231628,"domainLookupEnd":158.29999995231628,"domainLookupStart":158.29999995231628,"fetchStart":158.29999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":158.29999995231628,"responseEnd":592.4000000953674,"responseStart":592.4000000953674,"secureConnectionStart":158.29999995231628},{"duration":438.09999990463257,"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":158.40000009536743,"connectEnd":158.40000009536743,"connectStart":158.40000009536743,"domainLookupEnd":158.40000009536743,"domainLookupStart":158.40000009536743,"fetchStart":158.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":158.40000009536743,"responseEnd":596.5,"responseStart":596.5,"secureConnectionStart":158.40000009536743},{"duration":439.7000000476837,"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":158.5,"connectEnd":158.5,"connectStart":158.5,"domainLookupEnd":158.5,"domainLookupStart":158.5,"fetchStart":158.5,"redirectEnd":0,"redirectStart":0,"requestStart":158.5,"responseEnd":598.2000000476837,"responseStart":598.2000000476837,"secureConnectionStart":158.5},{"duration":440.09999990463257,"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":158.60000014305115,"connectEnd":158.60000014305115,"connectStart":158.60000014305115,"domainLookupEnd":158.60000014305115,"domainLookupStart":158.60000014305115,"fetchStart":158.60000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":158.60000014305115,"responseEnd":598.7000000476837,"responseStart":598.7000000476837,"secureConnectionStart":158.60000014305115},{"duration":441.5,"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":158.70000004768372,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":158.70000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":600.2000000476837,"responseStart":0,"secureConnectionStart":0},{"duration":441.40000009536743,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":158.79999995231628,"connectEnd":158.79999995231628,"connectStart":158.79999995231628,"domainLookupEnd":158.79999995231628,"domainLookupStart":158.79999995231628,"fetchStart":158.79999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":158.79999995231628,"responseEnd":600.2000000476837,"responseStart":600.2000000476837,"secureConnectionStart":158.79999995231628},{"duration":442.7000000476837,"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":158.90000009536743,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":158.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":601.6000001430511,"responseStart":0,"secureConnectionStart":0},{"duration":442.7000000476837,"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":159,"connectEnd":159,"connectStart":159,"domainLookupEnd":159,"domainLookupStart":159,"fetchStart":159,"redirectEnd":0,"redirectStart":0,"requestStart":159,"responseEnd":601.7000000476837,"responseStart":601.7000000476837,"secureConnectionStart":159},{"duration":809.7999999523163,"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":164.20000004768372,"connectEnd":164.20000004768372,"connectStart":164.20000004768372,"domainLookupEnd":164.20000004768372,"domainLookupStart":164.20000004768372,"fetchStart":164.20000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":164.20000004768372,"responseEnd":974,"responseStart":974,"secureConnectionStart":164.20000004768372},{"duration":884.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":164.40000009536743,"connectEnd":164.40000009536743,"connectStart":164.40000009536743,"domainLookupEnd":164.40000009536743,"domainLookupStart":164.40000009536743,"fetchStart":164.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":164.40000009536743,"responseEnd":1048.6000001430511,"responseStart":1048.6000001430511,"secureConnectionStart":164.40000009536743},{"duration":297,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":748.4000000953674,"connectEnd":748.4000000953674,"connectStart":748.4000000953674,"domainLookupEnd":748.4000000953674,"domainLookupStart":748.4000000953674,"fetchStart":748.4000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":748.4000000953674,"responseEnd":1045.4000000953674,"responseStart":1045.4000000953674,"secureConnectionStart":748.4000000953674}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":29,"responseStart":151,"responseEnd":158,"domLoading":155,"domInteractive":1096,"domContentLoadedEventStart":1096,"domContentLoadedEventEnd":1135,"domComplete":2035,"loadEventStart":2035,"loadEventEnd":2036,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1078.7999999523163},{"name":"bigPipe.sidebar-id.end","time":1079.5},{"name":"bigPipe.activity-panel-pipe-id.start","time":1079.6000001430511},{"name":"bigPipe.activity-panel-pipe-id.end","time":1082},{"name":"activityTabFullyLoaded","time":1144.9000000953674}],"measures":[],"correlationId":"28c81419d5b5e2","effectiveType":"4g","downlink":9.1,"rtt":0,"serverDuration":72,"dbReadsTimeInMs":15,"dbConnsTimeInMs":22,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}