apr-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 47519] APR segfaults in apr_pollset_add()
Date Tue, 14 Jul 2009 08:32:08 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=47519





--- Comment #6 from Tobias Klausmann <klausman@gentoo.org>  2009-07-14 01:32:04 PST
---
(In reply to comment #5)
> (In reply to comment #0)
> > In strace, just before the SEGV happens, I see weird calls like this:
> > 
> > syscall_291(0x80000, 0x2, 0x17ae0b8, 0x7ffffe557600, 0x1d0, 0, 0x2, 0x2, 0x2,
> > 0x2, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2,
> > 0x2, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2 <unfinished ...>
> 
> Does the strace show the return code or errno of this syscall? It works for me
> with the Debian 2.6.29 kernel and glibc 2.9 on i386:
> 
> SYS_329(0x80000, 0, 0xb7f134f8, 0, 0x99b98e8) = 18
> epoll_ctl(18, EPOLL_CTL_ADD, 10, {EPOLLIN, {u32=164579440, u64=164579440}}) = 0
> ...
> 
> (syscall 291 is epoll_create1 on x86_64, 329 is epoll_create1 on i386)

$ strace  /usr/sbin/apache2 -D DEFAULT_VHOST -D NAGIOS -D SSL -D
SSL_DEFAULT_VHOST -D PHP5 -d /usr/lib64/apache2 -f /etc/apache2/httpd.conf -X
[... lots of output ...]
write(2, "POOL DEBUG: [30349/13978117091923"..., 122) = 122
syscall_291(0x80000, 0x2, 0x26c0e50, 0x7fff5f0b6f20, 0x262b100, 0xe0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0) = -1
(errno 38)
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++

I'll give the patch a shot in a moment.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org


Mime
View raw message