Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 28619 - apache 1.3.28 seg fault when trying to access mod_throttle handler throttle-client-ip
Summary: apache 1.3.28 seg fault when trying to access mod_throttle handler throttle-c...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Web Application Packages Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-13 09:14 UTC by Chris Burton
Modified: 2003-09-26 21:50 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
strace of process that seg faults (strace.txt,9.18 KB, text/plain)
2003-09-13 09:19 UTC, Chris Burton
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Burton 2003-09-13 09:14:22 UTC
In the /etc/apache/conf/apache.conf file I have the following (for VirtualHost):
    ThrottlePolicy none
    <Location /testip>
    SetHandler throttle-client-ip
    </Location>

When I visit the page in the browser(lynx) I get:
    Alert!: Unexpected network read error; connection aborted.

In the error_log file I then have the following:
    [Sat Sep 13 17:44:04 2003] [notice] Apache/1.3.28 (Unix)  (Gentoo/Linux) 
PHP/4.3.2 mod_throttle/3.1.2 configured -- resuming normal operations
    [Sat Sep 13 17:44:04 2003] [notice] suEXEC mechanism enabled 
(wrapper: /usr/sbin/suexec)
     [Sat Sep 13 17:44:04 2003] [notice] Accept mutex: sysvsem (Default: 
sysvsem)
     [Sat Sep 13 17:44:20 2003] [notice] child pid 27673 exit signal 
Segmentation fault (11)


Reproducible: Always
Steps to Reproduce:
Machine already had mod_php and apache 1.3.28 installed:
1. emerge mod_throttle
2. ebuild /var/db/pkg/net-www/mod_throttle-3.1.2-r1/mod_throttle-3.1.2-
r1.ebuild config
3. Edit /etc/conf.d/apache and change it to APACHE_OPTS=" -D PHP4 -D THROTTLE"
4. Add the following to /etc/conf.d/apache.conf (this server has no 
virtualhosts)
   <Location /testip>
   SetHandler throttle-client-ip
   </Location>
5. /etc/init.d/apache restart

Actual Results:  
Visit http://127.0.0.1/testip with a web browser, the page does not display and 
generates the following in /var/log/apache/error_log

[Sat Sep 13 10:09:51 2003] [notice] child pid 12353 exit signal Segmentation 
fault (11)


Expected Results:  
Status display page with statistics per IP.

I have PHP and THROTTLE in the /etc/conf.d/apache file.
Comment 1 Chris Burton 2003-09-13 09:19:55 UTC
Created attachment 17637 [details]
strace of process that seg faults

The process serves one request for another page (same site), before being asked
for /testip.
Comment 2 Gregor Lawatscheck 2003-09-24 04:05:51 UTC
Does it work with 1.3.27 ?

This is quite possible related to the suexec defunct bug in 1.3.28
http://bugs.gentoo.org/show_bug.cgi?id=26632
Comment 3 Donny Davies (RETIRED) gentoo-dev 2003-09-26 19:24:26 UTC
could you try again when i check in the next apache-1.3.28-r1.ebuild which
will have a patch for the suExec problem
Comment 4 Donny Davies (RETIRED) gentoo-dev 2003-09-26 21:50:42 UTC
should be fixed in apache-1.3.28-r1, thank you