https://issues.apache.org/bugzilla/show_bug.cgi?id=52755
--- Comment #7 from Jens Schleusener <[email protected]> 2012-03-16 13:50:23 UTC --- As an probably related observation I want to report segmentation faults on my server using httpd 2.4.1 (never seen for 2.2.22) that vanish applying the patched file mod_filter.c from httpd-2.4.x (subversion). Here a typical line in the error_log file (increasing LogLevel to "debug" didn't give more infos): [Fri Mar 16 13:03:16.980532 2012] [core:notice] [pid 9543:tid 3076671232] AH00052: child pid 9714 exit signal Segmentation fault (11) After many hours of cause studies I could break down this segmentation faults to the following szenario: 1) I built httpd 2.4.1 via ./configure --prefix=/usr/local/www/httpd2.4.1 --with-apr=/usr/local/www --with-apr-util=/usr/local/www --enable-rewrite --enable-deflate -enable-modules=few make make install 2) I added at the end of the default configuration file httpd.conf the following lines: RewriteEngine On Include conf/many_test_rewrite_rules.conf # Important: Without that Filter NO segfaults! <Location /> AddOutputFilterByType DEFLATE text/html text/plain text/xml application/javascript </Location> 3) I created the test file conf/many_test_rewrite_rules.conf with many dummy "Rewrite"-rules for e.g. via the following script (in reality I use similar lines on my fossies.org server to handle moved/renamed software archives): #/bin/bash OUT=many_test_rewrite_rules.conf N0=10000 N=1 while [ "$N" -le "$N0" ] do echo "RewriteRule ^/unix/privat/dummy-$N(.*)$ http://fossies.org/unix/misc/dummy-$N\$1 [R=301,L]" let N=N+1 done > "$OUT" Now accessing the default htdocs/index.html (avoiding caches) I have seen beginning segmentation faults for N0 values for e.g. of > 5503 (for Linux OpenSUSE 11.3, 2 MB memory) respectively > 5130 using http://fossies.org:8081/ instead of http://fossies.org/ in the so "larger" test rules. On a Linux OpenSUSE 11.4 system with 8 MB memory the required number of RewriteRule-lines were a little bit higher. I had also the impression that the number of builtin/used modules changes that values slightly. Unfortunately the hints in http://httpd.apache.org/dev/debugging.html didn't help me to get more detailed information or a core dump file. But since 2.4.2 is probably coming soon and solving the described bug such infos seems no longer required. Jens -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
