From owner-freebsd-i386@FreeBSD.ORG Mon Feb 13 10:20:06 2006 Return-Path: X-Original-To: freebsd-i386@hub.freebsd.org Delivered-To: freebsd-i386@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0FAC316A422 for ; Mon, 13 Feb 2006 10:20:06 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 678CF43D53 for ; Mon, 13 Feb 2006 10:20:04 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k1DAK4sf063120 for ; Mon, 13 Feb 2006 10:20:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k1DAK4au063114; Mon, 13 Feb 2006 10:20:04 GMT (envelope-from gnats) Resent-Date: Mon, 13 Feb 2006 10:20:04 GMT Resent-Message-Id: <200602131020.k1DAK4au063114@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-i386@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Chris van der Wel Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 96D9B16A420 for ; Mon, 13 Feb 2006 10:18:51 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 666CB43D46 for ; Mon, 13 Feb 2006 10:18:51 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k1DAIpvv099229 for ; Mon, 13 Feb 2006 10:18:51 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id k1DAIpUZ099226; Mon, 13 Feb 2006 10:18:51 GMT (envelope-from nobody) Message-Id: <200602131018.k1DAIpUZ099226@www.freebsd.org> Date: Mon, 13 Feb 2006 10:18:51 GMT From: Chris van der Wel To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: i386/93274: nss_ldap & nss_mysql cause php to segfault X-BeenThere: freebsd-i386@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: I386-specific issues for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Feb 2006 10:20:06 -0000 >Number: 93274 >Category: i386 >Synopsis: nss_ldap & nss_mysql cause php to segfault >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-i386 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Feb 13 10:20:03 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Chris van der Wel >Release: 5.4-RELEASE-p8 >Organization: >Environment: FreeBSD hordeur.argewebhosting.nl 5.4-RELEASE-p8 FreeBSD 5.4-RELEASE-p8 #1: Fri Oct 21 13:16:58 CEST 2005 root@hordeur.argewebhosting.nl:/usr/obj/usr/src/sys/ARGEWEB i386 >Description: When PHP is resolving any hostname (valid or not) PHP is segfaulting. It only happens when nss_ldap or nss_mysql is enabled in /etc/nsswitch.conf chris@hordeur: ~ $ cat /etc/nsswitch.conf group: files ldap group_compat: nis hosts: files dns networks: files passwd: files ldap passwd_compat: nis shells: files We reported this bug to PHP, but they say it'a a FreeBSD bug (see http://bugs.php.net/bug.php?id=36206) Backtraces are available in the PHP bug report. >How-To-Repeat: Enable nss_ldap or nss_mysql and run something like echo ""|php >Fix: >Release-Note: >Audit-Trail: >Unformatted: