6.0.0-alpha14
6/30/25

[#11953] Memory Exhausted when replying some messages
Summary Memory Exhausted when replying some messages
Queue IMP
Queue Version 6.0.3
Type Bug
State Resolved
Priority 2. Medium
Owners slusarz (at) horde (dot) org
Requester david.fernandez (at) ehu (dot) es
Created 01/14/2013 (4550 days ago)
Due
Updated 01/14/2013 (4550 days ago)
Assigned
Resolved 01/14/2013 (4550 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
01/14/2013 08:06:23 PM Michael Slusarz Comment #4
Assigned to Michael Slusarz
State ⇒ Resolved
Reply to this comment
Fixed in IMP 6.0.4.
01/14/2013 08:06:02 PM Git Commit Comment #3 Reply to this comment
Changes have been made in Git (master):

commit 040950dacbdebc2659f21cc72318ce0727b8623c
Author: Michael M Slusarz <slusarz@horde.org>
Date:   Mon Jan 14 13:04:09 2013 -0700

     [mms] Workaround broken Message-IDs generated by Outlook when 
replying to a message (Bug #11953).

  imp/docs/CHANGES                     |    2 +
  imp/lib/Compose/References.php       |   37 ++++++++++++++++++++++++++++++++-
  imp/package.xml                      |    2 +
  imp/test/Imp/Unit/ReferencesTest.php |   18 ++++++++++++++++
  4 files changed, 57 insertions(+), 2 deletions(-)

http://git.horde.org/horde-git/-/commit/040950dacbdebc2659f21cc72318ce0727b8623c
01/14/2013 03:59:50 PM david (dot) fernandez (at) ehu (dot) es Comment #2 Reply to this comment
The problem is caused by Microsoft Office Outlook 12.0 clients that 
sometimes generate invalid Message-ID for e-mails. This Message-ID 
contains 2 '@'.
In these cases, IMP generates al infinite loop that exhausted memory 
of PHP process..

More info:

http://www.outlookforums.com/threads/17887-outlook-2007-generates-illegal-message-id/

01/14/2013 09:41:57 AM david (dot) fernandez (at) ehu (dot) es Comment #1
Priority ⇒ 2. Medium
Patch ⇒ No
Milestone ⇒
Queue ⇒ IMP
Due ⇒ 01/14/2013
Summary ⇒ Memory Exhausted when replying some messages
Type ⇒ Bug
State ⇒ Unconfirmed
Reply to this comment
When replying some messages in IMP 6.0.3 the memory of PHP is 
exhausted. The error  that appears in Apache's error_log could be:

PHP Fatal error:  Allowed memory size of 115343360 bytes exhausted 
(tried to allocate 32 bytes) in 
/users/bcwhord5/public_html/pear/php/Horde/Mail/Rfc822.php on line 
795, referer: 
https://dev.ehu.es/wpostapiloto/imp/dynamic.php?page=mailbox

or:

PHP Fatal error:  Allowed memory size of 115343360 bytes exhausted 
(tried to allocate 71 bytes) in 
/users/bcwhord5/public_html/imp/lib/Compose/References.php on line 51, 
referer: https://dev.ehu.es/wpostapiloto/imp/dynamic.php?page=mailbox

I increase the memory in php.ini to 2GB and the problem persists.
I tried with IMP 6.0.2 and the same messages and it works.
The error occurs in basic and dynamic mode.

Saved Queries