[Mono-bugs] [Bug 699278] Crash with heap corruption in multithreaded programs on ARM

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Jun 14 11:36:58 EDT 2011


https://bugzilla.novell.com/show_bug.cgi?id=699278

https://bugzilla.novell.com/show_bug.cgi?id=699278#c4


--- Comment #4 from Zoltan Varga <vargaz at gmail.com> 2011-06-14 15:36:57 UTC ---
Could you try applying 3b45789ada6ceee86b7f69bf22dd337a18cdeb6a to your tree ?

<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<,
diff --git a/mono/metadata/object.c b/mono/metadata/object.c
index 250e947..17c28dd 100644
--- a/mono/metadata/object.c
+++ b/mono/metadata/object.c
@@ -416,6 +416,7 @@ mono_runtime_class_init_full (MonoVTable *vtable, gboolean
raise_exc
                        g_hash_table_remove (type_initialization_hash, vtable);
                        g_free (lock);
                }
+               mono_memory_barrier ();
                if (!vtable->init_failed)
                        vtable->initialized = 1;
                mono_type_initialization_unlock ();
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list