[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#636562: libapr1: Apache child processes frequently segfault



On 04/08/11 18:54, nospam wrote:
On 04/08/11 17:24, Stefan Fritsch wrote:
On Thursday 04 August 2011, T McIntyre wrote:
Modules installed:
alias auth_basic authn_file authz_default authz_groupfile
authz_host authz_user autoindex cgi dir env mime negotiation php5
reqtimeout rewrite rpaf setenvif status

php-apc is also installed but when disabled the segfaults still
occurred.

The only package installed from testing is nginx, and later gdb (to
work with PIE binary)

Backtrace follows (I installed libapr1-dev and dbg but gdb still
says no symbol table for libapr-1.so)
Thanks for the detailed bug report. I suspect this is may be a bug in
mod_rpaf. Can you retry without it?

The output of the following commands in gdb would also be interesting:

f 1
p ap[i].x.ip
p r->connection->remote_addr

Appreciate the swift reply.  Have disabled mod_rpaf and am monitoring.

gdb commands follow:

Core was generated by `/usr/sbin/apache2 -k start'.
Program terminated with signal 11, Segmentation fault.
#0  0xb77a174a in apr_ipsubnet_test () from /usr/lib/libapr-1.so.0
(gdb) f 1
#1  0xb75a6edb in find_allowdeny (r=<value optimized out>,
    a=<value optimized out>, method=0)
    at /tmp/buildd/apache2-2.2.16/modules/aaa/mod_authz_host.c:239
239 /tmp/buildd/apache2-2.2.16/modules/aaa/mod_authz_host.c: No such file or directory.
    in /tmp/buildd/apache2-2.2.16/modules/aaa/mod_authz_host.c
(gdb) p ap[i].x.ip
value has been optimized out
(gdb) p r->connection->remote_addr
value has been optimized out
(gdb)

Not a peep in the error log since mod_rpaf was disabled a day ago.  Thanks.



Reply to: