From owner-freebsd-questions@FreeBSD.ORG Mon May 19 23:36:34 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1C1C7106567D; Mon, 19 May 2008 23:36:34 +0000 (UTC) (envelope-from amoran@forsythia.net) Received: from mail-out3.apple.com (mail-out3.apple.com [17.254.13.22]) by mx1.freebsd.org (Postfix) with ESMTP id 0BA0B8FC13; Mon, 19 May 2008 23:36:33 +0000 (UTC) (envelope-from amoran@forsythia.net) Received: from relay11.apple.com (relay11.apple.com [17.128.113.48]) by mail-out3.apple.com (Postfix) with ESMTP id D5AD12C2CE03; Mon, 19 May 2008 16:18:20 -0700 (PDT) Received: from relay11.apple.com (unknown [127.0.0.1]) by relay11.apple.com (Symantec Mail Security) with ESMTP id BE6C22802F; Mon, 19 May 2008 16:18:20 -0700 (PDT) X-AuditID: 11807130-abb94bb000000ead-c2-48320abcdd02 Received: from cenarius.apple.com (cenarius.apple.com [17.228.13.75]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by relay11.apple.com (Apple SCV relay) with ESMTP id 7E1F728086; Mon, 19 May 2008 16:18:20 -0700 (PDT) Message-Id: From: Andrew Moran To: freebsd-current@freebsd.org, freebsd-questions@freebsd.org Mime-Version: 1.0 (Apple Message framework v919.2) Date: Mon, 19 May 2008 16:18:20 -0700 X-Mailer: Apple Mail (2.919.2) X-Brightmail-Tracker: AAAAAA== Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Updated php, and apache segfaults on SIGHUP X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 May 2008 23:36:34 -0000 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