System Access Violation Error:

I have recently experienced a recurring problem with eM Client. When opening or using my email, I often get a System Access Violation Error: Attemped to read & Write protected memory. eM Client will then close and scan itself before it can be reopened. Is there a permanent fix for this?

Hi, are you able to open the application at all? What version of eM client are you currently using on your computer, can you check for the exact version number in Help > About?
What mail service are you using with eM client?

Is there an error report window displayed after this issue occurs? If so, can you please click on the “Show error” button and post the content of the error here on the forum?

Thank you,
Paul.

Yes, I can open the application.  I am using Version 6.  I am using att.net mail (run by Yahoo, I think)  with eM client. 

The error window pops us randomly when I am going through opening, closing, emails.  The first lines of the Error Message read:

Windows NT 6.1 System Access Violation Exception.  Attempted to read and write protected memory.  This is often an indication that other memory is corrupt…

The messages goes on from there.  I hit OK in the box and eM Client closes and then scans itself.  Then I am able to reopen it.

Hi again, please submit the whole error shown after the crash occurs, or at least first 10-15 lines.
Also please check for the exact version number as I previously suggested.

Thank you,
Paul.

eM Client (6.0.21040.0)
Windows: Microsoft Windows NT 6.1.7601 Service Pack 1, Framework: 4.0.30319.18444
The following error has occurred:
System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
   at System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   at System.Windows.Forms.NativeWindow.DefWndProc(Message& m)
   at System.Windows.Forms.WebBrowserBase.WebBrowserBaseNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
   at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   at System.Windows.Forms.Application.Run(ApplicationContext context)
   at MailClient.Program.b__4()
at MailClient.ExceptionUtils.ExceptionUtils.Filter(BodyDelegate body, FilterDelegate filter, Action`1 handler)

" rel=“nofollow”>http://emclient.com/ns/report">;

eM Client
6.0.21040.0

false

Microsoft Windows NT 6.1.7601 Service Pack 1
4.0.30319.18444


System.AccessViolationException
Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
System.Windows.Forms




System.Windows.Forms.dll
100663674
System.Windows.Forms
System.Windows.Forms.UnsafeNativeMethods
CallWindowProc


mscorlib
System.IntPtr
wndProc


mscorlib
System.IntPtr
hWnd


mscorlib
System.Int32
msg


mscorlib
System.IntPtr
wParam


mscorlib
System.IntPtr
lParam



ffffffff
0




System.Windows.Forms.dll
100665800
System.Windows.Forms
System.Windows.Forms.NativeWindow
DefWndProc


System.Windows.Forms
System.Windows.Forms.Message&
m



8
55




System.Windows.Forms.dll
100682925
System.Windows.Forms
System.Windows.Forms.WebBrowserBase+WebBrowserBaseNativeWindow
WndProc


System.Windows.Forms
System.Windows.Forms.Message&
m



14
f




System.Windows.Forms.dll
100665822
System.Windows.Forms
System.Windows.Forms.NativeWindow
DebuggableCallback


mscorlib
System.IntPtr
hWnd


mscorlib
System.Int32
msg


mscorlib
System.IntPtr
wparam


mscorlib
System.IntPtr
lparam



25
5d




System.Windows.Forms.dll
100663535
System.Windows.Forms
System.Windows.Forms.UnsafeNativeMethods
DispatchMessageW


System.Windows.Forms
System.Windows.Forms.NativeMethods+MSG&
msg



ffffffff
0




System.Windows.Forms.dll
100688501
System.Windows.Forms
System.Windows.Forms.Application+ComponentManager
System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop


mscorlib
System.IntPtr
dwComponentID


mscorlib
System.Int32
reason


mscorlib
System.Int32
pvLoopData



186
24c




System.Windows.Forms.dll
100688548
System.Windows.Forms
System.Windows.Forms.Application+ThreadContext
RunMessageLoopInner


mscorlib
System.Int32
reason


System.Windows.Forms
System.Windows.Forms.ApplicationContext
context



1de
154




System.Windows.Forms.dll
100688547
System.Windows.Forms
System.Windows.Forms.Application+ThreadContext
RunMessageLoop


mscorlib
System.Int32
reason


System.Windows.Forms
System.Windows.Forms.ApplicationContext
context



13
49




System.Windows.Forms.dll
100664859
System.Windows.Forms
System.Windows.Forms.Application
Run


System.Windows.Forms
System.Windows.Forms.ApplicationContext
context



0
17




MailClient.exe
100675804
MailClient
MailClient.Program
<Main>b__4


17
42




MailClient.ExceptionUtils.dll
100663314
MailClient.ExceptionUtils
MailClient.ExceptionUtils.ExceptionUtils
Filter


MailClient.ExceptionUtils
MailClient.ExceptionUtils.ExceptionUtils+BodyDelegate
body


MailClient.ExceptionUtils
MailClient.ExceptionUtils.ExceptionUtils+FilterDelegate
filter


mscorlib
System.Action`1[[System.Exception, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]
handler



0
22






MailClient.exe
C:\Program Files (x86)\eM Client\MailClient.exe
MailClient.exe
MailClient.exe
6.0.21040.0
eM Client
eM Client
6.0.21040.0
False
False
False
False
False
Language Neutral


ntdll.dll
C:\Windows\SysWOW64\ntdll.dll
ntdll.dll
ntdll.dll.mui
6.1.7600.16385 (win7_rtm.090713-1255)
NT Layer DLL
Microsoft® Windows® Operating System
6.1.7600.16385
False
False
False
False
False
English (United States)


MSCOREE.DLL
C:\Windows\SYSTEM32\MSCOREE.DLL
mscoree.dll
mscoree.dll
4.0.40305.0 (Main.040305-0000)
Microsoft .NET Runtime Execution Engine
Microsoft® .NET Framework
4.0.40305.0
False
False
False
True
False
English (United States)


KERNEL32.dll
C:\Windows\syswow64\KERNEL32.dll
kernel32
kernel32
6.1.7601.18015 (win7sp1_gdr.121129-1432)
Windows NT BASE API Client DLL
Microsoft® Windows® Operating System
6.1.7601.18015
False
False
False
False
False
English (United States)


KERNELBASE.dll
C:\Windows\syswow64\KERNELBASE.dll
Kernelbase
Kernelbase
6.1.7601.18015 (win7sp1_gdr.121129-1432)
Windows NT BASE API Client DLL
Microsoft® Windows® Operating System
6.1.7601.18015
False
False
False
False
False
English (United States)


ADVAPI32.dll
C:\Windows\syswow64\ADVAPI32.dll
advapi32.dll
advapi32.dll.mui
6.1.7600.16385 (win7_rtm.090713-1255)
Advanced Windows 32 Base API
Microsoft® Windows® Operating System
6.1.7600.16385
False
False
False
False
False
English (United States)


msvcrt.dll
C:\Windows\syswow64\msvcrt.dll
msvcrt.dll
msvcrt.dll
7.0.7601.17744 (win7sp1_gdr.111215-1535)
Windows NT CRT DLL
Microsoft® Windows® Operating System
7.0.7601.17744
False
False
False
False
False
English (United States)


sechost.dll
C:\Windows\SysWOW64\sechost.dll
sechost.dll
sechost.dll.mui
6.1.7600.16385 (win7_rtm.090713-1255)
Host for SCM/SDDL/LSA Lookup APIs
Microsoft® Windows® Operating System
6.1.7600.16385
False
False
False
False
False
English (United States)


RPCRT4.dll
C:\Windows\syswow64\RPCRT4.dll
rpcrt4.dll
rpcrt4.dll.mui
6.1.7600.16385 (win7_rtm.090713-1255)
Remote Procedure Call Runtime
Microsoft® Windows® Operating System
6.1.7600.16385
False
False
False
False
False
English (United States)


SspiCli.dll
C:\Windows\syswow64\SspiCli.dll
security.dll
security.dll
6.1.7601.18637 (win7sp1_gdr.141013-1517)
Security Support Provider Interface
Microsoft® Windows® Operating System
6.1.7601.18637
False
False
False
False
False
English (United States)


CRYPTBASE.dll
C:\Windows\syswow64\CRYPTBASE.dll
cryptbase.dll
cryptbase.dll
6.1.7600.16385 (win7_rtm.090713-1255)
Base cryptographic API DLL
Microsoft® Windows® Operating System
6.1.7600.16385
False
False
False
False
False
English (United States)


mscoreei.dll
C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscoreei.dll
mscoreei.dll
mscoreei.dll
4.0.30319.18408 built by: FX451RTMGREL
Microsoft .NET Runtime Execution Engine
Microsoft® .NET Framework
4.0.30319.18408
False
False
False
True
False
English (United States)


SHLWAPI.dll
C:\Windows\syswow64\SHLWAPI.dll
SHLWAPI
SHLWAPI.DLL.MUI
6.1.7600.16385 (win7_rtm.090713-1255)
Shell Light-weight Utility Library
Microsoft® Windows® Operating System
6.1.7600.16385
False
False
False
False
False
English (United States)


GDI32.dll
C:\Windows\syswow64\GDI32.dll
gdi32
gdi32
6.1.7601.18577 (win7sp1_gdr.140822-1508)
GDI Client DLL
Microsoft® Windows® Operating System
6.1.7601.18577
False
False
False
False
False
English (United States)


USER32.dll
C:\Windows\syswow64\USER32.dll
user32
user32
6.1.7601.17514 (win7sp1_rtm.101119-1850)
Multi-User Windows USER API Client DLL
Microsoft® Windows® Operating System
6.1.7601.17514
False
False
False
False
False
English (United States)


LPK.dll
C:\Windows\syswow64\LPK.dll
LanguagePack
LanguagePack
6.1.7601.18177 (win7sp1_gdr.130605-1534)
Language Pack
Microsoft® Windows® Operating System
6.1.7601.18177
False
False
False
False
False
English (United States)


USP10.dll
C:\Windows\syswow64\USP10.dll
Uniscribe
Uniscribe
1.0626.7601.18454 (win7sp1_gdr.140424-1533)
Uniscribe Unicode script processor
Microsoft® Uniscribe Unicode script processor
1.0626.7601.18454
False
False
False
False
False
English (United States)


IMM32.DLL
C:\Windows\system32\IMM32.DLL
imm32
imm32
6.1.7601.17514 (win7sp1_rtm.101119-1850)
Multi-User Windows IMM32 API Client DLL
Microsoft® Windows® Operating System
6.1.7601.17514
False
False
False
False
False
English (United States)


MSCTF.dll
C:\Windows\syswow64\MSCTF.dll
MSCTF
MSCTF.DLL.MUI
6.1.7600.16385 (win7_rtm.090713-1255)
MSCTF Server DLL
Microsoft® Windows® Operating System
6.1.7600.16385
False
False
False
False
False
English (United States)


clr.dll
C:\Windows\Microsoft.NET\Framework\v4.0.30319\clr.dll
clr.dll
clr.dll
4.0.30319.18444 built by: FX451RTMGDR
Microsoft .NET Runtime Common Language Runtime - WorkStation
Microsoft® .NET Framework
4.0.30319.18444
False
False
False
True
False
English (United States)


MSVCR110_CLR0400.dll
C:\Windows\system32\MSVCR110_CLR0400.dll
msvcr110_clr0400.dll
msvcr110_clr0400.dll
11.00.50938.18408 built by: FX451RTMGREL
Microsoft® C Runtime Library
Microsoft® Visual Studio® 11 Beta
11.00.50938.18408
False
False
False
False
False
English (United States)


mscorlib.ni.dll
C:\Windows\assembly\NativeImages_v4.0.30319_32\mscorlib\ce5f61c5754789df97be8dc991c47d07\mscorlib.ni.dll
mscorlib.dll
mscorlib.dll
4.0.30319.18444 built by: FX451RTMGDR
Microsoft Common Language Runtime Class Library
Microsoft® .NET Framework
4.0.30319.18444
False
False
False
True
False
English (United States)


ole32.dll
C:\Windows\syswow64\ole32.dll
OLE32.DLL
OLE32.DLL.MUI
6.1.7600.16385 (win7_rtm.090713-1255)
Microsoft OLE for Windows
Microsoft® Windows® Operating System
6.1.7600.16385
False
False
False
False
False
English (United States)


uxtheme.dll
C:\Windows\system32\uxtheme.dll
UxTheme.dll
UxTheme.dll.mui
6.1.7600.16385 (win7_rtm.090713-1255)
Microsoft UxTheme Library
Microsoft® Windows® Operating System
6.1.7600.16385
False
False
False
False
False
English (United States)


saHook.dll
c:\PROGRA~2\mcafee\SITEAD~1\saHook.dll
Email IM Annotation Hook
saHook.dll
3,7,1,154
SiteAdvisor
McAfee SiteAdvisor
3,7,1,0
False
False
False
False
False
English (United States)


OLEAUT32.dll
C:\Windows\syswow64\OLEAUT32.dll
OLEAUT32.DLL

6.1.7601.18640


6.1.7601.18640
False
False
False
False
False
English (United States)


urlmon.dll
C:\Windows\syswow64\urlmon.dll
UrlMon.dll
UrlMon.dll.mui
11.00.9600.17420 (winblue_r4.141105-1535)
OLE32 Extensions for Win32
Internet Explorer
11.00.9600.17420
False
False
False
False
False
English (United States)


api-ms-win-downlevel-ole32-l1-1-0.dll
C:\Windows\syswow64\api-ms-win-downlevel-ole32-l1-1-0.dll
apisetstub
apisetstub
6.2.9200.16492 (win8_gdr_oobssr.130113-0015)
ApiSet Stub DLL
Microsoft® Windows® Operating System
6.2.9200.16492
False
False
False
False

Hi again, please as suggested under another topic, please try to update eM Client to the most recent release and run the referenced tool, check if the issue persists.

Thank you,
Paul.

I redownloaded the eM Client install program.  A repair error box appeared and the program went through a repair process before finishing the install.

The issue still persists

Hi again, unfortunately this might be an issue connected to some other system faulty or another application that tries to access the application’s data.
When the error occurs, can you please open task manager from the “Run” tool using this command: 

%SystemRoot%\SysWOW64\TaskMgr.exe

And when the error occurs, right click the “MailClient.exe” item and select “Create Dump”, this will generate a file on your computer containing data about the application’s behavior etc., however this file may be too large for sending it over email, can you please use some of the common file sharing services such as dropbox/google drive or wetransfer to submit the file to my email mcgregor@emclient. Also please include a reference link to this forum topic.

Thank you,
Paul.