Edit report at https://bugs.php.net/bug.php?id=51091&edit=1
ID: 51091 Comment by: ryan dot pendergast at gmail dot com Reported by: achristianson at yakabod dot com Summary: Persistent PDO Connections Crash Status: Closed Type: Bug Package: Reproducible crash Operating System: CentOS 5.4 PHP Version: 5.3.1 Assigned To: dmitry Block user comment: N Private report: N New Comment: I run php5-fpm (php v 5.3.3) on 32bit ubuntu 10.10 and am seeing the same issue - even when disabling garbage collection. It seems as if fpm is not obeying the disabling of garbage collection. I'm using mysql_pconnect().. /usr/sbin/php5-fpm -i | grep -i zend.enable_gc zend.enable_gc => Off => Off Still produces (Here is my backtrace): Core was generated by `/usr/sbin/php5-fpm --fpm-config /etc/php5/fpm/main.conf'. Program terminated with signal 11, Segmentation fault. #0 0x0832d235 in gc_zval_possible_root () (gdb) bt #0 0x0832d235 in gc_zval_possible_root () #1 0x08300af1 in _zval_ptr_dtor () #2 0x0831aa94 in zend_hash_destroy () #3 0x08330ba3 in zend_object_std_dtor () #4 0x08330be2 in zend_objects_free_object_storage () #5 0x0833489d in zend_objects_store_del_ref_by_handle_ex () #6 0x083348df in zend_objects_store_del_ref () #7 0x0830d2d9 in _zval_dtor_func () #8 0x08300abd in _zval_ptr_dtor () #9 0x08333d46 in ?? () #10 0x0837e609 in ?? () #11 0x0837ee98 in ?? () #12 0x0833781e in execute () #13 0xb6133570 in ?? () from /usr/lib/php5/20090626+lfs/suhosin.so #14 0x08360a1e in ?? () #15 0x0833781e in execute () #16 0xb6133570 in ?? () from /usr/lib/php5/20090626+lfs/suhosin.so #17 0x08360a1e in ?? () #18 0x0833781e in execute () #19 0xb6133570 in ?? () from /usr/lib/php5/20090626+lfs/suhosin.so #20 0x0830d5a6 in zend_execute_scripts () #21 0x082b1cb4 in php_execute_script () #22 0x083a6169 in ?? () #23 0xb71e2ce7 in __libc_start_main () from /lib/libc.so.6 #24 0x08066bc1 in _start () Previous Comments: ------------------------------------------------------------------------ [2011-08-03 11:25:55] henri dot bergius at iki dot fi We have the same crash with PHPCR unit tests with Midgard2. Some backtraces in: https://github.com/midgardproject/midgard-php5/issues/50 ------------------------------------------------------------------------ [2010-12-27 23:05:29] [email protected] I should add that I have only seen this issue when running my entire test suite on the CLI. Running the crashing unit tests individually makes the issue go away. ------------------------------------------------------------------------ [2010-12-27 23:03:57] [email protected] I am also seeing segfaults/bus errors, which go away after disabling GC on PHP 5.3.4 using PostgreSQL via Doctrine 2.0. Though the issues only appeared when I added ext intl. I am seeing these issues on OSX and Debian. ------------------------------------------------------------------------ [2010-10-12 00:50:57] [email protected] I can't reproduce this as well. (probably already fixed...) ------------------------------------------------------------------------ [2010-09-10 00:01:21] matth+php at mlalonde dot net For the record, we are using Doctrine 2.0 (which uses the PDO) and PostgreSQL. ------------------------------------------------------------------------ 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=51091 -- Edit this bug report at https://bugs.php.net/bug.php?id=51091&edit=1
