httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Gerdes <marting...@googlemail.com>
Subject Re: [users@httpd] using ProxyHTMLEnable On, mod_proxy_html or xml2enc segfaults
Date Thu, 29 Oct 2009 15:17:01 GMT
Still have not managed to simplify it. I have managed to set up a simple
proxy using a virtual host, but I have yet to figure out how to fake those
http options.
Interestingly, I could get a simple sample page translated back into
ISO-8859-1 in this setup. This at least tells me that my self build package
works _in principle_.

Thought I'd send you the output of the crash with Loglevel debug. Maybe that
already tells you something:

[Thu Oct 29 16:07:14 2009] [debug] mod_proxy_http.c(60): proxy: HTTP:
canonicalising URL
//localhost:50100/dwhfe/pub/Authentication.htm;jsessionid=19D1CEB65AF823413A8D2885D4CFA2F7
[Thu Oct 29 16:07:14 2009] [debug] proxy_util.c(1488): [client 192.168.0.9]
proxy: http: found worker http://localhost:50100/dwhfe/ for
http://localhost:50100/dwhfe/pub/Authentication.htm;jsessionid=19D1CEB65AF823413A8D2885D4CFA2F7,
referer:
http://192.168.0.100:443/testdwh/pub/Authentication.htm;jsessionid=19D1CEB65AF823413A8D2885D4CFA2F7
[Thu Oct 29 16:07:14 2009] [debug] mod_proxy.c(966): Running scheme http
handler (attempt 0)
[Thu Oct 29 16:07:14 2009] [debug] mod_proxy_http.c(1937): proxy: HTTP:
serving URL
http://localhost:50100/dwhfe/pub/Authentication.htm;jsessionid=19D1CEB65AF823413A8D2885D4CFA2F7
[Thu Oct 29 16:07:14 2009] [debug] proxy_util.c(1990): proxy: HTTP: has
acquired connection for (localhost)
[Thu Oct 29 16:07:14 2009] [debug] proxy_util.c(2046): proxy: connecting
http://localhost:50100/dwhfe/pub/Authentication.htm;jsessionid=19D1CEB65AF823413A8D2885D4CFA2F7to
localhost:50100
[Thu Oct 29 16:07:14 2009] [debug] proxy_util.c(2139): proxy: connected
/dwhfe/pub/Authentication.htm;jsessionid=19D1CEB65AF823413A8D2885D4CFA2F7 to
localhost:50100
[Thu Oct 29 16:07:14 2009] [debug] proxy_util.c(2291): proxy: HTTP: fam 2
socket created to connect to localhost
[Thu Oct 29 16:07:14 2009] [debug] proxy_util.c(2386): proxy: HTTP:
connection complete to 127.0.0.1:50100 (localhost)
[Thu Oct 29 16:07:15 2009] [debug] proxy_util.c(1071): ppr: real:
http://localhost:50100/dwhfe/
[Thu Oct 29 16:07:15 2009] [debug] mod_proxy_http.c(1710): proxy: start body
send
[Thu Oct 29 16:07:15 2009] [notice] child pid 4210 exit signal Segmentation
fault (11)

I'll continue to try to build a simple test case, but I have to figure a bit
more stuff out for that...

2009/10/29 Martin Gerdes <martingrds@googlemail.com>

> Allright, I will try.
>
> Stuff I can tell you immediately:
>
> The packet that causes the crash looks like this (sniffed with tcpdump):
>
> HTTP/1.1 302 Moved Temporarily
> Server: Apache-Coyote/1.1
> Location:
> http://localhost:50100/dwhfe/app/start/StartPageSelector.htm;jsessionid=B6B4331C1C0C14A7BE964B89E1E76150
> Content-Language: de-DE
> Content-Length: 0
> Date: Thu, 29 Oct 2009 13:47:48 GMT
>
> That packet goes into the apache proxy, and does not come out of it, with
> the apache error log reporting the segfault.
> No entries immediately prior to the segfault in the log file, with verbose
> logging turned on, and loglevel info.
>
> Will now test whether I can put the same content into a static website
> getting the same crash...
>
> 2009/10/29 Nick Kew <nick@webthing.com>
>
>> Martin Gerdes wrote:
>>
>>
>>  I can load the login page of the webapp, though it is returned in utf8.
>>> Once I send of the login data, it segfaults. It did NOT do that when I
>>> used SetOutputFilter instead of ProxyHTMLEnable, so I assume that xml2enc
>>> crashes, though that is only conjecture.
>>>
>>> Line in apache error log:
>>> "[Thu Oct 29 14:18:22 2009] [notice] child pid 29443 exit signal
>>> Segmentation fault (11)"
>>>
>>
>> In that case, we're back to step one.  Construct a minimal test case
>> that reproduces the fault, so I can get a handle on it.
>>
>> --
>> Nick Kew
>>
>> ---------------------------------------------------------------------
>> The official User-To-User support forum of the Apache HTTP Server Project.
>> See <URL:http://httpd.apache.org/userslist.html> for more info.
>> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>>  "   from the digest: users-digest-unsubscribe@httpd.apache.org
>> For additional commands, e-mail: users-help@httpd.apache.org
>>
>>
>

Mime
View raw message