ID:               50947
 Updated by:       johan...@php.net
 Reported By:      dax at enst dot fr
-Status:           Open
+Status:           Feedback
 Bug Type:         Scripting Engine problem
 Operating System: Solaris10
 PHP Version:      5.2.12
 New Comment:

Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php for *NIX and
http://bugs.php.net/bugs-generating-backtrace-win32.php for Win32

Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.

Additional to the backtrace: Does this always happen or "randomly"
which MPM are you using?


Previous Comments:
------------------------------------------------------------------------

[2010-02-06 17:12:05] dax at enst dot fr

Change erroneous summary

------------------------------------------------------------------------

[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

Reply via email to