ID: 50947
User updated by: dax at enst dot fr
-Summary: BugID: 50226
Reported By: dax at enst dot fr
Status: Open
Bug Type: Scripting Engine problem
Operating System: Solaris10
PHP Version: 5.2.12
New Comment:
Change erroneous summary
Previous Comments:
------------------------------------------------------------------------
[2010-02-06 16:31:46] dax at enst dot fr
Description:
------------
In my configuration the PHP crypt() function makes a segmentation fault
in a httpd process. However this doesn't occur in command line mode
using the php interpeter.
Consequence : impossible to run any PHP applications with crypt() as
PMwiki for example.
OS : Solaris10
Apache server : httpd-2.2.14
Compilation options :
./configure --prefix=/usr/local/apache22
--with-apxs2=/usr/local/apache22/bin/apxs
--with-config-file-path=/usr/local/apache22/etc --enable-sockets
--enable-sigchild --enable-ftp --enable-calendar --enable-wddx
--enable-bcmath --enable-shmop --enable-sysvmsg --enable-sysvsem
--enable-sysvshm --enable-session --enable-mbstring --enable-exif
--with-regex=system --with-gettext --with-iconv=/usr/local
--with-openssl=/usr/local/ssl --with-zlib-dir=/usr/local
--with-bz2=/usr/local --with-libxml-dir=/usr/local
--with-xpm-dir=/usr/local/X11R6 --with-png-dir=/usr/local
--with-gd=/usr/local --with-freetype-dir=/usr/local
--enable-gd-native-ttf --with-t1lib=/usr/local --with-ttf=/usr/local
--with-gdbm=/usr/local --with-db4=/usr/local/BerkeleyDB.4.5
--with-mysql=/infres/mysql/5.1.30 --with-ldap=/usr/local
--with-curl=/usr/local --with-xsl=/usr/local --enable-soap
--with-mcrypt=/usr/local/ --enable-zip
Reproduce code:
---------------
<?php $foo = crypt("bar"); echo "$foo"; ?>
Expected result:
----------------
A md5 string
Actual result:
--------------
[Sat Feb 06 17:05:15 2010] [notice] child pid 17043 exit signal
Segmentation fault (11)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=50947&edit=1