Bug 122347 - oci8 php pages get segmentation fault
oci8 php pages get segmentation fault
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: php (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Joe Orton
David Lawrence
Depends On:
  Show dependency treegraph
Reported: 2004-05-03 11:39 EDT by Stephen Lawrence Jr.
Modified: 2007-11-30 17:07 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-05-03 13:45:31 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Stephen Lawrence Jr. 2004-05-03 11:39:16 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.1)

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

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:

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

Actual Results:  Segmentation Fault in httpd error_log

Expected Results:  Query returned on screen

Additional info: 

Program used for connection test:
echo 'begin test';
echo 'Just included adodb';
$conn = &ADONewConnection('oci8');
echo 'Created oci8 connection';

//print_r ($conn);
echo 'Connected1<br>';

$sql="SELECT callnumber FROM CALLS";
//echo $sql;exit;
$recordSet = $conn->Execute($sql);
echo 'Just created recordset';
if (!$recordSet)
        print $conn->ErrorMsg();
while (!$recordSet->EOF) {
        print $recordSet->fields[0].' '.$recordSet->fields[1].'<BR>';

$recordSet->Close(); # optional
$conn->Close(); # optional
Comment 1 Joe Orton 2004-05-03 13:45:31 EDT
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.

Note You need to log in before you can comment on or make changes to this bug.