[MDEV-13799] [Draft] BINLOG_FORMAT_STMT || current_stmt_binlog_format == BINLOG_FORMAT_ROW Created: 2017-09-13  Updated: 2018-01-09  Resolved: 2018-01-09

Status: Closed
Project: MariaDB Server
Component/s: Replication
Affects Version/s: 10.1
Fix Version/s: N/A

Type: Bug Priority: Major
Reporter: Andrii Nikitin (Inactive) Assignee: Unassigned
Resolution: Incomplete Votes: 0
Labels: None


 Description   

Thread 7756 "mysqld" received signal SIGABRT, Aborted.
__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:58
58 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:58
#1 0x00007f80448083ea in __GI_abort () at abort.c:89
#2 0x00007f80447febb7 in __assert_fail_base (fmt=<optimized out>, assertion=assertion@entry=0x557582dbe528 "current_stmt_binlog_format == BINLOG_FORMAT_STMT || current_stmt_binlog_format == BINLOG_FORMAT_ROW",
file=file@entry=0x557582dbe390 "/home/a/mariadb-environs/_depot/m-branch/10.1/sql/sql_class.h", line=line@entry=2201,
function=function@entry=0x557582dc11c0 <THD::is_current_stmt_binlog_format_row() const::_PRETTY_FUNCTION_> "int THD::is_current_stmt_binlog_format_row() const") at assert.c:92
#3 0x00007f80447fec62 in _GI__assert_fail (assertion=0x557582dbe528 "current_stmt_binlog_format == BINLOG_FORMAT_STMT || current_stmt_binlog_format == BINLOG_FORMAT_ROW", file=0x557582dbe390 "/home/a/mariadb-environs/_depot/m-branch/10.1/sql/sql_class.h", line=2201,
function=0x557582dc11c0 <THD::is_current_stmt_binlog_format_row() const::_PRETTY_FUNCTION_> "int THD::is_current_stmt_binlog_format_row() const") at assert.c:101
#4 0x00005575823fcf95 in THD::is_current_stmt_binlog_format_row (this=0x7f80207f7070) at /home/a/mariadb-environs/_depot/m-branch/10.1/sql/sql_class.h:2200
#5 0x0000557582785961 in use_trans_cache (thd=0x7f80207f7070, is_transactional=true) at /home/a/mariadb-environs/_depot/m-branch/10.1/sql/log.cc:5406
#6 0x000055758278649c in MYSQL_BIN_LOG::remove_pending_rows_event (this=0x5575837860a0 <mysql_bin_log>, thd=0x7f80207f7070, is_transactional=true) at /home/a/mariadb-environs/_depot/m-branch/10.1/sql/log.cc:5742
#7 0x0000557582435b91 in THD::binlog_remove_pending_rows_event (this=0x7f80207f7070, clear_maps=true, is_transactional=true) at /home/a/mariadb-environs/_depot/m-branch/10.1/sql/sql_class.cc:6658
#8 0x000055758277c6ca in binlog_truncate_trx_cache (thd=0x7f80207f7070, cache_mngr=0x7f8007c3a670, all=true) at /home/a/mariadb-environs/_depot/m-branch/10.1/sql/log.cc:1903
#9 0x000055758277ce32 in binlog_rollback (hton=0x7f8043c35170, thd=0x7f80207f7070, all=true) at /home/a/mariadb-environs/_depot/m-branch/10.1/sql/log.cc:2113
#10 0x00005575826aaa27 in ha_rollback_trans (thd=0x7f80207f7070, all=true) at /home/a/mariadb-environs/_depot/m-branch/10.1/sql/handler.cc:1671
#11 0x00005575825b4996 in trans_rollback (thd=0x7f80207f7070) at /home/a/mariadb-environs/_depot/m-branch/10.1/sql/transaction.cc:340
#12 0x000055758242a113 in THD::cleanup (this=0x7f80207f7070) at /home/a/mariadb-environs/_depot/m-branch/10.1/sql/sql_class.cc:1586
#13 0x000055758239e713 in thd_cleanup (thd=0x7f80207f7070) at /home/a/mariadb-environs/_depot/m-branch/10.1/sql/mysqld.cc:2756
#14 0x000055758239e880 in unlink_thd (thd=0x7f80207f7070) at /home/a/mariadb-environs/_depot/m-branch/10.1/sql/mysqld.cc:2824
#15 0x000055758239ec85 in one_thread_per_connection_end (thd=0x7f80207f7070, put_in_cache=true) at /home/a/mariadb-environs/_depot/m-branch/10.1/sql/mysqld.cc:2952
#16 0x00005575825a016d in do_handle_one_connection (thd_arg=0x7f80207f7070) at /home/a/mariadb-environs/_depot/m-branch/10.1/sql/sql_connect.cc:1368
#17 0x000055758259fdb5 in handle_one_connection (arg=0x7f80207f7070) at /home/a/mariadb-environs/_depot/m-branch/10.1/sql/sql_connect.cc:1261
#18 0x00007f80452306ca in start_thread (arg=0x7f804456eb00) at pthread_create.c:333
#19 0x00007f80448d9caf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105



 Comments   
Comment by Elena Stepanova [ 2018-01-09 ]

Closing for now as there is no information whatsoever about how it happened.

Generated at Thu Feb 08 08:08:27 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.