Bad effect detected by [~elenst] and easy reproduced after hint of [~marko].
|
origin/10.6 3ab358f0f1c852c71a539bb2b18b3cf828cc0007 2021-11-04T10:22:06+01:00
|
|
In case something like
|
SELECT * FROM information_schema.innodb_sys_tablestats ;
|
gets frequent executed within some average test running a lot DDL
|
than the following might show up
|
|
# 2021-11-05T06:55:57 [1426338] | [rr 1428002 55483][rr 1428002 55487]==1428002==ERROR: AddressSanitizer: heap-use-after-free on address 0x618000078955 at pc 0x55df0e4f1f7a bp 0x7f882ec63b30 sp 0x7f882ec63b20
|
# 2021-11-05T06:55:57 [1426338] | [rr 1428002 55490][rr 1428002 55492]READ of size 1 at 0x618000078955 thread T30
|
# 2021-11-05T06:55:57 [1426338] | [rr 1428002 55996]2021-11-05 6:52:55 32 [Note] InnoDB: Online DDL : Start reading clustered index of the table and create temporary files
|
# 2021-11-05T06:55:57 [1426338] | [rr 1428002 61951] #0 0x55df0e4f1f79 in dict_sys_t::find(dict_table_t const*) /data/Server/10.6I/storage/innobase/include/dict0dict.h:1513
|
# 2021-11-05T06:55:57 [1426338] | [rr 1428002 61965] #1 0x55df0e4f2160 in dict_sys_t::allow_eviction(dict_table_t*) (/data/Server_bin/10.6I_asan/bin/mariadbd+0x28e3160)
|
# 2021-11-05T06:55:57 [1426338] | [rr 1428002 61975] #2 0x55df0e4d0eef in i_s_sys_tables_fill_table_stats /data/Server/10.6I/storage/innobase/handler/i_s.cc:5129
|
# 2021-11-05T06:55:57 [1426338] | [rr 1428002 61993] #3 0x55df0d4d1d99 in get_schema_tables_result(JOIN*, enum_schema_table_state) /data/Server/10.6I/sql/sql_show.cc:8842
|
# 2021-11-05T06:55:57 [1426338] | [rr 1428002 62032] #4 0x55df0d3b25e0 in JOIN::exec_inner() /data/Server/10.6I/sql/sql_select.cc:4694
|
# 2021-11-05T06:55:57 [1426338] | [rr 1428002 62034] #5 0x55df0d3b05c5 in JOIN::exec() /data/Server/10.6I/sql/sql_select.cc:4515
|
# 2021-11-05T06:55:57 [1426338] | [rr 1428002 62042] #6 0x55df0d3b41c6 in 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*) /data/Server/10.6I/sql/sql_select.cc:4994
|
# 2021-11-05T06:55:57 [1426338] | [rr 1428002 62044] #7 0x55df0d38928e in handle_select(THD*, LEX*, select_result*, unsigned long) /data/Server/10.6I/sql/sql_select.cc:545
|
# 2021-11-05T06:55:57 [1426338] | [rr 1428002 62078] #8 0x55df0d303e25 in execute_sqlcom_select /data/Server/10.6I/sql/sql_parse.cc:6256
|
# 2021-11-05T06:55:57 [1426338] | [rr 1428002 62080] #9 0x55df0d2f2b38 in mysql_execute_command(THD*, bool) /data/Server/10.6I/sql/sql_parse.cc:3946
|
# 2021-11-05T06:55:57 [1426338] | [rr 1428002 62082] #10 0x55df0d30de8b in mysql_parse(THD*, char*, unsigned int, Parser_state*) /data/Server/10.6I/sql/sql_parse.cc:8030
|
# 2021-11-05T06:55:57 [1426338] | [rr 1428002 62084] #11 0x55df0d2e6108 in dispatch_command(enum_server_command, THD*, char*, unsigned int, bool) /data/Server/10.6I/sql/sql_parse.cc:1896
|
# 2021-11-05T06:55:57 [1426338] | [rr 1428002 62086] #12 0x55df0d2e34e0 in do_command(THD*, bool) /data/Server/10.6I/sql/sql_parse.cc:1404
|
# 2021-11-05T06:55:57 [1426338] | [rr 1428002 62092] #13 0x55df0d6e2f32 in do_handle_one_connection(CONNECT*, bool) /data/Server/10.6I/sql/sql_connect.cc:1418
|
# 2021-11-05T06:55:57 [1426338] | [rr 1428002 62102] #14 0x55df0d6e27c3 in handle_one_connection /data/Server/10.6I/sql/sql_connect.cc:1312
|
# 2021-11-05T06:55:57 [1426338] | [rr 1428002 62110] #15 0x7f8863a0f608 in start_thread /build/glibc-eX1tMB/glibc-2.31/nptl/pthread_create.c:477
|
# 2021-11-05T06:55:57 [1426338] | [rr 1428002 62112] #16 0x7f88635e2292 in __clone (/lib/x86_64-linux-gnu/libc.so.6+0x122292)
|
....
|
# 2021-11-05T06:55:57 [1426338] | [rr 1428002 62554]SUMMARY: AddressSanitizer: heap-use-after-free /data/Server/10.6I/storage/innobase/include/dict0dict.h:1513 in dict_sys_t::find(dict_table_t const*)
|
# 2021-11-05T06:55:57 [1426338] | Query (0x62b000214238): SELECT * FROM information_schema.innodb_sys_tablestats
|
# 2021-11-05T06:55:57 [1426338] | [rr 1428002 78184]
|
# 2021-11-05T06:55:57 [1426338] | Connection ID (thread ID): 33
|
# 2021-11-05T06:55:57 [1426338] | [rr 1428002 78186]Status: KILL_TIMEOUT
|
|
sdp:/data/Results/1636120301/TBR-1218/dev/shm/vardir/1636120301/56/1/rr
|
|
RQG
|
-------
|
# git clone https://github.com/mleich1/rqg --branch experimental RQG
|
#
|
# GIT_SHOW: HEAD -> experimental, origin/experimental fe8ba343b097bcb54fe31445e5d5699546b53e66 2021-11-03T20:19:53+01:00
|
# rqg.pl : Version 3.4 (2021-09)
|
#
|
# $RQG_HOME/rqg.pl \
|
# --grammar=conf/runtime/alter_online.yy \
|
# --gendata=conf/runtime/alter_online.zz \
|
# --mysqld=--loose-innodb_lock_schedule_algorithm=fcfs \
|
# --mysqld=--loose-idle_write_transaction_timeout=0 \
|
# --mysqld=--loose-idle_transaction_timeout=0 \
|
# --mysqld=--loose-idle_readonly_transaction_timeout=0 \
|
# --mysqld=--connect_timeout=60 \
|
# --mysqld=--interactive_timeout=28800 \
|
# --mysqld=--slave_net_timeout=60 \
|
# --mysqld=--net_read_timeout=30 \
|
# --mysqld=--net_write_timeout=60 \
|
# --mysqld=--loose-table_lock_wait_timeout=50 \
|
# --mysqld=--wait_timeout=28800 \
|
# --mysqld=--lock-wait-timeout=86400 \
|
# --mysqld=--innodb-lock-wait-timeout=50 \
|
# --no-mask \
|
# --queries=10000000 \
|
# --redefine=ElenaMarko.yy \
|
# --seed=random \
|
# --reporters=Backtrace \
|
# --reporters=ErrorLog \
|
# --reporters=Deadlock1 \
|
# --validators=None \
|
# --mysqld=--log_output=none \
|
# --mysqld=--log_bin_trust_function_creators=1 \
|
# --mysqld=--loose-debug_assert_on_not_freed_memory=0 \
|
# --engine=InnoDB \
|
# --restart_timeout=240 \
|
# --mysqld=--plugin-load-add=file_key_management.so \
|
# --mysqld=--loose-file-key-management-filename=$RQG_HOME/conf/mariadb/encryption_keys.txt \
|
# --duration=300 \
|
# --mysqld=--loose-innodb_fatal_semaphore_wait_threshold=300 \
|
# --mysqld=--loose-innodb_read_only_compressed=OFF \
|
# --mysqld=--loose-innodb-sync-debug \
|
# --mysqld=--innodb_stats_persistent=off \
|
# --mysqld=--innodb_adaptive_hash_index=on \
|
# --mysqld=--loose-innodb_evict_tables_on_commit_debug=off \
|
# --mysqld=--loose-max-statement-time=30 \
|
# --threads=33 \
|
# --mysqld=--innodb-use-native-aio=0 \
|
# --rr=Extended \
|
# --rr_options=--wait \
|
# --mysqld=--innodb_undo_tablespaces=3 \
|
# --mysqld=--innodb_undo_log_truncate=ON \
|
# --mysqld=--innodb_page_size=8K \
|
# --mysqld=--innodb-buffer-pool-size=256M \
|
# --no_mask \
|
# <certain local settings>
|
|
ElenaMarko.yy contains
|
query_add:
|
SELECT * FROM information_schema.innodb_sys_tablestats ;
|
|
{"report":{"fcp":771.3000001907349,"ttfb":153.80000019073486,"pageVisibility":"visible","entityId":104671,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"820ce319-f06f-4262-8781-ce56353d7509","navigationType":0,"readyForUser":863.8000001907349,"redirectCount":0,"resourceLoadedEnd":470.30000019073486,"resourceLoadedStart":159.60000038146973,"resourceTiming":[{"duration":146.39999961853027,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":159.60000038146973,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":159.60000038146973,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":306,"responseStart":0,"secureConnectionStart":0},{"duration":146.40000009536743,"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":159.90000009536743,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":159.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":306.30000019073486,"responseStart":0,"secureConnectionStart":0},{"duration":155.2999997138977,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":160.10000038146973,"connectEnd":160.10000038146973,"connectStart":160.10000038146973,"domainLookupEnd":160.10000038146973,"domainLookupStart":160.10000038146973,"fetchStart":160.10000038146973,"redirectEnd":0,"redirectStart":0,"requestStart":160.10000038146973,"responseEnd":315.40000009536743,"responseStart":315.40000009536743,"secureConnectionStart":160.10000038146973},{"duration":181.09999990463257,"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":160.30000019073486,"connectEnd":160.30000019073486,"connectStart":160.30000019073486,"domainLookupEnd":160.30000019073486,"domainLookupStart":160.30000019073486,"fetchStart":160.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":160.30000019073486,"responseEnd":341.40000009536743,"responseStart":341.40000009536743,"secureConnectionStart":160.30000019073486},{"duration":185.10000038146973,"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":160.5,"connectEnd":160.5,"connectStart":160.5,"domainLookupEnd":160.5,"domainLookupStart":160.5,"fetchStart":160.5,"redirectEnd":0,"redirectStart":0,"requestStart":160.5,"responseEnd":345.6000003814697,"responseStart":345.6000003814697,"secureConnectionStart":160.5},{"duration":185.40000009536743,"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":160.7000002861023,"connectEnd":160.7000002861023,"connectStart":160.7000002861023,"domainLookupEnd":160.7000002861023,"domainLookupStart":160.7000002861023,"fetchStart":160.7000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":160.7000002861023,"responseEnd":346.1000003814697,"responseStart":346.1000003814697,"secureConnectionStart":160.7000002861023},{"duration":185.59999990463257,"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":160.90000009536743,"connectEnd":160.90000009536743,"connectStart":160.90000009536743,"domainLookupEnd":160.90000009536743,"domainLookupStart":160.90000009536743,"fetchStart":160.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":160.90000009536743,"responseEnd":346.5,"responseStart":346.5,"secureConnectionStart":160.90000009536743},{"duration":186.5,"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":161.10000038146973,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":161.10000038146973,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":347.6000003814697,"responseStart":0,"secureConnectionStart":0},{"duration":185.7999997138977,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":161.2000002861023,"connectEnd":161.2000002861023,"connectStart":161.2000002861023,"domainLookupEnd":161.2000002861023,"domainLookupStart":161.2000002861023,"fetchStart":161.2000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":161.2000002861023,"responseEnd":347,"responseStart":347,"secureConnectionStart":161.2000002861023},{"duration":186.30000019073486,"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":161.40000009536743,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":161.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":347.7000002861023,"responseStart":0,"secureConnectionStart":0},{"duration":186.10000038146973,"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":161.5,"connectEnd":161.5,"connectStart":161.5,"domainLookupEnd":161.5,"domainLookupStart":161.5,"fetchStart":161.5,"redirectEnd":0,"redirectStart":0,"requestStart":161.5,"responseEnd":347.6000003814697,"responseStart":347.6000003814697,"secureConnectionStart":161.5},{"duration":192.7000002861023,"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":162.40000009536743,"connectEnd":162.40000009536743,"connectStart":162.40000009536743,"domainLookupEnd":162.40000009536743,"domainLookupStart":162.40000009536743,"fetchStart":162.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":162.40000009536743,"responseEnd":355.1000003814697,"responseStart":355.1000003814697,"secureConnectionStart":162.40000009536743},{"duration":307.80000019073486,"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":162.5,"connectEnd":162.5,"connectStart":162.5,"domainLookupEnd":162.5,"domainLookupStart":162.5,"fetchStart":162.5,"redirectEnd":0,"redirectStart":0,"requestStart":162.5,"responseEnd":470.30000019073486,"responseStart":470.30000019073486,"secureConnectionStart":162.5},{"duration":216.90000009536743,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":550.3000001907349,"connectEnd":550.3000001907349,"connectStart":550.3000001907349,"domainLookupEnd":550.3000001907349,"domainLookupStart":550.3000001907349,"fetchStart":550.3000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":550.3000001907349,"responseEnd":767.2000002861023,"responseStart":767.2000002861023,"secureConnectionStart":550.3000001907349},{"duration":163.10000038146973,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":765,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":765,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":928.1000003814697,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":3,"responseStart":154,"responseEnd":155,"domLoading":157,"domInteractive":930,"domContentLoadedEventStart":930,"domContentLoadedEventEnd":979,"domComplete":1228,"loadEventStart":1228,"loadEventEnd":1230,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":911.3000001907349},{"name":"bigPipe.sidebar-id.end","time":912},{"name":"bigPipe.activity-panel-pipe-id.start","time":912.2000002861023},{"name":"bigPipe.activity-panel-pipe-id.end","time":914.6000003814697},{"name":"activityTabFullyLoaded","time":991.6000003814697}],"measures":[],"correlationId":"2a438b547b00b3","effectiveType":"4g","downlink":9.5,"rtt":0,"serverDuration":81,"dbReadsTimeInMs":8,"dbConnsTimeInMs":15,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}