httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christophe Yayon <li...@nbux.com>
Subject Re: mod_proxy error, segmentation fault
Date Sat, 26 Nov 2005 18:40:09 GMT
Hi all,

i have just tried with the last 2.1.10 and i have the same problem :

1. in error logs :
[Sat Nov 26 19:29:55 2005] [error] [client 10.133.2.63] proxy: error 
reading status line from remote server (null), referer: 
http://portail.polen.sofinco.fr/polen/
[Sat Nov 26 19:29:55 2005] [error] [client 10.133.2.63] proxy: Error 
reading from remote server returned by /polen/images/passe.gif, referer: 
http://portail.polen.sofinco.fr/polen/
[Sat Nov 26 19:29:56 2005] [notice] child pid 25976 exit signal 
Segmentation fault (11), possible coredump in /tmp


2. i used gdb to get a trace :
gdb /opt/apache21/bin/httpd /tmp/core.25976
GNU gdb 6.3-debian
Copyright 2004 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-linux"...Using host libthread_db 
library "/lib/tls/libthread_db.so.1".

Core was generated by `/opt/apache21/bin/httpd -k start'.
Program terminated with signal 11, Segmentation fault.

warning: current_sos: Can't read pathname for load map: Input/output error

Reading symbols from /lib/tls/libm.so.6...done.
Loaded symbols for /lib/tls/libm.so.6
Reading symbols from /opt/apache21/lib/libaprutil-1.so.0...done.
Loaded symbols for /opt/apache21/lib/libaprutil-1.so.0
Reading symbols from /usr/lib/libdb-4.3.so...done.
Loaded symbols for /usr/lib/libdb-4.3.so
Reading symbols from /usr/lib/libexpat.so.1...done.
Loaded symbols for /usr/lib/libexpat.so.1
Reading symbols from /opt/apache21/lib/libapr-1.so.0...done.
Loaded symbols for /opt/apache21/lib/libapr-1.so.0
Reading symbols from /lib/tls/librt.so.1...done.
Loaded symbols for /lib/tls/librt.so.1
Reading symbols from /lib/tls/libcrypt.so.1...done.
Loaded symbols for /lib/tls/libcrypt.so.1
Reading symbols from /lib/tls/libpthread.so.0...done.
Loaded symbols for /lib/tls/libpthread.so.0
Reading symbols from /lib/tls/libdl.so.2...done.
Loaded symbols for /lib/tls/libdl.so.2
Reading symbols from /lib/tls/libc.so.6...done.
Loaded symbols for /lib/tls/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /lib/tls/libnss_compat.so.2...done.
Loaded symbols for /lib/tls/libnss_compat.so.2
Reading symbols from /lib/tls/libnsl.so.1...done.
Loaded symbols for /lib/tls/libnsl.so.1
Reading symbols from /lib/tls/libnss_nis.so.2...done.
Loaded symbols for /lib/tls/libnss_nis.so.2
Reading symbols from /lib/tls/libnss_files.so.2...done.
Loaded symbols for /lib/tls/libnss_files.so.2
Reading symbols from /opt/apache21/modules/mod_authz_host.so...done.
Loaded symbols for /opt/apache21/modules/mod_authz_host.so
Reading symbols from /opt/apache21/modules/mod_dumpio.so...done.
Loaded symbols for /opt/apache21/modules/mod_dumpio.so
Reading symbols from /opt/apache21/modules/mod_include.so...done.
Loaded symbols for /opt/apache21/modules/mod_include.so
Reading symbols from /opt/apache21/modules/mod_log_config.so...done.
Loaded symbols for /opt/apache21/modules/mod_log_config.so
Reading symbols from /opt/apache21/modules/mod_logio.so...done.
Loaded symbols for /opt/apache21/modules/mod_logio.so
Reading symbols from /opt/apache21/modules/mod_env.so...done.
Loaded symbols for /opt/apache21/modules/mod_env.so
Reading symbols from /opt/apache21/modules/mod_expires.so...done.
Loaded symbols for /opt/apache21/modules/mod_expires.so
Reading symbols from /opt/apache21/modules/mod_headers.so...done.
Loaded symbols for /opt/apache21/modules/mod_headers.so
Reading symbols from /opt/apache21/modules/mod_ident.so...done.
Loaded symbols for /opt/apache21/modules/mod_ident.so
Reading symbols from /opt/apache21/modules/mod_usertrack.so...done.
Loaded symbols for /opt/apache21/modules/mod_usertrack.so
Reading symbols from /opt/apache21/modules/mod_unique_id.so...done.
Loaded symbols for /opt/apache21/modules/mod_unique_id.so
Reading symbols from /opt/apache21/modules/mod_setenvif.so...done.
Loaded symbols for /opt/apache21/modules/mod_setenvif.so
Reading symbols from /opt/apache21/modules/mod_version.so...done.
Loaded symbols for /opt/apache21/modules/mod_version.so
Reading symbols from /opt/apache21/modules/mod_proxy.so...done.
Loaded symbols for /opt/apache21/modules/mod_proxy.so
Reading symbols from /opt/apache21/modules/mod_proxy_connect.so...done.
Loaded symbols for /opt/apache21/modules/mod_proxy_connect.so
Reading symbols from /opt/apache21/modules/mod_proxy_http.so...done.
Loaded symbols for /opt/apache21/modules/mod_proxy_http.so
Reading symbols from /opt/apache21/modules/mod_proxy_balancer.so...done.
Loaded symbols for /opt/apache21/modules/mod_proxy_balancer.so
Reading symbols from /opt/apache21/modules/mod_mime.so...done.
Loaded symbols for /opt/apache21/modules/mod_mime.so
Reading symbols from /opt/apache21/modules/mod_status.so...done.
Loaded symbols for /opt/apache21/modules/mod_status.so
Reading symbols from /opt/apache21/modules/mod_autoindex.so...done.
Loaded symbols for /opt/apache21/modules/mod_autoindex.so
Reading symbols from /opt/apache21/modules/mod_asis.so...done.
Loaded symbols for /opt/apache21/modules/mod_asis.so
Reading symbols from /opt/apache21/modules/mod_info.so...done.
Loaded symbols for /opt/apache21/modules/mod_info.so
Reading symbols from /opt/apache21/modules/mod_vhost_alias.so...done.
Loaded symbols for /opt/apache21/modules/mod_vhost_alias.so
Reading symbols from /opt/apache21/modules/mod_dir.so...done.
Loaded symbols for /opt/apache21/modules/mod_dir.so
Reading symbols from /opt/apache21/modules/mod_alias.so...done.
Loaded symbols for /opt/apache21/modules/mod_alias.so
Reading symbols from /opt/apache21/modules/mod_rewrite.so...done.
Loaded symbols for /opt/apache21/modules/mod_rewrite.so
Reading symbols from /opt/apache21/modules/mod_cache.so...done.
Loaded symbols for /opt/apache21/modules/mod_cache.so
Reading symbols from /opt/apache21/modules/mod_mem_cache.so...done.
Loaded symbols for /opt/apache21/modules/mod_mem_cache.so
Reading symbols from /opt/apache21/modules/mod_ssl.so...done.
Loaded symbols for /opt/apache21/modules/mod_ssl.so
Reading symbols from /usr/lib/i686/cmov/libssl.so.0.9.8...done.
Loaded symbols for /usr/lib/i686/cmov/libssl.so.0.9.8
Reading symbols from /usr/lib/i686/cmov/libcrypto.so.0.9.8...done.
Loaded symbols for /usr/lib/i686/cmov/libcrypto.so.0.9.8
Reading symbols from /usr/lib/libz.so.1...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /lib/libgcc_s.so.1...done.
Loaded symbols for /lib/libgcc_s.so.1
Reading symbols from /lib/tls/libnss_dns.so.2...done.
Loaded symbols for /lib/tls/libnss_dns.so.2
Reading symbols from /lib/tls/libresolv.so.2...done.
Loaded symbols for /lib/tls/libresolv.so.2
#0  apr_brigade_cleanup (data=0x8398980) at buckets/apr_brigade.c:44
44              apr_bucket_delete(e);
(gdb) bt full
#0  apr_brigade_cleanup (data=0x8398980) at buckets/apr_brigade.c:44
No locals.
#1  0xb7f24e7d in apr_brigade_destroy (b=0x8398980) at 
buckets/apr_brigade.c:53
No locals.
#2  0x080726f4 in ap_core_output_filter (f=0xaa083538, b=0x8398980) at 
core_filters.c:876
         hdtr = {headers = 0xb41c3ff8, numheaders = 134740504, trailers 
= 0x8392910, numtrailers = 0}
         bytes_sent = 0
         flags = 0
         nbytes = 1429
         nvec_trailers = 0
         vec = {{iov_base = 0x838d208, iov_len = 206}, {iov_base = 
0x8394a09, iov_len = 1223}, {iov_base = 0x0, iov_len = 0}, {iov_base = 
0xaa083aa0, iov_len = 2852666000}, {iov_base = 0xb41c3f48, iov_len = 
3083217623}, {iov_base = 0x0,
     iov_len = 2852666000}, {iov_base = 0xb41c3f48, iov_len = 
3083217643}, {iov_base = 0x8392910, iov_len = 0}, {iov_base = 
0xb41c3f30, iov_len = 0}, {iov_base = 0x838e938, iov_len = 0}, {iov_base 
= 0xb41c3f68, iov_len = 134646597}, {iov_base = 0x0,
     iov_len = 0}, {iov_base = 0x0, iov_len = 0}, {iov_base = 0x8393960, 
iov_len = 137967992}, {iov_base = 0xb41c3ff8, iov_len = 134740481}, 
{iov_base = 0x8393960, iov_len = 137967992}}
         flen = Variable "flen" is not available.
(gdb) thread apply all bt full

Thread 27 (process 25976):
#0  0x00000293 in ?? ()
No symbol table info available.
#1  0x00000000 in ?? ()
No symbol table info available.
#2  0x00000000 in ?? ()
No symbol table info available.
#3  0x00000000 in ?? ()
No symbol table info available.
#4  0x00000000 in ?? ()
No symbol table info available.
#5  0x00000000 in ?? ()
No symbol table info available.
#6  0x00000000 in ?? ()
No symbol table info available.
#7  0x00000000 in ?? ()
No symbol table info available.
#8  0x00000000 in ?? ()
No symbol table info available.
#9  0x00000000 in ?? ()
---Type <return> to continue, or q <return> to quit---


If someone could help ...

Thanks in advance.



Joe Orton wrote:
> On Mon, Nov 21, 2005 at 06:24:15PM +0100, Christophe Yayon wrote:
>> Ji all,
>>
>> I am trying to configure a apache 2.1.9-beta reverse proxy with mod_proxy
>> (or mod_rewrite [P]) and i encounter a strange problem, i think it is a
>> bug...
>>
>> I encounter the problem when i do load tests with 10 simultaneous
>> users(with LoadRunner application). When i do single test request (a
>> standalone user), i have no error.
>>
>> Here is the error message that i got in error log :
>> proxy: error reading status line from remote server (null), referer ...
>> proxy: Error reading from remote server returned by ...
>> [...]
>> child pid 18743 exit signal Segmentation fault (11) (sometimes only)
> 
> Can you firstly try the 2.1.10 test tarball from here:
> 
> http://people.apache.org/~pquerna/dev/httpd-2.1.10/
> 
> if the problem still occurs, can you obtain a backtrace following the 
> instructions here:
> 
> http://httpd.apache.org/dev/debugging.html#crashes
> 
> and file a bug in bugzilla http://issues.apache.org/bugzilla/ including 
> the proxy configuration and details of the platform in use.
> 
> Regards,
> 
> joe



Mime
View raw message