[Mono-bugs] [Bug 61515][Wis] New - NullReference exception in WaitOne()
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Wed, 14 Jul 2004 00:42:07 -0400 (EDT)
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 michi@zeroc.com.
http://bugzilla.ximian.com/show_bug.cgi?id=61515
--- shadow/61515 2004-07-14 00:42:07.000000000 -0400
+++ shadow/61515.tmp.25760 2004-07-14 00:42:07.000000000 -0400
@@ -0,0 +1,39 @@
+Bug#: 61515
+Product: Mono: Runtime
+Version: unspecified
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Wishlist
+Component: misc
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: michi@zeroc.com
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: NullReference exception in WaitOne()
+
+I'm seeing intermittent failures (once every few thousand calls) on a call
+to WaitOne() with RedHat 8, dual processor machine:
+
+System.NullReferenceException: Object reference not set to an instance of
+an object
+in (unmanaged) (wrapper managed-to-native)
+System.Threading.WaitHandle:WaitOne_internal (intptr,int,bool)
+in <0x00004> (wrapper managed-to-native)
+System.Threading.WaitHandle:WaitOne_internal (intptr,int,bool)
+in <0x00088> (wrapper remoting-invoke-with-check)
+System.Threading.WaitHandle:WaitOne_internal (intptr,int,bool)
+in [0x0000f] (at
+/home/michi/software/mono/mcs/class/corlib/System.Threading/WaitHandle.cs:178)
+System.Threading.WaitHandle:WaitOne ()
+in [0x00007] (at /home/michi/src/icecs/src/Ice/BasicStream.cs:1869)
+IceInternal.BasicStream:getUserExceptionFactory (string)
+in [0x00015] (at /home/michi/src/icecs/src/Ice/BasicStream.cs:1320)
+IceInternal.BasicStream:throwException ()
+
+The corresponding code is very simple, and runs fine with the .NET run
+time. (It works fine when compiled with either Visual C# or mcs.)