#30117 [NEW]: Segmentation fault OCI8
| From: | s dot masugata at digicom dot dnp dot co dot jp | Date: | Thu, 16 Sep 2004 14:04:52 +0000 |
| Subject: | #30117 [NEW]: Segmentation fault OCI8 | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-66297@lists.php.net to get a copy of this message | ||
From: s dot masugata at digicom dot dnp dot co dot jp
Operating system: Solaris8
PHP version: 4.3.9RC3
PHP Bug Type: OCI8 related
Bug description: Segmentation fault OCI8
Description:
------------
Segmentation fault by using both OCI8 function and a putenv function.
However, unless it uses putenv, it does not Segmentation fault.
http://bugs.php.net/bug.php?id=27620
Although the same report was discovered, is there any relation?
Is avoiding possible?
Reproduce code:
---------------
<?
putenv( "ORACLE_HOME=/****" );
putenv( "ORACLE_BASE=/****" );
putenv( "ORA_NLS33=/****" );
putenv( "ORACLE_SID=/****" );
$Connect = OCILogon( "****", "****", "****" );
OCILogOff( $Connect );
?>
Expected result:
----------------
Not Segmentation fault.
Actual result:
--------------
Segmentation fault.
Program received signal SIGSEGV, Segmentation fault.
0xfcd17b60 in lmsaic () from
/DB/oracle/u01/product/8.1.7/lib/libclntsh.so.8.0
(gdb) bt
#0 0xfcd17b60 in lmsaic () from
/DB/oracle/u01/product/8.1.7/lib/libclntsh.so.8.0
#1 0xfcd17904 in lmsaip () from
/DB/oracle/u01/product/8.1.7/lib/libclntsh.so.8.0
#2 0xfcca8854 in kpugeml () from
/DB/oracle/u01/product/8.1.7/lib/libclntsh.so.8.0
(gdb)
--
Edit bug report at http://bugs.php.net/?id=30117&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=30117&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=30117&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=30117&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=30117&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=30117&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=30117&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=30117&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=30117&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=30117&r=support
Expected behavior: http://bugs.php.net/fix.php?id=30117&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=30117&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=30117&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=30117&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=30117&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=30117&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=30117&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=30117&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=30117&r=float
MySQL Configuration Error: http://bugs.php.net/fix.php?id=30117&r=mysqlcfg