Bug #61246 [Com]: Error when running PHP-FPM

2012-03-05 Thread dancom96 at gmail dot com
Edit report at https://bugs.php.net/bug.php?id=61246&edit=1

 ID: 61246
 Comment by: dancom96 at gmail dot com
 Reported by:osmanungur at gmail dot com
 Summary:Error when running PHP-FPM
 Status: Open
 Type:   Bug
 Package:FPM related
 Operating System:   Mac Os X 10.7.3
 PHP Version:5.4.0
 Block user comment: N
 Private report: N

 New Comment:

Exact same issue with PHP 5.4.0, APC 3.1.9 but on CentOS 6.

Gives error starting PHP-FPM and says failed, but PHP-FPM does actually start 
and 
APC appears to work fully. (Page generation time goes down to 1/4 of original 
gen 
time on Wordpress, like my production server)


Previous Comments:

[2012-03-05 10:23:50] takida at nm dot ru

If it would help, apache is running as MPM-Prefork. Everything else is pretty 
standard.


[2012-03-05 10:02:18] takida at nm dot ru

I'm experiencing the same bug as the guy with Ubuntu yet on CentOS 5.7 with 
Apache. Same php version, same APC version, almost the same error:
*** glibc detected *** php-fpm: master process (/usr/lib/php-5.4.0-
custom/etc/php-fpm.conf): free(): invalid pointer: 0xb72a1010 ***

What is strange, php-apc was build from source and could not pass the "make 
test" 
step completely. When disabling APC everything is fine, otherwise php doesn't 
work at all.


[2012-03-04 08:05:20] rnysmile at yahoo dot com

similar problem in Ubuntu 10.04

# /etc/init.d/php-fpm restart
Gracefully shutting down php-fpm . done
Starting php-fpm *** glibc detected *** /usr/local/sbin/php-fpm: free(): 
invalid 
pointer: 0x7f78b5d45118 ***
=== Backtrace: =
/lib/libc.so.6(+0x775b6)[0x7f78b2e6d5b6]
/lib/libc.so.6(cfree+0x73)[0x7f78b2e73e83]
/usr/local/sbin/php-fpm(destroy_zend_class+0x23d)[0x73953d]
/usr/local/sbin/php-fpm(zend_hash_clean+0x73)[0x74e7e3]
/usr/local/lib/php/extensions/no-debug-non-zts-
20100525/apc.so(apc_interned_strings_shutdown+0x20)[0x7f78b0285460]
/usr/local/lib/php/extensions/no-debug-non-zts-
20100525/apc.so(apc_module_shutdown+0x12a)[0x7f78b027d8fa]
/usr/local/lib/php/extensions/no-debug-non-zts-20100525/apc.so(+0xb07f)
[0x7f78b027407f]
/usr/local/sbin/php-fpm[0x747855]
/usr/local/sbin/php-fpm[0x74e152]
/usr/local/sbin/php-fpm(zend_hash_graceful_reverse_destroy+0x18)[0x74e3e8]
/usr/local/sbin/php-fpm[0x742443]
/usr/local/sbin/php-fpm(php_module_shutdown+0x2d)[0x6e671d]
/usr/local/sbin/php-fpm[0x7f12b9]
/usr/local/sbin/php-fpm[0x7e958e]
/usr/local/sbin/php-fpm[0x7f693a]
/usr/local/sbin/php-fpm[0x7e89c5]
/usr/local/sbin/php-fpm[0x7efb68]
/lib/libc.so.6(__libc_start_main+0xfd)[0x7f78b2e14c4d]
/usr/local/sbin/php-fpm[0x42f989]


No error if disable APC.


[2012-03-02 14:54:56] osmanungur at gmail dot com

Description:

Hi,

Today i upgraded my php installation to PHP 5.4, when i running PHP-FPM i'm 
getting this error

➜ sudo php-fpm
php-fpm(20297) malloc: *** error for object 0x10aeb5c00: pointer being freed 
was 
not allocated
*** set a breakpoint in malloc_error_break to debug

FPM still works and responses without problem via Nginx. 
I haven't problem before upgrading PHP (with PHP 5.3.10). I'm running PHP with 
APC 
3.1.9.









-- 
Edit this bug report at https://bugs.php.net/bug.php?id=61246&edit=1


Bug #61246 [Com]: Error when running PHP-FPM

2012-03-06 Thread dancom96 at gmail dot com
Edit report at https://bugs.php.net/bug.php?id=61246&edit=1

 ID: 61246
 Comment by: dancom96 at gmail dot com
 Reported by:osmanungur at gmail dot com
 Summary:Error when running PHP-FPM
 Status: Open
 Type:   Bug
 Package:FPM related
 Operating System:   Mac Os X 10.7.3
 PHP Version:5.4.0
 Block user comment: N
 Private report: N

 New Comment:

Seems to be fixed now in latest APC dev http://pecl.php.net/get/APC


Previous Comments:

[2012-03-05 21:16:12] dancom96 at gmail dot com

Exact same issue with PHP 5.4.0, APC 3.1.9 but on CentOS 6.

Gives error starting PHP-FPM and says failed, but PHP-FPM does actually start 
and 
APC appears to work fully. (Page generation time goes down to 1/4 of original 
gen 
time on Wordpress, like my production server)


[2012-03-05 10:23:50] takida at nm dot ru

If it would help, apache is running as MPM-Prefork. Everything else is pretty 
standard.


[2012-03-05 10:02:18] takida at nm dot ru

I'm experiencing the same bug as the guy with Ubuntu yet on CentOS 5.7 with 
Apache. Same php version, same APC version, almost the same error:
*** glibc detected *** php-fpm: master process (/usr/lib/php-5.4.0-
custom/etc/php-fpm.conf): free(): invalid pointer: 0xb72a1010 ***

What is strange, php-apc was build from source and could not pass the "make 
test" 
step completely. When disabling APC everything is fine, otherwise php doesn't 
work at all.


[2012-03-04 08:05:20] rnysmile at yahoo dot com

similar problem in Ubuntu 10.04

# /etc/init.d/php-fpm restart
Gracefully shutting down php-fpm . done
Starting php-fpm *** glibc detected *** /usr/local/sbin/php-fpm: free(): 
invalid 
pointer: 0x7f78b5d45118 ***
=== Backtrace: =
/lib/libc.so.6(+0x775b6)[0x7f78b2e6d5b6]
/lib/libc.so.6(cfree+0x73)[0x7f78b2e73e83]
/usr/local/sbin/php-fpm(destroy_zend_class+0x23d)[0x73953d]
/usr/local/sbin/php-fpm(zend_hash_clean+0x73)[0x74e7e3]
/usr/local/lib/php/extensions/no-debug-non-zts-
20100525/apc.so(apc_interned_strings_shutdown+0x20)[0x7f78b0285460]
/usr/local/lib/php/extensions/no-debug-non-zts-
20100525/apc.so(apc_module_shutdown+0x12a)[0x7f78b027d8fa]
/usr/local/lib/php/extensions/no-debug-non-zts-20100525/apc.so(+0xb07f)
[0x7f78b027407f]
/usr/local/sbin/php-fpm[0x747855]
/usr/local/sbin/php-fpm[0x74e152]
/usr/local/sbin/php-fpm(zend_hash_graceful_reverse_destroy+0x18)[0x74e3e8]
/usr/local/sbin/php-fpm[0x742443]
/usr/local/sbin/php-fpm(php_module_shutdown+0x2d)[0x6e671d]
/usr/local/sbin/php-fpm[0x7f12b9]
/usr/local/sbin/php-fpm[0x7e958e]
/usr/local/sbin/php-fpm[0x7f693a]
/usr/local/sbin/php-fpm[0x7e89c5]
/usr/local/sbin/php-fpm[0x7efb68]
/lib/libc.so.6(__libc_start_main+0xfd)[0x7f78b2e14c4d]
/usr/local/sbin/php-fpm[0x42f989]


No error if disable APC.


[2012-03-02 14:54:56] osmanungur at gmail dot com

Description:

Hi,

Today i upgraded my php installation to PHP 5.4, when i running PHP-FPM i'm 
getting this error

➜ sudo php-fpm
php-fpm(20297) malloc: *** error for object 0x10aeb5c00: pointer being freed 
was 
not allocated
*** set a breakpoint in malloc_error_break to debug

FPM still works and responses without problem via Nginx. 
I haven't problem before upgrading PHP (with PHP 5.3.10). I'm running PHP with 
APC 
3.1.9.









-- 
Edit this bug report at https://bugs.php.net/bug.php?id=61246&edit=1


Bug #61246 [Com]: Error when running PHP-FPM

2012-03-09 Thread dancom96 at gmail dot com
Edit report at https://bugs.php.net/bug.php?id=61246&edit=1

 ID: 61246
 Comment by: dancom96 at gmail dot com
 Reported by:osmanungur at gmail dot com
 Summary:Error when running PHP-FPM
 Status: Open
 Type:   Bug
 Package:FPM related
 Operating System:   Mac Os X 10.7.3
 PHP Version:5.4.0
 Block user comment: N
 Private report: N

 New Comment:

I copy pasted the wrong link in my last comment, but the latest SVN APC seems 
to 
be broken again. I compiled with SVN APC a couple days ago and it worked fine; 
but 
today I redownloaded it and recompiled, and I now have the same error once 
again.


Previous Comments:

[2012-03-09 17:26:09] ras...@php.net

okspam01 use APC from svn for now until we get a new APC release out.


[2012-03-09 16:15:07] okspam01 at baimac dot com

Hello

As of 2012-03-09 this bug seems to still be active.

Compiled PHP 5.4.0 with php-fpm
Compiled APC 3.1.9
Added apc.so to php.ini
Restarted php-fpm

Got a full boatload of errors similar in content and flavor to those already 
posted in these comments. Can post the entire output if needed.


[2012-03-06 22:33:51] dancom96 at gmail dot com

Seems to be fixed now in latest APC dev http://pecl.php.net/get/APC


[2012-03-05 21:16:12] dancom96 at gmail dot com

Exact same issue with PHP 5.4.0, APC 3.1.9 but on CentOS 6.

Gives error starting PHP-FPM and says failed, but PHP-FPM does actually start 
and 
APC appears to work fully. (Page generation time goes down to 1/4 of original 
gen 
time on Wordpress, like my production server)


[2012-03-05 10:23:50] takida at nm dot ru

If it would help, apache is running as MPM-Prefork. Everything else is pretty 
standard.




The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

https://bugs.php.net/bug.php?id=61246


-- 
Edit this bug report at https://bugs.php.net/bug.php?id=61246&edit=1