Skip Menu |

This queue is for tickets about the ApacheBench CPAN distribution.

Report information
The Basics
Id: 71698
Status: resolved
Priority: 0/
Queue: ApacheBench

People
Owner: adiraj [...] cpan.org
Requestors: cornelius [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.71
Fixed in: (no value)



Subject: Segmentation fault
perl test.pl zsh: segmentation fault perl test.pl Darwin Cornelius.local 11.2.0 Darwin Kernel Version 11.2.0: Tue Aug 9 20:56:15 PDT 2011; root:xnu-1699.24.8~1/RELEASE_I386 i386 MacOS Lion ----- here is my test.pl use HTTPD::Bench::ApacheBench; my $b = HTTPD::Bench::ApacheBench->new; # global configuration $b->concurrency(5); # $b->priority("run_priority"); # add HTTP request sequences (aka: runs) my $run1 = HTTPD::Bench::ApacheBench::Run->new({ urls => ['http://phifty.local/bs'] , repeat => 10, }); $b->add_run($run1); my $ro = $b->execute; use Data::Dumper; my $d = Data::Dumper->new([$ro]); print $d->Dumpxs; print ((1000*$b->total_requests/$b->total_time)." req/sec\n");
When I change my repeat times to 1~5 , it will work. On Sat Oct 15 07:05:26 2011, CORNELIUS wrote: Show quoted text
> perl test.pl > zsh: segmentation fault perl test.pl > >
Thanks for the segfault report... was planning on a new release in the next week or two. I'll be sure to make sure this segfault is fixed in this next release.
Resolved in version 0.72, just released. Let me know if you still see it, or any other segfaults. Also, check out the new features in 0.72 !!