Versions / Builds Affected
20140616Status
ResolvedProblem Summary
marc.imap.exe crashes when an IMAP client requests a certain email from itTT / JIRAID
2674How to Identify
Customer would report:
1. MARC's IMAP server (resp. marc.imap.exe) crashing
Flow of issue:
1. A "specific" email is archived
2. Customer users MARC's IMAP server
3. A client (e.g. Outlook) is configured to access MARC using IMAP
4. The client connects and tries to open the "specific" email
5. marc.imap.exe on the server processes the email and crashes
Notes:
- This does NOT happen with every email.
- Only specific emails trigger the crash.
- The criteria are unknown.
- They appear to be related to processing of MIME headers though. It is likely that certain non-RFC-compliant headers or syntax are related.
How to identify:
Look out for these exact crash event logs. It is very important that the stack refers to [GFI.MimeCOM.IMimeEntity.GetData()] to identify this known issue.
Log Name: Application
Source: .NET Runtime
Date: 30/09/2014 12:44:27
Event ID: 1026
Level: Error
Application: MArc.Imap.exe
Framework Version: v4.0.30319
Description:
The process was terminated due to an unhandled exception.
Exception Info: System.AccessViolationException
Stack:
at GFI.MimeCOM.IMimeEntity.GetData()
at GFI.MimeCOM.IMimeEntity.GetData()
at MArc.IMAP.Commands.SelectedStateCommands.FetchCommand.Fetch()
at MArc.IMAP.Commands.SelectedStateCommands.FetchCommand.Execute()
at MArc.IMAP.IMAP_Server.OnClientRead(System.IAsyncResult)
at System.Net.LazyAsyncResult.Complete(IntPtr)
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
at System.Net.ContextAwareResult.Complete(IntPtr)
at System.Net.Sockets.BaseOverlappedAsyncResult.CompletionPortCallback(UInt32, UInt32, System.Threading.NativeOverlapped*)
at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32, UInt32, System.Threading.NativeOverlapped*)
Log Name: Application
Source: Application Error
Date: 30/09/2014 12:44:28
Event ID: 1000
Task Category: Application Crashing Events
Level: Error
Description:
Faulting application name: MArc.Imap.exe, version: 20140.626.100.14, time stamp: 0x53ac1537
Faulting module name: mimecom_x64.dll, version: 1.0.0.32, time stamp: 0x503774cb
Exception code: 0xc0000005
Fault offset: 0x00000000000036f4
Faulting process id: 0x8804
Faulting application start time: 0x01cfdc9793d3607b
Faulting application path: C:\Program Files (x86)\GFI\MailArchiver\IMAP\bin\MArc.Imap.exe
Faulting module path: C:\Program Files (x86)\GFI\MailArchiver\IMAP\mimecom_x64.dll
Report Id: c043af63-488e-11e4-9847-00259088dff6Workaround / Fix Details
Fixed in MARC2015 build 20141117
-----
http://ftp.gfisoftware.com/patches/MARC2014/20140616/MARC2014_PATCH_20141013_2674.zipRequired Actions
Use workaround or upgrade to version mentioned above