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=79003 --- shadow/79003 2006-08-03 10:08:32.000000000 -0400 +++ shadow/79003.tmp.20587 2006-08-03 10:08:32.000000000 -0400 @@ -0,0 +1,52 @@ +Bug#: 79003 +Product: Mono: Runtime +Version: unspecified +OS: +OS Details: +Status: NEW +Resolution: +Severity: +Priority: Minor +Component: JIT +AssignedTo: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +TargetMilestone: --- +URL: +Cc: +Summary: SIGSEGV on 2.0 only + +Compile and run the following program using gmcs or MS csc for 2.0: +----------------- +using System; +using System.Net; + +class Test { + static void Main () + { + CookieCollection coll = new CookieCollection (); + coll.Add (new Cookie ("hola", "adios")); + Console.WriteLine (coll [0].GetHashCode ()); + Cookie cookie = new Cookie ("hola", "adios"); + cookie.Expired = true; + coll.Add (cookie); + cookie = coll [0]; + Console.WriteLine (cookie.GetHashCode ()); + Console.WriteLine (cookie.Expired); + Console.WriteLine (coll.Count); + } +} +----------------- + +Actual results: +Unhandled Exception: System.NullReferenceException: Object reference not +set to an instance of an object + at System.Net.Cookie.GetHashCode () [0x00000] + at Test.Main () [0x00000] + +Expected results: +It should print four lines with numbers and True/False. + +Additional data: +It happens on the 2.0 profile only on a gmcs or csc 8 compiled exe. If +compiled for the 1.1 profile, it works fine. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
