The test case is attached.
It's a bit different from MDEV-11525, although equally ugly, the reasons and disclaimers are the same.
This one needs to be run with --repeat=N, if it does not fail right away.
bb-10.2-vcols b584734d242e7c56647889e5e9c97e4a11ab5e52
|
#3 <signal handler called>
|
#4 0x00007fc12b9aa636 in TABLE::init (this=0x7fc102cd9c70, thd=0x7fc102c16070, tl=0x7fc102c641b8) at /data/src/bb-10.2-vcols/sql/table.cc:4443
|
#5 0x00007fc12b8386f9 in open_table (thd=0x7fc102c16070, table_list=0x7fc102c641b8, ot_ctx=0x7fc12c9ce070) at /data/src/bb-10.2-vcols/sql/sql_base.cc:1921
|
#6 0x00007fc12b83af57 in open_and_process_table (thd=0x7fc102c16070, lex=0x7fc102c19a80, tables=0x7fc102c641b8, counter=0x7fc12c9ce158, flags=0, prelocking_strategy=0x7fc12c9ce170, has_prelocking_list=false, ot_ctx=0x7fc12c9ce070) at /data/src/bb-10.2-vcols/sql/sql_base.cc:3397
|
#7 0x00007fc12b83c049 in open_tables (thd=0x7fc102c16070, options=..., start=0x7fc12c9ce128, counter=0x7fc12c9ce158, flags=0, prelocking_strategy=0x7fc12c9ce170) at /data/src/bb-10.2-vcols/sql/sql_base.cc:3910
|
#8 0x00007fc12b961957 in open_tables (thd=0x7fc102c16070, tables=0x7fc12c9ce128, counter=0x7fc12c9ce158, flags=0, prelocking_strategy=0x7fc12c9ce170) at /data/src/bb-10.2-vcols/sql/sql_base.h:236
|
#9 0x00007fc12b977def in mysql_alter_table (thd=0x7fc102c16070, new_db=0x7fc102c647c0 "test", new_name=0x0, create_info=0x7fc12c9cfa50, table_list=0x7fc102c641b8, alter_info=0x7fc12c9cf9a0, order_num=0, order=0x0, ignore=false) at /data/src/bb-10.2-vcols/sql/sql_table.cc:8615
|
#10 0x00007fc12b9efa23 in Sql_cmd_alter_table::execute (this=0x7fc102c648e0, thd=0x7fc102c16070) at /data/src/bb-10.2-vcols/sql/sql_alter.cc:324
|
#11 0x00007fc12b8b2168 in mysql_execute_command (thd=0x7fc102c16070) at /data/src/bb-10.2-vcols/sql/sql_parse.cc:6116
|
#12 0x00007fc12b8b6a44 in mysql_parse (thd=0x7fc102c16070, rawbuf=0x7fc102c64088 "ALTER TABLE `CC` ADD KEY rkr_index_1 ( `col_varchar_nokey` )", length=60, parser_state=0x7fc12c9d0dd0, is_com_multi=false, is_next_command=false) at /data/src/bb-10.2-vcols/sql/sql_parse.cc:7790
|
#13 0x00007fc12b8a4794 in dispatch_command (command=COM_QUERY, thd=0x7fc102c16070, packet=0x7fc102e21071 "ALTER TABLE `CC` ADD KEY rkr_index_1 ( `col_varchar_nokey` )", packet_length=60, is_com_multi=false, is_next_command=false) at /data/src/bb-10.2-vcols/sql/sql_parse.cc:1799
|
#14 0x00007fc12b8a316e in do_command (thd=0x7fc102c16070) at /data/src/bb-10.2-vcols/sql/sql_parse.cc:1359
|
#15 0x00007fc12b9ea77a in do_handle_one_connection (connect=0x7fc1284754b0) at /data/src/bb-10.2-vcols/sql/sql_connect.cc:1354
|
#16 0x00007fc12b9ea507 in handle_one_connection (arg=0x7fc1284754b0) at /data/src/bb-10.2-vcols/sql/sql_connect.cc:1260
|
#17 0x00007fc12bd2670c in pfs_spawn_thread (arg=0x7fc115fe7770) at /data/src/bb-10.2-vcols/storage/perfschema/pfs.cc:1862
|
#18 0x00007fc12aeda0a4 in start_thread (arg=0x7fc12c9d2300) at pthread_create.c:309
|
#19 0x00007fc128e8787d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
|
- relates to
-
MDEV-5800
indexes on virtual (not materialized) columns
-
-
Closed
{"report":{"fcp":791.8000001907349,"ttfb":231.30000019073486,"pageVisibility":"visible","entityId":59306,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"eb88fc03-be37-421b-bc82-222be9cbc318","navigationType":0,"readyForUser":904.8000001907349,"redirectCount":0,"resourceLoadedEnd":521.2000000476837,"resourceLoadedStart":240.20000004768372,"resourceTiming":[{"duration":4.1000001430511475,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":240.20000004768372,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":240.20000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":244.30000019073486,"responseStart":0,"secureConnectionStart":0},{"duration":4.200000047683716,"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":240.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":240.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":244.70000004768372,"responseStart":0,"secureConnectionStart":0},{"duration":171.20000004768372,"initiatorType":"script","name":"https://jira.mariadb.org/s/fbf975c0cce4b1abf04784eeae9ba1f4-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":240.60000014305115,"connectEnd":240.60000014305115,"connectStart":240.60000014305115,"domainLookupEnd":240.60000014305115,"domainLookupStart":240.60000014305115,"fetchStart":240.60000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":246.90000009536743,"responseEnd":411.80000019073486,"responseStart":259.80000019073486,"secureConnectionStart":240.60000014305115},{"duration":280,"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":241.20000004768372,"connectEnd":241.20000004768372,"connectStart":241.20000004768372,"domainLookupEnd":241.20000004768372,"domainLookupStart":241.20000004768372,"fetchStart":241.20000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":249.10000014305115,"responseEnd":521.2000000476837,"responseStart":268.10000014305115,"secureConnectionStart":241.20000004768372},{"duration":29.5,"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":241.30000019073486,"connectEnd":241.30000019073486,"connectStart":241.30000019073486,"domainLookupEnd":241.30000019073486,"domainLookupStart":241.30000019073486,"fetchStart":241.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":249.5,"responseEnd":270.80000019073486,"responseStart":266,"secureConnectionStart":241.30000019073486},{"duration":38.299999952316284,"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":241.40000009536743,"connectEnd":241.40000009536743,"connectStart":241.40000009536743,"domainLookupEnd":241.40000009536743,"domainLookupStart":241.40000009536743,"fetchStart":241.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":249.70000004768372,"responseEnd":279.7000000476837,"responseStart":271.2000000476837,"secureConnectionStart":241.40000009536743},{"duration":40.5,"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":241.40000009536743,"connectEnd":241.40000009536743,"connectStart":241.40000009536743,"domainLookupEnd":241.40000009536743,"domainLookupStart":241.40000009536743,"fetchStart":241.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":251.30000019073486,"responseEnd":281.90000009536743,"responseStart":272.40000009536743,"secureConnectionStart":241.40000009536743},{"duration":7.799999952316284,"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":241.60000014305115,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":241.60000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":249.40000009536743,"responseStart":0,"secureConnectionStart":0},{"duration":41.299999952316284,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":241.60000014305115,"connectEnd":241.60000014305115,"connectStart":241.60000014305115,"domainLookupEnd":241.60000014305115,"domainLookupStart":241.60000014305115,"fetchStart":241.60000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":255.60000014305115,"responseEnd":282.90000009536743,"responseStart":279.90000009536743,"secureConnectionStart":241.60000014305115},{"duration":9.699999809265137,"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":241.80000019073486,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":241.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":251.5,"responseStart":0,"secureConnectionStart":0},{"duration":42.59999990463257,"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":241.90000009536743,"connectEnd":241.90000009536743,"connectStart":241.90000009536743,"domainLookupEnd":241.90000009536743,"domainLookupStart":241.90000009536743,"fetchStart":241.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":256.7000000476837,"responseEnd":284.5,"responseStart":280.60000014305115,"secureConnectionStart":241.90000009536743},{"duration":258.39999985694885,"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":245.80000019073486,"connectEnd":245.80000019073486,"connectStart":245.80000019073486,"domainLookupEnd":245.80000019073486,"domainLookupStart":245.80000019073486,"fetchStart":245.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":277.60000014305115,"responseEnd":504.2000000476837,"responseStart":498,"secureConnectionStart":245.80000019073486},{"duration":259,"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":245.90000009536743,"connectEnd":245.90000009536743,"connectStart":245.90000009536743,"domainLookupEnd":245.90000009536743,"domainLookupStart":245.90000009536743,"fetchStart":245.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":282.2000000476837,"responseEnd":504.90000009536743,"responseStart":498.90000009536743,"secureConnectionStart":245.90000009536743},{"duration":112.30000019073486,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":555.5,"connectEnd":555.5,"connectStart":555.5,"domainLookupEnd":555.5,"domainLookupStart":555.5,"fetchStart":555.5,"redirectEnd":0,"redirectStart":0,"requestStart":636.2000000476837,"responseEnd":667.8000001907349,"responseStart":666.9000000953674,"secureConnectionStart":555.5}],"fetchStart":0,"domainLookupStart":22,"domainLookupEnd":68,"connectStart":68,"connectEnd":87,"secureConnectionStart":76,"requestStart":88,"responseStart":231,"responseEnd":245,"domLoading":234,"domInteractive":964,"domContentLoadedEventStart":964,"domContentLoadedEventEnd":1008,"domComplete":1364,"loadEventStart":1364,"loadEventEnd":1364,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":941.9000000953674},{"name":"bigPipe.sidebar-id.end","time":942.6000001430511},{"name":"bigPipe.activity-panel-pipe-id.start","time":942.8000001907349},{"name":"bigPipe.activity-panel-pipe-id.end","time":944.7000000476837},{"name":"activityTabFullyLoaded","time":1026.1000001430511}],"measures":[],"correlationId":"cdeade080ca0a8","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":83,"dbReadsTimeInMs":12,"dbConnsTimeInMs":19,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
Also reproducible on bb-10.2-monty as of 349d69e2e