On Mon, 14 Feb 2005 17:32:42 -0500
Wez Furlong <[EMAIL PROTECTED]> wrote:

> On Tue, 15 Feb 2005 01:16:58 +0300, Antony Dovgal <[EMAIL PROTECTED]>
> 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
[EMAIL PROTECTED]

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to