FreeBSD Port: php5-mhash-5.2.11_1
Janky Jay, III
jankyj at unfs.us
Thu Dec 17 02:40:17 UTC 2009
-----BEGIN PGP SIGNED MESSAGE-----
Janky Jay, III wrote:
> Hi List,
> Raphael Becker wrote:
>> On Wed, Dec 16, 2009 at 02:29:08PM -0800, Simon Shapiro wrote:
>>> 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
> 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
> Core was generated by `php'.
> Program terminated with signal 11, Segmentation fault.
> Reading symbols from /lib/libcrypt.so.4...(no debugging symbols
> 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
> 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
> 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 ()
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.)
Janky Jay, III
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the freebsd-ports