Ticket Hash: | b4ef73b33a7ce8d9f941542711bf3eef4278a3da | |||
Title: | AccessViolationException on Close() | |||
Status: | Closed | Type: | Incident | |
Severity: | Important | Priority: | Medium | |
Subsystem: | Native_Assembly | Resolution: | External_Bug | |
Last Modified: | 2016-12-06 22:56:19 | |||
Version Found In: | 1.0.103 | |||
User Comments: | ||||
anonymous added on 2016-11-09 13:48:41:
(text/x-fossil-plain)
I am close connection another thread; System.AccessViolationException in System.Data.SQLite.dl in System.Data.SQLite.UnsafeNativeMethods.sqlite3_close_interop(IntPtr db) in System.Data.SQLite.SQLiteBase.CloseConnection(SQLiteConnectionHandle hdl, IntPtr db) in System.Data.SQLite.SQLiteConnectionHandle.ReleaseHandle() in System.Runtime.InteropServices.CriticalHandle.Cleanup() in System.Data.SQLite.SQLite3.Close(Boolean canThrow) in System.Data.SQLite.SQLiteConnection.Close() in System.Data.SQLite.SQLiteConnection.Dispose(Boolean disposing) in System.Data.SQLite.SQLiteConnection.Dispose() mistachkin added on 2016-11-09 15:54:00: (text/x-fossil-plain) Is more than one thread at a time using System.Data.SQLite? Are any objects being shared by more than one thread? Is it possible to get a native stack trace? anonymous added on 2016-11-09 22:16:34: (text/x-fossil-plain) I have a problem using https://github.com/abiliojr/fts5-snowball/blob/master/src/fts5stemmer.c anonymous added on 2016-11-10 06:50:36: (text/x-fossil-plain) StackTrace: in System.Data.SQLite.UnsafeNativeMethods.sqlite3_close_interop(IntPtr db) in System.Data.SQLite.SQLiteBase.CloseConnection(SQLiteConnectionHandle hdl, IntPtr db) in System.Data.SQLite.SQLiteConnectionHandle.ReleaseHandle() in System.Runtime.InteropServices.CriticalHandle.Cleanup() in System.Data.SQLite.SQLite3.Close(Boolean canThrow) in System.Data.SQLite.SQLiteConnection.Close() in System.Data.SQLite.SQLiteConnection.Dispose(Boolean disposing) in System.Data.SQLite.SQLiteConnection.Dispose() in ConsoleApplication1.Program.<Test1>d__2.MoveNext() in D:\test\ConsoleApplication1\ConsoleApplication1\Program.cs:строка 125 mistachkin added on 2016-11-10 19:44:42: (text/x-fossil-plain) How does the "fts5stemmer.c" code impact this issue? Does the issue only occur when using this extension? mistachkin added on 2016-11-10 19:45:25: (text/x-fossil-plain) That is the same stack trace as before. It only shows the managed call frames. In order to get the native stack trace, you would need to enable native debugging in Visual Studio or WinDbg. anonymous added on 2016-11-11 06:44:25: (text/x-fossil-plain) Example code with problem: http://pastebin.com/9CB4Mn2J src and binary fts5 stemmer: https://yadi.sk/d/Nwpj1stayNgWx anonymous added on 2016-11-11 13:10:27: (text/x-fossil-plain) problem in a function call before the "destroyStemmer" function of the "ftsSnowballTokenize" I am add printf function call with random number. https://yadi.sk/d/64sDveC0yPwgT mistachkin added on 2016-12-06 22:56:19: (text/x-fossil-plain) This is most likely an issue with the external project "fts5-snowball". |