Start a conversation

marc.imap.exe crashes when an IMAP client requests an email with a blank body

Versions / Builds Affected

20141117

Status

Resolved

TT / JIRAID

2857

How to Identify

Customer would report: 1. MARC's IMAP server (resp. marc.imap.exe) crashing Flow of issue: 1. A "specific" email is archived which has a blank body 2. Customer uses 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. 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: 22/01/2015 08:38:40 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: 22/01/2015 08:38:42 Event ID: 1000 Task Category: Application Crashing Events Level: Error Description: Faulting application name: MArc.Imap.exe, version: 20140.1121.110.14, time stamp: 0x546f253d Faulting module name: mimecom_x64.dll, version: 1.0.0.32, time stamp: 0x503774cb Exception code: 0xc0000005 Fault offset: 0x00000000000036f4 Faulting process id: 0x3d24 Faulting application start time: 0x01d0361e79d53aa3 Faulting application path: D:\GFI\MailArchiver\IMAP\bin\MArc.Imap.exe Faulting module path: D:\GFI\MailArchiver\IMAP\mimecom_x64.dll Report Id: 1145dfc3-a212-11e4-9cc9-000c293419bf

Workaround / Fix Details

Fixed in MARC2015 SR1 build 20150218 ----- http://ftp.gfisoftware.com/patches/ARC2015/20141117/ARC2015_PATCH_20150218_2857.zip

Required Actions

Use workaround or upgrade to version mentioned above
Choose files or drag and drop files
Was this article helpful?
Yes
No
  1. Priyanka Bhotika

  2. Posted

Comments