|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-09-13 03:16 UTC] tony2001 at phpclub dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 02 18:00:01 2025 UTC |
Description: ------------ I have a segmentation fault using PHP 5.0.5 + oci 1.1 (+ 9.2 Oracle client w apache2/Linux), while executing an INSERT with binded variables. Here is the backtrace : #0 0xb7a95020 in _erealloc (ptr=0xb7aea4c8, size=1, allow_failure=0) at /soft/sources/php/php-5.0.5/Zend/zend_alloc.c:345 345 REMOVE_POINTER_FROM_LIST(p); (gdb) bt #0 0xb7a95020 in _erealloc (ptr=0xb7aea4c8, size=1, allow_failure=0) at /soft/sources/php/php-5.0.5/Zend/zend_alloc.c:345 #1 0xb79ac5c0 in php_oci_bind_post_exec (data=0x87000bc) at /soft/sources/php/php-5.0.5/ext/oci8/oci8_statement.c:648 #2 0xb7aad320 in zend_hash_apply (ht=0x870073c, apply_func=0xb79ac560 <php_oci_bind_post_exec>) at /soft/sources/php/php-5.0.5/Zend/zend_hash.c:664 #3 0xb79ad1cf in php_oci_statement_execute (statement=0x857155c, mode=0) at /soft/sources/php/php-5.0.5/ext/oci8/oci8_statement.c:330 #4 0xb79b0c8a in zif_oci_execute (ht=2, return_value=0x8700f2c, this_ptr=0x0, return_value_used=1) at /soft/sources/php/php-5.0.5/ext/oci8/oci8_interface.c:1222 #5 0xb7ace495 in zend_do_fcall_common_helper (execute_data=0xbfffc970, opline=0xb4aacbe4, op_array=0x8567b74) at /soft/sources/php/php-5.0.5/Zend/zend_execute.c:2760 #6 0xb7ace640 in zend_do_fcall_handler (execute_data=0xbfffc970, opline=0xb4aacbe4, op_array=0x8567b74) at /soft/sources/php/php-5.0.5/Zend/zend_execute.c:2894 [...] (gdb) up #2 0xb7aad320 in zend_hash_apply (ht=0x870073c, apply_func=0xb79ac560 <php_oci_bind_post_exec>) at /soft/sources/php/php-5.0.5/Zend/zend_hash.c:664 664 if (apply_func(p->pData TSRMLS_CC)) { (gdb) p (php_oci_bind) p->pData $7 = {bind = 0x87000bc, zval = 0x0, descriptor = 0x856dad4, statement = 0x856dcb4, indicator = 0, retcode = 0}