From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.1) Gecko/20031114 Description of problem: After rebuilding the php-src for oci8 support, oci8 queries (adodb) end with a segmentation fault. I am using /usr/bin/php to test the script. I believe this is happening after all the results have been returned. The httpd process segfaults, causing "Page not available" type errors. I had tried this with the stock PHP version and was having the same issue. I thought this beta version would work as I saw another bug that sounded similar that was resolved in 4.3.2-11. Version-Release number of selected component (if applicable): php-4.3.2-11.ent php-oci8-4.3.2-11.ent oracle-9.2.0 How reproducible: Always Steps to Reproduce: 1. rebuild php with oci8 support 2. use /usr/bin/php to call program with connection to database and query for results from the database 3. Actual Results: Segmentation Fault in httpd error_log Expected Results: Query returned on screen Additional info: Program used for connection test: <?php echo 'begin test'; error_reporting(15); include('/home/httpd/php-lib/adodb/adodb.inc.php'); echo 'Just included adodb'; $conn = &ADONewConnection('oci8'); echo 'Created oci8 connection'; $conn->Connect('myhost','myuser','mypass'); //print_r ($conn); echo 'Connected1<br>'; $sql="SELECT callnumber FROM CALLS"; //echo $sql;exit; $recordSet = $conn->Execute($sql); echo 'Just created recordset'; print_r($recordSet); if (!$recordSet) print $conn->ErrorMsg(); else while (!$recordSet->EOF) { print $recordSet->fields[0].' '.$recordSet->fields[1].'<BR>'; $recordSet->MoveNext(); } $recordSet->Close(); # optional $conn->Close(); # optional ?>
Sorry, but the oci8 subpackage is not supported in the php package in RHEL3. However, if you can identify the particular patch needed to fix the problem, it can be integrated for future updates; if so, please re-open the bug and attach the patch, or provide a URL.