#30117 [Opn->Bgs]: Segmentation fault OCI8

From: Date: Thu, 16 Sep 2004 14:31:01 +0000
Subject: #30117 [Opn->Bgs]: Segmentation fault OCI8
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-66296@lists.php.net to get a copy of this message
ID: 30117 Updated by: sniper@php.net Reported By: s dot masugata at digicom dot dnp dot co dot jp -Status: Open +Status: Bogus Bug Type: OCI8 related Operating System: Solaris8 PHP Version: 4.3.9RC3 New Comment: It crashes in the oracle client library so you need to report this bug to the appropriate place: Oracle. Previous Comments: ------------------------------------------------------------------------ [2004-09-16 16:04:50] s dot masugata at digicom dot dnp dot co dot jp 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 this bug report at http://bugs.php.net/?id=30117&edit=1

« previous php.bugs (#66296) next »