See also MDEV-18084, MDEV-18085.
10.2 debug 734029fa796
|
mysqld: /data/src/10.2/storage/innobase/rem/rem0rec.cc:875: ulint rec_get_converted_size_comp_prefix_low(const dict_index_t*, const dfield_t*, ulint, ulint*, bool): Assertion `len <= col->len || ((col->mtype) == 5 ||
|
(col->mtype) == 14) || (col->len == 0 && col->mtype == 1)' failed.
|
181226 22:45:20 [ERROR] mysqld got signal 6 ;
|
|
#7 0x00007f03aa399ee2 in __assert_fail () from /lib/x86_64-linux-gnu/libc.so.6
|
#8 0x00005644e64f7e6f in rec_get_converted_size_comp_prefix_low (index=0x7f0340028918, fields=0x7f03400283d0, n_fields=4, extra=0x0, temp=false) at /data/src/10.2/storage/innobase/rem/rem0rec.cc:874
|
#9 0x00005644e64f8346 in rec_get_converted_size_comp (index=0x7f0340028918, status=0, fields=0x7f03400283d0, n_fields=4, extra=0x0) at /data/src/10.2/storage/innobase/rem/rem0rec.cc:990
|
#10 0x00005644e663045d in rec_get_converted_size (index=0x7f0340028918, dtuple=0x7f0340028388, n_ext=0) at /data/src/10.2/storage/innobase/include/rem0rec.ic:1654
|
#11 0x00005644e663d140 in btr_cur_optimistic_update (flags=2, cursor=0x7f03400281c0, offsets=0x7f03a8098160, heap=0x7f03a8098200, update=0x7f0340025f68, cmpl_info=1, thr=0x7f0340026158, trx_id=3334, mtr=0x7f03a8098570) at /data/src/10.2/storage/innobase/btr/btr0cur.cc:4052
|
#12 0x00005644e65966a6 in row_upd_clust_rec (flags=0, node=0x7f0340025e50, index=0x7f0340028918, offsets=0x7f03a8098250, offsets_heap=0x7f03a8098200, thr=0x7f0340026158, mtr=0x7f03a8098570) at /data/src/10.2/storage/innobase/row/row0upd.cc:2858
|
#13 0x00005644e65974e5 in row_upd_clust_step (node=0x7f0340025e50, thr=0x7f0340026158) at /data/src/10.2/storage/innobase/row/row0upd.cc:3182
|
#14 0x00005644e65978d2 in row_upd (node=0x7f0340025e50, thr=0x7f0340026158) at /data/src/10.2/storage/innobase/row/row0upd.cc:3279
|
#15 0x00005644e6597dab in row_upd_step (thr=0x7f0340026158) at /data/src/10.2/storage/innobase/row/row0upd.cc:3425
|
#16 0x00005644e653e437 in row_update_for_mysql (prebuilt=0x7f0340025678) at /data/src/10.2/storage/innobase/row/row0mysql.cc:1830
|
#17 0x00005644e6404786 in ha_innobase::update_row (this=0x7f034001e6b8, old_row=0x7f034000c378 "\377\001", new_row=0x7f034000c360 "\377\002") at /data/src/10.2/storage/innobase/handler/ha_innodb.cc:9000
|
#18 0x00005644e60f8a17 in handler::ha_update_row (this=0x7f034001e6b8, old_data=0x7f034000c378 "\377\001", new_data=0x7f034000c360 "\377\002") at /data/src/10.2/sql/handler.cc:5993
|
#19 0x00005644e5f5f458 in mysql_update (thd=0x7f0340000b00, table_list=0x7f03400111b8, fields=..., values=..., conds=0x7f0340011d00, order_num=0, order=0x0, limit=18446744073709551615, handle_duplicates=DUP_ERROR, ignore=false, found_return=0x7f03a80998b0, updated_return=0x7f03a8099960) at /data/src/10.2/sql/sql_update.cc:809
|
#20 0x00005644e5e72cab in mysql_execute_command (thd=0x7f0340000b00) at /data/src/10.2/sql/sql_parse.cc:4292
|
#21 0x00005644e5e7e7f7 in mysql_parse (thd=0x7f0340000b00, rawbuf=0x7f03400110c0 "UPDATE t1 SET pk = pk + 1 WHERE pk = 1", length=38, parser_state=0x7f03a809a250, is_com_multi=false, is_next_command=false) at /data/src/10.2/sql/sql_parse.cc:8014
|
#22 0x00005644e5e6c12f in dispatch_command (command=COM_QUERY, thd=0x7f0340000b00, packet=0x7f03400191a1 "UPDATE t1 SET pk = pk + 1 WHERE pk = 1", packet_length=38, is_com_multi=false, is_next_command=false) at /data/src/10.2/sql/sql_parse.cc:1825
|
#23 0x00005644e5e6aa92 in do_command (thd=0x7f0340000b00) at /data/src/10.2/sql/sql_parse.cc:1379
|
#24 0x00005644e5fbd569 in do_handle_one_connection (connect=0x5644e8ec9460) at /data/src/10.2/sql/sql_connect.cc:1335
|
#25 0x00005644e5fbd2f6 in handle_one_connection (arg=0x5644e8ec9460) at /data/src/10.2/sql/sql_connect.cc:1241
|
#26 0x00007f03abe55494 in start_thread (arg=0x7f03a809b700) at pthread_create.c:333
|
#27 0x00007f03aa45693f in clone () from /lib/x86_64-linux-gnu/libc.so.6
|
Non-debug builds don't seem to be affected.
On 10.3 and 10.4 the assertion failure is the same as in MDEV-18084.
To reproduce:
- start 10.1 server with all defaults (current 10.1 9ad1663f78 or 10.1.37 will do, I didn't check other versions);
- run
CREATE TABLE t1 (v TIMESTAMP(2) AS (t) VIRTUAL, pk SERIAL, t TIMESTAMP(6) NULL, PRIMARY KEY(pk));
|
INSERT INTO t1 () VALUES ();
|
- shutdown server normally;
- start 10.2+ server with all defaults on the same datadir;
- run mysql_upgrade (optionally, it doesn't affect the outcome);
- run
UPDATE t1 SET pk = pk + 1 WHERE pk = 1
|
The datadir pre-created on current 10.1 as described is attached.
Transition |
Time In Source Status |
Execution Times |
Open |
|
Closed |
|
82d 21h 9m
|
1
|
{"report":{"fcp":1823.9000000003725,"ttfb":583.0999999996275,"pageVisibility":"visible","entityId":71585,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":16,"apdex":0.5,"journeyId":"dd07a147-537f-44e1-82bc-565f9e696e3d","navigationType":0,"readyForUser":1968.0999999996275,"redirectCount":0,"resourceLoadedEnd":1747.0999999996275,"resourceLoadedStart":601.0999999996275,"resourceTiming":[{"duration":302.70000000018626,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":601.0999999996275,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":601.0999999996275,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":903.7999999998137,"responseStart":0,"secureConnectionStart":0},{"duration":306.8999999994412,"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":601.4000000003725,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":601.4000000003725,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":908.2999999998137,"responseStart":0,"secureConnectionStart":0},{"duration":570.9000000003725,"initiatorType":"script","name":"https://jira.mariadb.org/s/fbf975c0cce4b1abf04784eeae9ba1f4-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":601.7999999998137,"connectEnd":601.7999999998137,"connectStart":601.7999999998137,"domainLookupEnd":601.7999999998137,"domainLookupStart":601.7999999998137,"fetchStart":601.7999999998137,"redirectEnd":0,"redirectStart":0,"requestStart":912.2999999998137,"responseEnd":1172.7000000001863,"responseStart":968.5999999996275,"secureConnectionStart":601.7999999998137},{"duration":809.7999999998137,"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":601.9000000003725,"connectEnd":601.9000000003725,"connectStart":601.9000000003725,"domainLookupEnd":601.9000000003725,"domainLookupStart":601.9000000003725,"fetchStart":601.9000000003725,"redirectEnd":0,"redirectStart":0,"requestStart":912.4000000003725,"responseEnd":1411.7000000001863,"responseStart":982.0999999996275,"secureConnectionStart":601.9000000003725},{"duration":384.1000000005588,"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":602.0999999996275,"connectEnd":602.0999999996275,"connectStart":602.0999999996275,"domainLookupEnd":602.0999999996275,"domainLookupStart":602.0999999996275,"fetchStart":602.0999999996275,"redirectEnd":0,"redirectStart":0,"requestStart":912.7000000001863,"responseEnd":986.2000000001863,"responseStart":982.7000000001863,"secureConnectionStart":602.0999999996275},{"duration":384.20000000018626,"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":602.0999999996275,"connectEnd":602.0999999996275,"connectStart":602.0999999996275,"domainLookupEnd":602.0999999996275,"domainLookupStart":602.0999999996275,"fetchStart":602.0999999996275,"redirectEnd":0,"redirectStart":0,"requestStart":915.7000000001863,"responseEnd":986.2999999998137,"responseStart":983.5,"secureConnectionStart":602.0999999996275},{"duration":384.20000000018626,"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":602.2000000001863,"connectEnd":602.2000000001863,"connectStart":602.2000000001863,"domainLookupEnd":602.2000000001863,"domainLookupStart":602.2000000001863,"fetchStart":602.2000000001863,"redirectEnd":0,"redirectStart":0,"requestStart":916.7999999998137,"responseEnd":986.4000000003725,"responseStart":984,"secureConnectionStart":602.2000000001863},{"duration":308.70000000018626,"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":602.2999999998137,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":602.2999999998137,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":911,"responseStart":0,"secureConnectionStart":0},{"duration":387.29999999981374,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":602.4000000003725,"connectEnd":602.4000000003725,"connectStart":602.4000000003725,"domainLookupEnd":602.4000000003725,"domainLookupStart":602.4000000003725,"fetchStart":602.4000000003725,"redirectEnd":0,"redirectStart":0,"requestStart":917.4000000003725,"responseEnd":989.7000000001863,"responseStart":985,"secureConnectionStart":602.4000000003725},{"duration":308.90000000037253,"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":602.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":602.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":911.4000000003725,"responseStart":0,"secureConnectionStart":0},{"duration":388.5,"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":602.7000000001863,"connectEnd":602.7000000001863,"connectStart":602.7000000001863,"domainLookupEnd":602.7000000001863,"domainLookupStart":602.7000000001863,"fetchStart":602.7000000001863,"redirectEnd":0,"redirectStart":0,"requestStart":917.7000000001863,"responseEnd":991.2000000001863,"responseStart":986.5,"secureConnectionStart":602.7000000001863},{"duration":797.3999999994412,"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":603.9000000003725,"connectEnd":603.9000000003725,"connectStart":603.9000000003725,"domainLookupEnd":603.9000000003725,"domainLookupStart":603.9000000003725,"fetchStart":603.9000000003725,"redirectEnd":0,"redirectStart":0,"requestStart":1357.5,"responseEnd":1401.2999999998137,"responseStart":1384.7999999998137,"secureConnectionStart":603.9000000003725},{"duration":1143.199999999255,"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":603.9000000003725,"connectEnd":603.9000000003725,"connectStart":603.9000000003725,"domainLookupEnd":603.9000000003725,"domainLookupStart":603.9000000003725,"fetchStart":603.9000000003725,"redirectEnd":0,"redirectStart":0,"requestStart":1733,"responseEnd":1747.0999999996275,"responseStart":1744.7999999998137,"secureConnectionStart":603.9000000003725},{"duration":420.59999999962747,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":1391.4000000003725,"connectEnd":1391.4000000003725,"connectStart":1391.4000000003725,"domainLookupEnd":1391.4000000003725,"domainLookupStart":1391.4000000003725,"fetchStart":1391.4000000003725,"redirectEnd":0,"redirectStart":0,"requestStart":1781.5999999996275,"responseEnd":1812,"responseStart":1810.5999999996275,"secureConnectionStart":1391.4000000003725}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":412,"responseStart":583,"responseEnd":588,"domLoading":599,"domInteractive":2092,"domContentLoadedEventStart":2092,"domContentLoadedEventEnd":2172,"domComplete":3420,"loadEventStart":3420,"loadEventEnd":3420,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":2053.7999999998137},{"name":"bigPipe.sidebar-id.end","time":2054.5999999996275},{"name":"bigPipe.activity-panel-pipe-id.start","time":2054.7000000001863},{"name":"bigPipe.activity-panel-pipe-id.end","time":2055.9000000003725},{"name":"activityTabFullyLoaded","time":2190.9000000003725}],"measures":[],"correlationId":"9ecc29c6de8298","effectiveType":"4g","downlink":9.5,"rtt":0,"serverDuration":106,"dbReadsTimeInMs":22,"dbConnsTimeInMs":30,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}