Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 08 Oct 2008 14:51:00 +0200
From:      Laszlo Nagy <gandalf@shopzeus.com>
To:        freebsd-questions@freebsd.org
Subject:   php5 segfault
Message-ID:  <48ECACB4.8080103@shopzeus.com>

next in thread | raw e-mail | index | archive | help

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


 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48ECACB4.8080103>