ID:               22521
 Comment by:       jerry dot bonner at cpinternet dot com
 Reported By:      michael dot mauch at gmx dot de
 Status:           Open
 Bug Type:         OCI8 related
 Operating System: Linux
 PHP Version:      4.3.2RC1
 New Comment:

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

[EMAIL PROTECTED]:/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


Previous Comments:
------------------------------------------------------------------------

[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

Reply via email to