[Mono-bugs] [Bug 82286][Nor] Changed - Assertion in new "small thread id" code

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Aug 8 05:56:52 EDT 2007


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 juraj at hotfeet.ch.

http://bugzilla.ximian.com/show_bug.cgi?id=82286

--- shadow/82286	2007-08-03 11:38:56.000000000 -0400
+++ shadow/82286.tmp.3112	2007-08-08 05:56:52.000000000 -0400
@@ -108,6 +108,31 @@
 Could you please test it?
 
 ------- Additional Comments From mark.probst at gmail.com  2007-08-03 11:38 -------
 Created an attachment (id=19698)
 small_id_assert.diff
 
+
+------- Additional Comments From juraj at hotfeet.ch  2007-08-08 05:56 -------
+I tried the following:
+
+static void
+small_id_free (int id)
+{
+        if(id == -2) {
+                printf("********* id == -2 *********");
+                return;
+        }
+                
+        g_assert (id >= 0 && id < small_id_table_size);
+        g_assert (small_id_table [id] != NULL);
+
+        small_id_table [id] = NULL;
+}
+
+Once the "id == -2" case is hit, I immediately get numerous of the
+following and the process segfaults. So id == -2 means the system
+isn't stable anymore anyway...
+
+** (process:4863): ERROR (recursed) **: file domain.c: line 178
+(mono_jit_info_table_find): assertion failed: (ret == 0)
+aborting...


More information about the mono-bugs mailing list