System.Data.SQLite
Artifact Content
Not logged in

Artifact f1aa7374c96aaccc948e8f2e86ebc4d260bcc073:

Ticket change [f1aa7374c9] - New ticket [b0778fcc04] AccessViolationException on ExecuteReader. by anonymous 2019-02-03 18:13:12.
D 2019-02-03T18:13:12.976
J foundin 1.0.109.2
J icomment 1.\screate\stable\swith\scommand:\r\n\r\nCREATE\sTABLE\s"t_LacCell_txt_cd3fbc38d1484699afbd8f9febc3fa58"\s("analysis_result_id"\sinteger\sprimary\skey\sautoincrement,\s"Lac"\stext,\s"Cell"\stext);\r\n\r\n2.\screate\sindex\swith\scommand:\r\n\r\nCREATE\sINDEX\s"t_LacCell_txt_cd3fbc38d1484699afbd8f9febc3fa58_Lac_Cell__lower"\son\s"t_LacCell_txt_cd3fbc38d1484699afbd8f9febc3fa58"\s(lower("Lac"),\slower("Cell"))\r\n\r\n3.\sselect\r\n\s\s\s\sSQLiteConnectionStringBuilder\sconnectionStringBuilder\s=\snew\sSQLiteConnectionStringBuilder()\r\n\s\s\s\s{\r\n\s\s\s\s\s\s\s\sDataSource\s=\s@"test.sqlite"\r\n\s\s\s\s};\r\n\r\n\s\s\s\sSQLiteConnection\sconnection\s=\snew\sSQLiteConnection(connectionStringBuilder.ConnectionString);\r\n\s\s\s\sconnection.Open();\r\n\r\n\s\s\s\sSQLiteCommand\scommand\s=\sconnection.CreateCommand();\r\n\s\s\s\scommand.CommandText\s=\s@"\r\n\s\s\s\s\s\s\s\s\s\s\s\sselect\s*\s\r\n\s\s\s\s\s\s\s\s\s\s\s\sfrom\s(""t_LacCell_txt_cd3fbc38d1484699afbd8f9febc3fa58"")\s\r\n\s\s\s\s\s\s\s\s\s\s\s\swhere\s\r\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s(lower(""Lac"")\sis\snull\sand\s10002\sis\snull\sor\slower(""Lac"")\s=\s10002)\s\r\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sand\s\r\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s(lower(""Cell"")\sis\snull\sand\s6378\sis\snull\sor\slower(""Cell"")\s=\s6378);";\r\n\r\n\s\s\s\susing\s(SQLiteDataReader\sreader\s=\scommand.ExecuteReader())\r\n\s\s\s\s{\r\n\r\n\s\s\s\s}\r\n\s\s\s\s\s\s\s\s\s\s\s\s\r\n4.\sAccessViolationException\son\scommand.ExecuteReader\r\n\r\nException\sthrown:\sread\saccess\sviolation.\r\np\swas\snullptr.\r\n\r\ncall\sstack:\r\n\s\s\s\sSQLite.Interop.dll!sqlite3VdbeCursorMoveto(VdbeCursor\s*\s*\spp,\sint\s*\spiCol)\sLine\s78081\tC\r\n\s\s\s\sSQLite.Interop.dll!sqlite3VdbeExec(Vdbe\s*\sp)\sLine\s84375\tC\r\n\s\s\s\sSQLite.Interop.dll!sqlite3Step(Vdbe\s*\sp)\sLine\s80303\tC\r\n\s\s\s\sSQLite.Interop.dll!sqlite3_step(sqlite3_stmt\s*\spStmt)\sLine\s80366\tC\r\n\s\s\s\s[Managed\sto\sNative\sTransition]\t\r\n\s\s\s\sSystem.Data.SQLite.dll!System.Data.SQLite.SQLite3.Step(System.Data.SQLite.SQLiteStatement\sstmt)\sLine\s1142\tC#\r\n\s\s\s\sSystem.Data.SQLite.dll!System.Data.SQLite.SQLiteDataReader.NextResult()\sLine\s1924\tC#\r\n\s\s\s\sSystem.Data.SQLite.dll!System.Data.SQLite.SQLiteDataReader.SQLiteDataReader(System.Data.SQLite.SQLiteCommand\scmd,\sSystem.Data.CommandBehavior\sbehave)\sLine\s124\tC#\r\n\s\s\s\sSystem.Data.SQLite.dll!System.Data.SQLite.SQLiteCommand.ExecuteReader(System.Data.CommandBehavior\sbehavior)\sLine\s943\tC#\r\n\s\s\s\sConsoleApp4.exe!ConsoleApp4.Program.Main(string[]\sargs)\sLine\s33\tC#\r\n\s\s\s\s[Native\sto\sManaged\sTransition]\t\r\n\s\s\s\smscoreei.dll!00007ff955c17b2d()\tUnknown\r\n\s\s\s\smscoree.dll!00007ff955cba57c()\tUnknown\r\n\s\s\s\skernel32.dll!00007ff9865f81f4()\tUnknown\r\n\s\s\s\sntdll.dll!00007ff986c6a251()\tUnknown
J login anonymous
J mimetype text/plain
J private_contact 68c66c2c5181de47674086a5d3f803fbc50b48c6
J severity Important
J status Open
J title AccessViolationException\son\sExecuteReader
J type Incident
K b0778fcc041fdca4a8e0b477351b074d48bc6494
U anonymous
Z 9ed41e73cc4d8462498dbef353c89525