Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 79929 invoked from network); 15 Oct 2007 13:21:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Oct 2007 13:21:43 -0000 Received: (qmail 92721 invoked by uid 500); 15 Oct 2007 13:21:20 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 92697 invoked by uid 500); 15 Oct 2007 13:21:19 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 92686 invoked by uid 99); 15 Oct 2007 13:21:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Oct 2007 06:21:19 -0700 X-ASF-Spam-Status: No, hits=-2.8 required=10.0 tests=NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_MED,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [194.110.47.24] (HELO tietoe03.tietoenator.com) (194.110.47.24) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Oct 2007 13:21:20 +0000 X-AuditID: c26e2f18-0000260c000024d8-ed-4713692676c0 Received: from stingray.eu.tieto.com ([192.176.143.13]) by tietoe03.tietoenator.com with Microsoft SMTPSVC(6.0.3790.1830); Mon, 15 Oct 2007 16:20:38 +0300 Received: from maserati.eu.tieto.com ([192.176.143.19]) by stingray.eu.tieto.com with Microsoft SMTPSVC(6.0.3790.1830); Mon, 15 Oct 2007 15:20:59 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Mon, 15 Oct 2007 15:20:58 +0200 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Mod_proxy_html segfaults Thread-Index: AcgPLjkYD4u4CvqQQNSOrBXN6+eH2A== From: To: X-OriginalArrivalTime: 15 Oct 2007 13:20:59.0241 (UTC) FILETIME=[39C87590:01C80F2E] X-Brightmail-Tracker: AAAAAA== X-Virus-Checked: Checked by ClamAV on apache.org Subject: [users@httpd] Mod_proxy_html segfaults Hi, I have some problems with mod_proxy_html on Solaris. On Solaris 9 (Apache 2.2.4 and Apache 2.0.55, libxml2-2.6.30) , I've encountered the following problem with mod_proxy_html. I have downloaded, built and installed the mod_proxy_html release ( it seems to be released 2007-07-31). It should contain a bug fix against segfaults (2007-06-17) but apparently I have run in to this anyway. I also reterieved the latest version (2007-10-04) from svn , from the log it says : "Refuse to run (and segfault) with no links configured and nothing to do" I don't know if the latest svn-version could address my problem nor the status of the svn-version , it is propably the developer version and I should rely on the official release (2007-07-31).=20 I have tried to debug this but without success. Truss gives me nothing to go on and the logs aren't very helpful. But it seems consistent enough. Fortunately I am not forced to use mod_proxy_html, but I would like to clean up my build if possible. Regards, Anders ------------- error.log: ------------- [Thu Oct 11 14:22:55 2007] [notice] Apache/2.2.4 (Unix) mod_ssl/2.2.4 OpenSSL/0.9.8a DAV/2 proxy_html/3.0.0 configured -- resuming normal operations=20 [Thu Oct 11 14:22:55 2007] [info] Server built: Jan 29 2007 11:50:22=20 [Thu Oct 11 14:22:56 2007] [error] server reached MaxClients setting, consider raising the MaxClients setting=20 [Thu Oct 11 14:23:04 2007] [info] [client 10.41.24.177] Content-Type is text/html=20 [Thu Oct 11 14:23:04 2007] [info] [client 10.41.24.177] Got charset UTF-8 from HTML META=20 [Thu Oct 11 14:23:04 2007] [info] [client 10.41.24.177] Adding header [refresh: 120] from HTML META [Thu Oct 11 14:23:04 2007] [notice] child pid 1884 exit signal Segmentation fault (11)=20 [Thu Oct 11 14:23:30 2007] [info] [client 10.41.24.177] Content-Type is text/html=20 [Thu Oct 11 14:23:30 2007] [info] [client 10.41.24.177] Got charset UTF-8 from HTML META=20 [Thu Oct 11 14:23:30 2007] [info] [client 10.41.24.177] Adding header [refresh: 120] from HTML META=20 [Thu Oct 11 14:23:31 2007] [notice] child pid 1886 exit signal Segmentation fault (11)=20 [Thu Oct 11 14:23:36 2007] [info] [client 10.41.24.177] Content-Type is text/html=20 [Thu Oct 11 14:23:36 2007] [info] [client 10.41.24.177] Got charset UTF-8 from HTML META=20 [Thu Oct 11 14:23:36 2007] [info] [client 10.41.24.177] Adding header [refresh: 120] from HTML META [Thu Oct 11 14:23:37 2007] [notice] child pid 1888 exit signal Segmentation fault (11)=20 [Thu Oct 11 14:23:51 2007] [info] [client 10.41.24.177] Content-Type is text/html=20 [Thu Oct 11 14:23:51 2007] [info] [client 10.41.24.1:18 2007] [notice] child pid 1893 exit signal Segmentation fault (11) ---------------------- httpd.conf (Loaded appropriate mod_proxy modules including mod_proxy_html and libxml2) ---------------------- ProxyRequests Off RewriteEngine On ProxyPass /testapp/ http://142.47.63.130/printers/ Order deny,allow Allow from all ProxyHTMLURLMap http://142.47.63.130/printers/ /testapp # ProxyHTMLMeta On ProxyHTMLLogVerbose On LogLevel Info ProxyPassReverse / SetOutputFilter proxy-html ProxyHTMLURLMap / /testapp/ ProxyHTMLURLMap /testapp /testapp RequestHeader unset Accept-Encoding # Order deny,allow # Deny from all # Allow from .your-domain.com # # # Enable/disable the handling of HTTP/1.1 "Via:" headers. # ("Full" adds the server version; "Block" removes all outgoing Via: headers) # Set to one of: Off | On | Full | Block # # ProxyVia On # # To enable the cache as well, edit and uncomment the following lines: # (no cacheing without CacheRoot) # # CacheRoot "/var/log/app/apache//proxy" # CacheSize 5 # CacheGcInterval 4 # CacheMaxExpire 24 # CacheLastModifiedFactor 0.1 # CacheDefaultExpire 1 # NoCache a-domain.com another-domain.edu joes.garage-sale.com # End of proxy directives. ------------------ truss output ------------------ brk(0x002076F0) =3D 0 5911: brk(0x002096F0) =3D 0 5911: door_info(4, 0xFFBFCCE0) =3D 0 5911: door_call(4, 0xFFBFCCC8) =3D 0 5911: door_info(4, 0xFFBFCC60) =3D 0 5911: door_call(4, 0xFFBFCC48) =3D 0 5911: so_socket(PF_INET, SOCK_STREAM, IPPROTO_IP, "", 1) =3D 22 5911: fcntl(22, F_GETFL, 0x00000000) =3D 2 5911: fcntl(22, F_SETFL, 0x00000082) =3D 0 5911: connect(22, 0x001FC864, 16, 1) Err#150 EINPROGRESS 5911: poll(0xFFBFEF98, 1, 300000) =3D 1 5911: getsockopt(22, SOL_SOCKET, SO_ERROR, 0xFFBFF0A4, 0xFFBFF0A0, 1) =3D 0 5911: getsockname(22, 0x001FC91C, 0x001FC93C, 1) =3D 0 5911: setsockopt(22, tcp, TCP_NODELAY, 0xFFBFF044, 4, 1) =3D 0 5911: writev(22, 0xFFBFF048, 12) =3D 535 5911: read(22, 0x00207500, 8000) Err#11 EAGAIN 5911: poll(0xFFBFCCD8, 1, 300000) =3D 1 5911: read(22, " H T T P / 1 . 1 2 0 0".., 8000) =3D 189 5911: poll(0xFFBFCD38, 1, 300000) =3D 1 5911: read(22, " < h t m l >\n < h e a d".., 8000) =3D 1157 5911: write(11, " [ W e d O c t 1 0 ".., 82) =3D 82 5911: write(11, " [ W e d O c t 1 0 ".., 115) =3D 115 5911: brk(0x002096F0) =3D 0 5911: brk(0x0020B6F0) =3D 0 5911: brk(0x0020B6F0) V SEGV_MAPERR addr=3D0x0000001C 5911: sigprocmask(SIG_SETMASK, 0xFFBFB8DC, 0x00000000) =3D 0 5911: chdir("/app/apache/2.0.54") =3D 0 5911: sigaction(SIGSEGV, 0xFFBFB620, 0xFFBFB740) =3D 0 5911: getpid() =3D 5911 [5895] 5911: getpid() =3D 5911 [5895] 5911: kill(5911, SIGSEGV) =3D 0 5911: sigprocmask(SIG_SETMASK, 0xFEC2A074, 0xFFBFB690) =3D 0 5911: lwp_unpark(1, 1) =3D 0 5911: setcontext(0xFFBFB6A0) 5911: Received signal #11, SIGSEGV [default] 5911: siginfo: SIGSEGV pid=3D5911 uid=3D60001 5901: read(0, " [ W e d O c t 1 0 ".., 65536) =3D 197 --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See 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