Bug#449027: vserver: [notice] child pid 27907 exit signal Segmentation fault (11)
Package: apache
Version: 1.3.34-4.1
Severity: normal
This bug seems to be related to these bugs: #351654, #368315
I already started two threads about it, without a solution. I'm sorry, these
threads are in german language, but with some interesting links and debug
output:
http://www.debianforum.de/forum/viewtopic.php?t=89714
http://www.rootforum.de/forum/viewtopic.php?t=47502
On the web I found also these related(?) resources:
http://www.nabble.com/SIGSEGV-z-Apache,-Debian-Etch,-VServer-t3569990.html
http://bugs.php.net/bug.php?id=36105
I upgraded my server from php version 5.1.2-1.dotdeb.1 to the official
version in etch libapache-mod-php5 5.2.0-8+etch7.
Since then, I receive Segmentation fault (11) in the error.log of the
apache. Unfortunately I changed also some other modules while upgrading.
In WordPress, for example I was unable to install some extensions
(e.g. 'maintenance mode'). One day I was able to avoid 'magically' these
errors by doing a simple `dpkg-reconfigure apache` and pressing enter all
the time. After this I had 2 month without these errors until the reboot of
the vserver yesterday. Without these errors I was able to install
'maintenance mode' in WordPress for example. With these errors I received a
blank page, instead.
Now I had no luck, to get these errors 'magically' disapeared. Therefore I
file now this bug report. I'm not sure whether it should be filed against
libapache-mod-php5 or libc6.
Here some backtraces or coredumps:
[Fri Nov 2 12:00:45 2007] [notice] caught SIGTERM, shutting down
[Fri Nov 2 12:02:44 2007] [info] created shared memory segment #557056
[Fri Nov 2 12:02:44 2007] [notice] Apache/1.3.34 (Debian) PHP/5.2.0-8+etch7
configured -- resuming normal operations
[Fri Nov 2 12:02:44 2007] [info] Server built: Mar 4 2007 01:34:14
[Fri Nov 2 12:02:44 2007] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Fri Nov 2 12:03:44 2007] pid 22026 mod_backtrace backtrace for signal 11
[Fri Nov 2 12:03:44 2007] pid 22026 mod_backtrace main() is at 8061680
/usr/lib/apache/1.3/mod_backtrace.so[0xb77c8b85]
/usr/sbin/apache[0x805deb6]
/lib/tls/libpthread.so.0[0xb7fb5668]
/lib/ld-linux.so.2[0xb7ff2b07]
/lib/ld-linux.so.2[0xb7ff62f9]
/lib/ld-linux.so.2[0xb7ff6090]
/lib/tls/librt.so.1[0xb737c6e7]
/lib/ld-linux.so.2[0xb7ff6ede]
/lib/tls/libc.so.6(exit+0xd0)[0xb7d554f0]
/usr/sbin/apache[0x805d51a]
/usr/sbin/apache[0x805d543]
/lib/tls/libpthread.so.0[0xb7fb5668]
/usr/sbin/apache[0x805fe46]
/usr/sbin/apache[0x805ff0e]
/usr/sbin/apache[0x8060d2c]
/usr/sbin/apache(main+0x759)[0x8061dd9]
/lib/tls/libc.so.6(__libc_start_main+0xc8)[0xb7d3eea8]
/usr/sbin/apache[0x804f6a1]
[Fri Nov 2 12:03:44 2007] pid 22026 mod_backtrace end of report
[Fri Nov 2 12:03:44 2007] pid 22026 mod_whatkilledus sig 11 crash
[Fri Nov 2 12:03:44 2007] pid 22026 mod_whatkilledus no active connection
at crash
[Fri Nov 2 12:03:44 2007] pid 22026 mod_whatkilledus no request active at
crash
[Fri Nov 2 12:03:44 2007] pid 22026 mod_whatkilledus end of report
This is a coredump, I guess it's produced by this line in modules.conf:
LoadModule prctl_module /usr/lib/apache/1.3/mod_prctl.so
# gdb apache /core.13649
GNU gdb 6.4.90-debian
[...]
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/tls/libthread_db.so.1".
warning: .dynamic section for "/usr/lib/i686/cmov/libssl.so.0.9.8" is not at
the expected address
Reading symbols from /lib/tls/libm.so.6...(no debugging symbols
found)...done.
Loaded symbols for /lib/tls/libm.so.6
[...]
Reading symbols from /usr/lib/apache/1.3/mod_backtrace.so...(no debugging
symbols found)...done.
Loaded symbols for /usr/lib/apache/1.3/mod_backtrace.so
Reading symbols from /usr/lib/apache/1.3/mod_whatkilledus.so...(no debugging
symbols found)...done.
Loaded symbols for /usr/lib/apache/1.3/mod_whatkilledus.so
Reading symbols from /usr/lib/apache/1.3/mod_prctl.so...done.
Loaded symbols for /usr/lib/apache/1.3/mod_prctl.so
Core was generated by `apache graceful'.
Program terminated with signal 11, Segmentation fault.
#0 0xb7ff26e7 in _dl_rtld_di_serinfo () from /lib/ld-linux.so.2
I had problems to debug apache with gdb, due to threads I think:
Cannot find user-level thread for LWP 17637: generic error
# gdb --args apache -F -X -f /etc/apache/httpd.conf
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/tls/libthread_db.so.1".
(gdb) run
Starting program: /usr/sbin/apache -F -X -f /etc/apache/httpd.conf
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
Error while reading shared library symbols:
Cannot find new threads: generic error
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
Cannot find user-level thread for LWP 17637: generic error
(gdb) bt
#0 0xb7ff7010 in _dl_debug_state () from /lib/ld-linux.so.2
#1 0xbfffd860 in ?? ()
#2 0xb7fedc35 in ?? () from /lib/ld-linux.so.2
#3 0xb80011e0 in _rtld_global () from /lib/ld-linux.so.2
#4 0xb80016a4 in ?? ()
#5 0x00000000 in ?? ()
(gdb) quit
The program is running. Exit anyway? (y or n) y
#
Is there any way to get this problem solved? I'm not a programmer, and
therefore I'm not sure how to debug apache, to get the picture of what's
going on.
Kind regards
Gerhard Gaussling
-- System Information:
Debian Release: 4.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.9-023stab044.11-smp
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro (charmap=ISO-8859-15)
Versions of packages apache depends on:
ii apache-common 1.3.34-4.1 support files for all Apache webse
ii debconf [debconf-2.0] 1.5.11 Debian configuration management sy
ii libc6 2.3.6.ds1-13etch2 GNU C Library: Shared libraries
ii libdb4.4 4.4.20-8 Berkeley v4.4 Database Libraries [
ii libexpat1 1.95.8-3.4 XML parsing C library - runtime li
ii libmagic1 4.17-5etch3 File type determination library us
ii logrotate 3.7.1-3 Log rotation utility
ii lsb-base 3.1-23.2etch1 Linux Standard Base 3.1 init scrip
ii mime-support 3.39-1 MIME files 'mime.types' & 'mailcap
ii perl 5.8.8-7 Larry Wall's Practical Extraction
apache recommends no packages.
-- debconf information:
* apache/server-name: 89.110.156.10
* apache/document-root: /var/www
* apache/server-port: 80
* apache/enable-suexec: false
* apache/init: true
* apache/server-admin: webmaster@pv10.ncsrv.de
Reply to: