Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Mar 2004 16:28:45 +0200
From:      Alex Kiesel <alex.kiesel@document-root.de>
To:        Riemer Palstra <riemer@palstra.com>
Cc:        ale@FreeBSD.org
Subject:   Re: FreeBSD Port: php4-4.3.5
Message-ID:  <1080743325.77412.4.camel@alex.i.schlund.de>
In-Reply-To: <20040330200232.GA5496@s540.palstra.com>
References:  <6306200609.20040330092258@takeda.tk> <20040330200232.GA5496@s540.palstra.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1080743325.77412.4.camel>