OCI 7 calls don't work with 8i WAS: ora_ problem

From: Date: Sun, 14 Nov 1999 11:52:49 +0000
Subject: OCI 7 calls don't work with 8i WAS: ora_ problem
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-12513@lists.php.net to get a copy of this message
just found this on technet.oracle.com: -------------------------------- Re: OCI 7 calls don't work with 8i From: Michael Hasenstein (guest) Email: mha@suse.de Date: Fri Oct 29 13:12 CDT 1999 Helmut Swaczinna (guest) wrote: : When I compile and run the OCI demo progs which uses the Oracle 7 : OCI calls under Oracle 8.1.5, the progs crash with segmentation : fault. With Oracle 8.0.5 they work fine. When I compile the : demo progs under 8.0.5 und run them under 8.1.5 they crash too. : Any hints? I have to port an application which uses OCI 7 calls : to Oracle 8.1.5, because Oracle 8.0.5 don't work under glibc2.1. See my patch for 8i at http://www.suse.de/~mha/oracle/ We patched the assembler code in libclient.a, which is wrong. After recreating libclntsh.so everything works fine. I think I posted the patch script here some time ago... MH, currently at Oracle, in Redwood City, CA -------------------------------- On Sun, 14 Nov 1999, Matthias Henze wrote: > hallo, > > ich mein, ich hab jetzt bessere info's > > 1. wenn ich den apache linke bekomm ich folgende warnings: > > modules/php3/libphp3.a(pcre.o): warning: multiple common of `pcre_cache' > modules/php3/libphp3.a(internal_functions.o): warning: previous common is here > /usr/i486-linux/bin/ld: warning: type and size of dynamic symbol `ofetch' > are not defined > /usr/i486-linux/bin/ld: warning: type and size of dynamic symbol `orol' are > not defined > /usr/i486-linux/bin/ld: warning: type and size of dynamic symbol `oerhms' > are not defined > /usr/i486-linux/bin/ld: warning: type and size of dynamic symbol `oclose' > are not defined > /usr/i486-linux/bin/ld: warning: type and size of dynamic symbol `oexfet' > are not defined > /usr/i486-linux/bin/ld: warning: type and size of dynamic symbol `olog' are > not defined > /usr/i486-linux/bin/ld: warning: type and size of dynamic symbol `ocom' are > not defined > /usr/i486-linux/bin/ld: warning: type and size of dynamic symbol `obndra' > are not defined > /usr/i486-linux/bin/ld: warning: type and size of dynamic symbol `ocof' are > not defined > /usr/i486-linux/bin/ld: warning: type and size of dynamic symbol `ologof' > are not defined > /usr/i486-linux/bin/ld: warning: type and size of dynamic symbol `oopen' > are not defined > /usr/i486-linux/bin/ld: warning: type and size of dynamic symbol `odefin' > are not defined > /usr/i486-linux/bin/ld: warning: type and size of dynamic symbol `oflng' > are not defined > /usr/i486-linux/bin/ld: warning: type and size of dynamic symbol `ocon' are > not defined > /usr/i486-linux/bin/ld: warning: type and size of dynamic symbol `oexec' > are not defined > /usr/i486-linux/bin/ld: warning: type and size of dynamic symbol `oparse' > are not defined > /usr/i486-linux/bin/ld: warning: type and size of dynamic symbol `odescr' > are not defined > > > 2. mit symols drin liefert mir das backtrace folgendes - was wohl etwas > aussagekräftiger ist: > > Program received signal SIGSEGV, Segmentation fault. > 0x8141c6c in ologof () > (gdb) bt > #0 0x8141c6c in ologof () > #1 0x8089baa in php3_Ora_Do_Logon (ht=0x819b168, return_value=0x8152fec, > list=0x8154f00, plist=0x8154ec0, persistent=0) > at functions/oracle.c:507 > #2 0x808989b in php3_Ora_Logon (ht=0x819b168, return_value=0x8152fec, > list=0x8154f00, plist=0x8154ec0) at functions/oracle.c:419 > #3 0x80acfbc in phpparse () at control_structures_inline.h:934 > #4 0x80688b8 in php3_parse (yyin=0x8191d90) at main.c:1553 > #5 0x8068ac6 in apache_php3_module_main (r=0x818f414, fd=26, > display_source_mode=0, preprocessed=0) at main.c:1934 > #6 0x8065c16 in send_php3 () > #7 0x8065c92 in send_parsed_php3 () > #8 0x80bb2b3 in ap_invoke_handler () > #9 0x80d1239 in process_request_internal () > #10 0x80d129c in ap_process_request () > #11 0x80c7a59 in child_main () > #12 0x80c7c18 in make_child () > #13 0x80c7da3 in startup_children () > #14 0x80c8444 in standalone_main () > #15 0x80c8cb3 in main () > #16 0x405d0213 in __libc_start_main (main=0x80c88e0 <main>, argc=2, > argv=0xbffff8f4, init=0x804b280 <_init>, fini=0x81072a0 <_fini>, > rtld_fini=0x4000ac30 <_dl_fini>, stack_end=0xbffff8ec) at > ../sysdeps/generic/libc-start.c:90 > (gdb) > > > > > > Matthias Henze > > > > MHC SoftWare GmbH voice: +49-(0)9533-92006-0 > Fichtera 17 fax: +49-(0)9533-92006-6 > 96274 Itzgrund/Germany e-Mail: info@mhcsoftware.de > ----------------------------------------------------- > ------------- http://www.mhcsoftware.de ----------- > > Thies C. Arntzen "One Big-Mac, Small Fries and a Coke!" Digital Collections Phone +49 40 235350 Fax +49 40 23535180 Hammerbrookstr. 93 20097 Hamburg / Germany

« previous php.dev (#12513) next »