Bug 953 - Recent GTK related crasher
Summary: Recent GTK related crasher
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: General ()
Version: Trunk
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2011-09-21 05:09 UTC by Alan McGovern
Modified: 2012-04-04 22:26 UTC (History)
2 users (show)

Tags:
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-21 05:09:41 UTC
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[]) [0x0075c] in /Users/alanmcgovern/Projects/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/IdeStartup.cs:266
  at MonoDevelop.Ide.IdeStartup.Main (string[]) [0x00017] in /Users/alanmcgovern/Projects/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/IdeStartup.cs:490
  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              0x0345e3c5 g_type_class_meta_marshal + 97
	14  libgobject-2.0.0.dylib              0x0345e0bc g_closure_invoke + 370
	15  libgobject-2.0.0.dylib              0x034776c6 signal_emit_unlocked_R + 3080
	16  libgobject-2.0.0.dylib              0x03476626 g_signal_emit_valist + 2334
	17  libgobject-2.0.0.dylib              0x034768d2 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                              0x9b1af97a -[NSView _drawRect:clip:] + 3717
	27  AppKit                              0x9b1df6e3 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 1958
	28  AppKit                              0x9b1ad2db -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 708
	29  AppKit                              0x9b1ae448 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 5169
	30  AppKit                              0x9b1ac8e5 -[NSThemeFrame _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 259
	31  AppKit                              0x9b1a7f59 -[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] + 4817
	32  AppKit                              0x9b1a0e5d -[NSView displayIfNeeded] + 1365
	33  AppKit                              0x9b19dc35 -[NSWindow displayIfNeeded] + 316
	34  AppKit                              0x9b1a072c _handleWindowNeedsDisplayOrLayoutOrUpdateConstraints + 804
	35  CoreFoundation                      0x9acebaad _runLoopObserverWithBlockContext + 29
	36  CoreFoundation                      0x9acb807e __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 30
	37  CoreFoundation                      0x9acb7fbd __CFRunLoopDoObservers + 413
	38  CoreFoundation                      0x9ac8a994 __CFRunLoopRun + 1044
	39  CoreFoundation                      0x9ac8a1ec CFRunLoopRunSpecific + 332
	40  CoreFoundation                      0x9ac8a098 CFRunLoopRunInMode + 120
	41  HIToolbox                           0x90d40487 RunCurrentEventLoopInMode + 318
	42  HIToolbox                           0x90d47cee ReceiveNextEventCommon + 168
	43  HIToolbox                           0x90d47c32 BlockUntilNextEventMatchingListInMode + 88
	44  AppKit                              0x9b1606c0 _DPSNextEvent + 678
	45  AppKit                              0x9b15ff2d -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 113
	46  libgdk-quartz-2.0.0.dylib           0x0374a9ba poll_func + 282
	47  libglib-2.0.0.dylib                 0x0413be9f g_main_context_poll + 280
	48  libglib-2.0.0.dylib                 0x0413b1aa g_main_context_iterate + 1183
	49  libglib-2.0.0.dylib                 0x0413ba2a g_main_loop_run + 992
	50  libgtk-quartz-2.0.0.dylib           0x0434f85b gtk_main + 239
	51  ???                                 0x0e76bbd4 0x0 + 242662356
	52  ???                                 0x0e76bb9c 0x0 + 242662300
	53  ???                                 0x0e76bb7c 0x0 + 242662268
	54  ???                                 0x0340e078 0x0 + 54583416
	55  ???                                 0x004ac020 0x0 + 4898848
	56  ???                                 0x004abe0c 0x0 + 4898316
	57  ???                                 0x004abec6 0x0 + 4898502
	58  mono                                0x00010624 mono_jit_runtime_invoke + 164
	59  mono                                0x001c1032 mono_runtime_invoke + 137
	60  mono                                0x001c38ec mono_runtime_exec_main + 585
	61  mono                                0x001c2c7a mono_runtime_run_main + 843
	62  mono                                0x0008943d mono_main + 7773
	63  mono                                0x00002db5 start + 53

Debug info from gdb:

/tmp/mono-gdb-commands.ioFSEI: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
Comment 1 Jeffrey Stedfast 2011-11-15 15:40:50 UTC
how can this be reproduced?
Comment 2 Alan McGovern 2011-11-15 15:47:39 UTC
It's a random GTK issue, there's no way to reliably reproduce these
Comment 3 Miguel de Icaza [MSFT] 2012-01-09 15:03:49 UTC
Same problem Alan has, it is not easy to reproduce, happens during work sessions.
Comment 4 Mikayla Hutchinson [MSFT] 2012-04-04 22:26:45 UTC
This looks like the dock container issues, which were fixed.