#33758 [Opn->Fbk]: segfault in imap_mail_compose
| From: | derick@php.net | Date: | Mon, 18 Jul 2005 18:55:09 +0000 |
| Subject: | #33758 [Opn->Fbk]: segfault in imap_mail_compose | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-82084@lists.php.net to get a copy of this message | ||
ID: 33758
Updated by: derick@php.net
Reported By: 0602 at eq dot cz
-Status: Open
+Status: Feedback
Bug Type: Reproducible crash
Operating System: Slackware Linux
PHP Version: 4.4.0
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
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.
Previous Comments:
------------------------------------------------------------------------
[2005-07-18 20:46:03] 0602 at eq dot cz
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"] = "aa@aaaaaaaaaaaaaaaaaaaa.cz";
$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 this bug report at http://bugs.php.net/?id=33758&edit=1