From: 0602 at eq dot cz Operating system: Slackware Linux PHP version: 4.4.0 PHP Bug Type: Reproducible crash Bug description: segfault in imap_mail_compose
Description: ------------ Whenever I run following code with imap_mail_compose() function, something like this gets logged: "[notice] child pid 11556 exit signal Segmentation fault (11)". Functions imap_listmailbox(), imap_headers() and imap_open() are working fine. Reproduce code: --------------- <? $m_envelope["to"] = "[EMAIL PROTECTED]"; $m_part1["type"] = TYPEMULTIPART; $m_part1["subtype"] = "mixed"; $m_part2["type"] = TYPETEXT; $m_part2["subtype"] = "plain"; $m_part2["charset"] = "WINDOWS-1250"; $m_part2["description"] = "text_message"; $m_part2["contents.data"] = "content"; $m_body[1] = $m_part1; $m_body[2] = $m_part2; $m_whole = IMAP_Mail_Compose($m_envelope,$m_body); ?> -- Edit bug report at http://bugs.php.net/?id=33758&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=33758&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=33758&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=33758&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=33758&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=33758&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=33758&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=33758&r=needscript Try newer version: http://bugs.php.net/fix.php?id=33758&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=33758&r=support Expected behavior: http://bugs.php.net/fix.php?id=33758&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=33758&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=33758&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=33758&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=33758&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=33758&r=dst IIS Stability: http://bugs.php.net/fix.php?id=33758&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=33758&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=33758&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=33758&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=33758&r=mysqlcfg