Type:
Bug
Priority:
Critical
Resolution:
Duplicate
Affects Version/s:
N/A
I saw the following stack during testing of MDEV-31949 on a debug build:
bb-10.6-MDEV-31949 3455be1b4a925f43a1e7170029abf3304122409f (Debug)
Core was generated by `/test/PATCH3_MD031023-mariadb-10.6.16-linux-x86_64-dbg/bin/mariadbd --no-defaul'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x000014953eba0ed0 in __memmove_avx_unaligned_erms ()
at ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:866
[Current thread is 1 (LWP 177135)]
(gdb) bt
#0 0x000014953eba0ed0 in __memmove_avx_unaligned_erms () at ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:866
#1 0x000055d5c8977dfc in memcpy (__len=<optimized out>, __src=<optimized out>, __dest=0x149528751238) at /usr/include/x86_64-linux-gnu/bits/string_fortified.h:29
#2 xid_t::set (xid=<optimized out>, this=0x149528751238) at /test/bb-10.6-MDEV-31949_PATCH3_dbg/sql/handler.h:896
#3 Gtid_log_event::Gtid_log_event (this=this@entry=0x1495287511b0, thd_arg=thd_arg@entry=0x1494dc000d58, seq_no_arg=seq_no_arg@entry=271, domain_id_arg=domain_id_arg@entry=0, standalone=standalone@entry=false, flags_arg=flags_arg@entry=8, is_transactional=true, commit_id_arg=0, has_xid=false, ro_1pc=false) at /test/bb-10.6-MDEV-31949_PATCH3_dbg/sql/log_event_server.cc:3333
#4 0x000055d5c8944175 in MYSQL_BIN_LOG::write_gtid_event (this=0x55d5c9aa3440 <mysql_bin_log>, thd=0x1494dc000d58, standalone=<optimized out>, is_transactional=<optimized out>, commit_id=0, has_xid=<optimized out>, is_ro_1pc=143) at /test/bb-10.6-MDEV-31949_PATCH3_dbg/sql/log.cc:6451
#5 0x8f8f8f8f8f8f8f8f in ?? ()
#6 0x8f8f8f8f8f8f8f8f in ?? ()
#7 0x8f8f8f8f8f8f8f8f in ?? ()
#8 0x8f8f8f8f8f8f8f8f in ?? ()
#9 0x8f8f8f8f8f8f8f8f in ?? ()
#10 0x8f8f8f8f8f8f8f8f in ?? ()
#11 0x8f8f8f8f8f8f8f8f in ?? ()
#12 0x8f8f8f8f8f8f8f8f in ?? ()
#13 0x8f8f8f8f8f8f8f8f in ?? ()
#14 0x8f8f8f8f8f8f8f8f in ?? ()
#15 0x8f8f8f8f8f8f8f8f in ?? ()
#16 0x8f8f8f8f8f8f8f8f in ?? ()
#17 0x8f8f8f8f8f8f8f8f in ?? ()
#18 0x8f8f8f8f8f8f8f8f in ?? ()
#19 0x8f8f8f8f8f8f8f8f in ?? ()
#20 0x8f8f8f8f8f8f8f8f in ?? ()
#21 0x8f8f8f8f8f8f8f8f in ?? ()
#22 0x8f8f8f8f8f8f8f8f in ?? ()
#23 0x8f8f8f8f8f8f8f8f in ?? ()
#24 0x8f8f8f8f8f8f8f8f in ?? ()
#25 0x8f8f8f8f8f8f8f8f in ?? ()
#26 0x8f8f8f8f8f8f8f8f in ?? ()
#27 0x8f8f8f8f8f8f8f8f in ?? ()
#28 0x8f8f8f8f8f8f8f8f in ?? ()
#29 0x8f8f8f8f8f8f8f8f in ?? ()
#30 0x8f8f8f8f8f8f8f8f in ?? ()
#31 0x8f8f8f8f8f8f8f8f in ?? ()
#32 0x8f8f8f8f8f8f8f8f in ?? ()
#33 0x8f8f8f8f8f8f8f8f in ?? ()
#34 0x8f8f8f8f8f8f8f8f in ?? ()
#35 0x8f8f8f8f8f8f8f8f in ?? ()
#36 0x8f8f8f8f8f8f8f8f in ?? ()
#37 0x8f8f8f8f8f8f8f8f in ?? ()
#38 0x8f8f8f8f8f8f8f8f in ?? ()
#39 0x8f8f8f8f8f8f8f8f in ?? ()
#40 0x8f8f8f8f8f8f8f8f in ?? ()
#41 0x8f8f8f8f8f8f8f8f in ?? ()
#42 0x8f8f8f8f8f8f8f8f in ?? ()
#43 0x8f8f8f8f8f8f8f8f in ?? ()
#44 0x8f8f8f8f8f8f8f8f in ?? ()
#45 0x8f8f8f8f8f8f8f8f in ?? ()
#46 0x0000000000000105 in ?? ()
#47 0x0000000000000000 in ?? ()
Replication was not enabled, binary logging was. All attempts at testcase reduction have failed. The issue was observed a number of times in various bb-10.6-MDEV-31949 tests, but was never seen in BASE. It is likely caused by MDEV-31949 .
{"report":{"fcp":993.5,"ttfb":252.70000076293945,"pageVisibility":"visible","entityId":125775,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"e6f794d7-ade1-4864-b094-097ced804d13","navigationType":0,"readyForUser":1087.7000007629395,"redirectCount":0,"resourceLoadedEnd":905.5,"resourceLoadedStart":258.30000019073486,"resourceTiming":[{"duration":179.60000038146973,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":258.30000019073486,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":258.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":437.9000005722046,"responseStart":0,"secureConnectionStart":0},{"duration":179.60000038146973,"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":258.6000003814697,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":258.6000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":438.20000076293945,"responseStart":0,"secureConnectionStart":0},{"duration":231.60000038146973,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":258.80000019073486,"connectEnd":258.80000019073486,"connectStart":258.80000019073486,"domainLookupEnd":258.80000019073486,"domainLookupStart":258.80000019073486,"fetchStart":258.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":258.80000019073486,"responseEnd":490.4000005722046,"responseStart":490.4000005722046,"secureConnectionStart":258.80000019073486},{"duration":291.1000003814697,"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":259,"connectEnd":259,"connectStart":259,"domainLookupEnd":259,"domainLookupStart":259,"fetchStart":259,"redirectEnd":0,"redirectStart":0,"requestStart":259,"responseEnd":550.1000003814697,"responseStart":550.1000003814697,"secureConnectionStart":259},{"duration":294.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":259.20000076293945,"connectEnd":259.20000076293945,"connectStart":259.20000076293945,"domainLookupEnd":259.20000076293945,"domainLookupStart":259.20000076293945,"fetchStart":259.20000076293945,"redirectEnd":0,"redirectStart":0,"requestStart":259.20000076293945,"responseEnd":554.1000003814697,"responseStart":554.1000003814697,"secureConnectionStart":259.20000076293945},{"duration":295.30000019073486,"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":259.30000019073486,"connectEnd":259.30000019073486,"connectStart":259.30000019073486,"domainLookupEnd":259.30000019073486,"domainLookupStart":259.30000019073486,"fetchStart":259.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":259.30000019073486,"responseEnd":554.6000003814697,"responseStart":554.5,"secureConnectionStart":259.30000019073486},{"duration":295.30000019073486,"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":259.5,"connectEnd":259.5,"connectStart":259.5,"domainLookupEnd":259.5,"domainLookupStart":259.5,"fetchStart":259.5,"redirectEnd":0,"redirectStart":0,"requestStart":259.5,"responseEnd":554.8000001907349,"responseStart":554.8000001907349,"secureConnectionStart":259.5},{"duration":375.0999994277954,"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":259.70000076293945,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":259.70000076293945,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":634.8000001907349,"responseStart":0,"secureConnectionStart":0},{"duration":295.3999996185303,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":259.9000005722046,"connectEnd":259.9000005722046,"connectStart":259.9000005722046,"domainLookupEnd":259.9000005722046,"domainLookupStart":259.9000005722046,"fetchStart":259.9000005722046,"redirectEnd":0,"redirectStart":0,"requestStart":259.9000005722046,"responseEnd":555.3000001907349,"responseStart":555.3000001907349,"secureConnectionStart":259.9000005722046},{"duration":375,"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":260,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":260,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":635,"responseStart":0,"secureConnectionStart":0},{"duration":295.69999980926514,"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":260.20000076293945,"connectEnd":260.20000076293945,"connectStart":260.20000076293945,"domainLookupEnd":260.20000076293945,"domainLookupStart":260.20000076293945,"fetchStart":260.20000076293945,"redirectEnd":0,"redirectStart":0,"requestStart":260.20000076293945,"responseEnd":555.9000005722046,"responseStart":555.9000005722046,"secureConnectionStart":260.20000076293945},{"duration":410,"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":261.30000019073486,"connectEnd":261.30000019073486,"connectStart":261.30000019073486,"domainLookupEnd":261.30000019073486,"domainLookupStart":261.30000019073486,"fetchStart":261.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":261.30000019073486,"responseEnd":671.3000001907349,"responseStart":671.3000001907349,"secureConnectionStart":261.30000019073486},{"duration":424.19999980926514,"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":265.6000003814697,"connectEnd":265.6000003814697,"connectStart":265.6000003814697,"domainLookupEnd":265.6000003814697,"domainLookupStart":265.6000003814697,"fetchStart":265.6000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":265.6000003814697,"responseEnd":689.8000001907349,"responseStart":689.8000001907349,"secureConnectionStart":265.6000003814697},{"duration":26.59999942779541,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":662.4000005722046,"connectEnd":662.4000005722046,"connectStart":662.4000005722046,"domainLookupEnd":662.4000005722046,"domainLookupStart":662.4000005722046,"fetchStart":662.4000005722046,"redirectEnd":0,"redirectStart":0,"requestStart":662.4000005722046,"responseEnd":689,"responseStart":688.9000005722046,"secureConnectionStart":662.4000005722046},{"duration":212.60000038146973,"initiatorType":"link","name":"https://jira.mariadb.org/s/d5715adaadd168a9002b108b2b039b50-CDN/lu2cib/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&whisper-enabled=true","startTime":692.6000003814697,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":692.6000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":905.2000007629395,"responseStart":0,"secureConnectionStart":0},{"duration":212.39999961853027,"initiatorType":"link","name":"https://jira.mariadb.org/s/50bc9be5bfead1a25e72c1a9338c94f6-CDN/lu2cib/820016/12ta74/e108c7645258ccb43280ed3404e3e949/_/download/contextbatch/css/com.atlassian.jira.plugins.jira-development-integration-plugin:0,-_super,-jira.view.issue,-jira.global,-jira.general,-jira.browse.project,-project.issue.navigator,-atl.general/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true&whisper-enabled=true","startTime":693.1000003814697,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":693.1000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":905.5,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":89,"responseStart":253,"responseEnd":257,"domLoading":256,"domInteractive":1148,"domContentLoadedEventStart":1148,"domContentLoadedEventEnd":1193,"domComplete":1688,"loadEventStart":1688,"loadEventEnd":1688,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1129.3000001907349},{"name":"bigPipe.sidebar-id.end","time":1130.1000003814697},{"name":"bigPipe.activity-panel-pipe-id.start","time":1130.2000007629395},{"name":"bigPipe.activity-panel-pipe-id.end","time":1131.3000001907349},{"name":"activityTabFullyLoaded","time":1209.8000001907349}],"measures":[],"correlationId":"e2e03d24d3886a","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":99,"dbReadsTimeInMs":14,"dbConnsTimeInMs":23,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
It could be that this SIGSEGV was caused by the ASAN issue described in
MDEV-32470.