System.Data.SQLite

Login
This project makes use of Eagle, provided by Mistachkin Systems.
Eagle: Secure Software Automation
Ticket Hash: 3b43ffdbd7879ac4c972e02281226f32e911a690
Title: Crash occurred due to access violation of memory
Status: Closed Type: Incident
Severity: Severe Priority: Medium
Subsystem: Integration_Via_PInvoke Resolution: Unable_To_Reproduce
Last Modified: 2014-07-20 08:38:16
Version Found In: 1.0.81.0
User Comments:
anonymous added on 2014-06-25 08:29:20: (text/x-fossil-plain)
The application was execute SQL query :
(SELECT Name FROM DBAuthorizedEntities WHERE Id = 'sample@mail.com')
and crash was occured.

The Managed stack:
Exception object: 05ddace8
Exception type:   System.AccessViolationException
Message:          Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
InnerException:   <none>
StackTrace (generated):
    SP       IP       Function
    00000000 00000000 System_Data_SQLite!System.Data.SQLite.UnsafeNativeMethods.sqlite3_prepare_interop(IntPtr, IntPtr, Int32, IntPtr ByRef, IntPtr ByRef, Int32 ByRef)+0x1
    179EE870 04695200 System_Data_SQLite!System.Data.SQLite.SQLite3.Prepare(System.Data.SQLite.SQLiteConnection, System.String, System.Data.SQLite.SQLiteStatement, UInt32, System.String ByRef)+0x190
    179EE8EC 04694F9F System_Data_SQLite!System.Data.SQLite.SQLiteCommand.BuildNextCommand()+0xb7
    179EE928 04694E73 System_Data_SQLite!System.Data.SQLite.SQLiteCommand.GetStatement(Int32)+0x13
    179EE938 04694C44 System_Data_SQLite!System.Data.SQLite.SQLiteDataReader.NextResult()+0xd4
    179EE94C 04694B3A System_Data_SQLite!System.Data.SQLite.SQLiteDataReader..ctor(System.Data.SQLite.SQLiteCommand, System.Data.CommandBehavior)+0x72
    179EE95C 046946EE System_Data_SQLite!System.Data.SQLite.SQLiteCommand.ExecuteReader(System.Data.CommandBehavior)+0x2e
    179EE970 046962C6 System_Data_SQLite!System.Data.SQLite.SQLiteCommand.ExecuteReader()+0x16

------------------------------------------

Unmanaged stack:
ChildEBP RetAddr  Args to Child              
179ee790 771f8d28 00000000 00000000 0ece7278 ntdll!RtlpWaitOnCriticalSection+0xbd (FPO: [Non-Fpo])  Crashed here
179ee7b8 513e969d 0ed0b960 179ee7dc 5145c798 ntdll!RtlEnterCriticalSection+0x150 (FPO: [Non-Fpo])
WARNING: Stack unwind information not available. Following frames may be wrong.
179ee7c4 5145c798 0ed0b960 179ee89c 179ee8ac System_Data_SQLite!sqlite3_release_memory+0x3d
179ee7dc 5145cfb0 05ddac64 0000007d 00000000 System_Data_SQLite!sqlite3_declare_vtab+0x858
179ee874 6f69f2d9 00000000 00000000 05cf6a40 System_Data_SQLite!sqlite3_prepare_interop+0x20

mistachkin added on 2014-06-25 14:19:37: (text/x-fossil-plain)
Could you please update to 1.0.93.0 and see if the issue still occurs?

mistachkin added on 2014-06-26 23:26:21: (text/x-fossil-plain)
Another question: Is the same System.Data.SQLite object being used from multiple
threads?