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 Sun, 27 Nov 2005 17:00:37 GMT
Hi,

Here is my configuration :


<VirtualHost *>
         ServerName portail.polen.xxxxxxx.fr
         CustomLog /var/log/apache21/access-portail.log combined
	<Location />
                 Order deny,allow
                 Allow from all
         </Location>
	RewriteEngine On
         RewriteRule "(.*)" 
"http://uxdev14.sofinco.fr:8080%{REQUEST_URI}" [P,L]
</VirtualHost>

<VirtualHost *>
         ServerName appli1.polen.xxxxxxxxx.fr
         CustomLog /var/log/apache21/access-appli1.polen.log combined
         RewriteEngine On
         RewriteRule ^(\/?)(.*)?(.*)$ 
http://portail.polen.xxxxxx.fr/polen/servlet/ProxyServlet?polenAppliBase=http://appli1.polen.xxxxxxxx.fr&polenAppli
Page=$2&%{QUERY_STRING} [P]
         <Location />
                 Order deny,allow
                 Allow from all
         </Location>
</VirtualHost>


# appli2
<VirtualHost *>
         # global
         ServerName appli2.polen.xxxxxxxxxxxx.fr
         CustomLog /var/log/apache21/access-appli2.polen.log combined
         RewriteEngine On
         RewriteRule ^(\/?)(.*)?(.*)$ 
http://portail.polen.xxxxxxxxxx.fr/polen/servlet/ProxyServlet?polenAppliBase=http://appli2.polen.xxxxxxxx.fr&polenAppli
Page=$2&%{QUERY_STRING} [P]
         <Location />
                 Order deny,allow
                 Allow from all
         </Location>
</VirtualHost>



Ruediger Pluem wrote:
> 
> On 11/26/2005 07:40 PM, Christophe Yayon wrote:
>> 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
>>
> 
> Strange that the remote server is null. Please post your proxy configuration
> and your RewriteRules.
> 
> [..cut..]
> 
>>> 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
>>
> 
> Possibly a corrupted brigade. I am a little bit astonished that the stacktrace isn't
longer.
> So could you please do the following:
> 
> 1. Add the contents of .gdbinit from the root directory of the 2.1.10 tar ball to your
.gdbinit
>    (see http://httpd.apache.org/dev/debugging.html#gdb)
> 
> 2. Issue the following commands:
> 
> gdb /opt/apache21/bin/httpd /tmp/core.25976
> bt
> frame 2
> dump_brigade b
> dump_filters f
> 
> [..cut..]
> 
> Please open up a bugzilla report with your mail as Joe suggested.
> 
> Regards
> 
> RĂ¼diger



Mime
View raw message