From: bas at bushbaby dot nl
Operating system: OSX 10.8.2
PHP version: 5.4.11
Package: Reproducible crash
Bug Type: Bug
Bug description:Posting multipart/form-data forms results in Segmentation fault
Description:
------------
'./configure' '--prefix=/opt/local' '--mandir=/opt/local/share/man' '--
infodir=/opt/local/share/info' '--program-suffix=54' '--
includedir=/opt/local/include/php54' '--libdir=/opt/local/lib/php54'
'--with-
config-file-path=/opt/local/etc/php54' '--with-config-file-scan-
dir=/opt/local/var/db/php54' '--disable-all' '--enable-bcmath'
'--enable-ctype' '-
-enable-dom' '--enable-fileinfo' '--enable-filter' '--enable-hash'
'--enable-json'
'--enable-libxml' '--enable-pdo' '--enable-phar' '--enable-session'
'--enable-
simplexml' '--enable-tokenizer' '--enable-xml' '--enable-xmlreader'
'--enable-
xmlwriter' '--with-bz2=/opt/local' '--with-mhash=/opt/local' '--with-pcre-
regex=/opt/local' '--with-libxml-dir=/opt/local' '--with-zlib=/opt/local'
'--
without-pear' '--disable-cgi' '--disable-cli' '--disable-fpm' '--with-
apxs2=/opt/local/apache2/bin/apxs'
Test script:
---------------
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
</head>
<body>
<p>this form crashes php</p>
<form enctype="multipart/form-data" method="post" action="bug.php">
<input type="submit" value="submit" />
</form>
<hr />
<p>this form won't</p>
<form method="post" action="bug.php">
<input type="submit" value="submit" />
</form>
</body>
</html>
Expected result:
----------------
see the form again
Actual result:
--------------
black screen, apache log shows segmentation fault
--
Edit bug report at https://bugs.php.net/bug.php?id=64089&edit=1
--
Try a snapshot (PHP 5.4):
https://bugs.php.net/fix.php?id=64089&r=trysnapshot54
Try a snapshot (PHP 5.3):
https://bugs.php.net/fix.php?id=64089&r=trysnapshot53
Try a snapshot (trunk):
https://bugs.php.net/fix.php?id=64089&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=64089&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=64089&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=64089&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=64089&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=64089&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=64089&r=support
Expected behavior: https://bugs.php.net/fix.php?id=64089&r=notwrong
Not enough info:
https://bugs.php.net/fix.php?id=64089&r=notenoughinfo
Submitted twice:
https://bugs.php.net/fix.php?id=64089&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=64089&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=64089&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=64089&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=64089&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=64089&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=64089&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=64089&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=64089&r=mysqlcfg