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 [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=78317 --- shadow/78317 2006-05-06 18:19:34.000000000 -0400 +++ shadow/78317.tmp.11123 2006-05-06 18:19:34.000000000 -0400 @@ -0,0 +1,244 @@ +Bug#: 78317 +Product: Mono: Runtime +Version: 1.1 +OS: +OS Details: +Status: NEW +Resolution: +Severity: +Priority: Normal +Component: misc +AssignedTo: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +TargetMilestone: --- +URL: +Cc: +Summary: Mono leaks after calling mono_jit_cleanup + +Mono leaks in various places after it was run and + +I attached a report of all leaks after mono_jit_cleanup was called. + +This was made with daily snapshot: 1.1.15.20060506 + +# Report 1 - Session 1 - Malloc Trace of firefox-bin +SharkProfileViewer +# Generated from the visible portion of the outline view ++ 62.0% mini_init (Mono) +| + 34.8% mono_init_internal (Mono) +| | + 32.6% mono_assembly_load_corlib (Mono) +| | | + 32.6% load_in_path (Mono) +| | | | + 32.6% mono_assembly_open_full (Mono) +| | | | | + 30.4% mono_config_for_assembly (Mono) +| | | | | | + 18.5% mono_config_parse_file_with_context (Mono) +| | | | | | | + 18.5% get_contents_posix (Mono) +| | | | | | | | + 12.0% g_strerror (Mono) +| | | | | | | | | + 9.8% g_locale_to_utf8 (Mono) +| | | | | | | | | | + 9.8% g_convert (Mono) +| | | | | | | | | | | - 9.8% open_converter (Mono) +| | | | | | | | | + 2.2% g_quark_from_string (Mono) +| | | | | | | | | | + 1.1% g_strdup (Mono) +| | | | | | | | | | | 1.1% g_malloc (Mono) +| | | | | | | | | | + 1.1% g_quark_new (Mono) +| | | | | | | | | | | + 1.1% g_hash_table_insert (Mono) +| | | | | | | | | | | | + 1.1% g_hash_node_new (Mono) +| | | | | | | | | | | | | 1.1% g_malloc (Mono) +| | | | | | | | + 4.3% g_file_error_quark (Mono) +| | | | | | | | | + 4.3% g_quark_from_static_string (Mono) +| | | | | | | | | | + 2.2% g_quark_new (Mono) +| | | | | | | | | | | 1.1% g_realloc (Mono) +| | | | | | | | | | | - 1.1% g_hash_table_insert (Mono) +| | | | | | | | | | 2.2% g_malloc (Mono) +| | | | | | | | + 2.2% _glib_gettext (Mono) +| | | | | | | | | + 1.1% libintl_bindtextdomain (Mono) +| | | | | | | | | | 1.1% set_binding_values (Mono) +| | | | | | | | | + 1.1% libintl_bind_textdomain_codeset (Mono) +| | | | | | | | | | + 1.1% set_binding_values (Mono) +| | | | | | | | | | | 1.1% strdup (libSystem.B.dylib) +| | | | | | + 12.0% g_get_home_dir (Mono) +| | | | | | | + 12.0% g_get_any_init (Mono) +| | | | | | | | + 7.6% getpw_r (libSystem.B.dylib) +| | | | | | | | | + 7.6% getpw_internal (libSystem.B.dylib) +| | | | | | | | | | + 7.6% copy_user (libSystem.B.dylib) +| | | | | | | | | | | 6.5% strdup (libSystem.B.dylib) +| | | | | | | | - 3.3% g_strdup (Mono) +| | | | | | | | + 1.1% g_strjoinv (Mono) +| | | | | | | | | 1.1% g_malloc (Mono) +| | | | | - 2.2% mono_trace (Mono) +| | + 1.1% mono_class_init (Mono) +| | | + 1.1% mono_class_setup_vtable (Mono) +| | | | + 1.1% mono_class_setup_vtable_general (Mono) +| | | | | + 1.1% mono_class_get_implemented_interfaces (Mono) +| | | | | | + 1.1% collect_implemented_interfaces_aux (Mono) +| | | | | | | + 1.1% g_mem_chunk_new (Mono) +| | | | | | | | 1.1% g_malloc (Mono) +| | + 1.1% get_runtimes_from_exe (Mono) +| | | + 1.1% mono_image_open_full (Mono) +| | | | + 1.1% canonicalize_path (Mono) +| | | | | + 1.1% g_build_filename (Mono) +| | | | | | + 1.1% g_build_pathv (Mono) +| | | | | | | + 1.1% g_string_new (Mono) +| | | | | | | | + 1.1% g_string_sized_new (Mono) +| | | | | | | | | + 1.1% g_mem_chunk_new (Mono) +| | | | | | | | | | 1.1% g_malloc (Mono) +| + 14.1% g_thread_init_glib (Mono) +| | + 10.9% _g_convert_thread_init (Mono) +| | | + 10.9% get_filename_charset (Mono) +| | | | + 4.3% g_get_charset (Mono) +| | | | | + 2.2% g_strdup (Mono) +| | | | | | 2.2% g_malloc (Mono) +| | | | | + 1.1% g_utf8_get_charset_internal (Mono) +| | | | | | + 1.1% _g_locale_charset_unalias (Mono) +| | | | | | | 1.1% _g_locale_get_charset_aliases (Mono) +| | | | | 1.1% g_malloc0 (Mono) +| | | | + 3.3% g_static_private_set (Mono) +| | | | | + 1.1% g_mem_chunk_new (Mono) +| | | | | | 1.1% g_malloc (Mono) +| | | | | 1.1% g_malloc (Mono) +| | | | | - 1.1% g_array_set_size (Mono) +| | | | + 2.2% g_strdup (Mono) +| | | | | 2.2% g_malloc (Mono) +| | | | 1.1% g_malloc0 (Mono) +| | + 1.1% _g_messages_thread_init (Mono) +| | | + 1.1% g_mutex_new_posix_impl (Mono) +| | | | 1.1% g_malloc (Mono) +| | + 1.1% _g_mem_thread_private_init (Mono) +| | | + 1.1% g_private_new_posix_impl (Mono) +| | | | 1.1% g_malloc (Mono) +| | + 1.1% _g_mem_thread_init (Mono) +| | | + 1.1% g_mutex_new_posix_impl (Mono) +| | | | 1.1% g_malloc (Mono) +| + 9.8% mono_runtime_init (Mono) +| | + 4.3% mono_type_initialization_init (Mono) +| | | 4.3% g_malloc (Mono) +| | + 2.2% mono_thread_pool_init (Mono) +| | | + 2.2% sem_create (Mono) +| | | | + 2.2% _wapi_handle_new (Mono) +| | | | | + 2.2% mono_once (Mono) +| | | | | | + 2.2% shared_init (Mono) +| | | | | | | 1.1% g_malloc0 (Mono) +| | | | | | | + 1.1% _wapi_collection_init (Mono) +| | | | | | | | 1.1% pthread_create (libSystem.B.dylib) +| | + 2.2% mono_gc_init (Mono) +| | | + 2.2% mono_thread_create (Mono) +| | | | + 2.2% CreateThread (Mono) +| | | | | + 1.1% GC_pthread_create (Mono) +| | | | | | 1.1% pthread_create (libSystem.B.dylib) +| | | | | 1.1% g_malloc (Mono) +| | + 1.1% mono_thread_attach (Mono) +| | | + 1.1% MonoUnityFix_GetCurrentThread (Mono) +| | | | + 1.1% thread_attach (Mono) +| | | | | 1.1% g_malloc (Mono) +| + 3.3% mono_init_trampolines (Mono) +| | + 3.3% mono_arch_create_trampoline_code (Mono) +| | | 3.3% g_malloc (Mono) ++ 14.1% ppc_magic_trampoline (Mono) +| + 13.0% mono_jit_compile_method_with_opt (Mono) +| | + 13.0% mono_jit_compile_method_inner (Mono) +| | | + 5.4% mono_runtime_class_init (Mono) +| | | | + 3.3% GetStdHandle (Mono) +| | | | | + 3.3% mono_once (Mono) +| | | | | | + 3.3% stdhandle_init (Mono) +| | | | | | | + 3.3% stdhandle_create (Mono) +| | | | | | | | + 3.3% g_strdup (Mono) +| | | | | | | | | 3.3% g_malloc (Mono) +| | | | + 1.1% ves_icall_System_Threading_Monitor_Monitor_try_enter (Mono) +| | | | | + 1.1% mono_monitor_try_enter_internal (Mono) +| | | | | | + 1.1% mon_new (Mono) +| | | | | | | 1.1% g_malloc0 (Mono) +| | | | + 1.1% 0x2330000 [488B] (Unknown Library) +| | | | | + 1.1% ppc_magic_trampoline (Mono) +| | | | | | + 1.1% mono_jit_compile_method_with_opt (Mono) +| | | | | | | + 1.1% mono_jit_compile_method_inner (Mono) +| | | | | | | | + 1.1% mini_method_compile (Mono) +| | | | | | | | | + 1.1% mono_method_to_ir (Mono) +| | | | | | | | | | + 1.1% mono_emit_method_call_full (Mono) +| | | | | | | | | | | + 1.1% mono_marshal_get_remoting_invoke_with_check (Mono) +| | | | | | | | | | | | + 1.1% mono_marshal_get_remoting_invoke (Mono) +| | | | | | | | | | | | | + 1.1% mono_remoting_mb_create_and_cache (Mono) +| | | | | | | | | | | | | | + 1.1% g_hash_table_insert (Mono) +| | | | | | | | | | | | | | | + 1.1% g_hash_node_new (Mono) +| | | | | | | | | | | | | | | | 1.1% g_malloc (Mono) +| | | + 5.4% mini_method_compile (Mono) +| | | | + 4.3% mini_select_instructions (Mono) +| | | | | + 4.3% emit_state (Mono) +| | | | | | + 4.3% mono_burg_emit_425 (Mono) +| | | | | | | + 4.3% mono_class_native_size (Mono) +| | | | | | | | + 4.3% mono_marshal_load_type_info (Mono) +| | | | | | | | | + 2.2% mono_class_native_size (Mono) +| | | | | | | | | | + 2.2% mono_marshal_load_type_info (Mono) +| | | | | | | | | | | + 1.1% mono_class_native_size (Mono) +| | | | | | | | | | | | + 1.1% mono_marshal_load_type_info (Mono) +| | | | | | | | | | | | | 1.1% g_malloc0 (Mono) +| | | | | | | | | | | 1.1% g_malloc0 (Mono) +| | | | | | | | | 2.2% g_malloc0 (Mono) +| | | | + 1.1% mono_method_to_ir (Mono) +| | | | | + 1.1% mono_marshal_get_native_wrapper (Mono) +| | | | | | + 1.1% g_hash_table_insert (Mono) +| | | | | | | + 1.1% g_hash_node_new (Mono) +| | | | | | | | 1.1% g_malloc (Mono) +| | | + 1.1% mono_marshal_get_native_wrapper (Mono) +| | | | 1.1% g_malloc (Mono) +| | | + 1.1% mono_jit_compile_method_with_opt (Mono) +| | | | + 1.1% mono_jit_compile_method_inner (Mono) +| | | | | + 1.1% mini_method_compile (Mono) +| | | | | | + 1.1% mono_arch_allocate_vars (Mono) +| | | | | | | + 1.1% mono_class_native_size (Mono) +| | | | | | | | + 1.1% mono_marshal_load_type_info (Mono) +| | | | | | | | | 1.1% g_malloc0 (Mono) +| + 1.1% get_unbox_trampoline (Mono) +| | 1.1% g_malloc (Mono) ++ 9.8% mono_jit_runtime_invoke (Mono) +| + 9.8% mono_jit_compile_method_with_opt (Mono) +| | + 9.8% mono_jit_compile_method_inner (Mono) +| | | + 9.8% mini_method_compile (Mono) +| | | | + 9.8% mini_select_instructions (Mono) +| | | | | + 9.8% emit_state (Mono) +| | | | | | + 9.8% mono_burg_emit_425 (Mono) +| | | | | | | + 9.8% mono_class_native_size (Mono) +| | | | | | | | + 9.8% mono_marshal_load_type_info (Mono) +| | | | | | | | | + 4.3% mono_class_native_size (Mono) +| | | | | | | | | | + 4.3% mono_marshal_load_type_info (Mono) +| | | | | | | | | | | + 4.3% mono_class_native_size (Mono) +| | | | | | | | | | | | + 4.3% mono_marshal_load_type_info (Mono) +| | | | | | | | | | | | | 2.2% g_malloc0 (Mono) +| | | | | | | | | | | | | + 1.1% mono_marshal_load_type_info (Mono) +| | | | | | | | | | | | | | 1.1% g_malloc0 (Mono) +| | | | | | | | | | | | | + 1.1% mono_class_native_size (Mono) +| | | | | | | | | | | | | | + 1.1% mono_marshal_load_type_info (Mono) +| | | | | | | | | | | | | | | 1.1% g_malloc0 (Mono) +| | | | | | | | | 3.3% g_malloc0 (Mono) +| | | | | | | | | - 2.2% mono_marshal_load_type_info (Mono) ++ 3.3% GC_start_routine (Mono) +| + 3.3% thread_start_routine (Mono) +| | + 3.3% start_wrapper (Mono) +| | | + 1.1% setup_jit_tls_data (Mono) +| | | | 1.1% g_malloc0 (Mono) +| | | + 1.1% mono_thread_push_appdomain_ref (Mono) +| | | | 1.1% g_malloc0 (Mono) +| | | + 1.1% finalizer_thread (Mono) +| | | | + 1.1% finalize_domain_objects (Mono) +| | | | | + 1.1% run_finalize (Mono) +| | | | | | + 1.1% mono_jit_runtime_invoke (Mono) +| | | | | | | + 1.1% mono_marshal_get_runtime_invoke (Mono) +| | | | | | | | + 1.1% g_hash_table_insert (Mono) +| | | | | | | | | + 1.1% g_hash_node_new (Mono) +| | | | | | | | | | 1.1% g_malloc (Mono) ++ 2.2% setup_jit_tls_data (Mono) +| 2.2% g_malloc0 (Mono) ++ 2.2% g_thread_self (Mono) +| 1.1% g_malloc0 (Mono) +| 1.1% g_malloc (Mono) ++ 2.2% g_private_new_posix_impl (Mono) +| 2.2% g_malloc (Mono) ++ 1.1% mono_set_dirs (Mono) +| + 1.1% mono_assembly_setrootdir (Mono) +| | + 1.1% g_strdup (Mono) +| | | 1.1% g_malloc (Mono) ++ 1.1% g_strdup (Mono) +| 1.1% g_malloc (Mono) ++ 1.1% g_mutex_new_posix_impl (Mono) +| 1.1% g_malloc (Mono) ++ 1.1% g_cond_new_posix_impl (Mono) +| 1.1% g_malloc (Mono) _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
