DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15113>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15113 Child Segmentation Fault when Mod_Cache receive a 302 ok response ------- Additional Comments From [EMAIL PROTECTED] 2002-12-11 17:45 ------- OK, thanks for looking ! I reproduced the bug. Last CVS snapshot used, compiled with : ./configure --prefix=/opt/ApacheProxy2.0 --localstatedir=/logs/ApacheProxy2.0 --enable-cache --enable-disk-cache --enable-proxy --enable-rewrite --enable-deflate It is configured as a proxy-cache. When the serveur behind answers a 403 or 302 response, the child dies. With a telnet on a 403 page : # telnet 172.30.16.21 80 Trying 172.30.16.21... Connected to 172.30.16.21. Escape character is '^]'. GET /blablabla HTTP/1.1 Host: front.www.leda.rev.proto.generali.fr Connection closed by foreign host. # In the error.log : [Wed Dec 11 18:26:57 2002] [notice] Apache configured -- resuming normal operations [Wed Dec 11 18:26:57 2002] [info] Server built: Dec 11 2002 18:20:58 [Wed Dec 11 18:26:57 2002] [debug] prefork.c(1039): AcceptMutex: sysvsem (default: sysvsem) [Wed Dec 11 18:27:33 2002] [notice] child pid 1574 exit signal Segmentation fault (11) In the virtual host error log : [Wed Dec 11 18:27:32 2002] [debug] mod_cache.c(118): cache: URL /blablabla is being handled by disk [Wed Dec 11 18:27:32 2002] [debug] mod_cache.c(202): cache: no cache - add cache_in filter and DECLINE [Wed Dec 11 18:27:32 2002] [debug] proxy_http.c(109): proxy: HTTP: canonicalising URL //www.leda.rev.proto.generali.fr/blablab la [Wed Dec 11 18:27:32 2002] [debug] mod_proxy.c(440): Trying to run scheme_handler against proxy [Wed Dec 11 18:27:32 2002] [debug] proxy_http.c(1170): proxy: HTTP: serving URL http://www.leda.rev.proto.generali.fr/blablabl a [Wed Dec 11 18:27:32 2002] [debug] proxy_http.c(221): proxy: HTTP connecting http://www.leda.rev.proto.generali.fr/blablabla t o www.leda.rev.proto.generali.fr:80 [Wed Dec 11 18:27:32 2002] [debug] proxy_util.c(1201): proxy: HTTP: fam 2 socket created to connect to proxybo1.generali.fr [Wed Dec 11 18:27:32 2002] [debug] proxy_http.c(370): proxy: socket is connected [Wed Dec 11 18:27:32 2002] [debug] proxy_http.c(404): proxy: connection complete to 172.30.4.4:9080 (proxybo1.generali.fr) [Wed Dec 11 18:27:32 2002] [debug] proxy_http.c(1012): proxy: start body send [Wed Dec 11 18:27:32 2002] [debug] mod_cache.c(436): cache: running CACHE_IN filter As I said before, it seems to crash on the particular call to apr_pstrcat. If I comment it, it works. in error.log : [Wed Dec 11 18:38:31 2002] [notice] Apache configured -- resuming normal operations [Wed Dec 11 18:38:31 2002] [info] Server built: Dec 11 2002 18:20:58 [Wed Dec 11 18:38:31 2002] [debug] prefork.c(1039): AcceptMutex: sysvsem (default: sysvsem) in virtual host error log : [Wed Dec 11 18:39:03 2002] [debug] mod_cache.c(118): cache: URL /blablabla is being handled by disk [Wed Dec 11 18:39:03 2002] [debug] mod_cache.c(202): cache: no cache - add cache_in filter and DECLINE [Wed Dec 11 18:39:03 2002] [debug] proxy_http.c(109): proxy: HTTP: canonicalising URL //www.leda.rev.proto.generali.fr/blablab la [Wed Dec 11 18:39:03 2002] [debug] mod_proxy.c(440): Trying to run scheme_handler against proxy [Wed Dec 11 18:39:03 2002] [debug] proxy_http.c(1170): proxy: HTTP: serving URL http://www.leda.rev.proto.generali.fr/blablabl a [Wed Dec 11 18:39:03 2002] [debug] proxy_http.c(221): proxy: HTTP connecting http://www.leda.rev.proto.generali.fr/blablabla t o www.leda.rev.proto.generali.fr:80 [Wed Dec 11 18:39:03 2002] [debug] proxy_util.c(1201): proxy: HTTP: fam 2 socket created to connect to proxybo1.generali.fr [Wed Dec 11 18:39:03 2002] [debug] proxy_http.c(370): proxy: socket is connected [Wed Dec 11 18:39:03 2002] [debug] proxy_http.c(404): proxy: connection complete to 172.30.4.4:9080 (proxybo1.generali.fr) [Wed Dec 11 18:39:03 2002] [debug] proxy_http.c(1012): proxy: start body send [Wed Dec 11 18:39:03 2002] [debug] mod_cache.c(436): cache: running CACHE_IN filter [Wed Dec 11 18:39:03 2002] [info] disk_cache: Caching URL front.www.leda.rev.proto.generali.fr/blablabla? [Wed Dec 11 18:39:03 2002] [debug] mod_cache.c(806): cache: Caching url: /blablabla [Wed Dec 11 18:39:03 2002] [info] disk_cache: Caching headers for URL front.www.leda.rev.proto.generali.fr/blablabla? [Wed Dec 11 18:39:03 2002] [info] disk_cache: Cached body for URL front.www.leda.rev.proto.generali.fr/blablabla? [Wed Dec 11 18:39:03 2002] [debug] proxy_http.c(1071): proxy: end body send Thanks for your help ! And as a bonus-question... is mod_cache actively developped in the moment ? Because the only problems we have with Apache 2 come from this module, and it doesn't seem to be really often updated (well, as far as i can see on the cvs snapshots...). Can someone tell me if it will we stable in the next release ? Thanks a lot for your effort ! Thomas. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
