file=0x561c19f27898 "/test/11.0_opt/wsrep-lib/include/wsrep/client_state.hpp", line=303, function=<optimized out>) at assert.c:92
#7 0x00001477bf2bbfd6 in __GI___assert_fail (assertion=assertion@entry=0x561c1a0ae572 "mode_ == m_high_priority", file=file@entry=0x561c19f27898 "/test/11.0_opt/wsrep-lib/include/wsrep/client_state.hpp",
line=line@entry=303, function=function@entry=0x561c1a0ae3c8 "void wsrep::client_state::after_applying()") at assert.c:101
#8 0x0000561c19b08883 in wsrep::client_state::after_applying (this=0x147738023368) at /test/11.0_opt/sql/sql_class.h:2332
#9 Wsrep_high_priority_service::log_dummy_write_set (err=..., ws_meta=..., ws_handle=..., this=0x147738024590) at /test/11.0_opt/sql/wsrep_high_priority_service.cc:519
#10 Wsrep_high_priority_service::log_dummy_write_set (this=0x147738024590, ws_handle=..., ws_meta=..., err=...) at /test/11.0_opt/sql/wsrep_high_priority_service.cc:465
#11 0x0000561c19eedd3e in apply_fragment (server_state=..., high_priority_service=..., streaming_applier=0x147738024590, ws_handle=..., ws_meta=..., data=...) at /test/11.0_opt/wsrep-lib/src/server_state.cpp:123
#12 0x0000561c19ef057f in apply_write_set (server_state=..., high_priority_service=..., ws_handle=..., ws_meta=..., data=...) at /test/11.0_opt/wsrep-lib/src/server_state.cpp:360
#13 0x0000561c19ef11c1 in wsrep::server_state::on_apply (this=<optimized out>, high_priority_service=..., ws_handle=..., ws_meta=..., data=...) at /test/11.0_opt/wsrep-lib/src/server_state.cpp:1130
#14 0x0000561c19f073bc in wsrep::high_priority_service::apply (data=..., ws_meta=..., ws_handle=..., this=0x14777cd9bcf0) at /test/11.0_opt/wsrep-lib/include/wsrep/high_priority_service.hpp:47
exit_loop=exit_loop@entry=@0x14777cd9af9f: false) at /test/galera_4x/galera/src/trx_handle.cpp:396
#17 0x00001477bed266fe in galera::ReplicatorSMM::apply_trx (this=0x561c1c599030, recv_ctx=0x14777cd9bcf0, ts=...) at /test/galera_4x/galera/src/replicator_smm.cpp:516
#18 0x00001477bed2a918 in galera::ReplicatorSMM::process_trx (this=0x561c1c599030, recv_ctx=0x14777cd9bcf0, ts_ptr=...) at /test/galera_4x/galera/src/replicator_smm.cpp:2138
#19 0x00001477bed5c339 in galera::GcsActionSource::process_writeset (this=0x561c1c591b70, recv_ctx=0x14777cd9bcf0, act=..., exit_loop=@0x14777cd9b91f: false)
at /test/galera_4x/galera/src/gcs_action_source.cpp:62
#20 0x00001477bed5cd73 in galera::GcsActionSource::dispatch (this=0x561c1c591b70, recv_ctx=0x14777cd9bcf0, act=..., exit_loop=<optimized out>) at /test/galera_4x/galera/src/gcs_action_source.cpp:110
#21 0x00001477bed5d332 in galera::GcsActionSource::process (this=0x561c1c591b70, recv_ctx=0x14777cd9bcf0, exit_loop=@0x14777cd9b91f: false) at /test/galera_4x/galera/src/gcs_action_source.cpp:186
#22 0x00001477bed27da0 in galera::ReplicatorSMM::async_recv (this=0x561c1c599030, recv_ctx=0x14777cd9bcf0) at /test/galera_4x/galera/src/replicator_smm.cpp:402
#23 0x00001477becfc681 in galera_recv (gh=<optimized out>, recv_ctx=<optimized out>) at /test/galera_4x/galera/src/wsrep_provider.cpp:264
#24 0x0000561c19f07a02 in wsrep::wsrep_provider_v26::run_applier (this=<optimized out>, applier_ctx=<optimized out>) at /test/11.0_opt/wsrep-lib/src/wsrep_provider_v26.cpp:858
#25 0x0000561c19b25cb1 in wsrep_replication_process (thd=0x147738000c58, arg=<optimized out>) at /test/11.0_opt/wsrep-lib/include/wsrep/server_state.hpp:320
#26 0x0000561c19b14228 in start_wsrep_THD (arg=0x561c1c896f80) at /test/11.0_opt/sql/wsrep_mysqld.h:541
#27 0x00001477bf7bb609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#28 0x00001477bf3a7133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
#0 __pthread_kill (threadid=<optimized out>, signo=signo@entry=11) at ../sysdeps/unix/sysv/linux/pthread_kill.c:56
#1 0x00005634a5c559d3 in my_write_core (sig=sig@entry=11) at /test/11.0_dbg/mysys/stacktrace.c:424
#2 0x00005634a5550cf9 in handle_fatal_signal (sig=11) at /test/11.0_dbg/sql/signal_handler.cc:357
#3 <signal handler called>
#4 std::__atomic_base<wait_for_commit*>::load (__m=std::memory_order_relaxed, this=0x8f8f8f8f8f8f9087) at /usr/include/c++/9/bits/atomic_base.h:734
#5 std::atomic<wait_for_commit*>::load (__m=std::memory_order_relaxed, this=0x8f8f8f8f8f8f9087) at /usr/include/c++/9/atomic:519
#6 wait_for_commit::unregister_wait_for_prior_commit (this=0x8f8f8f8f8f8f8f8f) at /test/11.0_dbg/sql/sql_class.h:2355
#7 wsrep_unregister_from_group_commit (thd=0x14f714020e88) at /test/11.0_dbg/sql/wsrep_binlog.cc:390
#8 0x00005634a57fec83 in Wsrep_high_priority_service::log_dummy_write_set (this=0x14f71402aa70, ws_handle=..., ws_meta=..., err=...) at /test/11.0_dbg/sql/wsrep_high_priority_service.cc:513
#9 0x00005634a5dc3ff8 in apply_fragment (server_state=..., high_priority_service=..., streaming_applier=streaming_applier@entry=0x14f71402aa70, ws_handle=..., ws_meta=..., data=...)
at /test/11.0_dbg/wsrep-lib/src/server_state.cpp:123
#10 0x00005634a5dcc3c8 in apply_write_set (server_state=..., high_priority_service=..., ws_handle=..., ws_meta=..., data=...) at /test/11.0_dbg/wsrep-lib/src/server_state.cpp:360
#11 0x00005634a5dcd1a3 in wsrep::server_state::on_apply (this=<optimized out>, high_priority_service=..., ws_handle=..., ws_meta=..., data=...) at /test/11.0_dbg/wsrep-lib/src/server_state.cpp:1130
#12 0x00005634a5ddfd3a in wsrep::high_priority_service::apply (data=..., ws_meta=..., ws_handle=..., this=0x14f73f296c00) at /test/11.0_dbg/wsrep-lib/include/wsrep/high_priority_service.hpp:47
exit_loop=exit_loop@entry=@0x14f73f295eaf: false) at /test/galera_4x/galera/src/trx_handle.cpp:396
#15 0x000014f7b1cab6fe in galera::ReplicatorSMM::apply_trx (this=0x5634a799e0b0, recv_ctx=0x14f73f296c00, ts=...) at /test/galera_4x/galera/src/replicator_smm.cpp:516
#16 0x000014f7b1caf918 in galera::ReplicatorSMM::process_trx (this=0x5634a799e0b0, recv_ctx=0x14f73f296c00, ts_ptr=...) at /test/galera_4x/galera/src/replicator_smm.cpp:2138
#17 0x000014f7b1ce1339 in galera::GcsActionSource::process_writeset (this=0x5634a7996bd0, recv_ctx=0x14f73f296c00, act=..., exit_loop=@0x14f73f29682f: false)
at /test/galera_4x/galera/src/gcs_action_source.cpp:62
#18 0x000014f7b1ce1d73 in galera::GcsActionSource::dispatch (this=0x5634a7996bd0, recv_ctx=0x14f73f296c00, act=..., exit_loop=<optimized out>) at /test/galera_4x/galera/src/gcs_action_source.cpp:110
#19 0x000014f7b1ce2332 in galera::GcsActionSource::process (this=0x5634a7996bd0, recv_ctx=0x14f73f296c00, exit_loop=@0x14f73f29682f: false) at /test/galera_4x/galera/src/gcs_action_source.cpp:186
#20 0x000014f7b1cacda0 in galera::ReplicatorSMM::async_recv (this=0x5634a799e0b0, recv_ctx=0x14f73f296c00) at /test/galera_4x/galera/src/replicator_smm.cpp:402
#21 0x000014f7b1c81681 in galera_recv (gh=<optimized out>, recv_ctx=<optimized out>) at /test/galera_4x/galera/src/wsrep_provider.cpp:264
#22 0x00005634a5de0a12 in wsrep::wsrep_provider_v26::run_applier (this=<optimized out>, applier_ctx=<optimized out>) at /test/11.0_dbg/wsrep-lib/src/wsrep_provider_v26.cpp:858
#23 0x00005634a581c593 in wsrep_replication_process (thd=0x14f714000f88, arg=<optimized out>) at /test/11.0_dbg/sql/wsrep_server_state.h:56
#24 0x00005634a5809434 in start_wsrep_THD (arg=0x5634a7de42e0) at /test/11.0_dbg/sql/wsrep_mysqld.h:541
#25 0x000014f7b2740609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#26 0x000014f7b232c133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Attachments
Issue Links
relates to
MDEV-25455Assertion `thd->wsrep_trx().active()' failed virtual int Wsrep_applier_service::apply_write_set(const wsrep::ws_meta&, const wsrep::const_buffer&, wsrep::mutable_buffer&)
Confirmed
MDEV-35167After upgrading from 10.6.16 to 10.6.19, CTAS crashes the slave instance