PHP segmentation faults

Mark Foster mark at foster.cc
Thu Sep 29 21:51:33 UTC 2011


Try using xdebug (another php module) it will produce a stack trace when
it segfaults.

On 09/29/2011 10:29 AM, Moggie wrote:
> Hi,
> 
> Unfortunately, for some time now, PHP scripts have been producing
> segmentation faults when executed on one of our systems :(
> 
> Various posts found via google suggested reinstalling all the PHP ports
> and/or using a script to re-order the PHP extension modules, but all so
> far without success.
> 
> The output of php -m is as follows:
> 
> [PHP Modules]
> apc
> bz2
> Core
> ctype
> date
> dom
> ereg
> filter
> gd
> hash
> iconv
> json
> libxml
> mbstring
> mcrypt
> mhash
> mysql
> mysqli
> mysqlnd
> openssl
> pcre
> PDO
> pdo_mysql
> pdo_sqlite
> posix
> Reflection
> session
> SimpleXML
> snmp
> sockets
> SPL
> sqlite3
> standard
> tokenizer
> xml
> zip
> zlib
> 
> 
> I'm using this simple test to reproduce the problem:
> 
> /tmp/test.php
> <?php
>         Print "Hello, World!";
> ?>
> 
> 
> /usr/local/bin/php /tmp/test.php
> Hello, World!Segmentation fault (core dumped)
> 
> 
> All this makes me sad, especially since my Cacti graphs aren't being
> updated any more :( Any help or advise on how I might go about resolving
> this please would be very much appreciated. Thank you in advance for
> your time and consideration.
> 
> Kind regards,
> moggie
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"


-- 
Mark D. Foster <mark at foster.cc>
http://mark.foster.cc/



More information about the freebsd-ports mailing list