Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 49537 - Apache-2.0.49 chield segfault if requesting many https:// CGI simultaneously
Summary: Apache-2.0.49 chield segfault if requesting many https:// CGI simultaneously
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High critical
Assignee: Apache Team - Bugzilla Reports
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-30 14:21 UTC by Alex Efros
Modified: 2004-05-01 11:55 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Efros 2004-04-30 14:21:22 UTC
Here is example of simple CGI script:
---cut---
#!/usr/bin/perl                                                                 
1 for 1..10000000;
print "Content-type: text/html\r\n\r\nqweqwe";
---cut---

Apache's chield process will crash if I request this CGI using https://
simultaneously a number of times. To do this I use Opera browser (Apache
installed on same computer) to request url like https://my.local.host/test.cgi
and then press Ctrl-R (Reload) a number of times (about 6-8). This will result
in about 4-5 crashes per 6 requests. From error.log:

---cut---
[Sat May 01 00:00:46 2004] [notice] child pid 13755 exit signal Segmentation fault (11)
[Sat May 01 00:00:46 2004] [notice] child pid 13756 exit signal Segmentation fault (11)
[Sat May 01 00:00:46 2004] [notice] child pid 17016 exit signal Segmentation fault (11)
---cut---

I've found some patch which fixed this issue. Here is url:

http://cvs.apache.org/viewcvs.cgi/httpd-2.0/modules/ssl/ssl_engine_io.c?r1=1.121&r2=1.122

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Chuck Short (RETIRED) gentoo-dev 2004-05-01 11:55:05 UTC
Patch has been added to -r1.