Comment 6 for bug 1277986

Revision history for this message
Raghavendra D Prabhu (raghavendra-prabhu) wrote : Re: Empty GRA_*_*.log file generated after closing a MySQL session that was used to insert rows on a MEMORY table

Demangled backtrace for codership-5.6 binary:

#0 0x00007ffff6166389 in raise () from /usr/lib/libc.so.6
#1 0x00007ffff6167788 in abort () from /usr/lib/libc.so.6
#2 0x00007ffff615f4a6 in __assert_fail_base () from /usr/lib/libc.so.6
#3 0x00007ffff615f552 in __assert_fail () from /usr/lib/libc.so.6
#4 0x00000000008ccb6d in binlog_cache_data::finalize (this=this@entry=0x7fff8000f720, thd=thd@entry=0x2438e20, end_event=end_event@entry=0x7fffcc1b6240)
    at /media/Tintin/Work/code/codership/codership-5.6/sql/binlog.cc:1181
#5 0x00000000008ccd04 in binlog_stmt_cache_data::finalize (this=this@entry=0x7fff8000f720, thd=thd@entry=0x2438e20) at /media/Tintin/Work/code/codership/codership-5.6/sql/binlog.cc:601
#6 0x00000000008dfce5 in MYSQL_BIN_LOG::commit (this=this@entry=0x147bdc0 <mysql_bin_log>, thd=0x2438e20, all=<optimized out>) at /media/Tintin/Work/code/codership/codership-5.6/sql/binlog.cc:6287
#7 0x00000000008e035b in wsrep_thd_binlog_commit (thd=<optimized out>, all=<optimized out>) at /media/Tintin/Work/code/codership/codership-5.6/sql/binlog.cc:8985
#8 0x000000000065d68d in TC_LOG_DUMMY::commit (this=<optimized out>, thd=<optimized out>, all=<optimized out>) at /media/Tintin/Work/code/codership/codership-5.6/sql/log.h:124
#9 0x00000000005a7dcf in ha_commit_trans (thd=thd@entry=0x2438e20, all=all@entry=false, ignore_global_read_lock=ignore_global_read_lock@entry=false)
    at /media/Tintin/Work/code/codership/codership-5.6/sql/handler.cc:1458
#10 0x000000000079bde1 in trans_commit_stmt (thd=thd@entry=0x2438e20) at /media/Tintin/Work/code/codership/codership-5.6/sql/transaction.cc:473
#11 0x00000000007007dd in mysql_execute_command (thd=thd@entry=0x2438e20) at /media/Tintin/Work/code/codership/codership-5.6/sql/sql_parse.cc:5405
#12 0x0000000000701ddd in mysql_parse (thd=thd@entry=0x2438e20, rawbuf=rawbuf@entry=0x7fff80005020 "insert into mem1(a) values (NULL)", length=length@entry=33, parser_state=parser_state@entry=0x7fffcc1b9610)
    at /media/Tintin/Work/code/codership/codership-5.6/sql/sql_parse.cc:6775
#13 0x0000000000702761 in wsrep_mysql_parse (thd=thd@entry=0x2438e20, rawbuf=0x7fff80005020 "insert into mem1(a) values (NULL)", length=33, parser_state=parser_state@entry=0x7fffcc1b9610)
    at /media/Tintin/Work/code/codership/codership-5.6/sql/sql_parse.cc:6555
#14 0x0000000000704005 in dispatch_command (command=command@entry=COM_QUERY, thd=thd@entry=0x2438e20, packet=packet@entry=0x2548491 "insert into mem1(a) values (NULL)", packet_length=packet_length@entry=33)
    at /media/Tintin/Work/code/codership/codership-5.6/sql/sql_parse.cc:1526
#15 0x00000000007067a1 in do_command (thd=0x2438e20) at /media/Tintin/Work/code/codership/codership-5.6/sql/sql_parse.cc:1118
#16 0x00000000006c9738 in do_handle_one_connection (thd_arg=thd_arg@entry=0x2438e20) at /media/Tintin/Work/code/codership/codership-5.6/sql/sql_connect.cc:1007
#17 0x00000000006c98c3 in handle_one_connection (arg=arg@entry=0x2438e20) at /media/Tintin/Work/code/codership/codership-5.6/sql/sql_connect.cc:916
#18 0x0000000000c22de8 in pfs_spawn_thread (arg=0x24c0390) at /media/Tintin/Work/code/codership/codership-5.6/storage/perfschema/pfs.cc:1858
#19 0x00007ffff7bc70a2 in start_thread () from /usr/lib/libpthread.so.0
#20 0x00007ffff6216d1d in clone () from /usr/lib/libc.so.6

(Will attach full bt).