250127 3:41:44 [ERROR] /share8t/bld/11.4-asan/sql/mariadbd got signal 6 ;
#9 0x00007f3598853eb2 in __GI___assert_fail (assertion=0x55e56103b1a0 "thd->is_error()", file=0x55e5610268e0 "/data/bld/11.4-asan/sql/sql_select.cc", line=34235, function=0x55e56103b140 "virtual bool Sql_cmd_dml::prepare(THD*)") at ./assert/assert.c:101
#10 0x000055e55eeb3398 in Sql_cmd_dml::prepare (this=0x62d0003853d8, thd=0x62c000220218) at /data/bld/11.4-asan/sql/sql_select.cc:34235
#11 0x000055e55eeb34f0 in Sql_cmd_dml::execute (this=0x62d0003853d8, thd=0x62c000220218) at /data/bld/11.4-asan/sql/sql_select.cc:34277
#12 0x000055e55ecca108 in mysql_execute_command (thd=0x62c000220218, is_called_from_prepared_stmt=false) at /data/bld/11.4-asan/sql/sql_parse.cc:4425
#13 0x000055e55ece2430 in mysql_parse (thd=0x62c000220218, rawbuf=0x62d000384438 "DELETE FROM mysql.wsrep_streaming_log", length=37, parser_state=0x7f357ff50a90) at /data/bld/11.4-asan/sql/sql_parse.cc:7907
#14 0x000055e55ece11b2 in wsrep_mysql_parse (thd=0x62c000220218, rawbuf=0x62d000384438 "DELETE FROM mysql.wsrep_streaming_log", length=37, parser_state=0x7f357ff50a90) at /data/bld/11.4-asan/sql/sql_parse.cc:7717
#15 0x000055e55ecb9317 in dispatch_command (command=COM_QUERY, thd=0x62c000220218, packet=0x6290002e4219 "DELETE FROM mysql.wsrep_streaming_log", packet_length=37, blocking=true) at /data/bld/11.4-asan/sql/sql_parse.cc:1892
#16 0x000055e55ecb6198 in do_command (thd=0x62c000220218, blocking=true) at /data/bld/11.4-asan/sql/sql_parse.cc:1418
#17 0x000055e55f1975d9 in do_handle_one_connection (connect=0x60800001fab8, put_in_cache=true) at /data/bld/11.4-asan/sql/sql_connect.cc:1408
#18 0x000055e55f197138 in handle_one_connection (arg=0x60800001f938) at /data/bld/11.4-asan/sql/sql_connect.cc:1320
#19 0x000055e55fe137a8 in pfs_spawn_thread (arg=0x617000031798) at /data/bld/11.4-asan/storage/perfschema/pfs.cc:2201
#20 0x00007f35988a81c4 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#21 0x00007f359892885c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
The failure started happening after this merge in 11.4:
commit 17f01186f5c34dd5d6a89248f666985f4f20e2aa
Merge: 437550b7cf8 28b29580828
Author: Marko Mäkelä
Date: Thu Jan 9 07:58:08 2025 +0200
Merge 10.11 into 11.4
Also reproducible on bb-11.4-release at the moment of reporting.
However it is not reproducible on 10.11 (not even on the top commit which was merged), and it's not a small merge, I can't guess which commit could have caused it.
I also can't say whether there is any problem on a non-debug build, as I don't really know what is the expected result here, I've just added expected errors and suppressions in the test as they happen now, to get to the assertion failure.
Let the wsrep-lib error be set/overriden at the end of
dispatch_command().
Signed-off-by: Julius Goryavsky <julius.goryavsky@mariadb.com>
because there are checks sometimes that if a function returns an error status, a my_error() was called. That is, the latter cannot be postponed to the end of dispatch_command()
Sergei Golubchik
added a comment - supposedly caused by
commit 75dd0246f8b
Author: Daniele Sciascia <daniele.sciascia@galeracluster.com>
Date: Wed Dec 11 17:35:53 2024 +0100
Remove error handling from wsrep_sync_wait()
Let the wsrep-lib error be set/overriden at the end of
dispatch_command().
Signed-off-by: Julius Goryavsky <julius.goryavsky@mariadb.com>
because there are checks sometimes that if a function returns an error status, a my_error() was called. That is, the latter cannot be postponed to the end of dispatch_command()
Julius Goryavsky
added a comment - sciascid janlindstrom Thanks, the fix has been merged with the main branch: https://github.com/MariaDB/server/commit/10fd2c207a8d79e038fba752a72129a3a0e94b6b
mysqltest: At line 26: query 'DELETE FROM mysql.wsrep_streaming_log' failed with wrong errno ER_UNKNOWN_COM_ERROR (1047): 'WSREP has not yet prepared node for application use', instead of ER_LOCK_WAIT_TIMEOUT (1205)...
The result from queries just before the failure was:
connection node_2;
connection node_1;
connection node_1;
connection node_2;
SET GLOBAL wsrep_provider_options = 'gmcast.isolate=1';
SET SESSION wsrep_sync_wait=0;
SET SESSION wsrep_sync_wait=DEFAULT;
DELETE FROM mysql.wsrep_streaming_log;
- saving '/home/buildbot/aarch64-debian-12/build/mysql-test/var/5/log/galera.MDEV-35946/' to '/home/buildbot/aarch64-debian-12/build/mysql-test/var/log/galera.MDEV-35946/'
Retrying test galera.MDEV-35946, attempt(2/3)...
Daniel Black
added a comment - in 11.8 the test case changes error code? Intentional? or change test? (note: aarch64).
https://buildbot.mariadb.org/#/builders/557/builds/10878/steps/10/logs/stdio
galera.MDEV-35946 w5 [ fail ]
Test ended at 2025-04-14 16:55:35
CURRENT_TEST: galera.MDEV-35946
mysqltest: At line 26: query 'DELETE FROM mysql.wsrep_streaming_log' failed with wrong errno ER_UNKNOWN_COM_ERROR (1047): 'WSREP has not yet prepared node for application use', instead of ER_LOCK_WAIT_TIMEOUT (1205)...
The result from queries just before the failure was:
connection node_2;
connection node_1;
connection node_1;
connection node_2;
SET GLOBAL wsrep_provider_options = 'gmcast.isolate=1';
SET SESSION wsrep_sync_wait=0;
SET SESSION wsrep_sync_wait=DEFAULT;
DELETE FROM mysql.wsrep_streaming_log;
- saving '/home/buildbot/aarch64-debian-12/build/mysql-test/var/5/log/galera.MDEV-35946/' to '/home/buildbot/aarch64-debian-12/build/mysql-test/var/log/galera.MDEV-35946/'
Retrying test galera.MDEV-35946, attempt(2/3)...
People
Daniele Sciascia
Elena Stepanova
Votes:
0Vote for this issue
Watchers:
6Start watching this issue
Dates
Created:
Updated:
Resolved:
Git Integration
Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.
{"report":{"fcp":810.7999999523163,"ttfb":218.69999992847443,"pageVisibility":"visible","entityId":132563,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"03c9eba9-1dae-4d70-8d4b-d00fef4f2b89","navigationType":0,"readyForUser":885.1000000238419,"redirectCount":0,"resourceLoadedEnd":1094.8999999761581,"resourceLoadedStart":223.29999995231628,"resourceTiming":[{"duration":140.10000002384186,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":223.29999995231628,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":223.29999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":363.39999997615814,"responseStart":0,"secureConnectionStart":0},{"duration":140.09999990463257,"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":223.60000002384186,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":223.60000002384186,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":363.6999999284744,"responseStart":0,"secureConnectionStart":0},{"duration":148.70000004768372,"initiatorType":"script","name":"https://jira.mariadb.org/s/fbf975c0cce4b1abf04784eeae9ba1f4-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":223.69999992847443,"connectEnd":223.69999992847443,"connectStart":223.69999992847443,"domainLookupEnd":223.69999992847443,"domainLookupStart":223.69999992847443,"fetchStart":223.69999992847443,"redirectEnd":0,"redirectStart":0,"requestStart":223.69999992847443,"responseEnd":372.39999997615814,"responseStart":372.39999997615814,"secureConnectionStart":223.69999992847443},{"duration":195.89999997615814,"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":223.89999997615814,"connectEnd":223.89999997615814,"connectStart":223.89999997615814,"domainLookupEnd":223.89999997615814,"domainLookupStart":223.89999997615814,"fetchStart":223.89999997615814,"redirectEnd":0,"redirectStart":0,"requestStart":223.89999997615814,"responseEnd":419.7999999523163,"responseStart":419.7999999523163,"secureConnectionStart":223.89999997615814},{"duration":199,"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":224,"connectEnd":224,"connectStart":224,"domainLookupEnd":224,"domainLookupStart":224,"fetchStart":224,"redirectEnd":0,"redirectStart":0,"requestStart":224,"responseEnd":423,"responseStart":423,"secureConnectionStart":224},{"duration":199.30000007152557,"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":224.19999992847443,"connectEnd":224.19999992847443,"connectStart":224.19999992847443,"domainLookupEnd":224.19999992847443,"domainLookupStart":224.19999992847443,"fetchStart":224.19999992847443,"redirectEnd":0,"redirectStart":0,"requestStart":224.19999992847443,"responseEnd":423.5,"responseStart":423.5,"secureConnectionStart":224.19999992847443},{"duration":199.39999997615814,"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":224.39999997615814,"connectEnd":224.39999997615814,"connectStart":224.39999997615814,"domainLookupEnd":224.39999997615814,"domainLookupStart":224.39999997615814,"fetchStart":224.39999997615814,"redirectEnd":0,"redirectStart":0,"requestStart":224.39999997615814,"responseEnd":423.7999999523163,"responseStart":423.7999999523163,"secureConnectionStart":224.39999997615814},{"duration":284.2999999523163,"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":224.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":224.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":508.7999999523163,"responseStart":0,"secureConnectionStart":0},{"duration":199.5,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":224.79999995231628,"connectEnd":224.79999995231628,"connectStart":224.79999995231628,"domainLookupEnd":224.79999995231628,"domainLookupStart":224.79999995231628,"fetchStart":224.79999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":224.79999995231628,"responseEnd":424.2999999523163,"responseStart":424.2999999523163,"secureConnectionStart":224.79999995231628},{"duration":284,"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":224.89999997615814,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":224.89999997615814,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":508.89999997615814,"responseStart":0,"secureConnectionStart":0},{"duration":199.79999995231628,"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":225.10000002384186,"connectEnd":225.10000002384186,"connectStart":225.10000002384186,"domainLookupEnd":225.10000002384186,"domainLookupStart":225.10000002384186,"fetchStart":225.10000002384186,"redirectEnd":0,"redirectStart":0,"requestStart":225.10000002384186,"responseEnd":424.89999997615814,"responseStart":424.89999997615814,"secureConnectionStart":225.10000002384186},{"duration":464.40000009536743,"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":230.19999992847443,"connectEnd":230.19999992847443,"connectStart":230.19999992847443,"domainLookupEnd":230.19999992847443,"domainLookupStart":230.19999992847443,"fetchStart":230.19999992847443,"redirectEnd":0,"redirectStart":0,"requestStart":230.19999992847443,"responseEnd":694.6000000238419,"responseStart":694.6000000238419,"secureConnectionStart":230.19999992847443},{"duration":851.2000000476837,"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":237.89999997615814,"connectEnd":237.89999997615814,"connectStart":237.89999997615814,"domainLookupEnd":237.89999997615814,"domainLookupStart":237.89999997615814,"fetchStart":237.89999997615814,"redirectEnd":0,"redirectStart":0,"requestStart":237.89999997615814,"responseEnd":1089.1000000238419,"responseStart":1089.1000000238419,"secureConnectionStart":237.89999997615814},{"duration":175.30000007152557,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":519.7999999523163,"connectEnd":519.7999999523163,"connectStart":519.7999999523163,"domainLookupEnd":519.7999999523163,"domainLookupStart":519.7999999523163,"fetchStart":519.7999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":519.7999999523163,"responseEnd":695.1000000238419,"responseStart":695.1000000238419,"secureConnectionStart":519.7999999523163},{"duration":320.2999999523163,"initiatorType":"link","name":"https://jira.mariadb.org/s/d5715adaadd168a9002b108b2b039b50-CDN/lu2bu7/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":769.6000000238419,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":769.6000000238419,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1089.8999999761581,"responseStart":0,"secureConnectionStart":0},{"duration":319.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/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":770.5,"connectEnd":770.5,"connectStart":770.5,"domainLookupEnd":770.5,"domainLookupStart":770.5,"fetchStart":770.5,"redirectEnd":0,"redirectStart":0,"requestStart":770.5,"responseEnd":1090,"responseStart":1090,"secureConnectionStart":770.5},{"duration":324.2000000476837,"initiatorType":"script","name":"https://jira.mariadb.org/s/f51ef5507eea4c158f257c66c93b2a3f-CDN/lu2bu7/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":770.6999999284744,"connectEnd":770.6999999284744,"connectStart":770.6999999284744,"domainLookupEnd":770.6999999284744,"domainLookupStart":770.6999999284744,"fetchStart":770.6999999284744,"redirectEnd":0,"redirectStart":0,"requestStart":770.6999999284744,"responseEnd":1094.8999999761581,"responseStart":1094.8999999761581,"secureConnectionStart":770.6999999284744},{"duration":312.10000002384186,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":805.2999999523163,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":805.2999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1117.3999999761581,"responseStart":0,"secureConnectionStart":0},{"duration":132.30000007152557,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":1093.7999999523163,"connectEnd":1093.7999999523163,"connectStart":1093.7999999523163,"domainLookupEnd":1093.7999999523163,"domainLookupStart":1093.7999999523163,"fetchStart":1093.7999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":1093.7999999523163,"responseEnd":1226.1000000238419,"responseStart":1226.1000000238419,"secureConnectionStart":1093.7999999523163}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":11,"responseStart":218,"responseEnd":237,"domLoading":221,"domInteractive":1124,"domContentLoadedEventStart":1124,"domContentLoadedEventEnd":1169,"domComplete":1259,"loadEventStart":1259,"loadEventEnd":1260,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1094.6999999284744},{"name":"bigPipe.sidebar-id.end","time":1095.5},{"name":"bigPipe.activity-panel-pipe-id.start","time":1095.6000000238419},{"name":"bigPipe.activity-panel-pipe-id.end","time":1100.1999999284744},{"name":"activityTabFullyLoaded","time":1227.7999999523163}],"measures":[],"correlationId":"9cbc22607a8c67","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":138,"dbReadsTimeInMs":21,"dbConnsTimeInMs":31,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
supposedly caused by
commit 75dd0246f8b
Author: Daniele Sciascia <daniele.sciascia@galeracluster.com>
Date: Wed Dec 11 17:35:53 2024 +0100
Remove error handling from wsrep_sync_wait()
Let the wsrep-lib error be set/overriden at the end of
dispatch_command().
Signed-off-by: Julius Goryavsky <julius.goryavsky@mariadb.com>
because there are checks sometimes that if a function returns an error status, a my_error() was called. That is, the latter cannot be postponed to the end of dispatch_command()