Date: Thu, 17 Dec 2009 11:56:37 +1100 From: David N <davidn04@gmail.com> To: Raphael Becker <rabe@uugrn.org> Cc: ports@freebsd.org Subject: Re: FreeBSD Port: php5-mhash-5.2.11_1 Message-ID: <4d7dd86f0912161656m1c2b8d5dte7582fc950c0bd71@mail.gmail.com> In-Reply-To: <20091217001018.GA88894@ma.sigsys.de> References: <27485796-553F-4396-84A8-11F88968F3C9@niftywerks.com> <20091217001018.GA88894@ma.sigsys.de>
next in thread | previous in thread | raw e-mail | index | archive | help
2009/12/17 Raphael Becker <rabe@uugrn.org>: > 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? > > Regards > Raphael > > -- > Raphael Becker <rabe@uugrn.org> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 http:= //rabe.uugrn.org/ > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 https://www.xing.= com/profile/Raphael_Becker > GnuPG: =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0E7B2 1D66 3AF2 EDC7 9828 =A06D7A 9C= DA 3E7B 10CA 9F2D > .........|.........|.........|.........|.........|.........|.........|.. > Hi, This is one of PHP's quirks, you need to load the extensions in the right order, or it'll crash in CGI/FCGI mode and others. I have mine in this order extension=3Dsession.so extension=3Dbcmath.so extension=3Dctype.so extension=3Dpcre.so extension=3Dsimplexml.so extension=3Dspl.so extension=3Ddom.so extension=3Dfilter.so extension=3Dhash.so extension=3Diconv.so extension=3Djson.so extension=3Dldap.so extension=3Dposix.so extension=3Dsoap.so extension=3Dtokenizer.so extension=3Dxml.so extension=3Dxmlreader.so extension=3Dxmlwriter.so extension=3Dzip.so extension=3Dzlib.so extension=3Dpdo.so extension=3Dpdo_sqlite.so extension=3Dpgsql.so extension=3Dimap.so extension=3Dsockets.so extension=3Dgd.so extension=3Dcurl.so I got it from a website, but i can't find it. Although it doesn't have the mhash module, you might try moving up or down the list to see when it doesn't crash. Regards David N
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4d7dd86f0912161656m1c2b8d5dte7582fc950c0bd71>