Hello community, here is the log from the commit of package mono-core for openSUSE:Factory checked in at Mon Mar 1 17:58:15 CET 2010. -------- --- mono-core/mono-core.changes 2010-01-26 23:31:17.000000000 +0100 +++ /mounts/work_src_done/STABLE/mono-core/mono-core.changes 2010-03-01 17:15:44.000000000 +0100 @@ -1,0 +2,7 @@ +Mon Mar 1 17:12:06 CET 2010 - ro@suse.de + +- try to prevent crash on exit in gmcs + call mono_alloc_special_static_data_free before closing + assemblies + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- mono-cleanup_crash.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ mono-core.spec ++++++ --- /var/tmp/diff_new_pack.VteIN1/_old 2010-03-01 17:58:00.000000000 +0100 +++ /var/tmp/diff_new_pack.VteIN1/_new 2010-03-01 17:58:00.000000000 +0100 @@ -25,10 +25,11 @@ Summary: A .NET Runtime Environment Url: http://go-mono.org/ Version: 2.6.1 -Release: 1 +Release: 2 BuildRoot: %{_tmppath}/%{name}-%{version}-build Source0: mono-%{version}.tar.bz2 Patch0: xen-aot.patch +Patch1: mono-cleanup_crash.patch ExclusiveArch: %ix86 x86_64 ppc ppc64 hppa armv4l sparc s390 ia64 s390x BuildRoot: %{_tmppath}/%{name}-%{version}-build Provides: mono = %{version}-%{release} @@ -1230,6 +1231,7 @@ %prep %setup -q -n mono-%{version} %patch0 +%patch1 %build # These are only needed if there are patches to the runtime ++++++ mono-cleanup_crash.patch ++++++ --- mono/metadata/domain.c +++ mono/metadata/domain.c @@ -1907,6 +1907,12 @@ domain->type_init_exception_hash = NULL; } + /* must do this early as it accesses fields and types */ + if (domain->special_static_fields) { + mono_alloc_special_static_data_free (domain->special_static_fields); + g_hash_table_destroy (domain->special_static_fields); + domain->special_static_fields = NULL; + } for (tmp = domain->domain_assemblies; tmp; tmp = tmp->next) { MonoAssembly *ass = tmp->data; mono_trace (G_LOG_LEVEL_INFO, MONO_TRACE_ASSEMBLY, "Unloading domain %s %p, assembly %s %p, refcount=%d\n", domain->friendly_name, domain, ass->aname.name, ass, ass->ref_count); @@ -1929,12 +1935,6 @@ domain->null_reference_ex = NULL; domain->stack_overflow_ex = NULL; domain->entry_assembly = NULL; - /* must do this early as it accesses fields and types */ - if (domain->special_static_fields) { - mono_alloc_special_static_data_free (domain->special_static_fields); - g_hash_table_destroy (domain->special_static_fields); - domain->special_static_fields = NULL; - } g_free (domain->friendly_name); domain->friendly_name = NULL; ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org