SHOW STATUS causes segfault on 32-bit systems (CentOS)

Bug #1318304 reported by Alex Yurchenko
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MySQL patches by Codership
Status tracked in 5.6
5.5
Fix Released
High
Alex Yurchenko
5.6
Invalid
Undecided
Unassigned
Percona XtraDB Cluster moved to https://jira.percona.com/projects/PXC
Status tracked in 5.6
5.5
Won't Fix
High
Unassigned
5.6
Invalid
High
Unassigned

Bug Description

The relevant stack trace:

#0 0x082a1e35 in my_atomic_cas64 (thd=0x94834d80, var=0x9494ca58, buff=0x9494ca6c "ON")
    at /home/ayurchen/redhat/BUILD/mysql-5.5.37_wsrep_25.10/mysql-5.5.37_wsrep_25.10/include/my_atomic.h:203
#1 my_atomic_load64 (thd=0x94834d80, var=0x9494ca58, buff=0x9494ca6c "ON") at /home/ayurchen/redhat/BUILD/mysql-5.5.37_wsrep_25.10/mysql-5.5.37_wsrep_25.10/include/my_atomic.h:218
#2 wsrep_show_bf_aborts (thd=0x94834d80, var=0x9494ca58, buff=0x9494ca6c "ON") at /home/ayurchen/redhat/BUILD/mysql-5.5.37_wsrep_25.10/mysql-5.5.37_wsrep_25.10/sql/wsrep_thd.cc:30

This is probably a bug in MySQL atomic macros or in GCC 4.4 used on CentOS

Related branches

Revision history for this message
Alex Yurchenko (ayurchen) wrote :
Revision history for this message
Alex Yurchenko (ayurchen) wrote :

This is apparently a bug in 5.5 atomic macros - no such crash with 5.6 branch.

Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PXC-1002

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.