From owner-freebsd-current@FreeBSD.ORG Sat Dec 3 14:58:29 2005 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1B00916A41F for ; Sat, 3 Dec 2005 14:58:29 +0000 (GMT) (envelope-from cernm0bm@artax.karlin.mff.cuni.cz) Received: from artax.karlin.mff.cuni.cz (artax.karlin.mff.cuni.cz [195.113.31.125]) by mx1.FreeBSD.org (Postfix) with ESMTP id 819AD43D53 for ; Sat, 3 Dec 2005 14:58:28 +0000 (GMT) (envelope-from cernm0bm@artax.karlin.mff.cuni.cz) Received: by artax.karlin.mff.cuni.cz (Postfix, from userid 10663) id 72E1245B2; Sat, 3 Dec 2005 15:58:27 +0100 (CET) Date: Sat, 3 Dec 2005 15:58:27 +0100 From: Marian Cerny To: Martin Wilke Message-ID: <20051203145827.GA22015@artax.karlin.mff.cuni.cz> References: <20051203105955.000a802e@splash.homeunix.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20051203105955.000a802e@splash.homeunix.org> User-Agent: Mutt/1.5.9i Cc: current@freebsd.org Subject: Re: php5.0.5_2 segment fault X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Dec 2005 14:58:29 -0000 On 2005-12-03 10:59 +0100, Martin Wilke wrote: > I have upgrade php5.0.5_2 and this segment fault. > > [10:54] root@splash ~# php -v > PHP Warning: PHP Startup: Unable to load dynamic library > '/usr/local/lib/php/20041030/yp.so' - Cannot open > "/usr/local/lib/php/20041030/yp.so" in Unknown on line 0 PHP > Warning: PHP Startup: Unable to load dynamic library > '/usr/local/lib/php/20041030/calendar.so' - Cannot open > "/usr/local/lib/php/20041030/calendar.so" in Unknown on line > 0 PHP Warning: PHP Startup: Unable to load dynamic library > '/usr/local/lib/php/20041030/sockets.so' - Cannot open > "/usr/local/lib/php/20041030/sockets.so" 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 Jabber: jojo@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 ]