Assertion `!flags.finalized' failed in binlog_cache_data::finalize with InnoDB MTR test

Bug #1371080 reported by Philip Stoev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MySQL patches by Codership
Status tracked in 5.6
5.6
New
Undecided
Unassigned

Bug Description

When running the innodb.innodb_ctype_ldml MTR test with wsrep library loaded, the server asserted as follows:

mysqltest: At line 13: query 'call mtr.add_suppression("Syntax error at '\\[strength tertiary\\]'")' failed: 2013: Lost connection to MySQL server during query

mysqld: /home/philips/git/codership-mysql/sql/binlog.cc:1205: int binlog_cache_data::finalize(THD*, Log_event*): Assertion `!flags.finalized' failed.

#7 0x0000003f2d82e892 in __assert_fail () from /lib64/libc.so.6
#8 0x0000000000a0fd48 in binlog_cache_data::finalize (this=0x7f38cc0586b0, thd=0x2789320, end_event=0x7f38e85d4200) at /home/philips/git/codership-mysql/sql/binlog.cc:1205
#9 0x0000000000a0ed9c in binlog_stmt_cache_data::finalize (this=0x7f38cc0586b0, thd=0x2789320) at /home/philips/git/codership-mysql/sql/binlog.cc:623
#10 0x0000000000a1c442 in MYSQL_BIN_LOG::commit (this=0x17ddc40 <mysql_bin_log>, thd=0x2789320, all=false) at /home/philips/git/codership-mysql/sql/binlog.cc:6376
#11 0x0000000000a21c8e in wsrep_thd_binlog_commit (thd=0x2789320, all=false) at /home/philips/git/codership-mysql/sql/binlog.cc:9143
#12 0x0000000000719891 in TC_LOG_DUMMY::commit (this=0x17bc5c8 <tc_log_dummy>, thd=0x2789320, all=false) at /home/philips/git/codership-mysql/sql/log.h:124
#13 0x000000000089d208 in trans_commit_stmt (thd=0x2789320) at /home/philips/git/codership-mysql/sql/transaction.cc:486
#14 0x00000000007dd6f5 in mysql_execute_command (thd=0x2789320) at /home/philips/git/codership-mysql/sql/sql_parse.cc:5444
#15 0x00000000007e0ba7 in mysql_parse (thd=0x2789320, rawbuf=0x7f38cc004fd0 "call mtr.add_suppression(\"Syntax error at '\\\\[strength tertiary\\\\]'\")", length=69, parser_state=0x7f38e85d76a0) at /home/philips/git/codership-mysql/sql/sql_parse.cc:6815
#16 0x00000000007e01b1 in wsrep_mysql_parse (thd=0x2789320, rawbuf=0x7f38cc004fd0 "call mtr.add_suppression(\"Syntax error at '\\\\[strength tertiary\\\\]'\")", length=69, parser_state=0x7f38e85d76a0) at /home/philips/git/codership-mysql/sql/sql_parse.cc:6595
#17 0x00000000007d251e in dispatch_command (command=COM_QUERY, thd=0x2789320, packet=0x285bba1 "call mtr.add_suppression(\"Syntax error at '\\\\[strength tertiary\\\\]'\")", packet_length=69) at /home/philips/git/codership-mysql/sql/sql_parse.cc:1525
#18 0x00000000007d103a in do_command (thd=0x2789320) at /home/philips/git/codership-mysql/sql/sql_parse.cc:1114
#19 0x000000000079bc6c in do_handle_one_connection (thd_arg=0x2789320) at /home/philips/git/codership-mysql/sql/sql_connect.cc:1007
#20 0x000000000079b763 in handle_one_connection (arg=0x2789320) at /home/philips/git/codership-mysql/sql/sql_connect.cc:916
#21 0x0000000000ac697f in pfs_spawn_thread (arg=0x2701720) at /home/philips/git/codership-mysql/storage/perfschema/pfs.cc:1860
#22 0x0000003f2e007f35 in start_thread () from /lib64/libpthread.so.0
#23 0x0000003f2d8f4c3d in clone () from /lib64/libc.so.6

(gdb) print flags
$1 = {transactional = false, incident = false, immediate = false, finalized = true, with_xid = false}

To reproduce, run the innodb.innodb_ctype_ldml MTR test, but make sure your my.cnf has wsrep_provider and wsrep_cluster_address='gcomm://'.

Revision history for this message
Philip Stoev (philip-stoev-f) wrote :
Revision history for this message
Philip Stoev (philip-stoev-f) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.