Hi, I have this problem aswell.
For me it actually appeared when upgrading from PHP v5.3.13 > 5.3.15
I'm using the latest stable version of Xcache v2.0.1 and Nginx v1.2.2
It seems others are seeing this problem too, I have not found a
solution.
I can just see it on my "live" website, not my testserver.
And I don't know how to reproduce the error either, I'm just seeing it
in the logfiles...
This first one appears at normal runtime, also documented here:
http://forum.nginx.org/read.php?3,228753
[23-Jul-2012 11:10:05] WARNING: [pool www] child 30174 exited on
signal 11 (SIGSEGV - core dumped) after 239.854771 seconds from start
[23-Jul-2012 15:24:26] WARNING: [pool www] child 11404 exited on
signal 11 (SIGSEGV - core dumped) after 152.180564 seconds from start
[23-Jul-2012 20:37:14] WARNING: [pool www] child 24299 exited on
signal 11 (SIGSEGV - core dumped) after 1114.054198 seconds from start
[23-Jul-2012 21:41:45] WARNING: [pool www] child 27170 exited on
signal 11 (SIGSEGV - core dumped) after 966.564990 seconds from start
Jul 23 11:10:04 techspot04 kernel: php-fpm[30174]: segfault at
7fffbef2e001 ip 00000000006355ec sp 00007fffbef28430 error 6 in php-
fpm[400000+2db000]
Jul 23 11:10:05 techspot04 abrt[30338]: Saved core dump of pid 30174 (/
usr/sbin/php-fpm) to /var/spool/abrt/ccpp-2012-07-23-11:10:04-30174
(295804928 bytes)
Jul 23 11:10:05 techspot04 abrtd: Directory
'ccpp-2012-07-23-11:10:04-30174' creation detected
Jul 23 11:10:06 techspot04 abrtd: Package 'php-fpm' isn't signed with
proper key
Jul 23 11:10:06 techspot04 abrtd: 'post-create' on '/var/spool/abrt/
ccpp-2012-07-23-11:10:04-30174' exited with 1
Jul 23 11:10:06 techspot04 abrtd: Corrupted or bad directory /var/
spool/abrt/ccpp-2012-07-23-11:10:04-30174, deleting
Jul 23 15:24:25 techspot04 kernel: php-fpm[11404]: segfault at 1000721
ip 00000000005b8ce7 sp 00007fffbef29fe0 error 4 in php-
fpm[400000+2db000]
Jul 23 15:24:26 techspot04 abrt[11529]: Saved core dump of pid 11404 (/
usr/sbin/php-fpm) to /var/spool/abrt/ccpp-2012-07-23-15:24:25-11404
(295292928 bytes)
Jul 23 15:24:26 techspot04 abrtd: Directory
'ccpp-2012-07-23-15:24:25-11404' creation detected
Jul 23 15:24:26 techspot04 abrtd: Package 'php-fpm' isn't signed with
proper key
Jul 23 15:24:26 techspot04 abrtd: 'post-create' on '/var/spool/abrt/
ccpp-2012-07-23-15:24:25-11404' exited with 1
Jul 23 15:24:26 techspot04 abrtd: Corrupted or bad directory /var/
spool/abrt/ccpp-2012-07-23-15:24:25-11404, deleting
Jul 23 20:37:14 techspot04 kernel: php-fpm[24299]: segfault at 1000721
ip 00000000005b8ce7 sp 00007fffbef29fe0 error 4 in php-
fpm[400000+2db000]
Jul 23 20:37:14 techspot04 abrt[25090]: Saved core dump of pid 24299 (/
usr/sbin/php-fpm) to /var/spool/abrt/ccpp-2012-07-23-20:37:14-24299
(295616512 bytes)
Jul 23 20:37:14 techspot04 abrtd: Directory
'ccpp-2012-07-23-20:37:14-24299' creation detected
Jul 23 20:37:15 techspot04 abrtd: Package 'php-fpm' isn't signed with
proper key
Jul 23 20:37:15 techspot04 abrtd: 'post-create' on '/var/spool/abrt/
ccpp-2012-07-23-20:37:14-24299' exited with 1
Jul 23 20:37:15 techspot04 abrtd: Corrupted or bad directory /var/
spool/abrt/ccpp-2012-07-23-20:37:14-24299, deleting
Jul 23 21:41:45 techspot04 kernel: php-fpm[27170]: segfault at
7fffbef2e001 ip 00000000006355ec sp 00007fffbef28430 error 6 in php-
fpm[400000+2db000]
Jul 23 21:41:45 techspot04 abrtd: Directory
'ccpp-2012-07-23-21:41:45-27170' creation detected
Jul 23 21:41:45 techspot04 abrt[27799]: Saved core dump of pid 27170 (/
usr/sbin/php-fpm) to /var/spool/abrt/ccpp-2012-07-23-21:41:45-27170
(295632896 bytes)
Jul 23 21:41:46 techspot04 abrtd: Package 'php-fpm' isn't signed with
proper key
Jul 23 21:41:46 techspot04 abrtd: 'post-create' on '/var/spool/abrt/
ccpp-2012-07-23-21:41:45-27170' exited with 1
Jul 23 21:41:46 techspot04 abrtd: Corrupted or bad directory /var/
spool/abrt/ccpp-2012-07-23-21:41:45-27170, deleting
This second one only occurs when stopping and starting php-fpm, also
documented here:
http://forum.nginx.org/read.php?3,228578
Jul 22 03:16:07 techspot04 kernel: php-fpm[29733]: segfault at 1000721
ip 00000000005b8ce7 sp 00007fffeb375770 error 4 in php-fpm (deleted)
[400000+2db000]
Jul 22 03:16:07 techspot04 abrt[6402]: File '/usr/sbin/php-fpm' seems
to be deleted
Jul 22 03:16:08 techspot04 abrt[6402]: Saved core dump of pid 29733 (/
usr/sbin/php-fpm) to /var/spool/abrt/ccpp-2012-07-22-03:16:07-29733
(295350272 bytes)
Jul 22 03:16:08 techspot04 abrtd: Directory
'ccpp-2012-07-22-03:16:07-29733' creation detected
Jul 22 03:16:08 techspot04 abrtd: Package 'php-fpm' isn't signed with
proper key
Jul 22 03:16:08 techspot04 abrtd: 'post-create' on '/var/spool/abrt/
ccpp-2012-07-22-03:16:07-29733' exited with 1
Jul 22 03:16:08 techspot04 abrtd: Corrupted or bad directory /var/
spool/abrt/ccpp-2012-07-22-03:16:07-29733, deleting
Jul 22 03:17:28 techspot04 kernel: php[10376]: segfault at 66edee ip
00007f5c2992cd67 sp 00007ffff50f8c18 error 7 in
xcache.so[7f5c29915000+1f000]
Jul 22 03:17:28 techspot04 abrt[6476]: File '/usr/bin/php' seems to be
deleted
Jul 22 03:17:28 techspot04 abrt[6476]: Saved core dump of pid 10376 (/
usr/bin/php) to /var/spool/abrt/ccpp-2012-07-22-03:17:28-10376
(37822464 bytes)
Jul 22 03:17:28 techspot04 abrtd: Directory
'ccpp-2012-07-22-03:17:28-10376' creation detected
Jul 22 03:17:28 techspot04 abrtd: Package 'php-cli' isn't signed with
proper key
Jul 22 03:17:28 techspot04 abrtd: 'post-create' on '/var/spool/abrt/
ccpp-2012-07-22-03:17:28-10376' exited with 1
Jul 22 03:17:28 techspot04 abrtd: Corrupted or bad directory /var/
spool/abrt/ccpp-2012-07-22-03:17:28-10376, deleting
Jul 22 03:17:32 techspot04 kernel: php-fpm[6489]: segfault at
7f90f15f1598 ip 0000003bfc00eb83 sp 00007fff5882a1e0 error 4 in
ld-2.12.so[3bfc000000+20000]
Jul 22 03:17:32 techspot04 abrt[6497]: Saved core dump of pid 6489 (/
usr/sbin/php-fpm) to /var/spool/abrt/ccpp-2012-07-22-03:17:32-6489
(15032320 bytes)
Jul 22 03:17:32 techspot04 abrtd: Directory
'ccpp-2012-07-22-03:17:32-6489' creation detected
Jul 22 03:17:32 techspot04 abrtd: Package 'php-fpm' isn't signed with
proper key
Jul 22 03:17:32 techspot04 abrtd: 'post-create' on '/var/spool/abrt/
ccpp-2012-07-22-03:17:32-6489' exited with 1
Jul 22 03:17:32 techspot04 abrtd: Corrupted or bad directory /var/
spool/abrt/ccpp-2012-07-22-03:17:32-6489, deleting
And no, it does NOT seem to be caused by Xcache!
Regards,
Per Hansson
On 22 Juli, 19:48, xcache <
phpxca...@gmail.com> wrote:
> A PHP 5.3 bug No.62432 ReflectionMethod random corrupt memory on high
> concurrent was fixed that cause PHP itself unstable, bogus reported as
> XCache bug. It is false positive to reproduce with XCache
> loaded/enabled only, just because XCache make PHP run faster than
> with/without other opcode cacher. PHP up to 5.3.14 is affected. It is
> highly suggested to upgrade to newer PHPhttps://
bugs.php.net/bug.php?id=62432
>
> so, upgrade to 5.4 if applicable. upgarde tohttp://
xcache.lighttpd.net/wiki/Release-2.0.1if you still have