Date: Tue, 20 May 2008 08:08:42 -0700 From: Norbert Papke <fbsd-ml@scrapper.ca> To: freebsd-questions@freebsd.org Subject: Re: Updated php, and apache segfaults on SIGHUP Message-ID: <200805200808.42187.fbsd-ml@scrapper.ca> In-Reply-To: <E7A65746-C21F-4700-8B0B-E8404F3C7053@forsythia.net> References: <E7A65746-C21F-4700-8B0B-E8404F3C7053@forsythia.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On May 19, 2008, Andrew Moran wrote: > I recently upgraded my php5 ports to latest ports tree versions > (5.2.6), and now I'm in a situation where any HUP signal sent to > apache is causing the entire process to dump core. I get this in the > apache error log: > > [Mon May 19 16:08:48 2008] [notice] SIGHUP received. Attempting to > restart > [Mon May 19 16:08:48 2008] [notice] seg fault or similar nasty error > detected in the parent process > > and this in the messages log: > > May 19 16:14:45 celebrian kernel: pid 36900 (httpd), uid 0: exited on > signal 11 (core dumped) I ran into a similar problem. In my case, the problem was caused by PHP5 using the putenv(3) function incorrectly. Removing files/patch-ext_standard_basic_functions.c from the port and rebuilding fixed the issue for me. I have reported this to the maintainer but have not raised a PR. For more information, see http://docs.freebsd.org/cgi/getmsg.cgi?fetch=875448+0+archive/2008/freebsd-stable/20080518.freebsd-stable Cheers. -- Norbert.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200805200808.42187.fbsd-ml>