[Mono-bugs] [Bug 61514][Maj] New - assertion failure in mini-exceptions.c
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Wed, 14 Jul 2004 00:39:11 -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=61514
--- shadow/61514 2004-07-14 00:39:11.000000000 -0400
+++ shadow/61514.tmp.25704 2004-07-14 00:39:11.000000000 -0400
@@ -0,0 +1,52 @@
+Bug#: 61514
+Product: Mono: Runtime
+Version: unspecified
+OS:
+OS Details: RedHat 8
+Status: NEW
+Resolution:
+Severity:
+Priority: Major
+Component: misc
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: michi@zeroc.com
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: assertion failure in mini-exceptions.c
+
+I just got the following failure during a run of my code:
+
+** ERROR **: file mini-exceptions.c: line 261 (mono_handle_exception):
+assertion failed: (jit_tls->end_of_stack)
+aborting...
+
+As far as I can tell, the problem is related to a call to Monitor.Wait() in
+the following method:
+
+ public virtual bool check()
+ {
+ lock(this)
+ {
+ while(!_called)
+ {
+ Monitor.Wait(this, TimeSpan.FromMilliseconds(5000));
+
+ if(!_called)
+ {
+ return false; // Must be timeout.
+ }
+ }
+
+ _called = false;
+ return true;
+ }
+ }
+
+The problem is definitely intermittent -- I had hundreds of runs without
+seeing this.
+
+Cheers,
+
+Michi.