Re: php5.0.5_2 segment fault

From: Marian Cerny <jojo_at_matfyz.cz>
Date: Sat, 3 Dec 2005 15:58:27 +0100
On 2005-12-03 10:59 +0100, Martin Wilke wrote:
> I have upgrade php5.0.5_2 and this segment fault.
> 
> [10:54] root_at_splash ~# php -v
> PHP Warning:  PHP Startup: Unable to load dynamic library
> '/usr/local/lib/php/20041030/yp.so' - Cannot open
> &quot;/usr/local/lib/php/20041030/yp.so&quot; in Unknown on line 0 PHP
> Warning:  PHP Startup: Unable to load dynamic library
> '/usr/local/lib/php/20041030/calendar.so' - Cannot open
> &quot;/usr/local/lib/php/20041030/calendar.so&quot; in Unknown on line
> 0 PHP Warning:  PHP Startup: Unable to load dynamic library
> '/usr/local/lib/php/20041030/sockets.so' - Cannot open
> &quot;/usr/local/lib/php/20041030/sockets.so&quot; in Unknown on line 0
> zsh: segmentation fault (core dumped)  php -v
> 
> 
> gdb messeage is 
> 
> gdb php php.core 
>
> [...]
>
> Reading symbols from /usr/local/lib/php/20041030/imap.so...(no
> debugging symbols found)...done. Loaded symbols
> for /usr/local/lib/php/20041030/imap.so Reading symbols
>
> [...]
>
> from /usr/local/lib/php/20041030/mysql.so...(no debugging symbols
> found)...done. Loaded symbols for /usr/local/lib/php/20041030/mysql.so
> Reading symbols from /usr/local/lib/mysql/libmysqlclient.so.14...(no
> debugging symbols found)...done. Loaded symbols
> for /usr/local/lib/mysql/libmysqlclient.so.14 Reading symbols
>
> [...]
>
> from /usr/local/lib/php/20041030/recode.so...(no debugging symbols
> found)...done. Loaded symbols for /usr/local/lib/php/20041030/recode.so
> Reading symbols from /usr/local/lib/librecode.so.3...(no debugging
> symbols found)...done. Loaded symbols for /usr/local/lib/librecode.so.3

Go read this page: http://cz2.php.net/recode, especially:

	Warning

	Crashes and startup problems of PHP may be encountered when
	loading the recode as extension after loading any extension of
	mysql or imap. Loading the recode before those extension has
	proved to fix the problem. This is due a technical problem that
	both the c-client library used by imap and recode have their own
	hash_lookup() function and both mysql and recode have their own
	hash_insert function. 

	Warning

	The IMAP extension cannot be used in conjuction with the recode,
	YAZ or Cyrus extensions. This is due to the fact that they both
	share the same internal symbol.

Regards,

-- 
Marian Cerny <jojo_at_matfyz.cz>
Jabber: jojo_at_njs.netlab.cz

[ Najděte vždy aktuální MAPY ČR ve vašem mobilu a používejte je ZDARMA!
  Aplikace oceněna 1. místem v soutěži Best Mobile Solution 2005.
  Další podrobnosti na http://mapy.mobilfiesta.cz ]
Received on Sat Dec 03 2005 - 13:58:29 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:48 UTC