Re: OCI8 1.1 : segmentation fault

From: Date: Tue, 13 Sep 2005 09:51:02 +0000
Subject: Re: OCI8 1.1 : segmentation fault
References: 1  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-2913@lists.php.net to get a copy of this message
It has been fixed in CVS several days ago. Please try CVS version and see if it works fine for you. Thanks. On 12.09.2005 19:21, BUSTARRET, Jean-Francois wrote:
I just created a bug on pecl.php.net : http://pecl.php.net/bugs/bug.php?id=5369.
-----Message d'origine----- De : BUSTARRET, Jean-Francois [mailto:JFBUSTARRET@tf1.fr] Envoyé : lundi 12 septembre 2005 17:01 À : pecl-dev@lists.php.net Objet : [PECL-DEV] OCI8 1.1 : segmentation fault 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}
-- Wbr, Antony Dovgal

« previous php.pecl.dev (#2913) next »