apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Orton <jor...@redhat.com>
Subject Re: svn commit: r500321 - in /apr/apr/trunk: include/arch/unix/apr_arch_poll_private.h poll/unix/epoll.c
Date Mon, 29 Jan 2007 12:41:21 GMT
On Fri, Jan 26, 2007 at 08:04:27PM -0000, Greg Ames wrote:
> Author: gregames
> Date: Fri Jan 26 12:04:26 2007
> New Revision: 500321
> 
> URL: http://svn.apache.org/viewvc?view=rev&rev=500321
> Log:
> apr_pollset_remove: speed up the httpd Event MPM when lots of connections are
> in use
> 
> epoll/Linux only for now.  ./buildconf on FreeBSD (minotaur) spewed tons of
> errors; hints appreciated

I'm getting segfaults in the test suite on ppc (RHEL4) and x86_64 (FC6) 
after this change.  Reverting the patch fixes the issue.

(gdb) run
Starting program: /local/httpd/apr-trunk/test/testall -v testpoll
[Thread debugging using libthread_db enabled]
[New Thread 46912498517872 (LWP 31873)]
testpoll            : -
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 46912498517872 (LWP 31873)]
0x00002aaaaaac8d11 in apr_pollset_remove (pollset=0x691588, 
    descriptor=0x7fff24b06fb0) at poll/unix/epoll.c:224
224                 APR_RING_REMOVE(ep, link);
(gdb) where
#0  0x00002aaaaaac8d11 in apr_pollset_remove (pollset=0x691588, 
    descriptor=0x7fff24b06fb0) at poll/unix/epoll.c:224
#1  0x000000000040ed1d in multi_event_pollset (tc=0x7fff24b07010, 
    data=<value optimized out>) at testpoll.c:341
#2  0x0000000000418712 in abts_run_test (ts=<value optimized out>, 
    f=0x40eb70 <multi_event_pollset>, value=0x0) at abts.c:170
#3  0x000000000040dfb3 in testpoll (suite=0x68a190) at testpoll.c:575
#4  0x0000000000417e85 in main (argc=<value optimized out>, 
    argv=0x7fff24b07158) at abts.c:407


Mime
View raw message