Comment 7 for bug 1234395

Revision history for this message
Raghavendra D Prabhu (raghavendra-prabhu) wrote :

Able to confirm this with codership-5.6 latest HEAD build as well.

mysqld: /media/Tintin/Work/code/codership/codership-5.6/sql/transaction.cc:42: bool trans_check_state(THD*): Assertion `thd->transaction.stmt.is_empty()' failed.
13:15:56 UTC - mysqld got signal 6 ;
This could be because you hit a bug. It is also possible that this binary
or one of the libraries it was linked against is corrupt, improperly built,
or misconfigured. This error can also be caused by malfunctioning hardware.
We will try our best to scrape up some info that will hopefully help
diagnose the problem, but since we have already crashed,
something is definitely wrong and this may fail.

key_buffer_size=8388608
read_buffer_size=131072
max_used_connections=3
max_threads=151
thread_count=3
connection_count=3
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 68310 K bytes of memory
Hope that's ok; if not, decrease some variables in the equation.

Thread pointer: 0x7f81200009a0
Attempting backtrace. You can use the following information to find out
where mysqld died. If you see no messages after this, something went
terribly wrong...
stack_bottom = 7f8145db2ae8 thread_stack 0x40000
/chip/bin/mysqld(my_print_stacktrace+0x2c)[0x946e9a]
/chip/bin/mysqld(handle_fatal_signal+0x2f7)[0x67f607]
/usr/lib/libpthread.so.0(+0xf870)[0x7f8145b0b870]
/usr/lib/libc.so.6(gsignal+0x39)[0x7f81440a13d9]
/usr/lib/libc.so.6(abort+0x148)[0x7f81440a27d8]
/usr/lib/libc.so.6(+0x2e506)[0x7f814409a506]
/usr/lib/libc.so.6(+0x2e5b2)[0x7f814409a5b2]
/chip/bin/mysqld(_Z17trans_check_stateP3THD+0x5a)[0x7ab77a]
/chip/bin/mysqld(_Z14trans_rollbackP3THD+0x29e)[0x7ac53f]
/chip/bin/mysqld(_Z15wsrep_commit_cbPvPK14wsrep_trx_metaPbb+0x184)[0x5b0e4e]
/pxc56/lib/libgalera_smm.so(+0x1b4d5d)[0x7f81435f3d5d]
/pxc56/lib/libgalera_smm.so(_ZN6galera13ReplicatorSMM9apply_trxEPvPNS_9TrxHandleE+0xb0)[0x7f81435f69b0]
/pxc56/lib/libgalera_smm.so(_ZN6galera13ReplicatorSMM11process_trxEPvPNS_9TrxHandleE+0x10e)[0x7f81435f8efe]
/pxc56/lib/libgalera_smm.so(_ZN6galera15GcsActionSource8dispatchEPvRK10gcs_actionRb+0x1b9)[0x7f81435d7a19]
/pxc56/lib/libgalera_smm.so(_ZN6galera15GcsActionSource7processEPvRb+0x4c)[0x7f81435d890c]
/pxc56/lib/libgalera_smm.so(_ZN6galera13ReplicatorSMM10async_recvEPv+0x6b)[0x7f81435f911b]
/pxc56/lib/libgalera_smm.so(galera_recv+0x18)[0x7f8143609c68]
/chip/bin/mysqld[0x5b1188]
/chip/bin/mysqld(start_wsrep_THD+0x5c2)[0x598a3f]
/usr/lib/libpthread.so.0(+0x80a2)[0x7f8145b040a2]
/usr/lib/libc.so.6(clone+0x6d)[0x7f814415143d]

Trying to get some variables.
Some pointers may be invalid and cause the dump to abort.
Query (0): Connection ID (thread ID): 2
Status: NOT_KILLED

The manual page at http://dev.mysql.com/doc/mysql/en/crashing.html contains
information that should help you find out what is causing the crash.
Writing a core file

==================================================

It crashes quite rapidly after start of test (with both PXC and codership binaries) - http://paste.wnohang.net/cdd43e

perl runall-new.pl --basedir=/chip --galera=ms --mysqld=--skip-performance-schema --reporter=Shutdown,Backtrace,ErrorLog,ErrorLogAlarm,Deadlock --grammar=conf/galera/galera_stress-56.yy --gendata=conf/galera/galera_stress-56.zz --threads=16 --queries=50000 --mysqld=--wsrep-provider=/pxc56/lib/libgalera_smm.so --seed=time --mysqld=--innodb_flush_method=O_DIRECT --mem

The grammars/scripts used are from bzr+ssh://bazaar.launchpad.net/~raghavendra-prabhu/randgen/pxc/