PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : apache2 core dump



403
07.05.07, 07:18
Hallo :)

weiss jemand was es mit folgendem Fehler auf sich hat? Zu dem Zeitpunkt, gab es _keinen_
Request.




Script started on Mon May 7 06:42:15 2007
%ls *.core
httpd.core
%pwd
/usr/local/apache2
%grep nasty *.core logs/error_log
Binary file httpd.core matches
logs/error_log:[Tue May 01 05:58:28 2007] [notice] seg fault or similar nasty error detected in the parent process
%gdb bin/httpd httpd.core
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 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 "i386-marcel-freebsd"...
Core was generated by `httpd'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libm.so.4...done.
Loaded symbols for /lib/libm.so.4
Reading symbols from /usr/local/lib/libgdbm.so.3...done.
Loaded symbols for /usr/local/lib/libgdbm.so.3
Reading symbols from /usr/local/lib/libdb-4.2.so.2...done.
Loaded symbols for /usr/local/lib/libdb-4.2.so.2
Reading symbols from /usr/local/lib/libexpat.so.6...done.
Loaded symbols for /usr/local/lib/libexpat.so.6
Reading symbols from /usr/local/lib/libiconv.so.3...done.
Loaded symbols for /usr/local/lib/libiconv.so.3
Reading symbols from /lib/libcrypt.so.3...done.
Loaded symbols for /lib/libcrypt.so.3
Reading symbols from /lib/libpthread.so.2...done.
Loaded symbols for /lib/libpthread.so.2
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /libexec/ld-elf.so.1...done.
Loaded symbols for /libexec/ld-elf.so.1
#0 0x283d0f23 in nanosleep () from /lib/libc.so.6
[New LWP 100071]
gdb> bt full
#0 0x283d0f23 in nanosleep () from /lib/libc.so.6
No symbol table info available.
#1 0x28316ae3 in _nanosleep () from /lib/libpthread.so.2
No symbol table info available.
#2 0x28316b9e in nanosleep () from /lib/libpthread.so.2
No symbol table info available.
#3 0x2830d06b in select () from /lib/libpthread.so.2
No symbol table info available.
#4 0x080bb44e in apr_sleep (t=Unhandled dwarf expression opcode 0x93
) at time/unix/time.c:246
tv = {tv_sec = 0x1, tv_usec = 0x0}
#5 0x0807818f in ap_wait_or_timeout (status=0xbfbfea48, exitcode=0xbfbfea4c, ret=0xbfbfead0, p=0x80e9018) at mpm_common.c:345
rv = 0x4
#6 0x08096d9f in ap_mpm_run (_pconf=0x6, plog=0x8127018, s=0x1) at prefork.c:1007
status = 0x1
pid = {pid = 0xffffffff, in = 0x0, out = 0xbfbfeb18, err = 0x80b4ae2}
child_slot = 0x6
exitwhy = 3217025672
processed_status = 0x1
index = 0x1
remaining_children_to_start = 0x0
rv = 0x4
#7 0x08061678 in main (argc=0x3, argv=0xbfbfebe0) at main.c:717
exit_status = 0xbfbfec70
c = 0x66
configtestonly = 0x0
confname = 0xbfbfecf0 "/usr/local/apache2/conf/httpd.conf"
def_server_root = 0x80bde97 "/usr/local/apache2"
temp_error_log = 0x0
error = 0x4 <Address 0x4 out of bounds>
server_conf = (server_rec *) 0x80edbe0
pglobal = (apr_pool_t *) 0x80e7018
pconf = (apr_pool_t *) 0x80e9018
plog = (apr_pool_t *) 0x8127018
ptemp = (apr_pool_t *) 0x80ef018
pcommands = (apr_pool_t *) 0x80eb018
opt = (apr_getopt_t *) 0x80eb0b0
rv = 0x80edbe0
mod = (module **) 0x80edbe0
optarg = 0xbfbfecf0 "/usr/local/apache2/conf/httpd.conf"
signal_server = (apr_OFN_ap_signal_server_t *) 0
gdb> q


Apache Version ist 2.2.3 und er horcht nur auf einer IPv6 Adresse.

Vielen Dank fuer jeden Tip.

Gruss 403

bla!zilla
07.05.07, 07:21
Fehler reproduzierbar?

403
07.05.07, 07:22
nein, leider nicht.

EDIT: Ich seh grad, das gehoert eigentlich nach Andere Betriebssysteme. Sorry.

bla!zilla
07.05.07, 07:47
Kein Ding, der kann hier bleiben. Wenn es sich nicht reproduzieren lässt, ist es natürlich problematisch. Hattest du das Problem häufiger, spontan, oder war es das erste Mal?

403
07.05.07, 19:54
nein das war das erste mal. hier noch die compile flags:


Server version: Apache/2.2.3
Server built: Dec 13 2006 06:59:48
Server's Module Magic Number: 20051115:3
Server loaded: APR 1.2.7, APR-Util 1.2.7
Compiled using: APR 1.2.7, APR-Util 1.2.7
Architecture: 32-bit
Server MPM: Prefork
threaded: no
forked: yes (variable process count)
Server compiled with....
-D APACHE_MPM_DIR="server/mpm/prefork"
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
-D APR_USE_FLOCK_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D DYNAMIC_MODULE_LIMIT=128
-D HTTPD_ROOT="/usr/local/apache2"
-D SUEXEC_BIN="/usr/local/apache2/bin/suexec"
-D DEFAULT_PIDLOG="logs/httpd.pid"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_LOCKFILE="logs/accept.lock"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="conf/mime.types"
-D SERVER_CONFIG_FILE="conf/httpd.conf"