Details
Description
Testcase
CREATE TABLE t WITH SYSTEM VERSIONING AS SELECT 1 AS i;
|
Leads to
Core was generated by `/test/GAL_MD270123-mariadb-11.0.1-linux-x86_64-dbg/bin/mysqld --defaults-file=/'.
|
Program terminated with signal SIGABRT, Aborted.
|
#0 __pthread_kill (threadid=<optimized out>, signo=6)
|
at ../sysdeps/unix/sysv/linux/pthread_kill.c:56
|
[Current thread is 1 (Thread 0x1465bc0fa700 (LWP 3419933))]
|
(gdb) bt
|
#0 __pthread_kill (threadid=<optimized out>, signo=6) at ../sysdeps/unix/sysv/linux/pthread_kill.c:56
|
#1 0x000055f942ac83d0 in my_write_core (sig=6) at /test/11.0/mysys/stacktrace.c:424
|
#2 0x000055f942229ce8 in handle_fatal_signal (sig=6) at /test/11.0/sql/signal_handler.cc:357
|
#3 <signal handler called>
|
#4 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
|
#5 0x0000146609612859 in __GI_abort () at abort.c:79
|
#6 0x0000146609612729 in __assert_fail_base (fmt=0x1466097a8588 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n",
|
assertion=0x55f9432463f0 "state() == s_executing || state() == s_preparing || state() == s_prepared || state() == s_must_abort || state() == s_aborting || state() == s_cert_failed || state() == s_must_replay", file=0x55f9432456b8 "/test/11.0/wsrep-lib/src/transaction.cpp", line=661, function=<optimized out>) at assert.c:92
|
#7 0x0000146609623fd6 in __GI___assert_fail (
|
assertion=0x55f9432463f0 "state() == s_executing || state() == s_preparing || state() == s_prepared || state() == s_must_abort || state() == s_aborting || state() == s_cert_failed || state() == s_must_replay", file=0x55f9432456b8 "/test/11.0/wsrep-lib/src/transaction.cpp", line=661, function=0x55f9432463c0 "int wsrep::transaction::before_rollback()") at assert.c:101
|
#8 0x000055f942ba477f in wsrep::transaction::before_rollback (this=0x146594007950) at /test/11.0/wsrep-lib/src/transaction.cpp:661
|
#9 0x000055f942248d6b in wsrep::client_state::before_rollback (this=0x1465940078e8) at /test/11.0/wsrep-lib/include/wsrep/client_state.hpp:526
|
#10 0x000055f94222c17b in wsrep_before_rollback (thd=0x146594000ff8, all=true) at /test/11.0/sql/wsrep_trans_observer.h:404
|
#11 0x000055f9422312fa in ha_rollback_trans (thd=0x146594000ff8, all=true) at /test/11.0/sql/handler.cc:2185
|
#12 0x000055f942050389 in trans_rollback (thd=0x146594000ff8) at /test/11.0/sql/transaction.cc:372
|
#13 0x000055f9425cfcf0 in Wsrep_high_priority_service::rollback (this=0x1465bc0f9bc0, ws_handle=..., ws_meta=...) at /test/11.0/sql/wsrep_high_priority_service.cc:382
|
#14 0x000055f942b96335 in apply_write_set (server_state=..., high_priority_service=..., ws_handle=..., ws_meta=..., data=...) at /test/11.0/wsrep-lib/src/server_state.cpp:342
|
#15 0x000055f942b9a0f0 in wsrep::server_state::on_apply (this=0x55f9460924d0, high_priority_service=..., ws_handle=..., ws_meta=..., data=...) at /test/11.0/wsrep-lib/src/server_state.cpp:1119
|
#16 0x000055f942bb7c79 in wsrep::high_priority_service::apply (this=0x1465bc0f9bc0, ws_handle=..., ws_meta=..., data=...) at /test/11.0/wsrep-lib/include/wsrep/high_priority_service.hpp:47
|
#17 0x000055f942bb48bd in (anonymous namespace)::apply_cb (ctx=0x1465bc0f9bc0, wsh=0x1465bc0f8ba0, flags=65, buf=0x1465bc0f8bb0, meta=0x1465bc0f8e60, exit_loop=0x1465bc0f8e1f)
|
at /test/11.0/wsrep-lib/src/wsrep_provider_v26.cpp:507
|
#18 0x0000146609091ee5 in galera::TrxHandleSlave::apply (this=this@entry=0x146594022390, recv_ctx=recv_ctx@entry=0x1465bc0f9bc0,
|
apply_cb=0x55f942bb468a <(anonymous namespace)::apply_cb(void*, wsrep_ws_handle_t const*, uint32_t, wsrep_buf_t const*, wsrep_trx_meta_t const*, wsrep_bool_t*)>, meta=...,
|
exit_loop=exit_loop@entry=@0x1465bc0f8e1f: false) at /test/galera_4x_dbg/galera/src/trx_handle.cpp:396
|
#19 0x00001466090a86ae in galera::ReplicatorSMM::apply_trx (this=0x55f9460a7d20, recv_ctx=0x1465bc0f9bc0, ts=...) at /test/galera_4x_dbg/galera/src/replicator_smm.cpp:516
|
#20 0x00001466090ac908 in galera::ReplicatorSMM::process_trx (this=0x55f9460a7d20, recv_ctx=0x1465bc0f9bc0, ts_ptr=...) at /test/galera_4x_dbg/galera/src/replicator_smm.cpp:2138
|
#21 0x00001466090de319 in galera::GcsActionSource::process_writeset (this=0x55f9460a0870, recv_ctx=0x1465bc0f9bc0, act=..., exit_loop=@0x1465bc0f979f: false)
|
at /test/galera_4x_dbg/galera/src/gcs_action_source.cpp:62
|
#22 0x00001466090ded63 in galera::GcsActionSource::dispatch (this=0x55f9460a0870, recv_ctx=0x1465bc0f9bc0, act=..., exit_loop=<optimized out>) at /test/galera_4x_dbg/galera/src/gcs_action_source.cpp:110
|
#23 0x00001466090df322 in galera::GcsActionSource::process (this=0x55f9460a0870, recv_ctx=0x1465bc0f9bc0, exit_loop=@0x1465bc0f979f: false) at /test/galera_4x_dbg/galera/src/gcs_action_source.cpp:186
|
#24 0x00001466090a9d50 in galera::ReplicatorSMM::async_recv (this=0x55f9460a7d20, recv_ctx=0x1465bc0f9bc0) at /test/galera_4x_dbg/galera/src/replicator_smm.cpp:402
|
#25 0x000014660907e641 in galera_recv (gh=<optimized out>, recv_ctx=<optimized out>) at /test/galera_4x_dbg/galera/src/wsrep_provider.cpp:264
|
#26 0x000055f942bb5da4 in wsrep::wsrep_provider_v26::run_applier (this=0x55f945febee0, applier_ctx=0x1465bc0f9bc0) at /test/11.0/wsrep-lib/src/wsrep_provider_v26.cpp:858
|
#27 0x000055f9425f5ee7 in wsrep_replication_process (thd=0x146594000ff8, arg=0x55f94682c040) at /test/11.0/sql/wsrep_thd.cc:57
|
#28 0x000055f9425e4530 in start_wsrep_THD (arg=0x55f94682c040) at /test/11.0/sql/wsrep_mysqld.cc:3653
|
#29 0x000055f94254d0f9 in pfs_spawn_thread (arg=0x55f946825238) at /test/11.0/storage/perfschema/pfs.cc:2201
|
#30 0x0000146609b3e609 in start_thread (arg=<optimized out>) at pthread_create.c:477
|
#31 0x000014660970f133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
|
(gdb)
|
Attachments
Issue Links
- split from
-
MDEV-30372 Assertion `state() == s_executing || state() == s_preparing || state() == s_prepared || state() == s_must_abort || state() == s_aborting || state() == s_cert_failed || state() == s_must_replay' failed
- Closed