httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 47215] New: mod_substitute doesn't work if more than one substitute is specified with default options
Date Mon, 18 May 2009 11:20:52 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=47215

           Summary: mod_substitute doesn't work if more than one
                    substitute is specified with default options
           Product: Apache httpd-2
           Version: 2.2.11
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: blocker
          Priority: P2
         Component: mod_substitute
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: avpauls@gmail.com


OS: RHEL5.3 i386/x86_64
httpd-2.2.11

>From httpd.conf:
LoadModule substitute_module modules/mod_substitute.so
<Location />
        AddOutputFilterByType SUBSTITUTE text/html
        Substitute "s|you|you+|"
        Substitute "s|HTTP|HTTP+|"
</Location>

[root@test-el5-x86_64 apache]# wget http://10.60.180.30/
--18:13:23--  http://10.60.180.30/
Connecting to 10.60.180.30:80... connected.
HTTP request sent, awaiting response... No data received.

httpd process eats all available memory and exit with segmentation fault:
[Mon May 18 16:30:33 2009] [notice] child pid 13757 exit signal Segmentation
fault (11), possible coredump in /tmp

If I use 'q' flag all works fine:
LoadModule substitute_module modules/mod_substitute.so
<Location />
        AddOutputFilterByType SUBSTITUTE text/html
        Substitute "s|you|you+|q"
        Substitute "s|HTTP|HTTP+|q"
</Location>

httpd.conf, strace log, core file will be attached.

-- 
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: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message