|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #56595 mailparse_msg_parse/ fastcgi/ lighttpd
Submitted: 2005-10-13 20:23 UTC Modified: 2005-10-24 06:17 UTC
From: peterp at podbox dot co dot za Assigned:
Status: Closed Package: mailparse (PECL)
PHP Version: 5.0.3 OS: FreeBSD 5.4/amd64
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
28 + 6 = ?
Subscribe to this entry?

 [2005-10-13 20:23 UTC] peterp at podbox dot co dot za
This code works under Apache 1.3, bit gives me a this error under fastcgi+lighttpd:

2005-10-14 02:06:14: (mod_fastcgi.c.2196) unexpected end-of-file (perhaps the fastcgi process died): pid: 59742 fcgi-fd: 7 remote-fd: 6

Reproduce code:
$mBox = imap_open(MCENTRE_HOST, $_SESSION['U'], $_SESSION['P']);

$Message = imap_fetchheader($mBox, $mId);
$Message .= imap_body($mBox, $mId);

$mParse = mailparse_msg_create();
mailparse_msg_parse($mParse,$Message); // this code breaks.

Expected result:
Except the "$Message" to be parsed.

Actual result:
2005-10-14 02:06:36: (mod_fastcgi.c.2196) unexpected end-of-file (perhaps the fastcgi process died): pid: 59742 fcgi-fd: 7 remote-fd: 6 
2005-10-14 02:06:36: (mod_fastcgi.c.3005) response not sent, request sent: 970 connection-fd: 6 fcgi-fd: 7


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2005-10-13 23:28 UTC]
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

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 PECL better.

A stack trace and a copy of the message (tar it up and put it online somewhere that I can download it) will help a great deal.
 [2005-10-24 06:17 UTC] peterp at podbox dot co dot za
I disabled a whole bunch of extensions that I wasn't using and now it's working fine. I tried to generate a backtrace, but it didn't seem to work correctly. Just had a bunch of "???????" instead of traces.

Thanks Wez.
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Thu Sep 24 15:01:23 2020 UTC