--source include/have_binlog_format_row.inc
|
|
SET binlog_row_image= NOBLOB;
|
|
CREATE TABLE t1 (pk INT PRIMARY KEY, a TEXT, UNIQUE(a));
|
INSERT INTO t1 VALUES (1,'foo');
|
|
# Cleanup
|
DROP TABLE t1;
|
10.4 e6373551
|
mysqld: /data/src/10.4/sql/field.cc:8461: virtual String* Field_blob::val_str(String*, String*): Assertion `marked_for_read()' failed.
|
200224 1:04:50 [ERROR] mysqld got signal 6 ;
|
|
#7 0x00007f0bcd37cf12 in __GI___assert_fail (assertion=0x55e9f552bc30 "marked_for_read()", file=0x55e9f552ba6b "/data/src/10.4/sql/field.cc", line=8461, function=0x55e9f5530e60 <Field_blob::val_str(String*, String*)::__PRETTY_FUNCTION__> "virtual String* Field_blob::val_str(String*, String*)") at assert.c:101
|
#8 0x000055e9f49d0311 in Field_blob::val_str (this=0x7f0bb0127cf8, val_buffer=0x7f0bb012e838, val_ptr=0x7f0bb012e838) at /data/src/10.4/sql/field.cc:8461
|
#9 0x000055e9f4a1859c in Item_field::val_str (this=0x7f0bb012e808, str=0x7f0bb012e838) at /data/src/10.4/sql/item.cc:3178
|
#10 0x000055e9f472bea6 in Item::val_str (this=0x7f0bb012e808) at /data/src/10.4/sql/item.h:902
|
#11 0x000055e9f4a81153 in Item_func_hash::val_int (this=0x7f0bb012e918) at /data/src/10.4/sql/item_func.cc:1758
|
#12 0x000055e9f4a22844 in Item::save_int_in_field (this=0x7f0bb012e918, field=0x7f0bb0127e20, no_conversions=false) at /data/src/10.4/sql/item.cc:6540
|
#13 0x000055e9f48b0bba in Type_handler_int_result::Item_save_in_field (this=0x55e9f5e59b88 <type_handler_long>, item=0x7f0bb012e918, field=0x7f0bb0127e20, no_conversions=false) at /data/src/10.4/sql/sql_type.cc:3672
|
#14 0x000055e9f4a228ef in Item::save_in_field (this=0x7f0bb012e918, field=0x7f0bb0127e20, no_conversions=false) at /data/src/10.4/sql/item.cc:6550
|
#15 0x000055e9f47cda31 in TABLE::update_virtual_fields (this=0x7f0bb012cfe0, h=0x7f0bb012de48, update_mode=VCOL_UPDATE_FOR_WRITE) at /data/src/10.4/sql/table.cc:8284
|
#16 0x000055e9f45fe57a in fill_record (thd=0x7f0bb0000af0, table=0x7f0bb012cfe0, ptr=0x7f0bb0127c20, values=..., ignore_errors=false, use_value=false) at /data/src/10.4/sql/sql_base.cc:8770
|
#17 0x000055e9f45fe678 in fill_record_n_invoke_before_triggers (thd=0x7f0bb0000af0, table=0x7f0bb012cfe0, ptr=0x7f0bb0127c00, values=..., ignore_errors=false, event=TRG_EVENT_INSERT) at /data/src/10.4/sql/sql_base.cc:8811
|
#18 0x000055e9f4646e82 in mysql_insert (thd=0x7f0bb0000af0, table_list=0x7f0bb0013380, fields=..., values_list=..., update_fields=..., update_values=..., duplic=DUP_ERROR, ignore=false) at /data/src/10.4/sql/sql_insert.cc:1020
|
#19 0x000055e9f469567d in mysql_execute_command (thd=0x7f0bb0000af0) at /data/src/10.4/sql/sql_parse.cc:4528
|
#20 0x000055e9f46a1e07 in mysql_parse (thd=0x7f0bb0000af0, rawbuf=0x7f0bb0013298 "INSERT INTO t1 VALUES (1,'foo')", length=31, parser_state=0x7f0bc34b4160, is_com_multi=false, is_next_command=false) at /data/src/10.4/sql/sql_parse.cc:7900
|
#21 0x000055e9f468cfea in dispatch_command (command=COM_QUERY, thd=0x7f0bb0000af0, packet=0x7f0bb01362e1 "INSERT INTO t1 VALUES (1,'foo')", packet_length=31, is_com_multi=false, is_next_command=false) at /data/src/10.4/sql/sql_parse.cc:1842
|
#22 0x000055e9f468b677 in do_command (thd=0x7f0bb0000af0) at /data/src/10.4/sql/sql_parse.cc:1360
|
#23 0x000055e9f48148e3 in do_handle_one_connection (connect=0x55e9f740dd20) at /data/src/10.4/sql/sql_connect.cc:1412
|
#24 0x000055e9f4814632 in handle_one_connection (arg=0x55e9f740dd20) at /data/src/10.4/sql/sql_connect.cc:1316
|
#25 0x000055e9f521b281 in pfs_spawn_thread (arg=0x55e9f738bc40) at /data/src/10.4/storage/perfschema/pfs.cc:1869
|
#26 0x00007f0bcf3054a4 in start_thread (arg=0x7f0bc34b5700) at pthread_create.c:456
|
#27 0x00007f0bcd439d0f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97
|
Reproducible on 10.4, 10.5.
The test case is not applicable to 10.3 due to the long unique blob.
No obvious problem on a non-debug build.
- relates to
-
MDEV-22551
Server crashes in skip_trailing_space upon ANALYZE on table with long unique, or Assertion `marked_for_read()' fails
-
-
Closed
{"report":{"fcp":763.9000000953674,"ttfb":171.59999990463257,"pageVisibility":"visible","entityId":83485,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"59a64f92-b62b-4c73-b17a-60c6ff3cec0b","navigationType":0,"readyForUser":846.7000000476837,"redirectCount":0,"resourceLoadedEnd":886.0999999046326,"resourceLoadedStart":177.79999995231628,"resourceTiming":[{"duration":11.799999952316284,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":177.79999995231628,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":177.79999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":189.59999990463257,"responseStart":0,"secureConnectionStart":0},{"duration":11.700000047683716,"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":178.20000004768372,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":178.20000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":189.90000009536743,"responseStart":0,"secureConnectionStart":0},{"duration":65.20000004768372,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":178.29999995231628,"connectEnd":178.29999995231628,"connectStart":178.29999995231628,"domainLookupEnd":178.29999995231628,"domainLookupStart":178.29999995231628,"fetchStart":178.29999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":178.29999995231628,"responseEnd":243.5,"responseStart":243.5,"secureConnectionStart":178.29999995231628},{"duration":139.79999995231628,"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":178.5,"connectEnd":178.5,"connectStart":178.5,"domainLookupEnd":178.5,"domainLookupStart":178.5,"fetchStart":178.5,"redirectEnd":0,"redirectStart":0,"requestStart":178.5,"responseEnd":318.2999999523163,"responseStart":318.2999999523163,"secureConnectionStart":178.5},{"duration":143.5,"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":178.70000004768372,"connectEnd":178.70000004768372,"connectStart":178.70000004768372,"domainLookupEnd":178.70000004768372,"domainLookupStart":178.70000004768372,"fetchStart":178.70000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":178.70000004768372,"responseEnd":322.2000000476837,"responseStart":322.2000000476837,"secureConnectionStart":178.70000004768372},{"duration":144.59999990463257,"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":178.90000009536743,"connectEnd":178.90000009536743,"connectStart":178.90000009536743,"domainLookupEnd":178.90000009536743,"domainLookupStart":178.90000009536743,"fetchStart":178.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":178.90000009536743,"responseEnd":323.5,"responseStart":323.5,"secureConnectionStart":178.90000009536743},{"duration":145.79999995231628,"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":179.20000004768372,"connectEnd":179.20000004768372,"connectStart":179.20000004768372,"domainLookupEnd":179.20000004768372,"domainLookupStart":179.20000004768372,"fetchStart":179.20000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":179.20000004768372,"responseEnd":325,"responseStart":325,"secureConnectionStart":179.20000004768372},{"duration":208.79999995231628,"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":179.29999995231628,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":179.29999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":388.09999990463257,"responseStart":0,"secureConnectionStart":0},{"duration":146.59999990463257,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":179.5,"connectEnd":179.5,"connectStart":179.5,"domainLookupEnd":179.5,"domainLookupStart":179.5,"fetchStart":179.5,"redirectEnd":0,"redirectStart":0,"requestStart":179.5,"responseEnd":326.09999990463257,"responseStart":326.09999990463257,"secureConnectionStart":179.5},{"duration":208.59999990463257,"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":179.70000004768372,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":179.70000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":388.2999999523163,"responseStart":0,"secureConnectionStart":0},{"duration":147.10000014305115,"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":179.79999995231628,"connectEnd":179.79999995231628,"connectStart":179.79999995231628,"domainLookupEnd":179.79999995231628,"domainLookupStart":179.79999995231628,"fetchStart":179.79999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":179.79999995231628,"responseEnd":326.90000009536743,"responseStart":326.90000009536743,"secureConnectionStart":179.79999995231628},{"duration":644.0999999046326,"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":180.90000009536743,"connectEnd":180.90000009536743,"connectStart":180.90000009536743,"domainLookupEnd":180.90000009536743,"domainLookupStart":180.90000009536743,"fetchStart":180.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":180.90000009536743,"responseEnd":825,"responseStart":825,"secureConnectionStart":180.90000009536743},{"duration":644.9000000953674,"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":181,"connectEnd":181,"connectStart":181,"domainLookupEnd":181,"domainLookupStart":181,"fetchStart":181,"redirectEnd":0,"redirectStart":0,"requestStart":181,"responseEnd":825.9000000953674,"responseStart":825.9000000953674,"secureConnectionStart":181},{"duration":58.40000009536743,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":400.09999990463257,"connectEnd":400.09999990463257,"connectStart":400.09999990463257,"domainLookupEnd":400.09999990463257,"domainLookupStart":400.09999990463257,"fetchStart":400.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":400.09999990463257,"responseEnd":458.5,"responseStart":458.5,"secureConnectionStart":400.09999990463257},{"duration":200,"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":677,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":677,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":877,"responseStart":0,"secureConnectionStart":0},{"duration":203.69999980926514,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/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&whisper-enabled=true","startTime":677.9000000953674,"connectEnd":677.9000000953674,"connectStart":677.9000000953674,"domainLookupEnd":677.9000000953674,"domainLookupStart":677.9000000953674,"fetchStart":677.9000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":677.9000000953674,"responseEnd":881.5999999046326,"responseStart":881.5999999046326,"secureConnectionStart":677.9000000953674},{"duration":207.79999995231628,"initiatorType":"script","name":"https://jira.mariadb.org/s/097ae97cb8fbec7d6ea4bbb1f26955b9-CDN/lu2cib/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&whisper-enabled=true","startTime":678.2999999523163,"connectEnd":678.2999999523163,"connectStart":678.2999999523163,"domainLookupEnd":678.2999999523163,"domainLookupStart":678.2999999523163,"fetchStart":678.2999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":678.2999999523163,"responseEnd":886.0999999046326,"responseStart":886,"secureConnectionStart":678.2999999523163},{"duration":222.69999980926514,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":756.4000000953674,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":756.4000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":979.0999999046326,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":3,"responseStart":172,"responseEnd":175,"domLoading":175,"domInteractive":933,"domContentLoadedEventStart":933,"domContentLoadedEventEnd":977,"domComplete":1214,"loadEventStart":1215,"loadEventEnd":1215,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":895.4000000953674},{"name":"bigPipe.sidebar-id.end","time":896.4000000953674},{"name":"bigPipe.activity-panel-pipe-id.start","time":896.5},{"name":"bigPipe.activity-panel-pipe-id.end","time":897.9000000953674},{"name":"activityTabFullyLoaded","time":993.0999999046326}],"measures":[],"correlationId":"e53ba22a9ac6c2","effectiveType":"4g","downlink":9.1,"rtt":0,"serverDuration":106,"dbReadsTimeInMs":24,"dbConnsTimeInMs":34,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}