Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.4(EOL), 10.5
Description
SET @@global.wsrep_start_position='00000000-0000-0000-0000-000000000000:-2';
|
Leads to:
10.5.3 364e7a9ae6b5fbf69494cec30733b5ad28738cbb |
mysqld: /test/10.5_dbg/storage/innobase/trx/trx0rseg.cc:108: void trx_rseg_update_wsrep_checkpoint(buf_block_t*, const XID*, mtr_t*): Assertion `xid_seqno > wsrep_seqno' failed.
|
10.5.3 364e7a9ae6b5fbf69494cec30733b5ad28738cbb |
Core was generated by `/test/MD110420-mariadb-10.5.3-linux-x86_64-dbg/bin/mysqld --no-defaults --core-'.
|
Program terminated with signal SIGABRT, Aborted.
|
#0 __pthread_kill (threadid=<optimized out>, signo=signo@entry=6)
|
at ../sysdeps/unix/sysv/linux/pthread_kill.c:57
|
[Current thread is 1 (Thread 0x7f2a3698c700 (LWP 11627))]
|
(gdb) bt
|
#0 __pthread_kill (threadid=<optimized out>, signo=signo@entry=6) at ../sysdeps/unix/sysv/linux/pthread_kill.c:57
|
#1 0x0000556614ed721e in my_write_core (sig=sig@entry=6) at /test/10.5_dbg/mysys/stacktrace.c:518
|
#2 0x000055661467d08f in handle_fatal_signal (sig=6) at /test/10.5_dbg/sql/signal_handler.cc:329
|
#3 <signal handler called>
|
#4 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
|
#5 0x00007f2a350d0801 in __GI_abort () at abort.c:79
|
#6 0x00007f2a350c039a in __assert_fail_base (fmt=0x7f2a352477d8 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x556615349216 "xid_seqno > wsrep_seqno", file=file@entry=0x556615348f18 "/test/10.5_dbg/storage/innobase/trx/trx0rseg.cc", line=line@entry=108, function=function@entry=0x55661534a600 <trx_rseg_update_wsrep_checkpoint(buf_block_t*, xid_t const*, mtr_t*)::__PRETTY_FUNCTION__> "void trx_rseg_update_wsrep_checkpoint(buf_block_t*, const XID*, mtr_t*)") at assert.c:92
|
#7 0x00007f2a350c0412 in __GI___assert_fail (assertion=assertion@entry=0x556615349216 "xid_seqno > wsrep_seqno", file=file@entry=0x556615348f18 "/test/10.5_dbg/storage/innobase/trx/trx0rseg.cc", line=line@entry=108, function=function@entry=0x55661534a600 <trx_rseg_update_wsrep_checkpoint(buf_block_t*, xid_t const*, mtr_t*)::__PRETTY_FUNCTION__> "void trx_rseg_update_wsrep_checkpoint(buf_block_t*, const XID*, mtr_t*)") at assert.c:101
|
#8 0x0000556614c703a2 in trx_rseg_update_wsrep_checkpoint (rseg_header=rseg_header@entry=0x7f2a1748ff88, xid=xid@entry=0x7f2a3698a4a0, mtr=mtr@entry=0x7f2a36989df0) at /test/10.5_dbg/storage/innobase/trx/trx0rseg.cc:108
|
#9 0x0000556614c7171d in trx_rseg_update_wsrep_checkpoint (xid=xid@entry=0x7f2a3698a4a0, mtr=mtr@entry=0x7f2a36989df0) at /test/10.5_dbg/storage/innobase/trx/trx0rseg.cc:146
|
#10 0x0000556614c71bec in trx_rseg_update_wsrep_checkpoint (xid=xid@entry=0x7f2a3698a4a0) at /test/10.5_dbg/storage/innobase/trx/trx0rseg.cc:176
|
#11 0x0000556614a2f028 in innobase_wsrep_set_checkpoint (hton=0x7f2a34443088, xid=0x7f2a3698a4a0) at /test/10.5_dbg/storage/innobase/handler/ha_innodb.cc:19089
|
#12 0x00005566149f5b63 in set_SE_checkpoint (unused=unused@entry=0x0, plugin=<optimized out>, arg=arg@entry=0x7f2a3698a4a0) at /test/10.5_dbg/sql/wsrep_xid.cc:127
|
#13 0x00005566143ec38f in plugin_foreach_with_mask (thd=thd@entry=0x0, func=func@entry=0x5566149f5adb <set_SE_checkpoint(THD*, plugin_ref, void*)>, type=type@entry=1, state_mask=state_mask@entry=8, arg=arg@entry=0x7f2a3698a4a0) at /test/10.5_dbg/sql/sql_plugin.cc:2470
|
#14 0x00005566149f5ca7 in wsrep_set_SE_checkpoint (xid=...) at /test/10.5_dbg/sql/wsrep_xid.cc:134
|
#15 0x00005566149f5ce1 in wsrep_set_SE_checkpoint (wsgtid=..., gtid=...) at /test/10.5_dbg/sql/wsrep_xid.cc:142
|
#16 0x0000556614a05e0c in wsrep_sst_received (thd=thd@entry=0x7f2a08815088, uuid=..., seqno=seqno@entry=-2, state=state@entry=0x0, state_len=state_len@entry=0) at /test/10.5_dbg/sql/wsrep_sst.cc:355
|
#17 0x0000556614a09b26 in wsrep_set_local_position (thd=thd@entry=0x7f2a08815088, value=<optimized out>, length=<optimized out>, sst=sst@entry=true) at /test/10.5_dbg/sql/wsrep_var.cc:266
|
#18 0x0000556614a0a01f in wsrep_start_position_check (self=<optimized out>, thd=0x7f2a08815088, var=0x7f2a08874408) at /test/10.5_dbg/sql/wsrep_var.cc:294
|
#19 0x00005566142ebabe in sys_var::check (this=0x556615c318a0 <Sys_wsrep_start_position>, thd=thd@entry=0x7f2a08815088, var=var@entry=0x7f2a08874408) at /test/10.5_dbg/sql/set_var.cc:246
|
#20 0x00005566142ecb58 in set_var::check (this=0x7f2a08874408, thd=0x7f2a08815088) at /test/10.5_dbg/sql/set_var.cc:811
|
#21 0x00005566142ed284 in sql_set_variables (thd=thd@entry=0x7f2a08815088, var_list=var_list@entry=0x7f2a08819fa0, free=free@entry=true) at /test/10.5_dbg/sql/set_var.cc:739
|
#22 0x00005566143d650c in mysql_execute_command (thd=thd@entry=0x7f2a08815088) at /test/10.5_dbg/sql/sql_parse.cc:4976
|
#23 0x00005566143e09d1 in mysql_parse (thd=thd@entry=0x7f2a08815088, rawbuf=<optimized out>, length=<optimized out>, parser_state=parser_state@entry=0x7f2a3698b450, is_com_multi=is_com_multi@entry=false, is_next_command=is_next_command@entry=false) at /test/10.5_dbg/sql/sql_parse.cc:7953
|
#24 0x00005566143cc719 in dispatch_command (command=command@entry=COM_QUERY, thd=thd@entry=0x7f2a08815088, packet=packet@entry=0x7f2a08867089 "SET @@global.wsrep_start_position='00000000-0000-0000-0000-", '0' <repeats 12 times>, ":-2'", packet_length=packet_length@entry=75, is_com_multi=is_com_multi@entry=false, is_next_command=is_next_command@entry=false) at /test/10.5_dbg/sql/sql_parse.cc:1839
|
#25 0x00005566143caf6f in do_command (thd=0x7f2a08815088) at /test/10.5_dbg/sql/sql_parse.cc:1358
|
#26 0x0000556614525a53 in do_handle_one_connection (connect=<optimized out>, connect@entry=0x7f2a0d4433a8, put_in_cache=put_in_cache@entry=true) at /test/10.5_dbg/sql/sql_connect.cc:1422
|
#27 0x0000556614525d82 in handle_one_connection (arg=arg@entry=0x7f2a0d4433a8) at /test/10.5_dbg/sql/sql_connect.cc:1319
|
#28 0x0000556614986080 in pfs_spawn_thread (arg=0x7f2a34445888) at /test/10.5_dbg/storage/perfschema/pfs.cc:2201
|
#29 0x00007f2a35db36db in start_thread (arg=0x7f2a3698c700) at pthread_create.c:463
|
#30 0x00007f2a351b188f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
|
Bug confirmed present in:
MariaDB: 10.1.45 (dbg), 10.3.23 (dbg), 10.4.13 (dbg), 10.5.2 (dbg), 10.5.3 (dbg)
Bug confirmed not present in:
MariaDB: 10.1.45 (opt), 10.2.32 (dbg), 10.2.32 (opt), 10.3.23 (opt), 10.4.13 (opt), 10.5.2 (opt), 10.5.3 (opt)
MySQL: 5.5.62 (dbg), 5.5.62 (opt), 5.6.47 (dbg), 5.6.47 (opt), 5.7.29 (dbg), 5.7.29 (opt), 8.0.19 (dbg), 8.0.19 (opt)
Attachments
Issue Links
- relates to
-
MDEV-22708 Assertion `!mysql_bin_log.is_open() || thd.is_current_stmt_binlog_format_row()' failed in Delayed_insert::handle_inserts and in Diagnostics_area::set_eof_status
- Closed
-
MDEV-29086 Assertion `xid_seqno > wsrep_seqno' failed in trx_rseg_update_wsrep_checkpoint
- Open