I am using sqllite from my application which is a DCOM server. We are storing some data in sqllite DB. As the load on the DCOM service increases we see a crash in ntdll.dll which is invoked from the sqllite3 dll. We could trace the crash to sqllite3.dll using the crash dump collected on the server machine.
Here are the details of the crash: Dump Summary ------------ Process Name: DCOMSrv.exe : C:\software\DCOMSrv.exe Process Architecture: x64 Exception Code: 0xC0000005 Exception Information: The thread tried to read from or write to a virtual address for which it does not have the appropriate access. Heap Information: Present System Information ------------------ OS Version: 6.1.7601 CLR Version(s): Modules ------- Module Name Module Path Module Version ----------- ----------- -------------- DCOMSrv.exe C:\software \DCOMSrv.exe 2.1.0.0 ntdll.dll C:\Windows\System32\ntdll.dll 6.1.7601.17725 kernel32.dll C:\Windows\System32\kernel32.dll 6.1.7601.17514 KERNELBASE.dll C:\Windows\System32\KERNELBASE.dll 6.1.7601.17514 crypt32.dll C:\Windows\System32\crypt32.dll 6.1.7601.17514 msvcrt.dll C:\Windows\System32\msvcrt.dll 7.0.7601.17744 msasn1.dll C:\Windows\System32\msasn1.dll 6.1.7601.17514 secur32.dll C:\Windows\System32\secur32.dll 6.1.7601.17725 authz.dll C:\Windows\System32\authz.dll 6.1.7600.16385 activeds.dll C:\Windows\System32\activeds.dll 6.1.7600.16385 adsldpc.dll C:\Windows\System32\adsldpc.dll 6.1.7600.16385 Wldap32.dll C:\Windows\System32\Wldap32.dll 6.1.7601.17514 atl.dll C:\Windows\System32\atl.dll 3.5.2284.0 user32.dll C:\Windows\System32\user32.dll 6.1.7601.17514 gdi32.dll C:\Windows\System32\gdi32.dll 6.1.7601.17514 lpk.dll C:\Windows\System32\lpk.dll 6.1.7600.16385 usp10.dll C:\Windows\System32\usp10.dll 1.626.7601.17514 advapi32.dll C:\Windows\System32\advapi32.dll 6.1.7600.16385 sechost.dll C:\Windows\System32\sechost.dll 6.1.7600.16385 rpcrt4.dll C:\Windows\System32\rpcrt4.dll 6.1.7601.17514 sqlite3.dll C:\software\sqlite3.dll 0.0.0.0 msvcr90.dll C:\Windows\winsxs\amd64_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.4940_none_08e4299fa83d7e3c\msvcr90.dll 9.0.30729.4940 winhttp.dll C:\Windows\System32\winhttp.dll 6.1.7601.17514 webio.dll C:\Windows\System32\webio.dll 6.1.7601.17725 wsock32.dll C:\Windows\System32\wsock32.dll 6.1.7600.16385 ws2_32.dll C:\Windows\System32\ws2_32.dll 6.1.7601.17514 nsi.dll C:\Windows\System32\nsi.dll 6.1.7600.16385 shell32.dll C:\Windows\System32\shell32.dll 6.1.7601.17859 shlwapi.dll C:\Windows\System32\shlwapi.dll 6.1.7601.17514 ole32.dll C:\Windows\System32\ole32.dll 6.1.7601.17514 oleaut32.dll C:\Windows\System32\oleaut32.dll 6.1.7601.17676 msvcp90.dll C:\Windows\winsxs\amd64_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.4940_none_08e4299fa83d7e3c\msvcp90.dll 9.0.30729.4940 imm32.dll C:\Windows\System32\imm32.dll 6.1.7600.16385 msctf.dll C:\Windows\System32\msctf.dll 6.1.7600.16385 CRYPTBASE.dll C:\Windows\System32\CRYPTBASE.dll 6.1.7600.16385 cryptsp.dll C:\Windows\System32\cryptsp.dll 6.1.7600.16385 msvcp60.dll C:\Windows\System32\msvcp60.dll 7.0.7600.16385 mswsock.dll C:\Windows\System32\mswsock.dll 6.1.7601.17514 WSHTCPIP.DLL C:\Windows\System32\WSHTCPIP.DLL 6.1.7600.16385 nlaapi.dll C:\Windows\System32\nlaapi.dll 6.1.7601.17514 NapiNSP.dll C:\Windows\System32\NapiNSP.dll 6.1.7600.16385 dnsapi.dll C:\Windows\System32\dnsapi.dll 6.1.7601.17570 winrnr.dll C:\Windows\System32\winrnr.dll 6.1.7600.16385 IPHLPAPI.DLL C:\Windows\System32\IPHLPAPI.DLL 6.1.7601.17514 winnsi.dll C:\Windows\System32\winnsi.dll 6.1.7600.16385 FWPUCLNT.DLL C:\Windows\System32\FWPUCLNT.DLL 6.1.7600.16385 rasadhlp.dll C:\Windows\System32\rasadhlp.dll 6.1.7600.16385 rsaenh.dll C:\Windows\System32\rsaenh.dll 6.1.7600.16385 profapi.dll C:\Windows\System32\profapi.dll 6.1.7600.16385 cryptnet.dll C:\Windows\System32\cryptnet.dll 6.1.7600.16385 clbcatq.dll C:\Windows\System32\clbcatq.dll 2001.12.8530.16385 adsldp.dll C:\Windows\System32\adsldp.dll 6.1.7600.16385 sxs.dll C:\Windows\System32\sxs.dll 6.1.7601.17514 netapi32.dll C:\Windows\System32\netapi32.dll 6.1.7601.17887 netutils.dll C:\Windows\System32\netutils.dll 6.1.7601.17514 srvcli.dll C:\Windows\System32\srvcli.dll 6.1.7601.17514 wkscli.dll C:\Windows\System32\wkscli.dll 6.1.7601.17514 sspicli.dll C:\Windows\System32\sspicli.dll 6.1.7601.17725 cscapi.dll C:\Windows\System32\cscapi.dll 6.1.7601.17514 logoncli.dll C:\Windows\System32\logoncli.dll 6.1.7601.17514 credssp.dll C:\Windows\System32\credssp.dll 6.1.7601.17514 wship6.dll C:\Windows\System32\wship6.dll 6.1.7600.16385 ntdsapi.dll C:\Windows\System32\ntdsapi.dll 6.1.7600.16385 kerberos.dll C:\Windows\System32\kerberos.dll 6.1.7601.17926 cryptdll.dll C:\Windows\System32\cryptdll.dll 6.1.7600.16385 bcrypt.dll C:\Windows\System32\bcrypt.dll 6.1.7600.16385 bcryptprimitives.dll C:\Windows\System32\bcryptprimitives.dll 6.1.7601.17514 RpcRtRemote.dll C:\Windows\System32\RpcRtRemote.dll 6.1.7601.17514 certcli.dll C:\Windows\System32\certcli.dll 6.1.7601.17514 userenv.dll C:\Windows\System32\userenv.dll 6.1.7601.17514 SensApi.dll C:\Windows\System32\SensApi.dll 6.1.7600.16385 dsrole.dll C:\Windows\System32\dsrole.dll 6.1.7600.16385 adsmsext.dll C:\Windows\System32\adsmsext.dll 6.1.7600.16385 winspool.drv C:\Windows\System32\winspool.drv 6.1.7601.17514 samcli.dll C:\Windows\System32\samcli.dll 6.1.7601.17514 tsuserex.dll C:\Windows\System32\tsuserex.dll 6.1.7601.17514 comctl32.dll C:\Windows\winsxs\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.17514_none_fa396087175ac9ac\comctl32.dll 6.10.7601.17514 winsta.dll C:\Windows\System32\winsta.dll 6.1.7601.17514 samlib.dll C:\Windows\System32\samlib.dll 6.1.7600.16385 schannel.dll C:\Windows\System32\schannel.dll 6.1.7601.17856 ncrypt.dll C:\Windows\System32\ncrypt.dll 6.1.7601.17856 gpapi.dll C:\Windows\System32\gpapi.dll 6.1.7600.16385 msv1_0.dll C:\Windows\System32\msv1_0.dll 6.1.7601.17514 apphelp.dll C:\Windows\System32\apphelp.dll 6.1.7601.17514 Also call stack analysis of the dump indicate the crash in ntdll.dll called from sqllite3.dll. Version of SQLLite – 3.3.4 Are there any know issues with memory corruption with sqllite 3.3.4 version? We see this issue once the service starts processing more requests. Anyone seen this issue? -- View this message in context: http://sqlite.1065341.n5.nabble.com/Sqllite3-dll-crash-on-Windows-2008-R2-Server-The-thread-tried-to-read-from-or-write-to-a-virtual-add-tp66232.html Sent from the SQLite mailing list archive at Nabble.com. _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users