Bug 554180 - ab crash for large -n values
Summary: ab crash for large -n values
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: httpd
Version: 13
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Joe Orton
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-01-10 20:22 UTC by Ken Dreyer
Modified: 2011-06-02 17:02 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-06-02 17:02:22 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Apache Bugzilla 49215 0 None None None Never

Description Ken Dreyer 2010-01-10 20:22:27 UTC
ab crashes for large values of -n (approximately greater than 100,000,000).

Core was generated by `ab -n 100000000 http://clue.ktdreyer.com/'.
Program terminated with signal 11, Segmentation fault.
#0  0x00e113de in close_connection (c=0xeb7d50) at /usr/src/debug/httpd-2.2.13/support/ab.c:1267
1267	            s->starttime = c->start;
(gdb) bt
#0  0x00e113de in close_connection (c=0xeb7d50) at /usr/src/debug/httpd-2.2.13/support/ab.c:1267
#1  0x00e12bb6 in read_connection (c=<value optimized out>) at /usr/src/debug/httpd-2.2.13/support/ab.c:1342
#2  test (c=<value optimized out>) at /usr/src/debug/httpd-2.2.13/support/ab.c:1727
#3  0x00e14759 in main (argc=4, argv=0xbfd30c94) at /usr/src/debug/httpd-2.2.13/support/ab.c:2260

I don't have a patch since I hardly know C :-) I'm guessing this value is too big for apr_time_t?

(gdb) print c->start
$1 = 1263153473350581

Comment 1 Bug Zapper 2010-04-28 11:41:33 UTC
This message is a reminder that Fedora 11 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 11.  It is Fedora's policy to close all
bug reports from releases that are no longer maintained.  At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '11'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 11's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 11 is end of life.  If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora please change the 'version' of this 
bug to the applicable version.  If you are unable to change the version, 
please add a comment here and someone will do it for you.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 2 Ken Dreyer 2010-06-11 03:06:09 UTC
This bug still exists in F13, but it is fixed upstream in httpd 2.3 (see upstream's bug 47178)

Comment 3 Bug Zapper 2011-06-02 16:56:43 UTC
This message is a reminder that Fedora 13 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 13.  It is Fedora's policy to close all
bug reports from releases that are no longer maintained.  At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '13'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 13's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 13 is end of life.  If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora please change the 'version' of this 
bug to the applicable version.  If you are unable to change the version, 
please add a comment here and someone will do it for you.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 4 Ken Dreyer 2011-06-02 17:02:22 UTC
Fixed in httpd trunk upstream, so closing here.


Note You need to log in before you can comment on or make changes to this bug.