|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2002-04-30 11:33 UTC] skarges at himalaya-corp dot com
when i use option ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-oci8=/opt/oracle i have a segmentation fault of apache server $HTTPD the env variable ORACLE_HOME, NLS_LANG,ORACLE_BASE, ORACLE_OWNER are declared. the oracle client is a 8.1.6 version. thanks. PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 05 21:00:02 2025 UTC |
hello, with httpd -X in console that not run. with gdb i have this (gdb) run -X Starting program: /usr/local/apache2/bin/httpd -X [New Thread 1024 (LWP 11478)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 1024 (LWP 11478)] php_apache_sapi_send_headers (sapi_headers=0x8140eb0, tsrm_ls=0x8140e48) at sapi_apache2.c:117 117 ctx->r->status = SG(sapi_headers).http_response_code; (gdb) quitwith bt in gdb !! (gdb) run -X Starting program: /usr/local/apache2/bin/httpd -X [New Thread 1024 (LWP 11478)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 1024 (LWP 11478)] php_apache_sapi_sen(gdb) run -X Starting program: /usr/local/apache2/bin/httpd -X [New Thread 1024 (LWP 11515)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 1024 (LWP 11515)] php_apache_sapi_send_headers (sapi_headers=0x8140eb0, tsrm_ls=0x8140e48) at sapi_apache2.c:117 117 ctx->r->status = SG(sapi_headers).http_response_code; (gdb) bt #0 php_apache_sapi_send_headers (sapi_headers=0x8140eb0, tsrm_ls=0x8140e48) at sapi_apache2.c:117 #1 0x402f429a in sapi_send_headers (tsrm_ls=0x8140e48) at SAPI.c:578 #2 0x4035246b in php_header () at head.c:58 #3 0x402f97ef in php_ub_body_write ( str=0xbfffddfc "OCIDebug: START php_mshutdown_oci<br />\n", str_length=40, tsrm_ls=0x8140e48) at output.c:475 #4 0x402f8c26 in php_body_write ( str=0xbfffddfc "OCIDebug: START php_mshutdown_oci<br />\n", str_length=40, tsrm_ls=0x8140e48) at output.c:99 #5 0x402edcb9 in php_printf (format=0x403b4e77 "OCIDebug: %s<br />\n") at main.c:355 #6 0x40317c39 in oci_debug (format=0x403b4acc "START php_mshutdown_oci") at oci8.c:1046 #7 0x40316f0c in zm_shutdown_oci (type=1, module_number=6, tsrm_ls=0x8140e48) at oci8.c:592 #8 0x402e46d3 in module_destructor (module=0x8182878) at zend_API.c:1127 #9 0x402e6348 in zend_hash_destroy (ht=0x403e2a20) at zend_hash.c:541 #10 0x402e0cdc in zend_shutdown (tsrm_ls=0x8140e48) at zend.c:490 #11 0x402ef9ce in php_module_shutdown (tsrm_ls=0x8140e48) at main.c:1050 #12 0x402ef978 in php_module_shutdown_wrapper (sapi_globals=0x403c3360) at main.c:1027 #13 0x402ecc25 in php_apache_server_shutdown (tmp=0x0) at sapi_apache2.c:422 ---Type <return> to continue, or q <return> to quit---(gdb) run -X #14 0x40043aec in run_cleanups (c=0x813ff98) at apr_pools.c:1713 #15 0x40042f61 in apr_pool_clear (pool=0x80bc8a0) at apr_pools.c:603 #16 0x8085c37 in main (argc=2, argv=0xbffff50c) at main.c:579 #17 0x40194c6f in __libc_start_main () from /lib/libc.so.6 (gdb) Starting program: /usr/local/apache2/bin/httpd -X Undefined command: "Starting". Try "help". (gdb) [New Thread 1024 (LWP 11478)] Undefined command: "". Try "help". (gdb) (gdb) Program received signal SIGSEGV, Segmentation fault. Undefined command: "Program". Try "help". (gdb) [Switching to Thread 1024 (LWP 11478)] Undefined command: "". Try "help". (gdb) php_apache_sapi_send_headers (sapi_headers=0x8140eb0, tsrm_ls=0x8140e48) Undefined command: "php". Try "help". (gdb) at sapi_apache2.c:117d_headers (sapi_headers=0x8140eb0, tsrm_ls=0x8140e48) at sapi_apache2.c:117 117 ctx->r->status = SG(sapi_headers).http_response_code; (gdb) quit