From owner-freebsd-ports@FreeBSD.ORG Thu Dec 17 02:40:16 2009 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E0CB21065679 for ; Thu, 17 Dec 2009 02:40:16 +0000 (UTC) (envelope-from jankyj@unfs.us) Received: from morbid.purplehat.org (morbid.purplehat.org [206.225.83.29]) by mx1.freebsd.org (Postfix) with ESMTP id C33608FC1F for ; Thu, 17 Dec 2009 02:40:16 +0000 (UTC) Received: from localhost (morbid.purplehat.org [206.225.83.29]) by morbid.purplehat.org (Postfix) with ESMTP id 574C185B08B for ; Wed, 16 Dec 2009 18:40:16 -0800 (PST) Received: from morbid.purplehat.org ([206.225.83.29]) by localhost (morbid.purplehat.org [206.225.83.29]) (amavisd-maia, port 10024) with ESMTP id 66303-01 for ; Wed, 16 Dec 2009 18:40:16 -0800 (PST) Received: from [192.168.1.3] (mx2.purplehat.org [67.190.82.109]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jankyj@unfs.us) by morbid.purplehat.org (Postfix) with ESMTPSA id CEC9385B089 for ; Wed, 16 Dec 2009 18:40:15 -0800 (PST) Message-ID: <4B299A11.9070409@unfs.us> Date: Wed, 16 Dec 2009 19:40:17 -0700 From: "Janky Jay, III" User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: ports@freebsd.org References: <27485796-553F-4396-84A8-11F88968F3C9@niftywerks.com> <20091217001018.GA88894@ma.sigsys.de> <4B29955F.20903@unfs.us> In-Reply-To: <4B29955F.20903@unfs.us> X-Enigmail-Version: 0.95.7 OpenPGP: id=46C9667E Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Subject: Re: FreeBSD Port: php5-mhash-5.2.11_1 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Dec 2009 02:40:17 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi List, Janky Jay, III wrote: > Hi List, > > Raphael Becker wrote: >> On Wed, Dec 16, 2009 at 02:29:08PM -0800, Simon Shapiro wrote: >>> Hey, >>> I just updated ports on a few machines and the CLI version of php >>> dumps its core rather than end nicely. The mhash module appears to be >>> the trigger (an extensions.ini with only mhash causes failure, all >>> others minus mhash: no failure). >> php coredumps here too, but uncommenting mhash.so from extensions.ini >> doesn't change this. Diabling all modules will show no segfault. > >> It seems there is more than one defect .so from the following list: > >> perl.so radius.so fileinfo.so gettext.so pdf.so hash.so json.so >> sockets.so iconv.so mbstring.so bz2.so pcre.so posix.so ctype.so zlib.so >> calendar.so bcmath.so imap.so ldap.so ftp.so zip.so openssl.so >> session.so dba.so soap.so xml.so wddx.so xmlwriter.so simplexml.so >> readline.so mhash.so tokenizer.so curl.so filter.so exif.so mcrypt.so >> spl.so sqlite.so xmlrpc.so mysql.so mysqli.so gmp.so dom.so xmlreader.so >> pdo.so pcntl.so pdo_mysql.so gd.so xsl.so pdo_sqlite.so > >> Any idea? > > I'm having the same problem here. GDB doesn't seem to be much help as > it doesn't mention any of the extension.ini modules in the output. > However, all of this /DID/ happen after I updated textproc/libxml2. > Might have something to do with it. *shrugs* I'm playing with it now. > Below is the GDB output. > > # gdb `which php` php.core > > > Wed 16, 6:17PM > GNU gdb 6.1.1 [FreeBSD] > Copyright 2004 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and you are > welcome to change it and/or distribute copies of it under certain > conditions. > Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for details. > This GDB was configured as "i386-marcel-freebsd"...(no debugging symbols > found)... > Core was generated by `php'. > Program terminated with signal 11, Segmentation fault. > Reading symbols from /lib/libcrypt.so.4...(no debugging symbols > found)...done. > Loaded symbols for /lib/libcrypt.so.4 > Reading symbols from /lib/libm.so.5...(no debugging symbols found)...done. > Loaded symbols for /lib/libm.so.5 > Reading symbols from /usr/local/lib/libxml2.so.5...(no debugging symbols > found)...done. > Loaded symbols for /usr/local/lib/libxml2.so.5 > Reading symbols from /lib/libz.so.4...(no debugging symbols found)...done. > Loaded symbols for /lib/libz.so.4 > Reading symbols from /usr/local/lib/libiconv.so.3...(no debugging > symbols found)...done. > Loaded symbols for /usr/local/lib/libiconv.so.3 > Reading symbols from /lib/libc.so.7...(no debugging symbols found)...done. > Loaded symbols for /lib/libc.so.7 > Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols > found)...done. > Loaded symbols for /libexec/ld-elf.so.1 > #0 0x28f79410 in ?? () > (gdb) bt > #0 0x28f79410 in ?? () > #1 0x285b75eb in pthread_once () from /lib/libc.so.7 > #2 0x28346162 in xmlIsMainThread () from /usr/local/lib/libxml2.so.5 > #3 0x28345717 in __xmlLastError () from /usr/local/lib/libxml2.so.5 > #4 0x282d1847 in xmlResetLastError () from /usr/local/lib/libxml2.so.5 > #5 0x282d88df in xmlCleanupParser () from /usr/local/lib/libxml2.so.5 > #6 0x080844eb in php_libxml_shutdown () > #7 0x0808451b in zm_shutdown_libxml () > #8 0x0814b49e in module_destructor () > #9 0x08151804 in zend_hash_apply_deleter () > #10 0x08151a48 in zend_hash_graceful_reverse_destroy () > #11 0x08147d1e in zend_shutdown () > #12 0x0810612f in php_module_shutdown () > #13 0x081c4100 in main () > (gdb) I take this back. Removing "extension=mhash.so" from my /usr/local/etc/php/extensions.ini file does, in fact, exit without a core dump. However, mhash is required by SquirrelMail along with some of its plugins. I'm unsure how this will effect SquirrelMail, but regardless of where I place the mhash.so extension in the list, it still core dumps (I've tried every possible position.) Regards, Janky Jay, III -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkspmhEACgkQGK3MsUbJZn5lHgCbBvHqMlZ0djwxkdC1dvs5yBQ3 cIUAn3ZS4S5ad609JNI3qgQWeK4w5iym =2XqW -----END PGP SIGNATURE-----