Re: using ProxyHTMLEnable On, mod_proxy_html or xml2enc segfaults

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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=19D1CEB65AF823413A8D2885D4CFA2F7 to 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@xxxxxxxxxxxxxx>
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@xxxxxxxxxxxx>
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@xxxxxxxxxxxxxxxx
 "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux