Use GCC 4.4 for RHEL 5 | Bitmap tests crash the 5.5 server on Jenkins centos5-32 release
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS | Status tracked in 5.7 | |||||
5.1 |
Invalid
|
Undecided
|
Unassigned | |||
5.5 |
Triaged
|
High
|
Tomislav Plavcic | |||
5.6 |
Triaged
|
High
|
Tomislav Plavcic | |||
5.7 |
Invalid
|
Undecided
|
Unassigned |
Bug Description
All crashes have stacktraces with the following stack top:
Program terminated with signal 11, Segmentation fault.
#0 0xb7788420 in __kernel_vsyscall ()
#0 0xb7788420 in __kernel_vsyscall ()
#1 0xb7751ce7 in pthread_kill () from /lib/libpthread
#2 0x08441adb in my_write_core (sig=11)
at /home/jenkins/
#3 0x082eae90 in handle_fatal_signal (sig=11)
at /home/jenkins/
#4 <signal handler called>
#5 log_max_
at /home/jenkins/
#6 log_close ()
at /home/jenkins/
#7 0x085c67b7 in mtr_log_
at /home/jenkins/
#8 mtr_commit (mtr=0xabfd9950)
at /home/jenkins/
summary: |
- Bitmap tests crash the server on Jenkins centos5-32 release + Bitmap tests crash the 5.5 server on Jenkins centos5-32 release |
tags: | added: bitmap ci |
tags: | added: pkg |
summary: |
- Bitmap tests crash the 5.5 server on Jenkins centos5-32 release + Use GCC 4.4 for RHEL 5 | Bitmap tests crash the 5.5 server on Jenkins + centos5-32 release |
The bug caused by http:// gcc.gnu. org/bugzilla/ show_bug. cgi?id= 51332 in GCC 4.1. Bitmap code use log_get_tracked_lsn which on 32bit CentOS with i686 falls to buggy __sync_ add_and_ fetch.
Workaround is to compile PS using gcc 4.4 on CentOS 5 or not define HAVE_ATOMIC_ BUILTINS_ 64 for gcc 4.1 and fall back to using mutex.