[Mono-bugs] [Bug 661189] New: Applications crashes when I call SQLiteDataAdapter.Fill(Datatable)

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Dec 23 05:11:08 EST 2010


https://bugzilla.novell.com/show_bug.cgi?id=661189

https://bugzilla.novell.com/show_bug.cgi?id=661189#c0


           Summary: Applications crashes when I call
                    SQLiteDataAdapter.Fill(Datatable)
    Classification: Mono
           Product: Mono: Tools
           Version: 2.8.x
          Platform: x86
        OS/Version: openSUSE 11.3
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: VMware Image
        AssignedTo: ajorgensen at novell.com
        ReportedBy: jan.ruhlaender at batronix.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US)
AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.224 Safari/534.10

My Application crashes when I try to fill a Table through SQliteDataAdaper.Fill
Method. On other test environments (Windows 7, Ubuntu 10.04 LTS) it works:

On Google i found this bug report from 2008 that seams to be the same:
https://bugzilla.novell.com/show_bug.cgi?id=380252

This is the printed Stack Trace:
System.EntryPointNotFoundException: sqlite3_column_origin_name
  at (wrapper managed-to-native)
Mono.Data.Sqlite.UnsafeNativeMethods:sqlite3_column_origin_name (intptr,int)
  at Mono.Data.Sqlite.SQLite3.ColumnOriginalName
(Mono.Data.Sqlite.SqliteStatement stmt, Int32 index) [0x00000] in <filename
unknown>:0 
  at Mono.Data.Sqlite.SqliteDataReader.GetSchemaTable (Boolean wantUniqueInfo,
Boolean wantDefaultValue) [0x00000] in <filename unknown>:0 
  at Mono.Data.Sqlite.SqliteDataReader.GetSchemaTable () [0x00000] in <filename
unknown>:0 
  at System.Data.Common.DataAdapter.BuildSchema (IDataReader reader,
System.Data.DataTable table, SchemaType schemaType, MissingSchemaAction
missingSchAction, MissingMappingAction missingMapAction,
System.Data.Common.DataTableMappingCollection dtMapping) [0x00000] in <filename
unknown>:0 
  at System.Data.Common.DataAdapter.BuildSchema (IDataReader reader,
System.Data.DataTable table, SchemaType schemaType) [0x00000] in <filename
unknown>:0 
  at System.Data.Common.DataAdapter.FillTable (System.Data.DataTable dataTable,
IDataReader dataReader, Int32 startRecord, Int32 maxRecords, System.Int32&
counter) [0x00000] in <filename unknown>:0 
  at System.Data.Common.DataAdapter.FillInternal (System.Data.DataTable
dataTable, IDataReader dataReader) [0x00000] in <filename unknown>:0 
  at System.Data.Common.DataAdapter.Fill (System.Data.DataTable dataTable,
IDataReader dataReader) [0x00000] in <filename unknown>:0 
  at System.Data.Common.DbDataAdapter.Fill (System.Data.DataTable dataTable,
IDbCommand command, CommandBehavior behavior) [0x00000] in <filename unknown>:0 
  at System.Data.Common.DbDataAdapter.Fill (System.Data.DataTable dataTable)
[0x00000] in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) System.Data.Common.DbDataAdapter:Fill
(System.Data.DataTable)


Reproducible: Always

Steps to Reproduce:
1. Create a New SQLiteDataAdapter
2. Call the Fill(aDataTable) Method
Actual Results:  
I got an Exception.

Expected Results:  
A filled DataTable ... Thats it...

I need a rock solid workaround.

-- 
Configure bugmail: https://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