Return-Path: Delivered-To: apmail-httpd-users-de-archive@www.apache.org Received: (qmail 87941 invoked from network); 9 Jan 2009 12:20:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Jan 2009 12:20:06 -0000 Received: (qmail 79500 invoked by uid 500); 9 Jan 2009 12:20:06 -0000 Delivered-To: apmail-httpd-users-de-archive@httpd.apache.org Received: (qmail 79136 invoked by uid 500); 9 Jan 2009 12:20:05 -0000 Mailing-List: contact users-de-help@httpd.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: users-de@httpd.apache.org List-Id: Delivered-To: mailing list users-de@httpd.apache.org Received: (qmail 79125 invoked by uid 99); 9 Jan 2009 12:20:05 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Jan 2009 04:20:05 -0800 X-ASF-Spam-Status: No, hits=1.3 required=10.0 tests=SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [62.75.242.204] (HELO mx.aloah-from-hell.de) (62.75.242.204) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Jan 2009 12:19:57 +0000 Received: from [192.168.0.48] (port-87-234-219-34.static.qsc.de [87.234.219.34]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx.aloah-from-hell.de (Postfix) with ESMTPSA id 152226F70276 for ; Fri, 9 Jan 2009 13:19:36 +0100 (CET) Message-ID: <496740D6.6040906@aloah-from-hell.de> Date: Fri, 09 Jan 2009 13:19:34 +0100 From: "Werner D." Reply-To: werner@aloah-from-hell.de User-Agent: Thunderbird 2.0.0.19 (Macintosh/20081209) MIME-Version: 1.0 To: users-de@httpd.apache.org Subject: Apache 2.2.11 segfaults auf Kernel 2.6.28 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Hallo zusammen, seit der Aktualisierung des Kernels von Version 2.6.26.9 auf Version 2.6.28 segfaultet der Apache Webserver: [Fri Jan 09 12:39:00 2009] [notice] child pid 11609 exit signal Segmentation fault (11) [Fri Jan 09 12:39:00 2009] [notice] child pid 11610 exit signal Segmentation fault (11) [Fri Jan 09 12:39:00 2009] [notice] child pid 11611 exit signal Segmentation fault (11) [Fri Jan 09 12:39:00 2009] [notice] child pid 11612 exit signal Segmentation fault (11) [Fri Jan 09 12:39:00 2009] [notice] child pid 11613 exit signal Segmentation fault (11) Der Webserver läuft auf einem Debian Etch System (64-Bit) und monolithischem Kernel. Folgende Versionen sind im Einsatz: Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.8c PHP/5.2.8 Um die Ursache des Segfaults eingrenzen zu können, habe ich gemäß dem Debugging-Instruktionen CoreDumpDirectory in der Konfiguration aktiviert. Darüber hinaus habe ich noch mod_backtrace installiert und aktiviert - meinen Apache-Webserver habe ich mit folgendne Optionen compiled: "./configure" \ "--with-layout=Apache" \ "--enable-ssl" \ "--enable-rewrite" \ "--enable-expires" \ "--enable-headers" \ "--disable-cgi" \ "--disable-asis" \ "--disable-imagemap" \ "--disable-userdir" \ "--enable-so" \ "--enable-exception-hook" \ "$@" /usr/local/apache2/logs/error.log [Fri Jan 09 12:57:30 2009] [notice] child pid 25254 exit signal Segmentation fault (11), possible coredump in /tmp [Fri Jan 09 12:57:30 2009] [notice] child pid 25255 exit signal Segmentation fault (11), possible coredump in /tmp [Fri Jan 09 12:57:30 2009] [notice] child pid 25256 exit signal Segmentation fault (11), possible coredump in /tmp [Fri Jan 09 12:57:30 2009] [notice] child pid 25257 exit signal Segmentation fault (11), possible coredump in /tmp [Fri Jan 09 12:57:30 2009] [notice] child pid 25258 exit signal Segmentation fault (11), possible coredump in /tmp [Fri Jan 09 12:57:30 2009] [notice] child pid 25259 exit signal Segmentation fault (11), possible coredump in /tmp /var/log/kern.log Jan 9 12:57:27 n2 kernel: httpd[25259]: segfault at 2c841350 ip 00007fa52c687941 sp 00007fff35652190 error 4 in libc-2.3.6.so[7fa52c605000+121000] Jan 9 12:57:27 n2 kernel: httpd[25260]: segfault at 2c841350 ip 00007fa52c687941 sp 00007fff35652190 error 4 in libc-2.3.6.so[7fa52c605000+121000] Jan 9 12:57:30 n2 kernel: httpd[25265]: segfault at 2c841350 ip 00007fa52c687941 sp 00007fff35652190 error 4 in libc-2.3.6.so[7fa52c605000+121000] Jan 9 12:57:31 n2 kernel: httpd[25266]: segfault at 2c841350 ip 00007fa52c687941 sp 00007fff35652190 error 4 in libc-2.3.6.so[7fa52c605000+121000] Ich bin ehrlich gesagt, etwas ratlos was die Segfaults angeht. Apache 2.0.63 hat keinerlei Probleme mit Kernel 2.6.28, Apache 2.2.11 segfaultet fröhlich. Unter Kernel 2.6.26.9 bestehen die beschriebenen Probleme nicht, alles funktioniert dort tadellos. Ich habe bereits alle Komponenten wie PHP5, Apache, etc. nochmals händisch recompiled um etwaige Fehler ausschliessen zu können. Den CoreDump habe ich mittels gdb ausgelesen, der Output befindet sich im unteren Teil dieser Nachricht. Kernel-Config und weiter benötigte Informationen liefere ich bei Bedarf sehr gern. Über jeden Hinweis/Kommentar bin ich dankbar und würde mich freuen eine Antwort zu erhalten. Schöne Grüße, Werner gdb /usr/local/apache2/bin/httpd /tmp/core ------------------------------------------ ... gekürzt ... Reading symbols from /usr/local/apache2.2/modules/mod_backtrace.so...done. Loaded symbols for /usr/local/apache2/modules/mod_backtrace.so Reading symbols from /usr/local/lib/php/extensions/no-debug-non-zts-20060613/eaccelerator.so...done. Loaded symbols for /usr/local/lib/php/extensions/no-debug-non-zts-20060613/eaccelerator.so Reading symbols from /usr/local/lib/php/extensions/no-debug-non-zts-20060613/memcache.so...done. Loaded symbols for /usr/local/lib/php/extensions/no-debug-non-zts-20060613/memcache.so Failed to read a valid object file image from memory. Core was generated by `/usr/local/apache2/bin/httpd -k start'. Program terminated with signal 11, Segmentation fault. #0 0x00007fa52c687941 in asctime_r () from /lib/libc.so.6 (gdb) bt full #0 0x00007fa52c687941 in asctime_r () from /lib/libc.so.6 No symbol table info available. #1 0x00007fa529c9ccf8 in bt_exception_hook (ei=0x7fff35652520) at mod_backtrace.c:96 msg_len = logfd = msg_prefix = '\0' buffer = "�\2164,�\177\000\000�\2164,�\177\000\000\f\000\000\000\000\000\000\000�qd,�\177\000\000�Q0\002\000\000\000\000@(e5�\177\000\000\220\000\000\000\000\000\000\000\2326g,�\177\000\000`#e5�\177\000\000�)e5�\177\000\000�\2164,�\177\000\000\220(e5�\177", '\0' , " \000\000\000\000\000\000\000��\203,�\177\000\000�\000\000\000\000\000\000\000ph2\002\000\000\000\000\000�d-�\177\000\000�\024\225,�\177", '\0' , "\204����\020\024\225,�\177\000\000\000\000\000\000\000\000\000\000\001\000\000\000\000\000\000\0002 array = {0x0, 0x0, 0x1, 0x7fa52d543c32, 0x0, 0x6, 0x7fff35652440, 0x40eae8, 0xd68c224, 0x41db1d, 0x0, 0x2a, 0x7fa52cc9c1f0, 0x7fa52cc9ec10, 0x0, 0x0, 0x0, 0x7fa584000000, 0x7fa52c951410, 0x5b2c18} #2 0x0000000000444129 in ap_run_fatal_exception (ei=0x7fff35652520) at mpm_common.c:67 n = 0 rv = 0 #3 0x000000000044446a in sig_coredump (sig=11) at mpm_common.c:1204 No locals. #4 No symbol table info available. #5 apr_pollset_add (pollset=0x0, descriptor=0x7fff356529e0) at poll/unix/epoll.c:150 ev = {events = 1, data = {ptr = 0x0, fd = 0, u32 = 0, u64 = 0}} ret = elem = rv = #6 0x000000000047e81d in child_main (child_num_arg=) at prefork.c:532 pfd = {p = 0x0, desc_type = APR_POLL_SOCKET, reqevents = 1, rtnevents = 0, desc = {f = 0x208d0b0, s = 0x208d0b0}, client_data = 0x208d078} ptrans = (apr_pool_t *) 0x23245b8 allocator = (apr_allocator_t *) 0x23224b0 status = i = 2 lr = (ap_listen_rec *) 0x208d078 pollset = (apr_pollset_t *) 0x0 sbh = (ap_sb_handle_t *) 0x23226b0 bucket_alloc = last_poll_idx = #7 0x000000000047ec34 in make_child (s=0x2097ef8, slot=127) at prefork.c:746 pid = 0 #8 0x000000000047f4d6 in ap_mpm_run (_pconf=, plog=, s=) at prefork.c:881 pidfile = active_children = cutoff = index = remaining_children_to_start = 0 rv = #9 0x000000000042a157 in main (argc=3, argv=0x7fff35652df8) at main.c:740 c = 0 '\0' configtestonly = 0 confname = 0x48884f "conf/httpd.conf" def_server_root = 0x48885f "/usr/local/apache2" temp_error_log = 0x0 error = process = (process_rec *) 0x208c220 server_conf = pglobal = (apr_pool_t *) 0x208c128 pconf = (apr_pool_t *) 0x208e138 plog = (apr_pool_t *) 0x20d4368 ptemp = (apr_pool_t *) 0x2098188 pcommands = (apr_pool_t *) 0x2090148 opt = (apr_getopt_t *) 0x2090240 rv = 0 optarg = 0x7fa52c609170 "�'" (gdb) -------------------------------------------------------------------------- Apache HTTP Server Mailing List "users-de" unsubscribe-Anfragen an users-de-unsubscribe@httpd.apache.org sonstige Anfragen an users-de-help@httpd.apache.org --------------------------------------------------------------------------