https://issues.apache.org/bugzilla/show_bug.cgi?id=45792





--- Comment #19 from Jacek Kaczmarek <[EMAIL PROTECTED]>  2008-10-07 07:03:46 
PST ---
Potentially good news is that we have managed to reproduce the segmentation
fault on ubuntu linux using a 2.2.9 build from apache.org and that the problem
could *not* be reproduced with 2.2.8 build from the same download site with the
very same build flags, test scenario and config files.

Platform:

ubuntu linux 8.04 / 2.6.14 kernel


Reproduction scenario:

- get apache 2.2.9 sources,

- configure with:
  ./configure --with-mpm=worker --enable-cgi --enable-status --enable-proxy
--enable-proxy-http --enable-proxy-balancer --enable-deflate
--prefix=/opt/apache-cluster
(also tried other modules and settings to the same results)

- make & install,

- use standard configuration with the following additions:

RewriteEngine On
RewriteRule ^(.+\.php)$ balancer://php_cluster$1 [P,L,QSA]
RewriteRule ^/php/(.*)$ balancer://php_cluster/php/$1 [P,L,QSA]
SetEnv proxy-initial-not-pooled 1
<Proxy balancer://php_cluster>
  BalancerMember http://192.168.1.100
</Proxy>

ProxyPassReverse / http://192.168.1.100/
ProxyPreserveHost On

- we used it in combination with a virtual host (!)

(we have intentially reduced the original config to minimal settings and just
one balancermember, the problem also occurs on multiple balancer members and
with many additional ProxyPass/ProxySet settings).

- one of the tests that seems to crash the server most often is by requesting
two files randomly (100,000 requests over 30 seconds is more than enough to
reproduce). The files are:

    a) a simple file with 2-3 virtual includes, where included files would be
proxied. Example content:

<html><body>
1
<!--#include virtual="/php/static_small.php"-->
2
<!--#include virtual="/php/static.php"-->
</body></html>

(so the include files are processed by rewrite rule 1 and would be by rule 2 if
not the L flag)

   b) a static file with random content (several alphanumeric chars should do)
served directly via proxy, example could be
    "/php/static.html" file (that is processed by rewrite rule number 2 in the
example above)

Segfaults should occur very quickly. For us it was usually after just a few
requests. The funny thing is that the segfault does not occur if we are testing
only the former file (with virtual includes that go to the proxy) and hardly
occurs when we are requesting the latter file (a proxied file).

The problem does not occur on 2.2.8 build.

Hopefully this is enough to reproduce the issue. 


-- 
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]

Reply via email to