|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2002-07-24 05:37 UTC] thomas at fivemile dot net
Apache 1.3.26 child process serving the page segfaults after calling OCIPLogon or OCILogon with the following error: (gdb) run -X -f /etc/httpd/conf/httpd.conf Starting program: /usr/sbin/httpd -X -f /etc/httpd/conf/httpd.conf (no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)... Program received signal SIGSEGV, Segmentation fault. 0x4082b997 in lmsaicmt () from /home/oracle/product/9.0.1/lib/libclntsh.so.9.0 (gdb) bt #0 0x4082b997 in lmsaicmt () from /home/oracle/product/9.0.1/lib/libclntsh.so.9.0 #1 0x407c0063 in kpugeml () from /home/oracle/product/9.0.1/lib/libclntsh.so.9.0 #2 0x403550a7 in kpusebf () from /home/oracle/product/9.0.1/lib/libclntsh.so.9.0 #3 0x4030dd3f in kpuatch () from /home/oracle/product/9.0.1/lib/libclntsh.so.9.0 #4 0x403a0aaa in OCIServerAttach () from /home/oracle/product/9.0.1/lib/libclntsh.so.9.0 #5 0x0809a57b in zm_info_oci () #6 0x0809aa86 in zm_info_oci () #7 0x0809d6ff in zif_ociplogon () #8 0x0811f787 in execute () #9 0x0810675a in zend_execute_scripts () #10 0x0808173d in php_execute_script () #11 0x0810e06a in apache_php_module_main () #12 0x0807ea60 in php_restore_umask () #13 0x0807eab9 in php_restore_umask () #14 0x08128ea3 in ap_invoke_handler () #15 0x0813da07 in ap_some_auth_required () #16 0x0813da68 in ap_process_request () #17 0x08134a71 in ap_child_terminate () #18 0x08134c1c in ap_child_terminate () #19 0x08134d90 in ap_child_terminate () #20 0x08135408 in ap_child_terminate () #21 0x08135c6b in main () #22 0x409ba707 in __libc_start_main () from /lib/libc.so.6 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 18:00:01 2025 UTC |
[root@einstein root]# ldd /usr/sbin/httpd [...SNIP...] libwtc9.so => /home/oracle/product/9.0.1/lib/libwtc9.so (0x40adc000) libpthread.so.0 => /lib/libpthread.so.0 (0x40adf000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000) Apache IS linked with libpthread - i have compiled working php/apache combos with OCI support before and knew of this.I was getting a Seg Fault connecting to Oracle 7.3.4 -- but not on 8.0.x I had this path wrong before attempting the OCIPLogon.. putenv("ORA_NLS33=/../oracle/product/8.0.6/ocommon/nls/admin/data"); Once it was correct.. no more seg fault. sorry, no gdb on the system to check the backtrace though.