[Mono-list] odbc in multiprocessor system

Glen Ford glen.ford at spinvox.com
Wed Feb 14 08:28:48 EST 2007


Hi,


Has anyone stuck problems with using ODBC against a multiprocessor 
system?  Our system runs fine on a single core, but when moved to a 
multiple core machine we get crashes under xsp2 with various stack 
traces pointing towards System.Data.Odbc.libodbc (example snippet below)

We are using unixODBC compiled threadsafe and thread-safe Informix 
libraries.

Before raising a bug I thought I would just see if anyone else has 
experienced similar.


Regards,


Glen



Stacktrace:

  at (wrapper managed-to-native) System.Data.Odbc.libodbc.SQLGetData 
(intptr,uint16,System.Data.Odbc.SQL_C_TYPE,byte[],int,int&) <0x0000e>
  at (wrapper managed-to-native) System.Data.Odbc.libodbc.SQLGetData 
(intptr,uint16,System.Data.Odbc.SQL_C_TYPE,byte[],int,int&) <0xffffffff>
  at System.Data.Odbc.OdbcDataReader.GetValue (int) [0x0030a] in 
/tmp/scratch/BUILD/mono-1.2.3/mcs/class/System.Data/System.Data.Odbc/OdbcDataReader.cs:704
  at System.Data.Odbc.OdbcDataReader.IsDBNull (int) [0x00000] in 
/tmp/scratch/BUILD/mono-1.2.3/mcs/class/System.Data/System.Data.Odbc/OdbcDataReader.cs:861
  at StringDataContainer.SetItemFromDataRecord 
(int,System.Data.IDataRecord,int) [0x00000] in 
/tmp/scratch/BUILD/mono-1.2.3/mcs/class/System.Data/System.Data.Common/DataContaine
r.cs:1186
  at System.Data.Common.RecordCache.ReadIDataRecord 
(int,System.Data.IDataRecord,int[],int) [0x00039] in 
/tmp/scratch/BUILD/mono-1.2.3/mcs/class/System.Data/System.Data.Common/R
ecordCache.cs:151
  at System.Data.DataTable.LoadDataRow 
(System.Data.IDataRecord,int[],int,bool) [0x0000e] in 
/tmp/scratch/BUILD/mono-1.2.3/mcs/class/System.Data/System.Data/DataTable.cs:1798
  at System.Data.Common.DataAdapter.FillTable 
(System.Data.DataTable,System.Data.IDataReader,int,int,int&) [0x00088] 
in /tmp/scratch/BUILD/mono-1.2.3/mcs/class/System.Data/Syste
m.Data.Common/DataAdapter.cs:455
  at System.Data.Common.DataAdapter.FillInternal 
(System.Data.DataSet,string,System.Data.IDataReader,int,int) [0x0009c] 
in /tmp/scratch/BUILD/mono-1.2.3/mcs/class/System.Data/Sy
stem.Data.Common/DataAdapter.cs:544
  at System.Data.Common.DataAdapter.Fill 
(System.Data.DataSet,string,System.Data.IDataReader,int,int) [0x00000] 
in /tmp/scratch/BUILD/mono-1.2.3/mcs/class/System.Data/System.Dat
a.Common/DataAdapter.cs:602
  at System.Data.Common.DbDataAdapter.Fill 
(System.Data.DataSet,int,int,string,System.Data.IDbCommand,System.Data.CommandBehavior) 
[0x0004f] in /tmp/scratch/BUILD/mono-1.2.3/mcs
/class/System.Data/System.Data.Common/DbDataAdapter.cs:322
  at System.Data.Common.DbDataAdapter.Fill (System.Data.DataSet) 
[0x00000] in




More information about the Mono-list mailing list