Re: Re: Please test PDO
| From: | Antony Dovgal | Date: | Mon, 14 Feb 2005 22:35:50 +0000 |
| Subject: | Re: Re: Please test PDO | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-14938@lists.php.net to get a copy of this message | ||
On Mon, 14 Feb 2005 17:32:42 -0500
Wez Furlong <kingwez@gmail.com> wrote:
> On Tue, 15 Feb 2005 01:16:58 +0300, Antony Dovgal <antony@zend.com>
> wrote:
> > > > Wez, PDO + PDO_OCI seems to be rather usable, BUT:
> > > > I got segfault on shutdown everytime.
>
> > Nope, this is something different..
> > Could you look into it, plz?
>
> Backtrace?
the same:
Program received signal SIGSEGV, Segmentation fault.
0xb799ade0 in ?? ()
(gdb) bt
#0 0xb799ade0 in ?? ()
#1 0x081d9d3f in main (argc=2, argv=0xbffff874) at /home/dev/php-src/sapi/cli/php_cli.c:1060
#2 0x420157a4 in __libc_start_main () from /lib/tls/libc.so.6
(gdb) The program is running. Exit anyway? (y or n) y
the code:
<?php
/* $dbase, $user & $password are valid.
I even got the query results after connecting,
but it still segfaults on shutdown.
*/
$db = new PDO("oci:dbname=$dbase",$user,$password);
$db = null;
?>
PDO is compiled statically, PDO_OCI - as shared module.
I'm using today's HEAD.
Oracle9i Enterprise Edition Release 9.2.0.1.0 (don't think it can cause it).
If you have any other questions - just ask =)
--
Wbr,
Antony Dovgal aka tony2001
antony@zend.com