[Mono-bugs] [Bug 380252] Mono.Data.SQLite crashes on call to SqliteDataAdapter.Fill(DataTable table) with simple SELECT

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Feb 19 08:04:01 EST 2010


http://bugzilla.novell.com/show_bug.cgi?id=380252

http://bugzilla.novell.com/show_bug.cgi?id=380252#c2


Alexander Karpenko <alexanderk at remobjects.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |alexanderk at remobjects.com

--- Comment #2 from Alexander Karpenko <alexanderk at remobjects.com> 2010-02-19 13:04:00 UTC ---
(In reply to comment #1)
> It just runs fine. Make sure your sqlite 3 is correct and of released version.
> 
> At least I found sqlite3_column_origin_name() from the official documentation:
> http://www.sqlite.org/c3ref/funclist.html

I've get the same issue with MonoDevelop on Mac OS X.
Used latest ADO.NET 2.0 Provider for SQLite v1.0.65.0 from here:
http://sqlite.phxsoftware.com/

In my case I found that when tried to get schema table from reader:

SQLiteCommand sel = new SQLiteCommand("SELECT * FROM test;", conn);            
SQLiteDataReader rdr = sel.ExecuteReader();
DataTable schema = rdr.GetSchemaTable();

Unhandled Exception: System.EntryPointNotFoundException:
sqlite3_column_origin_name
  at (wrapper managed-to-native)
System.Data.SQLite.UnsafeNativeMethods:sqlite3_column_origin_name (intptr,int)
  at System.Data.SQLite.SQLite3.ColumnOriginalName
(System.Data.SQLite.SQLiteStatement stmt, Int32 index) [0x00000] in <filename
unknown>:0 
  at System.Data.SQLite.SQLiteDataReader.GetSchemaTable (Boolean
wantUniqueInfo, Boolean wantDefaultValue) [0x00000] in <filename unknown>:0 
  at System.Data.SQLite.SQLiteDataReader.GetSchemaTable () [0x00000] in
<filename unknown>:0 
  at (wrapper remoting-invoke-with-check)
System.Data.SQLite.SQLiteDataReader:GetSchemaTable ()
  at TestSqlLite.MainClass.Main (System.String[] args) [0x00024] in
/Users/alexander/Projects/sqlitetest/sqlitetest/Main.cs:27 
The application was terminated by a signal: SIGHUP

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list