RE: [PECL-DEV] OCI8 1.1 : segmentation fault
| From: | BUSTARRET, Jean-Francois | Date: | Tue, 13 Sep 2005 11:55:54 +0000 |
| Subject: | RE: [PECL-DEV] OCI8 1.1 : segmentation fault | ||
| Groups: | php.pecl.dev | ||
| Request: | Send a blank email to pecl-dev+get-2914@lists.php.net to get a copy of this message | ||
Just tried this morning, and it does not crash anymore.
Thanks !
Jean-François
> -----Message d'origine-----
> De : Antony Dovgal [mailto:antony@zend.com]
> Envoyé : mardi 13 septembre 2005 11:51
> À : BUSTARRET, Jean-Francois
> Cc : pecl-dev@lists.php.net
> Objet : Re: [PECL-DEV] OCI8 1.1 : segmentation fault
>
> 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
>
-------------------------------------
Le present message (y compris tous les elements attaches) est confidentiel et est destine a ses
seuls destinataires. Si vous
l'avez recu par erreur, merci de l'indiquer a son expediteur par retour et de proceder a
sa destruction dans vos systemes.
Toute utilisation ou diffusion non autorisee de son contenu, en totalite ou en partie, est
strictement interdite. Les idees et
opinions presentees dans ce message sont celles de son auteur, et ne representent pas necessairement
celles de TF1 (et/ou des
entites membres du Groupe TF1).
This message (including any attachments) is confidential and may be privileged. If you have received
it by mistake please notify
the sender by return email and delete this message from your system. Any unauthorised use or
dissemination of this message in
whole or in part is strictly prohibited. Any views or opinions presented are solely those of its
author and do not necessarily
represent those of TF1 (and/or its group companies).