#19517 [NEW]: the oci8 function cause apache to crash

From: Date: Fri, 20 Sep 2002 08:30:06 +0000
Subject: #19517 [NEW]: the oci8 function cause apache to crash
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-19848@lists.php.net to get a copy of this message
From: f.labanvoye@cg70.fr Operating system: windows 2000 and linux PHP version: 4.2.3 PHP Bug Type: OCI8 related Bug description: the oci8 function cause apache to crash on medium/high load and on multi-threaded serveurs ( apache 1.3.X windows and apache 2.0.X (mpm=worker) on linux), oci cause segmentation fault to apache. I test with apache 1.3.26 / 2.0.40 on windows 2000 server and professionnal, php 4.2.3, oracle 8.1.7.0 and 9.0.1 ( on the same and different Pc). I test with and without autocommit. i always get the same result. the script: <? $c = ocilogon ( 'test', "test", "db9"); $sql = "select count(id) as nb_row from test"; $stmt = ociparse ( $c, $sql ); ociexecute ( $stmt ); ocifetchinto ( $stmt, $tab ); print_r ( $tab ); ocilogoff ( $c ); ?> i run test with microsoft web apllication stress tools and ab. the error message is : _oci_open_server: ORA12154 TNS: could not resolve service name. All works fine with linux / apache 1.3.X. -- Edit bug report at http://bugs.php.net/?id=19517&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=19517&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=19517&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=19517&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=19517&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=19517&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=19517&r=support Expected behavior: http://bugs.php.net/fix.php?id=19517&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=19517&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=19517&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=19517&r=globals

« previous php.bugs (#19848) next »