====== exit signal Bus error (10) ? exit signal Segmentation fault (11) ? ====== Stessa storia [[papers:php.unable.to.load.dynamic.library|dell'altra volta]]: portupgrade da PHP 4.3.9 a 4.3.11 con Freebsd 4.9 .\\ Per la precisione\\ # portupgrade php4-extensions # uname -a FreeBSD matrix.snet.it 4.9-RELEASE FreeBSD 4.9-RELEASE #1 [...] Sintomi:\\ phpinfo() ad esempio, funziona regolarmente;\\ alcune pagine php vanno altre no (pagina bianca o server non trovato) :-X\\ Questo è l'output del mio httpd-error.log\\ [Fri Jun 10 00:39:29 2005] [notice] Apache/1.3.33 (Unix) PHP/4.3.11 configured -- resuming normal operations [Fri Jun 10 00:39:29 2005] [notice] Accept mutex: flock (Default: flock) [Fri Jun 10 00:39:36 2005] [notice] child pid 742 exit signal Bus error (10) [Fri Jun 10 00:41:12 2005] [notice] child pid 744 exit signal Bus error (10) [Fri Jun 10 00:41:52 2005] [notice] child pid 747 exit signal Bus error (10) [Fri Jun 10 00:42:44 2005] [notice] child pid 777 exit signal Segmentation fault (11) [Fri Jun 10 00:42:44 2005] [notice] child pid 743 exit signal Bus error (10) [Fri Jun 10 00:42:45 2005] [notice] child pid 746 exit signal Segmentation fault (11) [Fri Jun 10 00:52:22 2005] [notice] child pid 741 exit signal Bus error (10) [Fri Jun 10 00:52:30 2005] [notice] child pid 815 exit signal Bus error (10) [Fri Jun 10 00:52:39 2005] [notice] child pid 827 exit signal Bus error (10) [Fri Jun 10 00:52:49 2005] [notice] child pid 808 exit signal Bus error (10) [Fri Jun 10 00:53:51 2005] [notice] child pid 740 exit signal Segmentation fault (11) [Fri Jun 10 00:54:00 2005] [notice] child pid 745 exit signal Bus error (10) [Fri Jun 10 00:58:29 2005] [notice] child pid 54977 exit signal Bus error (10) [Fri Jun 10 01:02:38 2005] [notice] child pid 4015 exit signal Segmentation fault (11) [Fri Jun 10 01:04:08 2005] [notice] child pid 55246 exit signal Bus error (10) [Fri Jun 10 01:07:05 2005] [notice] child pid 2981 exit signal Bus error (10) Non è stato facile ma qui ho trovato l'indicazione giusta [[http://www.manucorp.com/archives/php-bugs/200505/msg00581.php]] .\\ In pratica facendo il portupgrade del php4-extensions non si sono aggiornate anche tutte le librerie collegate. Utilizzando il comando "portversion" ho ottenuto il seguente output: # portversion [.....] php4 > php4-bz2 < php4-calendar < php4-ctype < php4-dba = php4-extensions = php4-ftp < php4-gd < php4-gettext < php4-imap < php4-mbstring < php4-mcal < php4-mcrypt < php4-mhash < php4-mysql < php4-openssl < php4-overload < php4-pcre < php4-posix < php4-session < php4-tokenizer < php4-wddx < php4-xml < php4-xmlrpc < php4-zlib < [...] A questo punto a manina ho fatto il portupgrade di tutti quei pacchetti che risultavano obsoleti\\ (tanto per capirci, quelli con il segno < ) ad esempio: # portupgrade php4-bz2 Fatto questo, ho riavviato Apache senza problemi....