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=78597 --- shadow/78597 2006-06-07 07:25:32.000000000 -0400 +++ shadow/78597.tmp.27854 2006-06-07 07:25:32.000000000 -0400 @@ -0,0 +1,60 @@ +Bug#: 78597 +Product: Mono: Class Libraries +Version: 1.0 +OS: +OS Details: +Status: NEW +Resolution: +Severity: +Priority: Major +Component: Mono.Security +AssignedTo: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +TargetMilestone: --- +URL: +Cc: +Summary: Object reference not set to an instance of an object + +Description of Problem: +"Object reference not set to an instance of an object." in +Mono.Security.dll when loading large amounts of data with ssl+npgsql. + +Steps to reproduce the problem: +I imagine that this will be difficult to reproduce, but here we go +1. Load 339 png/jpg files into postgresql via npgsql with a stored +procedure. These files should were max of 14M and min of 400kb totally 450Mb +2. On the last insert, while executing npgsql bind, the npgsql library +calls SslStreamBase.ReadByte and crashes. + + +Expected Results: + +Libraries should never reference null. If it is supplied a null value and +needs to throw an exception it should report a reasonable error in the +exception. + +How often does this happen? + +The test case on my machine is 100% predictable. It doesn't seem related +to the files that are used. It is related to the amount of data transfered. + +Additional Information: + +referencing monocharge-20060605.tar.gz, made sure that there was no other +mono.security.dll in gac + +Using Visual Studio express 2005 the program connects to postgresql 8.1.3 +via ssl+npgsql. + +InnerException:"Object reference not set to an instance of an object." + +System.IO.IOException occurred + Message="IO exception during read." + Source="Mono.Security" + StackTrace: + at Mono.Security.Protocol.Tls.SslStreamBase.Read(Byte[] buffer, +Int32 offset, Int32 count) + at System.IO.BufferedStream.ReadByte() + at Npgsql.NpgsqlState.ProcessBackendResponses_Ver_3(NpgsqlConnector +context) in D:\csharpd\Npgsql1.0RC1-src\Npgsql\Npgsql\NpgsqlState.cs:line 463 _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
