From:             
Operating system: linux
PHP version:      5.3.5
Package:          FPM related
Bug Type:         Bug
Bug description:fpm fails to respawn php

Description:
------------
after php segfaults on imap



Core was generated by `php-fpm: pool www                                  
'.

Program terminated with signal 9, Killed.

#0  0xaf8b1768 in main_arena () from /lib/libc.so.6

(gdb) bt

#0  0xaf8b1768 in main_arena () from /lib/libc.so.6

#1  0x084f1ac1 in mail_close_full ()

#2  0x081c1633 in mail_close_it (rsrc=0x8d88290) at
/var/tmp/portage/dev-lang/php-5.3.5-r100/work/sapis-build/fpm/ext/imap/php_imap.c:606

#3  0x084152b2 in list_entry_destructor (ptr=0x8d88290)

    at
/var/tmp/portage/dev-lang/php-5.3.5-r100/work/sapis-build/fpm/Zend/zend_list.c:184

#4  0x08412b03 in zend_hash_apply_deleter (ht=0x8a51cec, p=0x8d48be4)

    at
/var/tmp/portage/dev-lang/php-5.3.5-r100/work/sapis-build/fpm/Zend/zend_hash.c:614

#5  0x08412cb1 in zend_hash_graceful_reverse_destroy (ht=0x8a51cec)

    at
/var/tmp/portage/dev-lang/php-5.3.5-r100/work/sapis-build/fpm/Zend/zend_hash.c:649

#6  0x08415498 in zend_destroy_rsrc_list (ht=0x8a51cec)

    at
/var/tmp/portage/dev-lang/php-5.3.5-r100/work/sapis-build/fpm/Zend/zend_list.c:240

#7  0x0840325e in zend_deactivate () at
/var/tmp/portage/dev-lang/php-5.3.5-r100/work/sapis-build/fpm/Zend/zend.c:896

#8  0x0838e532 in php_request_shutdown (dummy=0x0) at
/var/tmp/portage/dev-lang/php-5.3.5-r100/work/sapis-build/fpm/main/main.c:1633

#9  0x084db7db in main (argc=3, argv=0xbfe27cd4)

    at
/var/tmp/portage/dev-lang/php-5.3.5-r100/work/sapis-build/fpm/sapi/fpm/fpm/fpm_main.c:1665





and is killed by PAX 



Feb 18 11:28:21 w11 kernel: PAX: From 1.0.0.1: execution attempt in:
<anonymous mapping>, af8b1000-af8b5000 af8b1000

Feb 18 11:28:21 w11 kernel: PAX: terminating task:
/usr/lib/php5.3/bin/php-fpm(php-fpm):16003, uid/euid: 103/103, PC:
af8b1768, SP: bfe256dc

Feb 18 11:28:21 w11 kernel: PAX: bytes at PC: 60 17 8b af 60 17 8b af 68 17
8b af 68 17 8b af 70 17 8b af 

Feb 18 11:28:21 w11 kernel: PAX: bytes at SP-4: bfe25728 084f1ac1 08da8a70
00000000 08a5a4a0 084f1a9a 08a28ff4 00000000 bfe25738 081c1633 08da8a70
00000000 bfe25738 084138b0 08a4db20 08974bc8 000003d4 08a28ff4 00000000
00000000 0000001e 



all other children of fpm master fall to defunct and maser fails to respawn
them:



root     28500     1  0 03:11 ?        00:00:24   php-fpm: master process
(/etc/php/fpm-php5.3/php-fpm.conf)

lighttpd 16000 28500  0 11:26 ?        00:00:08     [php-fpm] <defunct>

lighttpd 16001 28500  0 11:26 ?        00:00:09     [php-fpm] <defunct>

lighttpd 16002 28500  0 11:26 ?        00:00:08     [php-fpm] <defunct>

lighttpd 16004 28500  0 11:26 ?        00:00:08     [php-fpm] <defunct>

lighttpd 16005 28500  0 11:26 ?        00:00:08     [php-fpm] <defunct>

lighttpd 22434 28500  3 11:57 ?        00:00:04     php-fpm: pool www      
                            

lighttpd 22458 22434  0 11:58 ?        00:00:00       php-fpm: pool www   

lighttpd 22456 28500  6 11:58 ?        00:00:02     php-fpm: pool www      
                            

root     22467 28500  0 11:59 ?        00:00:00     php-fpm: master process
(/etc/php/fpm-php5.3/php-fpm.conf)



only system reboot helps

Expected result:
----------------
fpm-respawn children 

Actual result:
--------------
fpm stop to respond

-- 
Edit bug report at http://bugs.php.net/bug.php?id=54044&edit=1
-- 
Try a snapshot (PHP 5.2):            
http://bugs.php.net/fix.php?id=54044&r=trysnapshot52
Try a snapshot (PHP 5.3):            
http://bugs.php.net/fix.php?id=54044&r=trysnapshot53
Try a snapshot (trunk):              
http://bugs.php.net/fix.php?id=54044&r=trysnapshottrunk
Fixed in SVN:                        
http://bugs.php.net/fix.php?id=54044&r=fixed
Fixed in SVN and need be documented: 
http://bugs.php.net/fix.php?id=54044&r=needdocs
Fixed in release:                    
http://bugs.php.net/fix.php?id=54044&r=alreadyfixed
Need backtrace:                      
http://bugs.php.net/fix.php?id=54044&r=needtrace
Need Reproduce Script:               
http://bugs.php.net/fix.php?id=54044&r=needscript
Try newer version:                   
http://bugs.php.net/fix.php?id=54044&r=oldversion
Not developer issue:                 
http://bugs.php.net/fix.php?id=54044&r=support
Expected behavior:                   
http://bugs.php.net/fix.php?id=54044&r=notwrong
Not enough info:                     
http://bugs.php.net/fix.php?id=54044&r=notenoughinfo
Submitted twice:                     
http://bugs.php.net/fix.php?id=54044&r=submittedtwice
register_globals:                    
http://bugs.php.net/fix.php?id=54044&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=54044&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=54044&r=dst
IIS Stability:                       
http://bugs.php.net/fix.php?id=54044&r=isapi
Install GNU Sed:                     
http://bugs.php.net/fix.php?id=54044&r=gnused
Floating point limitations:          
http://bugs.php.net/fix.php?id=54044&r=float
No Zend Extensions:                  
http://bugs.php.net/fix.php?id=54044&r=nozend
MySQL Configuration Error:           
http://bugs.php.net/fix.php?id=54044&r=mysqlcfg

Reply via email to