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

Bug#394714: apache2-mpm-prefork: Apache2 child processes segfaults



Tollef Fog Heen <tfheen@err.no> writes:

> * David Muriel 
>
> | I just upgraded apache2 from version 2.0 to 2.2 and now apache2 no
> | longer starts.  The file /var/log/apache2/error.log just shows this:
>
> This is probably a bug in some module.  What modules do you have
> enabled?  Can you get a sensible backtrace from gdb --args apache2 -X ?

$ ls -1 /etc/apache2/mods-enabled/
actions.load
alias.load
authz_host.load
autoindex.load
cgi.load
dir.load
env.load
mime.load
mime_magic.conf
mime_magic.load
negotiation.load
rewrite.load
setenvif.load
status.load
userdir.conf
userdir.load


# gdb --args apache2 -X 
GNU gdb 6.4.90-debian
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and
you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for
details.
This GDB was configured as "i486-linux-gnu"...(no debugging symbols
found)
Using host libthread_db library "/lib/libthread_db.so.1".

(gdb) r
Starting program: /usr/sbin/apache2 -X
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 15013)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 15013)]
0x4036716a in apr_pollset_add () from /usr/lib/libapr-1.so.0
(gdb) bt
#0  0x4036716a in apr_pollset_add () from /usr/lib/libapr-1.so.0
#1  0x0808851e in ap_graceful_stop_signalled ()
#2  0x08088974 in ap_graceful_stop_signalled ()
#3  0x0808973a in ap_mpm_run ()
#4  0x080621ff in main ()

After this, I've checked the libapr1 bugs and found there are three
bugs reported about it:  #392049, #392373 and #392646

It seems that the problem is related to libapr1 when using a 2.4
kernel, so maybe this bug should be reassigned to libapr1 and merged
with those three.


Thanks for your help.

-- 
------------------------------------------------------------
David Muriel.
Linux registered user #25632 (http://counter.li.org/)
------------------------------------------------------------




Reply to: