From: hans at lintoo dot dk Operating system: FreeBSD 5.4 + FreeBSD 6 PHP version: 5.1.1 PHP Bug Type: IMAP related Bug description: imap_mail_compose() = segmentation violation
Description: ------------ While logicaliy problematic, trying to create a multipart-multiboundary-email, will result in a signal-11 (segmentation violation). I feel that any signal 11 should be a bug, so could you please in a future release throw an exception, or add to your documentation that this is a known bug. See the code: http://lintoo.dk/public/crashme.phps if you add two multiparts to a body array, and then run imap_mail_compose it will crash horribly. This should be very easy to reproduce, so I did not reconfigure PHP to run with debug. Hopefully you will run it yourself, or don't need a backtrace This bug is similar to earlier bugs, but to the best of my knowledge it is different, and at least not fixed in PHP 5.1.1 Reproduce code: --------------- http://lintoo.dk/public/crashme.phps Expected result: ---------------- An email or exception Actual result: -------------- Signal 11 - segmentation violation -- Edit bug report at http://bugs.php.net/?id=35669&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=35669&r=trysnapshot44 Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=35669&r=trysnapshot51 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=35669&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=35669&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=35669&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=35669&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=35669&r=needscript Try newer version: http://bugs.php.net/fix.php?id=35669&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=35669&r=support Expected behavior: http://bugs.php.net/fix.php?id=35669&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=35669&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=35669&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=35669&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=35669&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=35669&r=dst IIS Stability: http://bugs.php.net/fix.php?id=35669&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=35669&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=35669&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=35669&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=35669&r=mysqlcfg
