[Mono-bugs] [Bug 328501] New: Crash in mini_cleanup

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Sep 26 08:25:42 EDT 2007


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

           Summary: Crash in mini_cleanup
           Product: Mono: Runtime
           Version: 1.2
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Critical
          Priority: P5 - None
         Component: JIT
        AssignedTo: lupus at novell.com
        ReportedBy: joe at unity3d.com
         QAContact: mono-bugs at ximian.com
          Found By: ---


Happens with daily package : 2007 09 26

Crash after creating domain, unloading domain, creating a domain and loading
the same dll's into it.
Then closing down mono using mini_cleanup.

Thread 0 Crashed:
0   libmono.0.dylib                     0x024dffc4 mono_metadata_free_type + 40
1   libmono.0.dylib                     0x024def38
mono_metadata_free_inflated_signature + 26
2   libmono.0.dylib                     0x024df5a8 free_inflated_signature + 20
3   libglib-2.0.0.dylib                 0x0228d56e g_hash_node_destroy + 35
4   libglib-2.0.0.dylib                 0x0228d7a7
g_hash_table_foreach_remove_or_steal + 188
5   libmono.0.dylib                     0x024df393
mono_metadata_clean_for_image + 167
6   libmono.0.dylib                     0x024b64ae mono_image_close + 163
7   libmono.0.dylib                     0x024896c8 mono_assembly_close + 407
8   libmono.0.dylib                     0x024b64dd mono_image_close + 210
9   libmono.0.dylib                     0x024a25f3 mono_cleanup + 30
10  libmono.0.dylib                     0x0242ff05 mini_cleanup + 151
11  libmono.0.dylib                     0x02445355 mono_jit_cleanup + 17
12  com.unity3d.UnityEditor             0x000b33be CleanupMono() + 128


My first guess is that inflate_generic_signature calls:
mono_class_inflate_generic_type. Sometimes that function returns
mono_metadata_type_dup sometimes inflate_generic_type, so that sometimes it's
on the mempool and shouldn't be deallocated and other times it is to be
deallocated. mono_metadata_free_inflated_signature doesn't seem to take that
into account.


-- 
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