From owner-freebsd-ports@FreeBSD.ORG Wed Mar 31 06:28:47 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E869316A4CE for ; Wed, 31 Mar 2004 06:28:47 -0800 (PST) Received: from mxintern.schlund.de (mxintern.kundenserver.de [212.227.126.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2C82743D1F for ; Wed, 31 Mar 2004 06:28:47 -0800 (PST) (envelope-from alex.kiesel@document-root.de) Received: from [172.17.29.6] (helo=alex.i.schlund.de) by mxintern.kundenserver.de with smtp (Exim 3.35 #1) id 1B8ghy-0006QH-00 for ports@FreeBSD.org; Wed, 31 Mar 2004 16:28:46 +0200 Received: (qmail 65760 invoked by uid 519); 31 Mar 2004 14:28:46 -0000 From: Alex Kiesel To: Riemer Palstra In-Reply-To: <20040330200232.GA5496@s540.palstra.com> References: <6306200609.20040330092258@takeda.tk> <20040330200232.GA5496@s540.palstra.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit Message-Id: <1080743325.77412.4.camel@alex.i.schlund.de> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Wed, 31 Mar 2004 16:28:45 +0200 cc: ports@FreeBSD.org cc: takeda3 cc: ale@FreeBSD.org Subject: Re: FreeBSD Port: php4-4.3.5 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Mar 2004 14:28:48 -0000 On Tue, 2004-03-30 at 22:02, Riemer Palstra wrote: > On Tue, Mar 30, 2004 at 09:22:58AM -0800, takeda3 wrote: > > After I upgraded PHP, my apache (2.0.49) crashes after kill -HUP. I > > recompiled apache again, and this didn't fix it. > > Ah, so I'm not the only one experiencing this, FYI, I'm running > apache-2.0.49 with php4-4.3.5_7 on 5.2.1-RELEASE-p4. A HUP, apachectl > stop, or /usr/local/etc/rc.d/apache2.sh stop indeed make it come to a > grinding halt, but not as you'd expect: > > pid 4370 (httpd), uid 0: exited on signal 11 (core dumped) > pid 4390 (httpd), uid 0: exited on signal 11 (core dumped) > pid 4408 (httpd), uid 0: exited on signal 11 (core dumped) > pid 4421 (httpd), uid 0: exited on signal 11 (core dumped) > > Core was generated by `httpd'. > Program terminated with signal 11, Segmentation fault. > #0 0x28453d20 in ?? () > (gdb) bt > #0 0x28453d20 in ?? () > #1 0x0806e4ef in ?? () > #2 0x28259b3d in ?? () > #3 0x2825930c in ?? () > #4 0x282592fb in ?? () > #5 0x0806ba41 in ?? () > #6 0x0806c9ee in ?? () > #7 0x0805d092 in ?? () I'm experiencing a similar thing here: -bash-2.05b# gdb httpd GNU gdb 5.2.1 (FreeBSD) Copyright 2002 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-undermydesk-freebsd"...(no debugging symbols found)... (gdb) run -X Starting program: /usr/local/sbin/httpd -X (no debugging symbols found)... (multiple times) Program received signal SIGSEGV, Segmentation fault. 0x2850d570 in ?? () Error accessing memory address 0x28518010: Bad address. (gdb) bt #0 0x2850d570 in ?? () #1 0x28168752 in nsdispatch () from /usr/lib/libc.so.5 #2 0x28133e35 in getpwnam_r () from /usr/lib/libc.so.5 #3 0x281340ab in getpwuid_r () from /usr/lib/libc.so.5 #4 0x28133ffb in getpwuid_r () from /usr/lib/libc.so.5 #5 0x28134179 in getpwnam () from /usr/lib/libc.so.5 #6 0x080690c8 in ap_uname2id () #7 0x08054616 in init_config_globals () #8 0x08054871 in ap_read_config () #9 0x0805e1d1 in standalone_main () #10 0x0805ea87 in main () #11 0x0804e4f5 in _start () I already tried downgrading lang/php4, but that doesn't help. However, when removing the OpenLDAP dependency, it would start correctly. -Alex