From owner-freebsd-ports@FreeBSD.ORG Wed Mar 31 11:43:15 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 EE7E016A4CE for ; Wed, 31 Mar 2004 11:43:14 -0800 (PST) Received: from srv1.galle.com.br (srv1.galle.com.br [200.246.25.2]) by mx1.FreeBSD.org (Postfix) with SMTP id D347843D46 for ; Wed, 31 Mar 2004 11:43:13 -0800 (PST) (envelope-from renato@galle.com.br) Received: (qmail 22204 invoked by uid 99); 31 Mar 2004 16:43:12 -0300 Received: from renato@galle.com.br by srv1.galle.com.br by uid 82 with qmail-scanner-1.21 Clear:RC:1(192.168.50.4):. Processed in 0.469363 secs); 31 Mar 2004 19:43:12 -0000 Received: from unknown (HELO galle.com.br) (externo@192.168.50.4) by 0 with SMTP; 31 Mar 2004 16:43:11 -0300 Message-ID: <406B1F1B.5000700@galle.com.br> Date: Wed, 31 Mar 2004 16:42:19 -0300 From: Renato Botelho Organization: Galle Folheados User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7b) Gecko/20040316 X-Accept-Language: pt-br, en-us, en MIME-Version: 1.0 To: ports@FreeBSD.org References: <6306200609.20040330092258@takeda.tk> <20040330200232.GA5496@s540.palstra.com> <1080743325.77412.4.camel@alex.i.schlund.de> In-Reply-To: <1080743325.77412.4.camel@alex.i.schlund.de> X-Enigmail-Version: 0.83.5.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 19:43:15 -0000 Alex Kiesel wrote: > 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. I copy ext/pcre directory from php-4.3.4 to php-4.3.5 src and the problem was fixed, but, now, the problem was fixed by php developers. http://bugs.php.net/bug.php?id=27810&thanks=6 Regards -- Renato Botelho