Segment Fault w/ PHP

Brent Jensen brent at jeneral.com
Tue Dec 27 15:46:00 PST 2005


I'm getting segment faults on all 3 of my webservers.  I upgraded all of my 
packages thinking that would fix the offending program; however, php is 
throwing segment faults.  For example, when trying to INSTALL pear_DB.  I 
get seg faults when updating

# cd /usr/ports/databases/pear-DB
# make (goes though its thing)
# make install
===>  Installing for pear-DB-1.7.6,1
===>   pear-DB-1.7.6,1 depends on file: /usr/local/share/pear/PEAR.php - found
===>   pear-DB-1.7.6,1 depends on executable: pear - found
===>   Generating packing list
===>   Generating temporary packing list
===>  Checking if databases/pear-DB already installed
===> Installing documentation in /usr/local/share/doc/pear/DB.
===> Installing tests in /usr/local/share/pear/tests/DB.
install ok: channel://pear.php.net/DB-1.7.6
Segmentation fault (core dumped)
*** Error code 139

Stop in /usr/ports/databases/pear-DB.

/var/messages shows: (php), uid 0: exited on signal 11 (core dumped)

ALSO:

portupgrade -f pear-Mail_Queue
--->  Reinstalling 'pear-Mail_Queue-1.1.3' (mail/pear-Mail_Queue)
--->  Building '/usr/ports/mail/pear-Mail_Queue'
===>  Cleaning for libiconv-1.9.2_1
... blah blah blah ...
===>  Checking if mail/pear-Mail already installed
===> Installing tests in /usr/local/share/pear/tests/Mail.
install ok: channel://pear.php.net/Mail-1.1.9
Segmentation fault (core dumped)
*** Error code 139

Stop in /usr/ports/mail/pear-Mail.
*** Error code 1

And when stopping or restarting Apache it generates an HTTP segment fault
(httpd), uid 0: exited on signal 11 (core dumped)

When I rem out from apache things are happy!

Every port is now current.  I have even rebuilt several ports.  This one's 
got me.  Any hints?

Thanks,

Brent



More information about the freebsd-questions mailing list