Bug#219973: apache dies shortly after being started
Package: apache
Version: 1.3.29.0.1-3
Severity: normal
Followup-For: Bug #219973
Apache starts normally from /etc/init.d/apache but dies instanly after the
start. No errors reported in syslog or apaches errorlog. When run through valgrind:
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
20950 root 17 0 188m 46m 3516 R 46.1 75.7 0:35.35 apache
Full valgrind output attached below.
free output:
Mem: 62804
Swap: 249944
-- System Information:
Debian Release: testing
Architecture: i386
Kernel: Linux blue 2.4.21-3-586tsc #1 Sun Jul 20 15:03:47 EST 2003 i586
Locale: LANG=C, LC_CTYPE=C
Versions of packages apache depends on:
ii apache-common 1.3.29.0.1-3 Support files for all Apache webse
ii debconf 1.3.22 Debian configuration management sy
ii dpkg 1.10.18 Package maintenance system for Deb
ii libc6 2.3.2.ds1-10 GNU C Library: Shared libraries an
ii libdb4.1 4.1.25-16 Berkeley v4.1 Database Libraries [
ii libexpat1 1.95.6-6 XML parsing C library - runtime li
ii libmagic1 4.06-2 File type determination library us
ii libpam0g 0.76-15 Pluggable Authentication Modules l
ii logrotate 3.6.5-2 Log rotation utility
ii mime-support 3.24-1 MIME files 'mime.types' & 'mailcap
ii perl [perl5] 5.8.2-2 Larry Wall's Practical Extraction
-- debconf information:
apache/server-name: TM-74-22.telemach.net
apache/document-root:
apache/server-port: 80
* apache/enable-suexec: false
apache/init: true
apache/server-admin: root@blue.skylined.org
*** valgrind output
# valgrind /usr/sbin/apache
==20943== Memcheck, a memory error detector for x86-linux.
==20943== Copyright (C) 2002-2003, and GNU GPL'd, by Julian Seward.
==20943== Using valgrind-2.1.0, a program supervision framework for x86-linux.
==20943== Copyright (C) 2000-2003, and GNU GPL'd, by Julian Seward.
==20943== Estimated CPU clock rate is 199 MHz
==20943== For more details, rerun with: -v
==20943==
==20943== Conditional jump or move depends on uninitialised value(s)
==20943== at 0x40009520: _dl_relocate_object (in /lib/ld-2.3.2.so)
==20943== by 0x404A2E25: (within /lib/libc-2.3.2.so)
==20943== by 0x4000BF15: _dl_catch_error (in /lib/ld-2.3.2.so)
==20943== by 0x404A30A8: _dl_open (in /lib/libc-2.3.2.so)
==20943==
==20943== Conditional jump or move depends on uninitialised value(s)
==20943== at 0x40009575: _dl_relocate_object (in /lib/ld-2.3.2.so)
==20943== by 0x404A2E25: (within /lib/libc-2.3.2.so)
==20943== by 0x4000BF15: _dl_catch_error (in /lib/ld-2.3.2.so)
==20943== by 0x404A30A8: _dl_open (in /lib/libc-2.3.2.so)
==20943==
==20943== Conditional jump or move depends on uninitialised value(s)
==20943== at 0x400093CA: _dl_relocate_object (in /lib/ld-2.3.2.so)
==20943== by 0x404A2E25: (within /lib/libc-2.3.2.so)
==20943== by 0x4000BF15: _dl_catch_error (in /lib/ld-2.3.2.so)
==20943== by 0x404A30A8: _dl_open (in /lib/libc-2.3.2.so)
==20943==
==20943== Conditional jump or move depends on uninitialised value(s)
==20943== at 0x400093D8: _dl_relocate_object (in /lib/ld-2.3.2.so)
==20943== by 0x404A2E25: (within /lib/libc-2.3.2.so)
==20943== by 0x4000BF15: _dl_catch_error (in /lib/ld-2.3.2.so)
==20943== by 0x404A30A8: _dl_open (in /lib/libc-2.3.2.so)
==20943==
==20943== ERROR SUMMARY: 152 errors from 4 contexts (suppressed: 6 from 2)
==20943== malloc/free: in use at exit: 579259 bytes in 7874 blocks.
==20943== malloc/free: 8691 allocs, 817 frees, 665098 bytes allocated.
==20943== For a detailed leak analysis, rerun with: --leak-check=yes
==20943== For counts of detected errors, rerun with: -v
==20950==
==20950== Invalid read of size 1
==20950== at 0x40024137: strcmp (mac_replace_strmem.c:223)
==20950== by 0x4AD7FB00: (within /usr/lib/i586/libcrypto.so.0.9.7)
==20950== Address 0x4ACC9A63 is not stack'd, malloc'd or free'd
==20950==
==20950== Process terminating with default action of signal 11 (SIGSEGV): dumping core
==20950== Address not mapped to object at address 0x4ACC9A63
==20950== at 0x40024137: strcmp (mac_replace_strmem.c:223)
==20950== by 0x4AD7FB00: (within /usr/lib/i586/libcrypto.so.0.9.7)
==20950==
==20950== ERROR SUMMARY: 271 errors from 5 contexts (suppressed: 9 from 2)
==20950== malloc/free: in use at exit: 564830 bytes in 7497 blocks.
==20950== malloc/free: 16431 allocs, 8934 frees, 1119245 bytes allocated.
==20950== For a detailed leak analysis, rerun with: --leak-check=yes
==20950== For counts of detected errors, rerun with: -v
Reply to: