[Mono-dev] Mono Crash on writing row in database with mono.data.sqlite

Easy_Rider9999 jhmgbl2 at t-online.de
Tue Mar 24 15:31:10 EDT 2009


I have just installed Mono 2.2, I had the same Error before with mono1.9.1.

frmMain.OpenDatabase TestWrite1
frmMain.OpenDatabase Error inserting TestSymptom Application Error  at
24.03.2009 19:26:11 gstatus: frmMain.OpenDatabase TestWrite1 Version:
0.6.3370.33773
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
/media/disk-1/Downloads/Linux/mono-2.2/mcs/class/Mono.Data.Sqlite/Mono.Data.Sqlite_2.0/SQLite3.cs:399 
  at Mono.Data.Sqlite.SqliteDataReader.GetSchemaTable (Boolean
wantUniqueInfo, Boolean wantDefaultValue) [0x00440] in
/media/disk-1/Downloads/Linux/mono-2.2/mcs/class/Mono.Data.Sqlite/Mono.Data.Sqlite_2.0/SQLiteDataReader.cs:667 
  at Mono.Data.Sqlite.SqliteDataReader.GetSchemaTable () [0x00000] in
/media/disk-1/Downloads/Linux/mono-2.2/mcs/class/Mono.Data.Sqlite/Mono.Data.Sqlite_2.0/SQLiteDataReader.cs:600 
  at System.Data.Common.DataAdapter.BuildSchema (IDataReader reader,
System.Data.DataTable table, SchemaType schemaType, MissingSchemaAction
missingSchAction, MissingMappingAction missingMapAction,
System.Data.Common.DataTableMappingCollection dtMapping) [0x0003b] in
/media/disk-1/Downloads/Linux/mono-2.2/mcs/class/System.Data/System.Data.Common/DataAdapter.cs:284 
  at System.Data.Common.DataAdapter.BuildSchema (IDataReader reader,
System.Data.DataTable table, SchemaType schemaType) [0x00000] in
/media/disk-1/Downloads/Linux/mono-2.2/mcs/class/System.Data/System.Data.Common/DataAdapter.cs:257 
  at System.Data.Common.DataAdapter.FillTable (System.Data.DataTable
dataTable, IDataReader dataReader, Int32 startRecord, Int32 maxRecords,
System.Int32& counter) [0x00011] in
/media/disk-1/Downloads/Linux/mono-2.2/mcs/class/System.Data/System.Data.Common/DataAdapter.cs:428 
  at System.Data.Common.DataAdapter.FillInternal (System.Data.DataSet
dataSet, System.String srcTable, IDataReader dataReader, Int32 startRecord,
Int32 maxRecords) [0x0009b] in
/media/disk-1/Downloads/Linux/mono-2.2/mcs/class/System.Data/System.Data.Common/DataAdapter.cs:533 
  at System.Data.Common.DataAdapter.Fill (System.Data.DataSet dataSet,
System.String srcTable, IDataReader dataReader, Int32 startRecord, Int32
maxRecords) [0x00000] in
/media/disk-1/Downloads/Linux/mono-2.2/mcs/class/System.Data/System.Data.Common/DataAdapter.cs:589 
  at System.Data.Common.DbDataAdapter.Fill (System.Data.DataSet dataSet,
Int32 startRecord, Int32 maxRecords, System.String srcTable, IDbCommand
command, CommandBehavior behavior) [0x0004e] in
/media/disk-1/Downloads/Linux/mono-2.2/mcs/class/System.Data/System.Data.Common/DbDataAdapter.cs:308 
  at System.Data.Common.DbDataAdapter.Fill (System.Data.DataSet dataSet,
System.String srcTable) [0x00000] in
/media/disk-1/Downloads/Linux/mono-2.2/mcs/class/System.Data/System.Data.Common/DbDataAdapter.cs:249 
  at (wrapper remoting-invoke-with-check)
System.Data.Common.DbDataAdapter:Fill (System.Data.DataSet,string)
  at Repetit.net.T.SQLite.clsDBRep.InsertSymptom (System.String SympText,
System.Object KTID, Mono.Data.Sqlite.SqliteTransaction dTrans) [0x00000] 
 Innerexception: 
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
/media/disk-1/Downloads/Linux/mono-2.2/mcs/class/Mono.Data.Sqlite/Mono.Data.Sqlite_2.0/SQLite3.cs:399 
  at Mono.Data.Sqlite.SqliteDataReader.GetSchemaTable (Boolean
wantUniqueInfo, Boolean wantDefaultValue) [0x00440] in
/media/disk-1/Downloads/Linux/mono-2.2/mcs/class/Mono.Data.Sqlite/Mono.Data.Sqlite_2.0/SQLiteDataReader.cs:667 
  at Mono.Data.Sqlite.SqliteDataReader.GetSchemaTable () [0x00000] in
/media/disk-1/Downloads/Linux/mono-2.2/mcs/class/Mono.Data.Sqlite/Mono.Data.Sqlite_2.0/SQLiteDataReader.cs:600 
  at System.Data.Common.DataAdapter.BuildSchema (IDataReader reader,
System.Data.DataTable table, SchemaType schemaType, MissingSchemaAction
missingSchAction, MissingMappingAction missingMapAction,
System.Data.Common.DataTableMappingCollection dtMapping) [0x0003b] in
/media/disk-1/Downloads/Linux/mono-2.2/mcs/class/System.Data/System.Data.Common/DataAdapter.cs:284 
  at System.Data.Common.DataAdapter.BuildSchema (IDataReader reader,
System.Data.DataTable table, SchemaType schemaType) [0x00000] in
/media/disk-1/Downloads/Linux/mono-2.2/mcs/class/System.Data/System.Data.Common/DataAdapter.cs:257 
  at System.Data.Common.DataAdapter.FillTable (System.Data.DataTable
dataTable, IDataReader dataReader, Int32 startRecord, Int32 maxRecords,
System.Int32& counter) [0x00011] in
/media/disk-1/Downloads/Linux/mono-2.2/mcs/class/System.Data/System.Data.Common/DataAdapter.cs:428 
  at System.Data.Common.DataAdapter.FillInternal (System.Data.DataSet
dataSet, System.String srcTable, IDataReader dataReader, Int32 startRecord,
Int32 maxRecords) [0x0009b] in
/media/disk-1/Downloads/Linux/mono-2.2/mcs/class/System.Data/System.Data.Common/DataAdapter.cs:533 
  at System.Data.Common.DataAdapter.Fill (System.Data.DataSet dataSet,
System.String srcTable, IDataReader dataReader, Int32 startRecord, Int32
maxRecords) [0x00000] in
/media/disk-1/Downloads/Linux/mono-2.2/mcs/class/System.Data/System.Data.Common/DataAdapter.cs:589 
  at System.Data.Common.DbDataAdapter.Fill (System.Data.DataSet dataSet,
Int32 startRecord, Int32 maxRecords, System.String srcTable, IDbCommand
command, CommandBehavior behavior) [0x0004e] in
/media/disk-1/Downloads/Linux/mono-2.2/mcs/class/System.Data/System.Data.Common/DbDataAdapter.cs:308 
  at System.Data.Common.DbDataAdapter.Fill (System.Data.DataSet dataSet,
System.String srcTable) [0x00000] in
/media/disk-1/Downloads/Linux/mono-2.2/mcs/class/System.Data/System.Data.Common/DbDataAdapter.cs:249 
  at (wrapper remoting-invoke-with-check)
System.Data.Common.DbDataAdapter:Fill (System.Data.DataSet,string)
  at Repetit.net.T.SQLite.clsDBRep.InsertSymptom (System.String SympText,
System.Object KTID, Mono.Data.Sqlite.SqliteTransaction dTrans) [0x00000] 
System.ApplicationException: Error inserting Test Symptom --->
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
/media/disk-1/Downloads/Linux/mono-2.2/mcs/class/Mono.Data.Sqlite/Mono.Data.Sqlite_2.0/SQLite3.cs:399 
  at Mono.Data.Sqlite.SqliteDataReader.GetSchemaTable (Boolean
wantUniqueInfo, Boolean wantDefaultValue) [0x00440] in
/media/disk-1/Downloads/Linux/mono-2.2/mcs/class/Mono.Data.Sqlite/Mono.Data.Sqlite_2.0/SQLiteDataReader.cs:667 
  at Mono.Data.Sqlite.SqliteDataReader.GetSchemaTable () [0x00000] in
/media/disk-1/Downloads/Linux/mono-2.2/mcs/class/Mono.Data.Sqlite/Mono.Data.Sqlite_2.0/SQLiteDataReader.cs:600 
  at System.Data.Common.DataAdapter.BuildSchema (IDataReader reader,
System.Data.DataTable table, SchemaType schemaType, MissingSchemaAction
missingSchAction, MissingMappingAction missingMapAction,
System.Data.Common.DataTableMappingCollection dtMapping) [0x0003b] in
/media/disk-1/Downloads/Linux/mono-2.2/mcs/class/System.Data/System.Data.Common/DataAdapter.cs:284 
  at System.Data.Common.DataAdapter.BuildSchema (IDataReader reader,
System.Data.DataTable table, SchemaType schemaType) [0x00000] in
/media/disk-1/Downloads/Linux/mono-2.2/mcs/class/System.Data/System.Data.Common/DataAdapter.cs:257 
  at System.Data.Common.DataAdapter.FillTable (System.Data.DataTable
dataTable, IDataReader dataReader, Int32 startRecord, Int32 maxRecords,
System.Int32& counter) [0x00011] in
/media/disk-1/Downloads/Linux/mono-2.2/mcs/class/System.Data/System.Data.Common/DataAdapter.cs:428 
  at System.Data.Common.DataAdapter.FillInternal (System.Data.DataSet
dataSet, System.String srcTable, IDataReader dataReader, Int32 startRecord,
Int32 maxRecords) [0x0009b] in
/media/disk-1/Downloads/Linux/mono-2.2/mcs/class/System.Data/System.Data.Common/DataAdapter.cs:533 
  at System.Data.Common.DataAdapter.Fill (System.Data.DataSet dataSet,
System.String srcTable, IDataReader dataReader, Int32 startRecord, Int32
maxRecords) [0x00000] in
/media/disk-1/Downloads/Linux/mono-2.2/mcs/class/System.Data/System.Data.Common/DataAdapter.cs:589 
  at System.Data.Common.DbDataAdapter.Fill (System.Data.DataSet dataSet,
Int32 startRecord, Int32 maxRecords, System.String srcTable, IDbCommand
command, CommandBehavior behavior) [0x0004e] in
/media/disk-1/Downloads/Linux/mono-2.2/mcs/class/System.Data/System.Data.Common/DbDataAdapter.cs:308 
  at System.Data.Common.DbDataAdapter.Fill (System.Data.DataSet dataSet,
System.String srcTable) [0x00000] in
/media/disk-1/Downloads/Linux/mono-2.2/mcs/class/System.Data/System.Data.Common/DbDataAdapter.cs:249 
  at (wrapper remoting-invoke-with-check)
System.Data.Common.DbDataAdapter:Fill (System.Data.DataSet,string)
  at Repetit.net.T.SQLite.clsDBRep.InsertSymptom (System.String SympText,
System.Object KTID, Mono.Data.Sqlite.SqliteTransaction dTrans) [0x00000] 
  --- End of inner exception stack trace ---
  at Repetit.net.T.SQLite.frmMain.OpenDatabase (System.String& FileName)
[0x00000] 
  at (wrapper remoting-invoke-with-check)
Repetit.net.T.SQLite.frmMain:OpenDatabase (string&)
  at Repetit.net.T.SQLite.frmMain.frmMain_Load (System.Object eventSender,
System.EventArgs eventArgs) [0x00000] 
  at System.Windows.Forms.Form.OnLoad (System.EventArgs e) [0x00022] in
/media/disk-1/Downloads/Linux/mono-2.2/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs:2145 
  at System.Windows.Forms.Form.OnLoadInternal (System.EventArgs e) [0x00029]
in
/media/disk-1/Downloads/Linux/mono-2.2/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs:2962

Regards Hans
-- 
View this message in context: http://www.nabble.com/Mono-Crash-on-writing-row-in-database-with-mono.data.sqlite-tp22687944p22687944.html
Sent from the Mono - Dev mailing list archive at Nabble.com.



More information about the Mono-devel-list mailing list