System.AccessViolationException

After the last Update I get this error meesage on every start of eM Client. Can anyone help me?

eM Client (6.0.22344.0)
Windows: Microsoft Windows NT 6.1.7601 Service Pack 1, Framework: 4.0.30319.18444
The following error has occurred:
System.AccessViolationException: Es wurde versucht, im geschützten Speicher zu lesen oder zu schreiben. Dies ist häufig ein Hinweis darauf, dass anderer Speicher beschädigt ist.
   bei System.Data.SQLite.UnsafeNativeMethods.sqlite3_step(IntPtr stmt)
   bei System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt)
   bei System.Data.SQLite.SQLiteDataReader.NextResult()
   bei System.Data.SQLite.SQLiteDataReader…ctor(SQLiteCommand cmd, CommandBehavior behave)
   bei System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior)
   bei System.Data.SQLite.SQLiteCommand.ExecuteNonQuery()
   bei MailClient.Storage.Data.SQLite.DbMailRepository.RemoveOids[ST](Object senderContext, String oidList, IEnumerable1 items)    bei MailClient.Storage.Data.SQLite.DbRepository1.RemoveByItems[ST](Object senderContext, IEnumerable1 items)    bei MailClient.Storage.Data.SQLite.DbRepository1.Remove[ST](Object senderContext, IEnumerable1 items)    bei MailClient.RepositoryExtensions.Remove[T,ST](IRepository1 repository, IEnumerable`1 items)
   bei MailClient.Imap.Synchronizer.FolderInfo.ResetCache()
   bei MailClient.Imap.Synchronizer.AfterSelect(Folder folder)
   bei MailClient.Imap.ConnectionPoolEntry.SelectFolder(Folder value, Boolean force)
   bei MailClient.Imap.ConnectionPool.AcquireConnection(Folder mailFolder, Boolean idle, Boolean forStore)
   bei MailClient.Imap.Synchronizer.ActivateFolderCommand.ExecuteInternal(WorkerStatus status)
   bei MailClient.Imap.Synchronizer.ImapCommand.Execute(WorkerStatus status)
   bei MailClient.Commands.Command.Process(WorkerStatus status)
   bei MailClient.Commands.SynchronizationQueue.ThreadWorker(Object threadData)
   bei System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   bei System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   bei System.Threading.ThreadHelper.ThreadStart(Object obj)

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

eM Client
6.0.22344.0

false

Microsoft Windows NT 6.1.7601 Service Pack 1
4.0.30319.18444


System.AccessViolationException
Es wurde versucht, im geschützten Speicher zu lesen oder zu schreiben. Dies ist häufig ein Hinweis darauf, dass anderer Speicher beschädigt ist.
System.Data.SQLite




System.Data.SQLite.dll
100664279
System.Data.SQLite
System.Data.SQLite.UnsafeNativeMethods
sqlite3_step


mscorlib
System.IntPtr
stmt



ffffffff
0




System.Data.SQLite.dll
100663597
System.Data.SQLite
System.Data.SQLite.SQLite3
Step


System.Data.SQLite
System.Data.SQLite.SQLiteStatement
stmt



0
6b




System.Data.SQLite.dll
100663982
System.Data.SQLite
System.Data.SQLite.SQLiteDataReader
NextResult


12f
150




System.Data.SQLite.dll
100663943
System.Data.SQLite
System.Data.SQLite.SQLiteDataReader
.ctor


System.Data.SQLite
System.Data.SQLite.SQLiteCommand
cmd


System.Data
System.Data.CommandBehavior
behave



5d
71




System.Data.SQLite.dll
100663757
System.Data.SQLite
System.Data.SQLite.SQLiteCommand
ExecuteReader


System.Data
System.Data.CommandBehavior
behavior



c
26




System.Data.SQLite.dll
100663760
System.Data.SQLite
System.Data.SQLite.SQLiteCommand
ExecuteNonQuery


6
21




MailClient.exe
100685637
MailClient
MailClient.Storage.Data.SQLite.DbMailRepository
RemoveOids


MailClient





mscorlib
System.Object
senderContext


mscorlib
System.String
oidList


mscorlib

items



22e
50d




MailClient.exe
100670201
MailClient
MailClient.Storage.Data.SQLite.DbRepository1</type><br> <name>RemoveByItems</name><br> <genericarguments><br> <argument><br> <assembly>MailClient</assembly><br> <type></type><br> </argument><br> </genericarguments><br> <parameters><br> <parameter><br> <assembly>mscorlib</assembly><br> <type>System.Object</type><br> <name>senderContext</name><br> </parameter><br> <parameter><br> <assembly>mscorlib</assembly><br> <type></type><br> <name>items</name><br> </parameter><br> </parameters><br> </method><br> <offset>151</offset><br> <nativeoffset>37b</nativeoffset><br> <br> <frame> <br> <method><br> <modulename>MailClient.exe</modulename><br> <metadatatoken>100670202</metadatatoken><br> <assembly>MailClient</assembly><br> <type>MailClient.Storage.Data.SQLite.DbRepository1
Remove


MailClient





mscorlib
System.Object
senderContext


mscorlib

items



1c
9e




MailClient.exe
100670281
MailClient
MailClient.RepositoryExtensions
Remove


MailClient



MailClient





MailClient

repository


mscorlib

items



0
5f




MailClient.exe
100668536
MailClient
MailClient.Imap.Synchronizer+FolderInfo
ResetCache


7e
1a7




MailClient.exe
100668417
MailClient
MailClient.Imap.Synchronizer
AfterSelect


MailClient
MailClient.Storage.Application.Folder
folder



14f
224




MailClient.exe
100689868
MailClient
MailClient.Imap.ConnectionPoolEntry
SelectFolder


MailClient
MailClient.Storage.Application.Folder
value


mscorlib
System.Boolean
force



1fa
3fb




MailClient.exe
100689892
MailClient
MailClient.Imap.ConnectionPool
AcquireConnection


MailClient
MailClient.Storage.Application.Folder
mailFolder


mscorlib
System.Boolean
idle


mscorlib
System.Boolean
forStore



19c
316




MailClient.exe
100668550
MailClient
MailClient.Imap.Synchronizer+ActivateFolderCommand
ExecuteInternal


MailClient
MailClient.Commands.WorkerStatus
status



cb
a8




MailClient.exe
100668438
MailClient
MailClient.Imap.Synchronizer+ImapCommand
Execute


MailClient
MailClient.Commands.WorkerStatus
status



0
1d




MailClient.exe
100664033
MailClient
MailClient.Commands.Command
Process


MailClient
MailClient.Commands.WorkerStatus
status



15
53




MailClient.exe
100664086
MailClient
MailClient.Commands.SynchronizationQueue
ThreadWorker


mscorlib
System.Object
threadData



8c
11a




mscorlib.dll
100669199
mscorlib
System.Threading.ThreadHelper
ThreadStart_Context


mscorlib
System.Object
state



25
9b




mscorlib.dll
100668967
mscorlib
System.Threading.ExecutionContext
RunInternal


mscorlib
System.Threading.ExecutionContext
executionContext


mscorlib
System.Threading.ContextCallback
callback


mscorlib
System.Object
state


mscorlib
System.Boolean
preserveSyncCtx



70
a6




mscorlib.dll
100668966
mscorlib
System.Threading.ExecutionContext
Run


mscorlib
System.Threading.ExecutionContext
executionContext


mscorlib
System.Threading.ContextCallback
callback


mscorlib
System.Object
state


mscorlib
System.Boolean
preserveSyncCtx



0
15




mscorlib.dll
100668965
mscorlib
System.Threading.ExecutionContext
Run


mscorlib
System.Threading.ExecutionContext
executionContext


mscorlib
System.Threading.ContextCallback
callback


mscorlib
System.Object
state



2b
40




mscorlib.dll
100669196
mscorlib
System.Threading.ThreadHelper
ThreadStart


mscorlib
System.Object
obj



f
4d






MailClient.exe
C:\Program Files (x86)\eM Client\MailClient.exe
MailClient.exe
MailClient.exe
6.0.22344.0
eM Client
eM Client
6.0.22344.0
False
False
False
False
False
Sprachneutral


ntdll.dll
C:\Windows\SysWOW64\ntdll.dll
ntdll.dll
ntdll.dll.mui
6.1.7600.16385 (win7_rtm.090713-1255)
DLL für NT-Layer
Betriebssystem Microsoft® Windows®
6.1.7600.16385
False
False
False
False
False
Deutsch (Deutschland)


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
Englisch (USA)


KERNEL32.dll
C:\Windows\syswow64\KERNEL32.dll
kernel32
kernel32
6.1.7601.18015 (win7sp1_gdr.121129-1432)
Client-DLL für Windows NT-Basis-API
Betriebssystem Microsoft® Windows®
6.1.7601.18015
False
False
False
False
False
Deutsch (Deutschland)


KERNELBASE.dll
C:\Windows\syswow64\KERNELBASE.dll
Kernelbase
Kernelbase
6.1.7601.18015 (win7sp1_gdr.121129-1432)
Client-DLL für Windows NT-Basis-API
Betriebssystem Microsoft® Windows®
6.1.7601.18015
False
False
False
False
False
Deutsch (Deutschland)


ADVAPI32.dll
C:\Windows\syswow64\ADVAPI32.dll
advapi32.dll
advapi32.dll.mui
6.1.7601.18869 (win7sp1_gdr.150525-0603)
Erweiterte Windows 32 Base-API
Betriebssystem Microsoft® Windows®
6.1.7601.18869
False
False
False
False
False
Deutsch (Deutschland)


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
Englisch (USA)


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
Deutsch (Deutschland)


RPCRT4.dll
C:\Windows\syswow64\RPCRT4.dll
rpcrt4.dll
rpcrt4.dll.mui
6.1.7600.16385 (win7_rtm.090713-1255)
Remoteprozeduraufruf-Laufzeitumgebung
Betriebssystem Microsoft® Windows®
6.1.7600.16385
False
False
False
False
False
Deutsch (Deutschland)


SspiCli.dll
C:\Windows\syswow64\SspiCli.dll
security.dll
security.dll
6.1.7601.18912 (win7sp1_gdr.150701-0844)
Security Support Provider Interface
Microsoft® Windows® Operating System
6.1.7601.18912
False
False

I solved the problem!

  1. I reinstalled the eM Client -> the problem still exists
  2. I deinstalled the eM Client + I deleded all user data + I installed the eM Client + I created new accounts -> solved!

Hello Godwin,glad it works, seems like your database was corrupt, in case any database issues reoccurs, you can try to download this utility, http://www.emclient.com/tools/dbrepairrebuildall.exe which tries to restore the corrupt database data.

Hope this helps,