Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there.
Changed by [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=79646 --- shadow/79646 2006-10-11 12:15:26.000000000 -0400 +++ shadow/79646.tmp.5857 2006-10-11 12:15:26.000000000 -0400 @@ -0,0 +1,66 @@ +Bug#: 79646 +Product: Mono: Class Libraries +Version: 1.0 +OS: Mac OS X 10.3 +OS Details: 10.4.7 run on PowerBook G4 +Status: NEW +Resolution: +Severity: +Priority: Wishlist +Component: Sys.Data +AssignedTo: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +TargetMilestone: --- +URL: +Cc: +Summary: ODBC sample crashes + +Description of Problem: +When I try to run example from http://www.mono-project.com/ODBC I got +issue with configuration mentioned in list archive http://lists.ximian.com/ +pipermail/mono-osx/2005-April/000090.html. After fix the next issue is +crash with System.ArgumentOutOfRangeException. + +Steps to reproduce the problem: +1. Compile code from http://www.mono-project.com/ODBC +2. fix configuration issue as descibed at http://lists.ximian.com/ +pipermail/mono-osx/2005-April/000090.html +3. Run application + +Actual Results: +Unhandled Exception: System.ArgumentOutOfRangeException: ArgRange_Array +Parameter name: count + at System.Text.ASCIIEncoding.GetString (System.Byte[] bytes, Int32 +index, Int32 count) [0x00000] + at System.Data.Odbc.OdbcDataReader.GetColumnAttributeStr (Int32 column, +FieldIdentifier fieldId) [0x00000] + at System.Data.Odbc.OdbcDataReader.GetSchemaTable () [0x00000] + at (wrapper remoting-invoke-with-check) +System.Data.Odbc.OdbcDataReader:GetSchemaTable () + at System.Data.Odbc.OdbcDataReader..ctor (System.Data.Odbc.OdbcCommand +command, CommandBehavior behavior) [0x00000] + at System.Data.Odbc.OdbcDataReader..ctor (System.Data.Odbc.OdbcCommand +command, CommandBehavior behavior, Int32 recordAffected) [0x00000] + at (wrapper remoting-invoke-with-check) +System.Data.Odbc.OdbcDataReader:.ctor +(System.Data.Odbc.OdbcCommand,System.Data.CommandBehavior,int) + at System.Data.Odbc.OdbcCommand.ExecuteReader (CommandBehavior +behavior) [0x00000] + at System.Data.Odbc.OdbcCommand.ExecuteReader () [0x00000] + at System.Data.Odbc.OdbcCommand.System.Data.IDbCommand.ExecuteReader +() [0x00000] + at ODBCAccess.Class1.odbcMySQL () [0x00000] + at ODBCAccess.Class1.Main (System.String[] args) [0x00000] + + +Expected Results: +some output from database + +How often does this happen? +Always + +Additional Information: +INSERT statements work fine, cresh is only on SELECT. Other applications +like Excel can use the same ODBC without any problems. The problem does +not exists on the Windows, only on the Mac OS. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
