ID:               16929
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Open
 Bug Type:         OCI8 related
 Operating System: linux 2.4.4
 PHP Version:      4.2.0
 New Comment:

Ok i've got the same prob
I use apache2 php 4.06 oracle 9i installed full here with the error 
the apache config.nice and php config.nice
error

apachectl start
/usr/local/apache/bin/apachectl: line 192:  1158 Segmentation fault    
 $HTTPD
/usr/local/apache/bin/apachectl start: httpd could not be started
]# 

apache

#! /bin/sh
#
# Created by configure
 
LIBS="-lpthread"; export LIBS
"./configure" \
"--prefix=/usr/local/apache" \
"--enable-module=most" \
"--enable-shared=max" \
"--enable-module=ssl" \
"--enable-shared=ssl" \
"$@"


php
#! /bin/sh
#
# Created by configure
 
'./configure' \
'--with-apxs2=/usr/local/apache/bin/apxs' \
'--with-config-file-path=/usr/local/apache/conf' \
'--enable-versioning' \
'--with-mysql=/usr/local' \
'--enable-ftp' \
'--with-imap=/usr/local' \
'--with-gd=/usr/local/gd1.3' \
'--enable-bcmath' \
'--disable-debug' \
'--enable-memory-limit=yes' \
'--enable-track-vars' \
'--with-oci8=/home/oracle/OraHome1' \
"$@"
~


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

[2002-05-03 09:31:46] [EMAIL PROTECTED]

Yes that's work with 4.1.x but not with apache 2.0.35
i used another option and apache 2.0.35 didn't compile.

------------------------------------------------------------------------

[2002-05-03 05:50:10] [EMAIL PROTECTED]

i've the same problem with kernel 2.4.18. useing php 4.2.0 with apache
2.0.35 i'm getting a core dump during startup of httpd. with apache
1.3.24 it works, but if i select something on a table from an oracle db
i get only unreadable data trash. with php 4.1.x it's working fine....

------------------------------------------------------------------------

[2002-05-02 06:58:16] [EMAIL PROTECTED]

with 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

------------------------------------------------------------------------

[2002-05-02 06:56:06] [EMAIL PROTECTED]

Can you provide a full backtrace (type 'bt' instead of 'quit')?

regards,
Derick

------------------------------------------------------------------------

[2002-05-02 06:54:21] [EMAIL PROTECTED]

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) quit

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/16929

-- 
Edit this bug report at http://bugs.php.net/?id=16929&edit=1

Reply via email to