Bug 1067 - More GTK related crashers
Summary: More GTK related crashers
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: General ()
Version: Trunk
Hardware: PC Mac OS
: Normal normal
Target Milestone: ---
Assignee: Lluis Sanchez
URL:
Depends on:
Blocks:
 
Reported: 2011-09-27 05:32 UTC by Alan McGovern
Modified: 2012-01-03 14:43 UTC (History)
3 users (show)

Tags: gtk
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Alan McGovern 2011-09-27 05:32:03 UTC
Got this from general usage when running nunit tests.

start:Tasks/NUnit.Core.TestName
start:TaskFactoryTests/NUnit.Core.TestName
Thread started: 
OnTargetEvent, type - ThreadStarted
Thread started: 
OnTargetEvent, type - ThreadStarted
Thread started: 
OnTargetEvent, type - ThreadStarted
ERROR [2011-09-27 10:29:46Z]: Type 'ArrayList__TypeMetadata' loaded more than once

Loaded assembly: /Library/Frameworks/Mono.framework/Versions/2.10.5/lib/mono/gac/System.Xml.Linq/4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll
Thread finished: TestRunnerThread
OnTargetEvent, type - ThreadStopped
Thread finished: EventPumpThread
OnTargetEvent, type - ThreadStopped
OnTargetEvent, type - TargetExited
**
Gtk:ERROR:gtkcontainer.c:2743:gtk_container_propagate_expose: assertion failed: (child->parent == GTK_WIDGET (container))
Stacktrace:

  at (wrapper managed-to-native) Gtk.Application.gtk_main () <IL 0x00022, 0xffffffff>
  at Gtk.Application.Run () <IL 0x00000, 0x0000b>
  at MonoDevelop.Ide.IdeApp.Run () [0x00000] in /Users/alanmcgovern/Projects/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/Ide.cs:384
  at MonoDevelop.Ide.IdeStartup.Run (string[]) [0x00762] in /Users/alanmcgovern/Projects/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/IdeStartup.cs:270
  at MonoDevelop.Ide.IdeStartup.Main (string[]) [0x00017] in /Users/alanmcgovern/Projects/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/IdeStartup.cs:531
  at MonoDevelop.Startup.MonoDevelopMain.Main (string[]) [0x00000] in /Users/alanmcgovern/Projects/monodevelop/main/src/core/MonoDevelop.Startup/MonoDevelop.Startup/MonoDevelopMain.cs:16
  at (wrapper runtime-invoke) <Module>.runtime_invoke_int_object (object,intptr,intptr,intptr) <IL 0x0005c, 0xffffffff>

Native stacktrace:

	0   mono                                0x000b98e6 mono_handle_native_sigsegv + 422
	1   libsystem_c.dylib                   0x9a2da59b _sigtramp + 43
	2   ???                                 0xffffffff 0x0 + 4294967295
	3   libsystem_c.dylib                   0x9a275bdd abort + 167
	4   libglib-2.0.0.dylib                 0x04167824 __inline_strcpy_chk + 0
	5   libglib-2.0.0.dylib                 0x041678a5 g_assertion_message_cmpnum + 0
	6   libgtk-quartz-2.0.0.dylib           0x042ae4df gtk_container_propagate_expose + 375
	7   libgtk-quartz-2.0.0.dylib           0x042ae157 gtk_container_expose_child + 44
	8   libgtk-quartz-2.0.0.dylib           0x0426451b gtk_bin_forall + 43
	9   libgtk-quartz-2.0.0.dylib           0x042abdca gtk_container_forall + 238
	10  libgtk-quartz-2.0.0.dylib           0x042ae250 gtk_container_expose + 247
	11  libgtk-quartz-2.0.0.dylib           0x042cb296 gtk_event_box_expose + 93
	12  libgtk-quartz-2.0.0.dylib           0x0435325c _gtk_marshal_BOOLEAN__BOXED + 225
	13  libgobject-2.0.0.dylib              0x0345d3c5 g_type_class_meta_marshal + 97
	14  libgobject-2.0.0.dylib              0x0345d0bc g_closure_invoke + 370
	15  libgobject-2.0.0.dylib              0x034766c6 signal_emit_unlocked_R + 3080
	16  libgobject-2.0.0.dylib              0x03475626 g_signal_emit_valist + 2334
	17  libgobject-2.0.0.dylib              0x034758d2 g_signal_emit + 44
	18  libgtk-quartz-2.0.0.dylib           0x044c3511 gtk_widget_event_internal + 846
	19  libgtk-quartz-2.0.0.dylib           0x044c30e0 gtk_widget_send_expose + 324
	20  libgtk-quartz-2.0.0.dylib           0x043501cb gtk_main_do_event + 731
	21  libgdk-quartz-2.0.0.dylib           0x03736462 _gdk_window_process_updates_recurse + 784
	22  libgdk-quartz-2.0.0.dylib           0x03736344 _gdk_window_process_updates_recurse + 498
	23  libgdk-quartz-2.0.0.dylib           0x03736344 _gdk_window_process_updates_recurse + 498
	24  libgdk-quartz-2.0.0.dylib           0x03736344 _gdk_window_process_updates_recurse + 498
	25  libgdk-quartz-2.0.0.dylib           0x03741010 -[GdkQuartzView drawRect:] + 403
	26  AppKit                              0x9b1afa4e -[NSView _drawRect:clip:] + 3929
	27  AppKit                              0x9b1ada71 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 2650
	28  AppKit                              0x9b1a7f59 -[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] + 4817
	29  AppKit                              0x9b1a0df0 -[NSView displayIfNeeded] + 1256
	30  libgdk-quartz-2.0.0.dylib           0x03753c0b _gdk_windowing_after_process_all_updates + 105
	31  libgdk-quartz-2.0.0.dylib           0x0373696d gdk_window_process_all_updates + 315
	32  libgtk-quartz-2.0.0.dylib           0x042ab880 gtk_container_idle_sizer + 106
	33  libgdk-quartz-2.0.0.dylib           0x03709b62 gdk_threads_dispatch + 85
	34  libglib-2.0.0.dylib                 0x0413d971 g_idle_dispatch + 71
	35  libglib-2.0.0.dylib                 0x04139630 g_main_dispatch + 495
	36  libglib-2.0.0.dylib                 0x0413ac9a g_main_context_dispatch + 144
	37  libglib-2.0.0.dylib                 0x0413b1de g_main_context_iterate + 1235
	38  libglib-2.0.0.dylib                 0x0413ba2a g_main_loop_run + 992
	39  libgtk-quartz-2.0.0.dylib           0x0434f85b gtk_main + 239
	40  ???                                 0x0f09d324 0x0 + 252302116
	41  ???                                 0x0f09d2ec 0x0 + 252302060
	42  ???                                 0x0f09d2b4 0x0 + 252302004
	43  ???                                 0x0341a088 0x0 + 54632584
	44  ???                                 0x004ac020 0x0 + 4898848
	45  ???                                 0x004abe0c 0x0 + 4898316
	46  ???                                 0x004abec6 0x0 + 4898502
	47  mono                                0x00010624 mono_jit_runtime_invoke + 164
	48  mono                                0x001c1032 mono_runtime_invoke + 137
	49  mono                                0x001c38ec mono_runtime_exec_main + 585
	50  mono                                0x001c2c7a mono_runtime_run_main + 843
	51  mono                                0x0008943d mono_main + 7773
	52  mono                                0x00002db5 start + 53

Debug info from gdb:

/tmp/mono-gdb-commands.3K6nbi:1: Error in sourced command file:
unable to debug self

=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries 
used by your application.
=================================================================

make[1]: *** [runmd] Abort trap: 6
make: *** [run] Error 2
[monoenv] Alans-MacBook-Air:monodevelop alanmcgovern$
Comment 1 Mikayla Hutchinson [MSFT] 2012-01-03 14:43:41 UTC
This should be fixed by the GTK+ version that's currently in Mono beta, so I'm marking it fixed. Please re-open if it happens with GTK+ version is 2.24.8 or later. GTK+ version can be found in the MD About dialog.