From: michael dot mauch at gmx dot de
Operating system: Linux
PHP version: 4CVS-2003-03-03 (stable)
PHP Bug Type: OCI8 related
Bug description: Immediate coredump --with-oci8=shared
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 bug report at http://bugs.php.net/?id=22521&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=22521&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=22521&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=22521&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=22521&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=22521&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=22521&r=support
Expected behavior: http://bugs.php.net/fix.php?id=22521&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=22521&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=22521&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=22521&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22521&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=22521&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=22521&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=22521&r=gnused