From: d dot stcyr at streamfoundry dot com Operating system: SLES10 PHP version: 5.2.10 PHP Bug Type: Reproducible crash Bug description: Child pid nnn exit signal Segmentation fault (11)
Description: ------------ I believe we have a same/similar situation as PHP bug # 46473 (updated that bug report but got no response, so figuring I need to open a new report) running PHP 5.2.9 (and PHP 5.2.10) on 64-bit SLES10 - with the ibm-db2 1.8.2 pdo_odbc extension. Getting a "Child pid nnn exit signal Segmentation fault (11)". Program terminated with signal 11, Segmentation fault. #0 _zval_ptr_dtor (zval_ptr=0x3fffff31c70) at /opt/SFI/php-5.2.9/Zend/zend_execute_API.c:412 412 (*zval_ptr)->refcount--; Was able to circumvent by configuring (now, PHP 5.2.10) with --enable-debug. PHP 5.2.10 without --enable-debug fails the same way as did 5.2.9. Can someone advise if this is the same problem as bug# 46473 and a prognosis for correction? Reproduce code: --------------- Here is a simple recreate script trying to connect to the DB2 "SAMPLE" database: <?php $dbconn = new PDO('odbc:SAMPLE','db2inst1','pw'); /* pw not actual pw */ ?> Expected result: ---------------- connection to DB. Actual result: -------------- Backtrace: #0 _zval_ptr_dtor (zval_ptr=0x3fffff31c70) at /opt/SFI/php-5.2.9/Zend/zend_execute_API.c:412 #1 0x0000020000a36282 in zend_do_fcall_common_helper_SPEC ( execute_data=0x3fffff31ec0) at /opt/SFI/php-5.2.9/Zend/zend_execute.h:155 #2 0x0000020000a26992 in execute (op_array=0x20002bb0d90) at /opt/SFI/php-5.2.9/Zend/zend_vm_execute.h:92 #3 0x0000020000a032ac in zend_execute_scripts (type=<value optimized out>, retval=0x0, file_count=2) at /opt/SFI/php-5.2.9/Zend/zend.c:1134 #4 0x00000200009ba4c4 in php_execute_script (primary_file=0x3fffff344d0) at /opt/SFI/php-5.2.9/main/main.c:2023 #5 0x0000020000a970c8 in php_handler (r=0x2aaaade5ba8) at /opt/SFI/php-5.2.9/sapi/apache2handler/sapi_apache2.c:632 #6 0x000002aaaaaedce0 in ap_run_handler () from /usr/sbin/httpd2-prefork #7 0x000002aaaaaf1516 in ap_invoke_handler () from /usr/sbin/httpd2-prefork #8 0x000002aaaaafccd8 in ap_process_request () from /usr/sbin/httpd2-prefork #9 0x000002aaaaafa08c in ?? () from /usr/sbin/httpd2-prefork #10 0x000002aaaaaf55b4 in ap_run_process_connection () from /usr/sbin/httpd2-prefork #11 0x000002aaaab01190 in ?? () from /usr/sbin/httpd2-prefork #12 0x000002aaaab014b0 in ?? () from /usr/sbin/httpd2-prefork #13 0x000002aaaab0158a in ?? () from /usr/sbin/httpd2-prefork #14 0x000002aaaab021d4 in ap_mpm_run () from /usr/sbin/httpd2-prefork #15 0x000002aaaaad8646 in main () from /usr/sbin/httpd2-prefork -- Edit bug report at http://bugs.php.net/?id=48756&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=48756&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=48756&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=48756&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=48756&r=fixedcvs Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=48756&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=48756&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=48756&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=48756&r=needscript Try newer version: http://bugs.php.net/fix.php?id=48756&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=48756&r=support Expected behavior: http://bugs.php.net/fix.php?id=48756&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=48756&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=48756&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=48756&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=48756&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=48756&r=dst IIS Stability: http://bugs.php.net/fix.php?id=48756&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=48756&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=48756&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=48756&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=48756&r=mysqlcfg