From owner-freebsd-current@FreeBSD.ORG Tue May 20 01:27:42 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E46DF106566B for ; Tue, 20 May 2008 01:27:42 +0000 (UTC) (envelope-from redchin@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.248]) by mx1.freebsd.org (Postfix) with ESMTP id ACF0B8FC14 for ; Tue, 20 May 2008 01:27:41 +0000 (UTC) (envelope-from redchin@gmail.com) Received: by an-out-0708.google.com with SMTP id b33so578614ana.13 for ; Mon, 19 May 2008 18:27:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=+SSL5YnPx/nAAwJT3W6VbYm7OKSd8092Zoe8CzdT+jg=; b=CUKFeJFv+MAG1WGCbDkVto2v957P1Y6oYeGSq1FqJiTqGEiiuDxlwbO67RuwOBojRBhGun3qEuqrBrP9tfDkoYkFBL+hOfYtHPO3L4QKC+gHYDnxZyAPh/lA8YkdNb/WQ16shfXby6/LMvVPWgsSGj1R4WQDX1rEfvXtQ51nyUg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=b/6cyd+IC7ClxWPPqDbp2oCbe5TY/rE9IOEwbtFsSeB9tKIb65sP1BXE+y1cHfi/DTZySjs8Aab6Q4ZubAYo2eB1u59tlfINQX9bL857Pdh2O/iN3XbzRjakooJaCrfjVQMxocpeWOM569EbdjRRA9QPilac8gCuqTPgE3KLdws= Received: by 10.100.211.8 with SMTP id j8mr8705937ang.11.1211245149353; Mon, 19 May 2008 17:59:09 -0700 (PDT) Received: by 10.100.14.7 with HTTP; Mon, 19 May 2008 17:59:09 -0700 (PDT) Message-ID: <1d3ed48c0805191759mc54c4f2r7f00b533efeac73d@mail.gmail.com> Date: Mon, 19 May 2008 17:59:09 -0700 From: "Kevin Downey" To: "Andrew Moran" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Cc: freebsd-current@freebsd.org, freebsd-questions@freebsd.org Subject: Re: Updated php, and apache segfaults on SIGHUP X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 May 2008 01:27:43 -0000 On Mon, May 19, 2008 at 4:18 PM, Andrew Moran wrote: > > Hey guys, > > 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 narrowed it down to php - when I disable the php5 module, it doesn't > behave like this. > > celebrian# pkg_info | grep php > php5-5.2.6 PHP Scripting Language > php5-gd-5.2.6 The gd shared extension for php > php5-gettext-5.2.6 The gettext shared extension for php > php5-iconv-5.2.6 The iconv shared extension for php > php5-mbstring-5.2.6 The mbstring shared extension for php > php5-mhash-5.2.6 The mhash shared extension for php > php5-mysql-5.2.6 The mysql shared extension for php > php5-openssl-5.2.6 The openssl shared extension for php > php5-pcre-5.2.6 The pcre shared extension for php > php5-session-5.2.6 The session shared extension for php > php5-xml-5.2.6 The xml shared extension for php > celebrian# > > This is on apache-2.0.63 and php 5.2.6 on FreeBSD 7.0. > > In case it was an out of date dependency, I did a cvsup on the ports tree, > then a portupgrade -fa . it rebuilt all ports without any errors. > > > Has anyone else seen this? > > --Andy > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > there was a thread on a while back on one of the other lists, maybe -questions. the offending extension is one of these three: #extension=mcrypt.so #extension=mbstring.so #extension=mhash.so I have the three of them commented out, so I am not sure which one was the poblem. -- The Mafia way is that we pursue larger goals under the guise of personal relationships. Fisheye