#22521 [Opn->Csd]: Immediate coredump --with-oci8=shared
| From: | edink@php.net | Date: | Wed, 09 Apr 2003 12:01:46 +0000 |
| Subject: | #22521 [Opn->Csd]: Immediate coredump --with-oci8=shared | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-37431@lists.php.net to get a copy of this message | ||
ID: 22521
Updated by: edink@php.net
Reported By: michael dot mauch at gmx dot de
-Status: Open
+Status: Closed
Bug Type: OCI8 related
Operating System: Linux
PHP Version: 4.3.2RC1
New Comment:
This bug has been fixed in CVS.
In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
Thank you for the report, and for helping us make PHP better.
Actually removing that line was a real fix. Thanks for the hint!
Previous Comments:
------------------------------------------------------------------------
[2003-04-01 11:36:52] jerry dot bonner at cpinternet dot com
same problem using php4-STABLE-20030401163 :
./configure --prefix=/usr/local/php-4.3.2RC1 --with-mysql
--enable-sockets --with-snmp --with-oci8=/oracle --without-pear
--enable debug
Linux blah 2.4.19 #2 SMP Wed Jan 22 05:14:30 CST 2003 i686 unknown
root@blah:/usr/src/php4-STABLE-200304011630# gdb
/usr/local/php4-STABLE-200304011630/bin/php
GNU gdb 5.2
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and
you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for
details.
This GDB was configured as "i386-slackware-linux"...
(gdb) run
Starting program: /usr/local/php4-STABLE-200304011630/bin/php
[New Thread 1024 (LWP 20854)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 20854)]
0x40498f3c in sskgmstat () from /oracle/lib/libclntsh.so.8.0
------------------------------------------------------------------------
[2003-03-15 10:03:11] michael dot mauch at gmx dot de
Updating version number.
------------------------------------------------------------------------
[2003-03-03 13:53:18] michael dot mauch at gmx dot de
With current stable CVS, I get an immediate coredump on Apache's or
PHP's startup (e.g. "php -i").
configure --with-apxs --with-oci8=shared --enable-debug
If I comment out the line
AC_DEFINE(HAVE_OCI8_SHARED_MODE,1,[ ])
in ext/oci/config.m4, it works (but that's of course not a real fix).
(gdb) bt
#0 0x40690b06 in sskgmstat () from
/mnt/app/oracle/product/8.1.6/lib/libclntsh.so.8.0
#1 0x4068ec9f in skgmidrealm () from
/mnt/app/oracle/product/8.1.6/lib/libclntsh.so.8.0
#2 0x4068eaaf in skgmlocate () from
/mnt/app/oracle/product/8.1.6/lib/libclntsh.so.8.0
#3 0x4068e523 in skgmcrone () from
/mnt/app/oracle/product/8.1.6/lib/libclntsh.so.8.0
#4 0x4068fae6 in skgmcrmany () from
/mnt/app/oracle/product/8.1.6/lib/libclntsh.so.8.0
#5 0x4068c955 in skgmcreate () from
/mnt/app/oracle/product/8.1.6/lib/libclntsh.so.8.0
#6 0x40435f04 in kgupmcreate_sga ()
from /mnt/app/oracle/product/8.1.6/lib/libclntsh.so.8.0
#7 0x40433a98 in kgup_startup () from
/mnt/app/oracle/product/8.1.6/lib/libclntsh.so.8.0
#8 0x403ec883 in kpushInit () from
/mnt/app/oracle/product/8.1.6/lib/libclntsh.so.8.0
#9 0x40694719 in kpummpin () from
/mnt/app/oracle/product/8.1.6/lib/libclntsh.so.8.0
#10 0x403ec924 in kpupin () from
/mnt/app/oracle/product/8.1.6/lib/libclntsh.so.8.0
#11 0x404142aa in OCIInitialize () from
/mnt/app/oracle/product/8.1.6/lib/libclntsh.so.8.0
#12 0x4027e4d7 in zm_startup_oci (type=1, module_number=10)
at /usr/local/src/php-cvs/php4/ext/oci8/oci8.c:489
#13 0x080b0875 in php_dl (file=0x81d29c0, type=1,
return_value=0xbfffe6ac)
at /usr/local/src/php-cvs/php4/ext/standard/dl.c:238
#14 0x08138a2a in php_load_function_extension_cb (arg=0x81d29c0)
at /usr/local/src/php-cvs/php4/main/php_ini.c:216
#15 0x08166d8f in zend_llist_apply (l=0x81c9a5c,
func=0x8138a00 <php_load_function_extension_cb>)
at /usr/local/src/php-cvs/php4/Zend/zend_llist.c:189
#16 0x08139495 in php_ini_delayed_modules_startup ()
at /usr/local/src/php-cvs/php4/main/php_ini.c:469
#17 0x08133edf in php_module_startup (sf=0x81c86c0,
additional_modules=0x0,
num_additional_modules=0) at
/usr/local/src/php-cvs/php4/main/main.c:1218
#18 0x08189db8 in main (argc=2, argv=0xbfffe934)
at /usr/local/src/php-cvs/php4/sapi/cli/php_cli.c:481
#19 0x4013f8c1 in __libc_start_main (main=0x8189c84 <main>, argc=2,
argv=0xbfffe934,
init=0x806132c <_init>, fini=0x818b184 <_fini>,
rtld_fini=0x4000a914 <_dl_fini>,
stack_end=0xbfffe92c) at ../sysdeps/generic/libc-start.c:92
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=22521&edit=1