|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2009-07-01 22:12 UTC] jani@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 20:00:01 2025 UTC |
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