A user saw the following crash with semisynchronous replication in MariaDB 10.3.13:
2019-04-26 15:57:38 778 [Note] Start binlog_dump to slave_server(54823151), pos(mariadb-2-bin.000001, 24898028)
|
2019-04-26 15:57:38 778 [Note] Semi-sync replication switched ON with slave (server_id: 54823151) at (mariadb-2-bin.000001, 4)
|
2019-04-26 15:57:38 778 [Note] Start semi-sync binlog_dump to slave (server_id: 54823151), pos(mariadb-2-bin.000001, 4)
|
mysqld: /home/buildbot/buildbot/padding_for_CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX/mariadb-10.3.13/sql/semisync_master.cc:929: int Repl_semi_sync_master::commit_trx(const char*, my_off_t): Assertion `(thd_kill_level(thd) == THD_ABORT_ASAP) || !m_active_tranxs || !m_active_tranxs->is_tranx_end_pos(trx_wait_binlog_name, trx_wait_binlog_pos)' failed.
|
190426 15:57:38 [ERROR] mysqld got signal 6 ;
|
This could be because you hit a bug. It is also possible that this binary
|
or one of the libraries it was linked against is corrupt, improperly built,
|
or misconfigured. This error can also be caused by malfunctioning hardware.
|
|
To report this bug, see https://mariadb.com/kb/en/reporting-bugs
|
|
We will try our best to scrape up some info that will hopefully help
|
diagnose the problem, but since we have already crashed,
|
something is definitely wrong and this may fail.
|
|
Server version: 10.3.13-MariaDB-log
|
key_buffer_size=134217728
|
read_buffer_size=131072
|
max_used_connections=5
|
max_threads=153
|
thread_count=65
|
It is possible that mysqld could use up to
|
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 467390 K bytes of memory
|
Hope that's ok; if not, decrease some variables in the equation.
|
|
Thread pointer: 0x7f278801fff8
|
Attempting backtrace. You can use the following information to find out
|
where mysqld died. If you see no messages after this, something went
|
terribly wrong...
|
stack_bottom = 0x7f28141b6d30 thread_stack 0x49000
|
/usr/sbin/mysqld(my_print_stacktrace+0x2e)[0x565106dd8dde]
|
/usr/sbin/mysqld(handle_fatal_signal+0x357)[0x565106878bd7]
|
sigaction.c:0(__restore_rt)[0x7f281b0c35d0]
|
:0(__GI_raise)[0x7f2819396207]
|
:0(__GI_abort)[0x7f28193978f8]
|
:0(__assert_fail_base)[0x7f281938f026]
|
:0(__GI___assert_fail)[0x7f281938f0d2]
|
/usr/sbin/mysqld(+0x6c7ab7)[0x5651067c6ab7]
|
/usr/sbin/mysqld(_ZN21Repl_semi_sync_master10commit_trxEPKcy+0x19)[0x5651067c6ad9]
|
/usr/sbin/mysqld(_ZN21Repl_semi_sync_master17wait_after_commitEP3THDb+0x85)[0x5651067c6bd5]
|
/usr/sbin/mysqld(_Z15ha_commit_transP3THDb+0x4de)[0x56510687c2ae]
|
/usr/sbin/mysqld(_Z17trans_commit_stmtP3THD+0x57)[0x56510678c2a7]
|
/usr/sbin/mysqld(_Z21mysql_execute_commandP3THD+0x87f)[0x5651066a312f]
|
/usr/sbin/mysqld(_Z11mysql_parseP3THDPcjP12Parser_statebb+0x22b)[0x5651066abc2b]
|
/usr/sbin/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcjbb+0x1d5e)[0x5651066ae8ee]
|
/usr/sbin/mysqld(_Z10do_commandP3THD+0x13e)[0x5651066af74e]
|
/usr/sbin/mysqld(_Z24do_handle_one_connectionP7CONNECT+0x1aa)[0x56510677f3ba]
|
/usr/sbin/mysqld(handle_one_connection+0x3d)[0x56510677f4dd]
|
pthread_create.c:0(start_thread)[0x7f281b0bbdd5]
|
/lib64/libc.so.6(clone+0x6d)[0x7f281945dead]
|
gdb shows the following backtrace:
Thread 79 (Thread 0x7fde7c060700 (LWP 1035)):
|
#0 0x00007fdebc5e74d7 in kill () from /lib64/libc.so.6
|
#1 0x0000561d18f8eb65 in handle_fatal_signal (sig=6) at /home/buildbot/buildbot/padding_for_CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX/mariadb-10.3.13/sql/signal_handler.cc:317
|
#2 <signal handler called>
|
#3 0x00007fdebc5e7207 in raise () from /lib64/libc.so.6
|
#4 0x00007fdebc5e88f8 in abort () from /lib64/libc.so.6
|
#5 0x00007fdebc5e0026 in __assert_fail_base () from /lib64/libc.so.6
|
#6 0x00007fdebc5e00d2 in __assert_fail () from /lib64/libc.so.6
|
#7 0x0000561d18edcab7 in Repl_semi_sync_master::commit_trx (this=0x561d19ea3360 <repl_semisync_master>, trx_wait_binlog_name=0x7fde4801eb10 "rajesh-dc1-cmdb-mariadb-1-bin.000004", trx_wait_binlog_pos=32778) at /home/buildbot/buildbot/padding_for_CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX/mariadb-10.3.13/sql/semisync_master.cc:927
|
#8 0x0000561d18edcad9 in Repl_semi_sync_master::commit_trx (this=<optimized out>, trx_wait_binlog_name=<optimized out>, trx_wait_binlog_pos=<optimized out>) at /home/buildbot/buildbot/padding_for_CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX/mariadb-10.3.13/sql/semisync_master.cc:781
|
#9 0x0000561d18edcbd5 in Repl_semi_sync_master::wait_after_commit (this=<optimized out>, thd=thd@entry=0x7fde48018f98, all=all@entry=false) at /home/buildbot/buildbot/padding_for_CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX/mariadb-10.3.13/sql/semisync_master.cc:697
|
#10 0x0000561d18f922ae in ha_commit_trans (thd=thd@entry=0x7fde48018f98, all=all@entry=false) at /home/buildbot/buildbot/padding_for_CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX/mariadb-10.3.13/sql/handler.cc:1528
|
#11 0x0000561d18ea22a7 in trans_commit_stmt (thd=thd@entry=0x7fde48018f98) at /home/buildbot/buildbot/padding_for_CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX/mariadb-10.3.13/sql/transaction.cc:520
|
#12 0x0000561d18db912f in mysql_execute_command (thd=thd@entry=0x7fde48018f98) at /home/buildbot/buildbot/padding_for_CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX/mariadb-10.3.13/sql/sql_parse.cc:6363
|
#13 0x0000561d18dc1c2b in mysql_parse (thd=0x7fde48018f98, rawbuf=<optimized out>, length=35, parser_state=0x7fde7c05f4f0, is_com_multi=<optimized out>, is_next_command=<optimized out>) at /home/buildbot/buildbot/padding_for_CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX/mariadb-10.3.13/sql/sql_parse.cc:8095
|
#14 0x0000561d18dc48ee in dispatch_command (command=command@entry=COM_QUERY, thd=thd@entry=0x7fde48018f98, packet=packet@entry=0x7fde48021959 "insert into mydb.mydbtable values()", packet_length=packet_length@entry=35, is_com_multi=is_com_multi@entry=false, is_next_command=is_next_command@entry=false) at /home/buildbot/buildbot/padding_for_CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX/mariadb-10.3.13/sql/sql_parse.cc:1854
|
#15 0x0000561d18dc574e in do_command (thd=0x7fde48018f98) at /home/buildbot/buildbot/padding_for_CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX/mariadb-10.3.13/sql/sql_parse.cc:1396
|
#16 0x0000561d18e953ba in do_handle_one_connection (connect=connect@entry=0x561d1c852868) at /home/buildbot/buildbot/padding_for_CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX/mariadb-10.3.13/sql/sql_connect.cc:1403
|
#17 0x0000561d18e954dd in handle_one_connection (arg=0x561d1c852868) at /home/buildbot/buildbot/padding_for_CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX/mariadb-10.3.13/sql/sql_connect.cc:1309
|
#18 0x00007fdebe30cdd5 in start_thread () from /lib64/libpthread.so.0
|
#19 0x00007fdebc6aeead in clone () from /lib64/libc.so.6
|
This looks somewhat similar to MDEV-17948.
{"report":{"fcp":865.8000000044703,"ttfb":176.89999999850988,"pageVisibility":"visible","entityId":75822,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"9f3f4213-afbb-4013-9b88-d1f9351fb9ee","navigationType":0,"readyForUser":965.1000000014901,"redirectCount":0,"resourceLoadedEnd":971.2000000029802,"resourceLoadedStart":182.80000000447035,"resourceTiming":[{"duration":14.899999998509884,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bv2/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":182.80000000447035,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":182.80000000447035,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":197.70000000298023,"responseStart":0,"secureConnectionStart":0},{"duration":13.5,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2bv2/820016/12ta74/2380add21a9a1006587582385952de73/_/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":184.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":184.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":198,"responseStart":0,"secureConnectionStart":0},{"duration":90.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/e9b27a47da5fb0f74a35acd57e9847fb-CDN/lu2bv2/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":184.70000000298023,"connectEnd":184.70000000298023,"connectStart":184.70000000298023,"domainLookupEnd":184.70000000298023,"domainLookupStart":184.70000000298023,"fetchStart":184.70000000298023,"redirectEnd":0,"redirectStart":0,"requestStart":184.70000000298023,"responseEnd":275.20000000298023,"responseStart":275.1000000014901,"secureConnectionStart":184.70000000298023},{"duration":241,"initiatorType":"script","name":"https://jira.mariadb.org/s/c32eb0da7ad9831253f8397e6cc26afd-CDN/lu2bv2/820016/12ta74/2380add21a9a1006587582385952de73/_/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":186.80000000447035,"connectEnd":186.80000000447035,"connectStart":186.80000000447035,"domainLookupEnd":186.80000000447035,"domainLookupStart":186.80000000447035,"fetchStart":186.80000000447035,"redirectEnd":0,"redirectStart":0,"requestStart":186.80000000447035,"responseEnd":427.80000000447035,"responseStart":427.80000000447035,"secureConnectionStart":186.80000000447035},{"duration":244.29999999701977,"initiatorType":"script","name":"https://jira.mariadb.org/s/bc0bcb146314416123c992714ee00ff7-CDN/lu2bv2/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":187.10000000149012,"connectEnd":187.10000000149012,"connectStart":187.10000000149012,"domainLookupEnd":187.10000000149012,"domainLookupStart":187.10000000149012,"fetchStart":187.10000000149012,"redirectEnd":0,"redirectStart":0,"requestStart":187.10000000149012,"responseEnd":431.3999999985099,"responseStart":431.3999999985099,"secureConnectionStart":187.10000000149012},{"duration":274.90000000596046,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bv2/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":187.39999999850988,"connectEnd":187.39999999850988,"connectStart":187.39999999850988,"domainLookupEnd":187.39999999850988,"domainLookupStart":187.39999999850988,"fetchStart":187.39999999850988,"redirectEnd":0,"redirectStart":0,"requestStart":187.39999999850988,"responseEnd":462.30000000447035,"responseStart":462.30000000447035,"secureConnectionStart":187.39999999850988},{"duration":275.29999999701977,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bv2/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":187.60000000149012,"connectEnd":187.60000000149012,"connectStart":187.60000000149012,"domainLookupEnd":187.60000000149012,"domainLookupStart":187.60000000149012,"fetchStart":187.60000000149012,"redirectEnd":0,"redirectStart":0,"requestStart":187.60000000149012,"responseEnd":462.8999999985099,"responseStart":462.8999999985099,"secureConnectionStart":187.60000000149012},{"duration":284.09999999403954,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2bv2/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":187.80000000447035,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":187.80000000447035,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":471.8999999985099,"responseStart":0,"secureConnectionStart":0},{"duration":275.40000000596046,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":187.89999999850988,"connectEnd":187.89999999850988,"connectStart":187.89999999850988,"domainLookupEnd":187.89999999850988,"domainLookupStart":187.89999999850988,"fetchStart":187.89999999850988,"redirectEnd":0,"redirectStart":0,"requestStart":187.89999999850988,"responseEnd":463.30000000447035,"responseStart":463.30000000447035,"secureConnectionStart":187.89999999850988},{"duration":285.20000000298023,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2bv2/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":188.10000000149012,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":188.10000000149012,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":473.30000000447035,"responseStart":0,"secureConnectionStart":0},{"duration":285,"initiatorType":"script","name":"https://jira.mariadb.org/s/719848dd97ebe0663199f49a3936487a-CDN/lu2bv2/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":188.20000000298023,"connectEnd":188.20000000298023,"connectStart":188.20000000298023,"domainLookupEnd":188.20000000298023,"domainLookupStart":188.20000000298023,"fetchStart":188.20000000298023,"redirectEnd":0,"redirectStart":0,"requestStart":188.20000000298023,"responseEnd":473.20000000298023,"responseStart":473.1000000014901,"secureConnectionStart":188.20000000298023},{"duration":448.19999999552965,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bv2/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":197.30000000447035,"connectEnd":197.30000000447035,"connectStart":197.30000000447035,"domainLookupEnd":197.30000000447035,"domainLookupStart":197.30000000447035,"fetchStart":197.30000000447035,"redirectEnd":0,"redirectStart":0,"requestStart":197.30000000447035,"responseEnd":645.5,"responseStart":645.5,"secureConnectionStart":197.30000000447035},{"duration":611.4000000059605,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bv2/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":197.39999999850988,"connectEnd":197.39999999850988,"connectStart":197.39999999850988,"domainLookupEnd":197.39999999850988,"domainLookupStart":197.39999999850988,"fetchStart":197.39999999850988,"redirectEnd":0,"redirectStart":0,"requestStart":197.39999999850988,"responseEnd":808.8000000044703,"responseStart":808.8000000044703,"secureConnectionStart":197.39999999850988},{"duration":166.89999999850988,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":479,"connectEnd":479,"connectStart":479,"domainLookupEnd":479,"domainLookupStart":479,"fetchStart":479,"redirectEnd":0,"redirectStart":0,"requestStart":479,"responseEnd":645.8999999985099,"responseStart":645.8999999985099,"secureConnectionStart":479},{"duration":107.80000000447035,"initiatorType":"link","name":"https://jira.mariadb.org/s/d5715adaadd168a9002b108b2b039b50-CDN/lu2bv2/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":763,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":763,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":870.8000000044703,"responseStart":0,"secureConnectionStart":0},{"duration":203.70000000298023,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bv2/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":763.8999999985099,"connectEnd":763.8999999985099,"connectStart":763.8999999985099,"domainLookupEnd":763.8999999985099,"domainLookupStart":763.8999999985099,"fetchStart":763.8999999985099,"redirectEnd":0,"redirectStart":0,"requestStart":763.8999999985099,"responseEnd":967.6000000014901,"responseStart":967.6000000014901,"secureConnectionStart":763.8999999985099},{"duration":206.89999999850988,"initiatorType":"script","name":"https://jira.mariadb.org/s/53a43b6764f587426c7bb9a150184c00-CDN/lu2bv2/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":764.3000000044703,"connectEnd":764.3000000044703,"connectStart":764.3000000044703,"domainLookupEnd":764.3000000044703,"domainLookupStart":764.3000000044703,"fetchStart":764.3000000044703,"redirectEnd":0,"redirectStart":0,"requestStart":764.3000000044703,"responseEnd":971.2000000029802,"responseStart":971.2000000029802,"secureConnectionStart":764.3000000044703},{"duration":189.29999999701977,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":857.7000000029802,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":857.7000000029802,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1047,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":12,"responseStart":177,"responseEnd":186,"domLoading":181,"domInteractive":1061,"domContentLoadedEventStart":1061,"domContentLoadedEventEnd":1144,"domComplete":1430,"loadEventStart":1430,"loadEventEnd":1432,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1029.7000000029802},{"name":"bigPipe.sidebar-id.end","time":1030.7000000029802},{"name":"bigPipe.activity-panel-pipe-id.start","time":1030.8999999985099},{"name":"bigPipe.activity-panel-pipe-id.end","time":1033.6000000014901},{"name":"activityTabFullyLoaded","time":1157.6000000014901}],"measures":[],"correlationId":"1d8375a0b52f2f","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":95,"dbReadsTimeInMs":13,"dbConnsTimeInMs":20,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}