Type:
Bug
Priority:
Critical
Resolution:
Fixed
Affects Version/s:
10.2.38 , 10.3.29 , 10.4.19 , 10.5.10 , 10.6.0 , 10.6.6
origin/bb-10.6-MDEV-20605-cur-pos-fix ac48095d5ba1c408cdc77d095985b2f20e46c82f 2022-01-21T21:00:54+03:00
Per Vladislav his modifications for MDEV-20605 cannot be the reason for the bad effect.
[rr 2508867 1214435][rr 2508867 1214439]==2508867==ERROR: AddressSanitizer: heap-use-after-free on address 0x616004721520 at pc 0x55ac1b2df542 bp 0x2b8f042ec780 sp 0x2b8f042ec770
[rr 2508867 1214442][rr 2508867 1214444]READ of size 8 at 0x616004721520 thread T2
[rr 2508867 1214630]2022-01-31 17:21:11 40 [Warning] Aborted connection 40 to db: 'test' user: 'root' host: 'localhost' (This connection closed normally)
[rr 2508867 1220937] #0 0x55ac1b2df541 in btr_search_drop_page_hash_index(buf_block_t*) /data/Server/bb-10.6-MDEV-20605-cur-pos-fix/storage/innobase/btr/btr0sea.cc:1305
[rr 2508867 1220954] #1 0x55ac1b3505ec in buf_LRU_free_page(buf_page_t*, bool) /data/Server/bb-10.6-MDEV-20605-cur-pos-fix/storage/innobase/buf/buf0lru.cc:959
[rr 2508867 1220974] #2 0x55ac1b33a539 in buf_flush_discard_page /data/Server/bb-10.6-MDEV-20605-cur-pos-fix/storage/innobase/buf/buf0flu.cc:1222
[rr 2508867 1220986] #3 0x55ac1b33bf07 in buf_do_flush_list_batch /data/Server/bb-10.6-MDEV-20605-cur-pos-fix/storage/innobase/buf/buf0flu.cc:1427
[rr 2508867 1220988] #4 0x55ac1b33c964 in buf_flush_list /data/Server/bb-10.6-MDEV-20605-cur-pos-fix/storage/innobase/buf/buf0flu.cc:1511
[rr 2508867 1220990] #5 0x55ac1b342475 in buf_flush_page_cleaner /data/Server/bb-10.6-MDEV-20605-cur-pos-fix/storage/innobase/buf/buf0flu.cc:2320
[rr 2508867 1220992] #6 0x55ac1b348f83 in void std::__invoke_impl<void, void (*)()>(std::__invoke_other, void (*&&)()) (/data/Server_bin/bb-10.6-MDEV-20605-cur-pos-fix_asan/bin/mariadbd+0x2d79f83)
[rr 2508867 1220994] #7 0x55ac1b348ebf in std::__invoke_result<void (*)()>::type std::__invoke<void (*)()>(void (*&&)()) (/data/Server_bin/bb-10.6-MDEV-20605-cur-pos-fix_asan/bin/mariadbd+0x2d79ebf)
[rr 2508867 1221004] #8 0x55ac1b348de5 in void std::thread::_Invoker<std::tuple<void (*)()> >::_M_invoke<0ul>(std::_Index_tuple<0ul>) (/data/Server_bin/bb-10.6-MDEV-20605-cur-pos-fix_asan/bin/mariadbd+0x2d79de5)
[rr 2508867 1221006] #9 0x55ac1b348d66 in std::thread::_Invoker<std::tuple<void (*)()> >::operator()() (/data/Server_bin/bb-10.6-MDEV-20605-cur-pos-fix_asan/bin/mariadbd+0x2d79d66)
[rr 2508867 1221008] #10 0x55ac1b348ccb in std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (*)()> > >::_M_run() (/data/Server_bin/bb-10.6-MDEV-20605-cur-pos-fix_asan/bin/mariadbd+0x2d79ccb)
[rr 2508867 1221010] #11 0x7f797408dde3 (/lib/x86_64-linux-gnu/libstdc++.so.6+0xd6de3)
[rr 2508867 1221016] #12 0x17447d5c9608 in start_thread /build/glibc-eX1tMB/glibc-2.31/nptl/pthread_create.c:477
[rr 2508867 1221018] #13 0x7f7973ee5292 in __clone (/lib/x86_64-linux-gnu/libc.so.6+0x122292)
...
rr 2508867 1221774]SUMMARY: AddressSanitizer: heap-use-after-free /data/Server/bb-10.6-MDEV-20605-cur-pos-fix/storage/innobase/btr/btr0sea.cc:1305 in btr_search_drop_page_hash_index(buf_block_t*)
[rr 2508867 1222208]Shadow bytes around the buggy address:
0x0c2c808dc250: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
0x0c2c808dc260: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
0x0c2c808dc270: fd fd fd fd fd fd fd fd fd fd fa fa fa fa fa fa
0x0c2c808dc280: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c2c808dc290: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
=>0x0c2c808dc2a0: fd fd fd fd[fd]fd fd fd fd fd fd fd fd fd fd fd
0x0c2c808dc2b0: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
0x0c2c808dc2c0: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
0x0c2c808dc2d0: fd fd fd fd fd fd fd fd fd fd fa fa fa fa fa fa
0x0c2c808dc2e0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c2c808dc2f0: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
pluto:/data/results/1643649542/TBR-1001/dev/shm/rqg/1643649542/48/1/rr
RQG
====
# git clone https://github.com/mleich1/rqg --branch experimental RQG
#
# GIT_SHOW: HEAD -> experimental, origin/experimental 067340e8ec78c25880ccd2e67dd62ad134edc531 2022-01-31T17:10:39+01:00
# rqg.pl : Version 4.0.4 (2021-12)
#
# $RQG_HOME/rqg.pl \
# --grammar=conf/mariadb/table_stress_innodb_dml.yy \
# --gendata=conf/mariadb/table_stress.zz \
# --gendata_sql=conf/mariadb/table_stress.sql \
# --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 \
# --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 \
# --mysqld=--plugin-load-add=provider_lzo.so \
# --mysqld=--plugin-load-add=provider_bzip2.so \
# --mysqld=--plugin-load-add=provider_lzma \
# --mysqld=--plugin-load-add=provider_snappy \
# --mysqld=--plugin-load-add=provider_lz4 \
# --duration=300 \
# --mysqld=--loose-innodb_fatal_semaphore_wait_threshold=300 \
# --mysqld=--loose-innodb_read_only_compressed=OFF \
# --mysqld=--innodb_stats_persistent=off \
# --mysqld=--innodb_adaptive_hash_index=on \
# --mysqld=--log-bin \
# --mysqld=--sync-binlog=1 \
# --mysqld=--loose-innodb_evict_tables_on_commit_debug=off \
# --mysqld=--loose-max-statement-time=30 \
# --threads=9 \
# --mysqld=--innodb-use-native-aio=0 \
# --mysqld=--loose-gdb \
# --mysqld=--loose-debug-gdb \
# --rr=Extended \
# --rr_options=--chaos --wait \
# --mysqld=--innodb_rollback_on_timeout=OFF \
# --vardir_type=fast \
# --mysqld=--innodb_page_size=4K \
# --mysqld=--innodb-buffer-pool-size=5M \
# --no_mask \
# <local settings>
is caused by
MDEV-22456
Dropping the adaptive hash index may cause DDL to lock up InnoDB
Closed
MDEV-24863
InnoDB: Failing assertion: index == cursor->index in btr_search_update_hash_on_delete with innodb_evict_tables_on_commit_debug
Closed
relates to
MDEV-20203
InnoDB: Failing assertion: (block)->index || (block)->n_pointers == 0
Confirmed
MDEV-28462
AddressSanitizer: use-after-poison dict_index_t::get_n_nullable(unsigned long) const
Closed
mentioned in
Page Failed to load
Page Loading...
Page Loading...
Page Loading...
Page Loading...
Page Loading...
Page Loading...
Page Loading...
Page Loading...
Page Loading...
Page Loading...
Show 10 more links (10 mentioned in)
{"report":{"fcp":1000.4000000059605,"ttfb":310.7999999821186,"pageVisibility":"visible","entityId":107460,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"77e09a2c-6267-4b06-965b-9cfb0cdff6c9","navigationType":0,"readyForUser":1108.9000000059605,"redirectCount":0,"resourceLoadedEnd":1153.2999999821186,"resourceLoadedStart":315.2999999821186,"resourceTiming":[{"duration":122.40000000596046,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bv2/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":315.2999999821186,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":315.2999999821186,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":437.69999998807907,"responseStart":0,"secureConnectionStart":0},{"duration":122.40000000596046,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2bv2/820016/12ta74/2380add21a9a1006587582385952de73/_/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":315.59999999403954,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":315.59999999403954,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":438,"responseStart":0,"secureConnectionStart":0},{"duration":184.30000001192093,"initiatorType":"script","name":"https://jira.mariadb.org/s/e9b27a47da5fb0f74a35acd57e9847fb-CDN/lu2bv2/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":315.7999999821186,"connectEnd":315.7999999821186,"connectStart":315.7999999821186,"domainLookupEnd":315.7999999821186,"domainLookupStart":315.7999999821186,"fetchStart":315.7999999821186,"redirectEnd":0,"redirectStart":0,"requestStart":315.7999999821186,"responseEnd":500.09999999403954,"responseStart":500.09999999403954,"secureConnectionStart":315.7999999821186},{"duration":257.39999997615814,"initiatorType":"script","name":"https://jira.mariadb.org/s/c32eb0da7ad9831253f8397e6cc26afd-CDN/lu2bv2/820016/12ta74/2380add21a9a1006587582385952de73/_/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":315.90000000596046,"connectEnd":315.90000000596046,"connectStart":315.90000000596046,"domainLookupEnd":315.90000000596046,"domainLookupStart":315.90000000596046,"fetchStart":315.90000000596046,"redirectEnd":0,"redirectStart":0,"requestStart":315.90000000596046,"responseEnd":573.2999999821186,"responseStart":573.2999999821186,"secureConnectionStart":315.90000000596046},{"duration":260.69999998807907,"initiatorType":"script","name":"https://jira.mariadb.org/s/bc0bcb146314416123c992714ee00ff7-CDN/lu2bv2/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":316.09999999403954,"connectEnd":316.09999999403954,"connectStart":316.09999999403954,"domainLookupEnd":316.09999999403954,"domainLookupStart":316.09999999403954,"fetchStart":316.09999999403954,"redirectEnd":0,"redirectStart":0,"requestStart":316.09999999403954,"responseEnd":576.7999999821186,"responseStart":576.7999999821186,"secureConnectionStart":316.09999999403954},{"duration":261,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bv2/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":316.2999999821186,"connectEnd":316.2999999821186,"connectStart":316.2999999821186,"domainLookupEnd":316.2999999821186,"domainLookupStart":316.2999999821186,"fetchStart":316.2999999821186,"redirectEnd":0,"redirectStart":0,"requestStart":316.2999999821186,"responseEnd":577.2999999821186,"responseStart":577.2999999821186,"secureConnectionStart":316.2999999821186},{"duration":261,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bv2/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":316.5,"connectEnd":316.5,"connectStart":316.5,"domainLookupEnd":316.5,"domainLookupStart":316.5,"fetchStart":316.5,"redirectEnd":0,"redirectStart":0,"requestStart":316.5,"responseEnd":577.5,"responseStart":577.5,"secureConnectionStart":316.5},{"duration":324.59999999403954,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2bv2/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":316.69999998807907,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":316.69999998807907,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":641.2999999821186,"responseStart":0,"secureConnectionStart":0},{"duration":261.09999999403954,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":316.90000000596046,"connectEnd":316.90000000596046,"connectStart":316.90000000596046,"domainLookupEnd":316.90000000596046,"domainLookupStart":316.90000000596046,"fetchStart":316.90000000596046,"redirectEnd":0,"redirectStart":0,"requestStart":316.90000000596046,"responseEnd":578,"responseStart":578,"secureConnectionStart":316.90000000596046},{"duration":324.40000000596046,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2bv2/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":317,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":317,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":641.4000000059605,"responseStart":0,"secureConnectionStart":0},{"duration":261.40000000596046,"initiatorType":"script","name":"https://jira.mariadb.org/s/719848dd97ebe0663199f49a3936487a-CDN/lu2bv2/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":317.09999999403954,"connectEnd":317.09999999403954,"connectStart":317.09999999403954,"domainLookupEnd":317.09999999403954,"domainLookupStart":317.09999999403954,"fetchStart":317.09999999403954,"redirectEnd":0,"redirectStart":0,"requestStart":317.09999999403954,"responseEnd":578.5,"responseStart":578.5,"secureConnectionStart":317.09999999403954},{"duration":744.7000000178814,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bv2/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":323.7999999821186,"connectEnd":323.7999999821186,"connectStart":323.7999999821186,"domainLookupEnd":323.7999999821186,"domainLookupStart":323.7999999821186,"fetchStart":323.7999999821186,"redirectEnd":0,"redirectStart":0,"requestStart":323.7999999821186,"responseEnd":1068.5,"responseStart":1068.5,"secureConnectionStart":323.7999999821186},{"duration":745.4000000059605,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bv2/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":323.7999999821186,"connectEnd":323.7999999821186,"connectStart":323.7999999821186,"domainLookupEnd":323.7999999821186,"domainLookupStart":323.7999999821186,"fetchStart":323.7999999821186,"redirectEnd":0,"redirectStart":0,"requestStart":323.7999999821186,"responseEnd":1069.199999988079,"responseStart":1069.199999988079,"secureConnectionStart":323.7999999821186},{"duration":129.2999999821186,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":653,"connectEnd":653,"connectStart":653,"domainLookupEnd":653,"domainLookupStart":653,"fetchStart":653,"redirectEnd":0,"redirectStart":0,"requestStart":653,"responseEnd":782.2999999821186,"responseStart":782.2999999821186,"secureConnectionStart":653},{"duration":246.7999999821186,"initiatorType":"link","name":"https://jira.mariadb.org/s/d5715adaadd168a9002b108b2b039b50-CDN/lu2bv2/820016/12ta74/be4b45e9cec53099498fa61c8b7acba4/_/download/contextbatch/css/jira.project.sidebar,-_super,-project.issue.navigator,-jira.general,-jira.browse.project,-jira.view.issue,-jira.global,-atl.general,-com.atlassian.jira.projects.sidebar.init/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true","startTime":906.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":906.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1153.2999999821186,"responseStart":0,"secureConnectionStart":0},{"duration":235.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bv2/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":907.5,"connectEnd":907.5,"connectStart":907.5,"domainLookupEnd":907.5,"domainLookupStart":907.5,"fetchStart":907.5,"redirectEnd":0,"redirectStart":0,"requestStart":907.5,"responseEnd":1143,"responseStart":1143,"secureConnectionStart":907.5},{"duration":244.2000000178814,"initiatorType":"script","name":"https://jira.mariadb.org/s/53a43b6764f587426c7bb9a150184c00-CDN/lu2bv2/820016/12ta74/be4b45e9cec53099498fa61c8b7acba4/_/download/contextbatch/js/jira.project.sidebar,-_super,-project.issue.navigator,-jira.general,-jira.browse.project,-jira.view.issue,-jira.global,-atl.general,-com.atlassian.jira.projects.sidebar.init/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en&slack-enabled=true","startTime":907.7999999821186,"connectEnd":907.7999999821186,"connectStart":907.7999999821186,"domainLookupEnd":907.7999999821186,"domainLookupStart":907.7999999821186,"fetchStart":907.7999999821186,"redirectEnd":0,"redirectStart":0,"requestStart":907.7999999821186,"responseEnd":1152,"responseStart":1152,"secureConnectionStart":907.7999999821186},{"duration":170.5,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":994.2999999821186,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":994.2999999821186,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1164.7999999821186,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":113,"responseStart":311,"responseEnd":323,"domLoading":314,"domInteractive":1204,"domContentLoadedEventStart":1204,"domContentLoadedEventEnd":1265,"domComplete":2214,"loadEventStart":2214,"loadEventEnd":2216,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1175},{"name":"bigPipe.sidebar-id.end","time":1175.7999999821186},{"name":"bigPipe.activity-panel-pipe-id.start","time":1175.9000000059605},{"name":"bigPipe.activity-panel-pipe-id.end","time":1178.2999999821186},{"name":"activityTabFullyLoaded","time":1273.9000000059605}],"measures":[],"correlationId":"bd8c47720d8876","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":116,"dbReadsTimeInMs":19,"dbConnsTimeInMs":29,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}