From owner-freebsd-questions@FreeBSD.ORG Wed Oct 8 12:49:04 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 2DEC6106568E for ; Wed, 8 Oct 2008 12:49:04 +0000 (UTC) (envelope-from gandalf@shopzeus.com) Received: from viefep15-int.chello.at (viefep18-int.chello.at [213.46.255.22]) by mx1.freebsd.org (Postfix) with ESMTP id 749B08FC17 for ; Wed, 8 Oct 2008 12:49:02 +0000 (UTC) (envelope-from gandalf@shopzeus.com) Received: from edge01.upc.biz ([192.168.13.236]) by viefep15-int.chello.at (InterMail vM.7.08.02.00 201-2186-121-20061213) with ESMTP id <20081008124901.JNBT9167.viefep15-int.chello.at@edge01.upc.biz> for ; Wed, 8 Oct 2008 14:49:01 +0200 Received: from [192.168.2.175] ([89.134.231.52]) by edge01.upc.biz with edge id QCoy1a09o18VCLh01Cp0Tf; Wed, 08 Oct 2008 14:49:01 +0200 X-SourceIP: 89.134.231.52 Message-ID: <48ECACB4.8080103@shopzeus.com> Date: Wed, 08 Oct 2008 14:51:00 +0200 From: Laszlo Nagy User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit Subject: php5 segfault 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: Wed, 08 Oct 2008 12:49:04 -0000 uname -a: FreeBSD shopzeus.com 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #3: Mon Oct 6 07:50:31 EDT 2008 gandalf@shopzeus.chello.hu:/usr/obj/usr/src/sys/SHOPZEUS amd64 when compiling /usr/ports/php5 I see messages like: bin/sh /usr/ports/lang/php5/work/php-5.2.6/libtool --silent --preserve-dup-deps --mode=compile cc -IZend/ -I/usr/ports/lang/php5/work/php-5.2.6/Zend/ -DPHP_ATOM_INC -I/usr/ports/lang/php5/work/php-5.2.6/include -I/usr/ports/lang/php5/work/php-5.2.6/main -I/usr/ports/lang/php5/work/php-5.2.6 -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/ports/lang/php5/work/php-5.2.6/ext/date/lib -I/usr/ports/lang/php5/work/php-5.2.6/TSRM -I/usr/ports/lang/php5/work/php-5.2.6/Zend -O2 -fno-strict-aliasing -pipe -c /usr/ports/lang/php5/work/php-5.2.6/Zend/zend_API.c -o Zend/zend_API.lo So it is using -O2 and -pipe. Is this something that I can disable? It might be because we are using postgresql connections. For pages without pgsql connection, there is no segfault. It must be noted that the segfault happens on cleanup. E.g. all web sites are working fine, except that we are getting many many segfault messages in the logs all the time. Thanks, Laszlo