# Percona/Galera Bug

**URL:** <https://forums.percona.com/t/percona-galera-bug/4338>\
**Category:** Percona XtraDB Cluster 5.x\
**Created:** [August 10, 2015, 2:25pm UTC](https://forums.percona.com/t/percona-galera-bug/4338 "2015-08-10T14:25:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![skinfrakiirid](https://avatars.discourse-cdn.com/v4/letter/s/a9a28c/32.png) [@skinfrakiirid](https://forums.percona.com/u/skinfrakiirid)\
**Post date:** [August 10, 2015, 2:25pm UTC](https://forums.percona.com/t/percona-galera-bug/4338/1 "2015-08-10T14:25:08Z")

</div>

Greetings,

I was referred to you by SeveralNines due to a bug we are seeing over and over again:  
09:36:59 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.  
Please help us make Percona XtraDB Cluster better by reporting any  
bugs at [URL][https://bugs.launchpad.net/percona-xtradb-cluster[/URL]](https://bugs.launchpad.net/percona-xtradb-cluster%5B/URL%5D)  
key\_buffer\_size=25165824  
read\_buffer\_size=131072  
max\_used\_connections=13  
max\_threads=152  
thread\_count=19  
connection\_count=9  
It is possible that mysqld could use up to  
key\_buffer\_size + (read\_buffer\_size + sort\_buffer\_size)\*max\_threads = 3781883 K bytes of memory  
Hope that’s ok; if not, decrease some variables in the equation.  
Thread pointer: 0x113974c0  
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 = 7fa794237d38 thread\_stack 0x40000  
/usr/sbin/mysqld(my\_print\_stacktrace+0x35)[0x8fa965]  
/usr/sbin/mysqld(handle\_fatal\_signal+0x4b4)[0x665644]  
/lib64/libpthread.so.0[0x305b60f710]  
/lib64/libc.so.6(gsignal+0x35)[0x305b232625]  
/lib64/libc.so.6(abort+0x175)[0x305b233e05]  
/usr/lib64/libgalera\_smm.so(_ZN6galera3FSMINS\_9TrxHandle5StateENS1\_10TransitionENS\_10EmptyGuardENS\_11EmptyActionEE8shift\_toES2_+0x188)[0x7fab9fcd7d68]  
/usr/lib64/libgalera\_smm.so(\_ZN6galera13ReplicatorSMM13post\_rollbackEPNS\_9TrxHandleE+0x2e)[0x7fab9fcf29de]  
/usr/lib64/libgalera\_smm.so(galera\_post\_rollback+0x68)[0x7fab9fd0c1e8]  
/usr/sbin/mysqld[0x7a906e]  
/usr/sbin/mysqld(\_Z15ha\_rollback\_lowP3THDb+0x97)[0x5a5057]  
/usr/sbin/mysqld(\_ZN13MYSQL\_BIN\_LOG8rollbackEP3THDb+0x10f)[0x8b26ff]  
/usr/sbin/mysqld(\_Z17ha\_rollback\_transP3THDb+0x74)[0x5a4e24]  
/usr/sbin/mysqld(\_Z15ha\_commit\_transP3THDbb+0x312)[0x5a5702]  
/usr/sbin/mysqld(\_Z17trans\_commit\_stmtP3THD+0x35)[0x78e495]  
/usr/sbin/mysqld(\_Z21mysql\_execute\_commandP3THD+0x954)[0x6ea7b4]  
/usr/sbin/mysqld(\_ZN13sp\_instr\_stmt9exec\_coreEP3THDPj+0x60)[0x82ed50]  
/usr/sbin/mysqld(\_ZN12sp\_lex\_instr23reset\_lex\_and\_exec\_coreEP3THDPjb+0x228)[0x82f088]  
/usr/sbin/mysqld(\_ZN12sp\_lex\_instr29validate\_lex\_and\_execute\_coreEP3THDPjb+0x8f)[0x830a6f]  
/usr/sbin/mysqld(\_ZN13sp\_instr\_stmt7executeEP3THDPj+0x2b0)[0x831b20]  
/usr/sbin/mysqld(\_ZN7sp\_head7executeEP3THDb+0x782)[0x66c442]  
/usr/sbin/mysqld(\_ZN7sp\_head17execute\_procedureEP3THDP4ListI4ItemE+0x707)[0x66d997]  
/usr/sbin/mysqld(\_Z21mysql\_execute\_commandP3THD+0x19cf)[0x6eb82f]  
/usr/sbin/mysqld(\_ZN13sp\_instr\_stmt9exec\_coreEP3THDPj+0x60)[0x82ed50]  
/usr/sbin/mysqld(\_ZN12sp\_lex\_instr23reset\_lex\_and\_exec\_coreEP3THDPjb+0x228)[0x82f088]  
/usr/sbin/mysqld(\_ZN12sp\_lex\_instr29validate\_lex\_and\_execute\_coreEP3THDPjb+0x8f)[0x830a6f]  
/usr/sbin/mysqld(\_ZN13sp\_instr\_stmt7executeEP3THDPj+0x2b0)[0x831b20]  
/usr/sbin/mysqld(\_ZN7sp\_head7executeEP3THDb+0x782)[0x66c442]  
/usr/sbin/mysqld(\_ZN7sp\_head17execute\_procedureEP3THDP4ListI4ItemE+0x707)[0x66d997]  
/usr/sbin/mysqld(\_Z21mysql\_execute\_commandP3THD+0x19cf)[0x6eb82f]  
/usr/sbin/mysqld(\_Z11mysql\_parseP3THDPcjP12Parser\_state+0x658)[0x6f0958]  
/usr/sbin/mysqld[0x6f0acd]  
/usr/sbin/mysqld(\_Z16dispatch\_command19enum\_server\_commandP3THDPcj+0x19d5)[0x6f2de5]  
/usr/sbin/mysqld(\_Z10do\_commandP3THD+0x22b)[0x6f42cb]  
/usr/sbin/mysqld(\_Z24do\_handle\_one\_connectionP3THD+0x17f)[0x6bc52f]  
/usr/sbin/mysqld(handle\_one\_connection+0x47)[0x6bc717]  
/usr/sbin/mysqld(pfs\_spawn\_thread+0x12a)[0xaf611a]  
/lib64/libpthread.so.0[0x305b6079d1]  
/lib64/libc.so.6(clone+0x6d)[0x305b2e88fd]  
Trying to get some variables.  
Some pointers may be invalid and cause the dump to abort.  
Query (7fa487440b90): is an invalid pointer  
Connection ID (thread ID): 25603  
Status: NOT\_KILLED  
You may download the Percona XtraDB Cluster operations manual by visiting  
[URL][http://www.percona.com/software/percona-xtradb-cluster/[/URL]](http://www.percona.com/software/percona-xtradb-cluster/%5B/URL%5D). You may find information  
in the manual which will help you identify the cause of the crash.

---

<div class="post-metadata">

**Author:** ![mirfan](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/mirfan/32/16890_2.png) [@mirfan](https://forums.percona.com/u/mirfan)\
**Post date:** [August 12, 2015, 2:57pm UTC](https://forums.percona.com/t/percona-galera-bug/4338/2 "2015-08-12T14:57:39Z")

</div>

What version of Percona XtraDB Cluster you are using ? Please provide my.cnf from affected node. We will try to check If it’s known bug.
