Bug 10929 - Full screening MonoDevelop crashes Gtk
Summary: Full screening MonoDevelop crashes Gtk
Status: VERIFIED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: General ()
Version: unspecified
Hardware: PC Mac OS
: Low normal
Target Milestone: ---
Assignee: Bugzilla
URL:
: 10497 ()
Depends on:
Blocks:
 
Reported: 2013-03-06 05:44 UTC by Alan McGovern
Modified: 2013-03-07 15:52 UTC (History)
5 users (show)

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


Attachments
Patch (1.51 KB, patch)
2013-03-06 06:03 UTC, Aleksander Morgado
Details
Alan's patch, which is the one suggested upstream (1.84 KB, patch)
2013-03-06 06:14 UTC, Aleksander Morgado
Details


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:
VERIFIED FIXED

Description Alan McGovern 2013-03-06 05:44:47 UTC
1) Open MonoDevelop 4.0 on Lion (may happen on Mountain Lion too but I can't test)
2) Click on View -> Fullscreen

Result:
2013-03-06 09:28:57.934 XamarinStudio[16847:1207] *** Assertion failure in -[GdkQuartzWindow setTitle:], /SourceCache/AppKit/AppKit-1138.51/AppKit.subproj/NSWindow.m:2538
2013-03-06 09:28:57.935 XamarinStudio[16847:1207] An uncaught exception was raised
2013-03-06 09:28:57.935 XamarinStudio[16847:1207] Invalid parameter not satisfying: aString != nil
2013-03-06 09:28:57.937 XamarinStudio[16847:1207] (
  0   CoreFoundation                      0x901d0a67 __raiseError + 231
	1   libobjc.A.dylib                     0x9c4e0149 objc_exception_throw + 155
	2   CoreFoundation                      0x90138289 +[NSException raise:format:arguments:] + 137
	3   Foundation                          0x9ccb4233 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 116
	4   AppKit                              0x919a6ee0 -[NSWindow setTitle:] + 144
	5   libgdk-quartz-2.0.0.dylib           0x05bed39b gdk_window_set_decorations + 1003
	6   libgdk-quartz-2.0.0.dylib           0x05bedfdc gdk_window_fullscreen + 284
	7   libgtk-quartz-2.0.0.dylib           0x0594508e gtk_window_fullscreen + 254
	8   ???                                 0x109c2d9c 0x0 + 278670748
	9   ???                                 0x109c2d58 0x0 + 278670680
	10  ???                                 0x109c2cfc 0x0 + 278670588
	11  ???                                 0x109c09c4 0x0 + 278661572
	12  ???                                 0x109c06c0 0x0 + 278660800
	13  ???                                 0x09fe286c 0x0 + 167651436
	14  ???                                 0x047dbe98 0x0 + 75349656
	15  ???                                 0x000b2000 0x0 + 729088
	16  ???                                 0x000b1de4 0x0 + 728548
	17  ???                                 0x000b1eaa 0x0 + 728746
	18  libmonosgen-2.0.dylib               0x0030b882 mono_jit_runtime_invoke + 722
	19  libmonosgen-2.0.dylib               0x004a8cda mono_runtime_invoke + 170
	20  libmonosgen-2.0.dylib               0x004ab7fc mono_runtime_exec_main + 620
	21  libmonosgen-2.0.dylib               0x004aaa61 mono_runtime_run_main + 929
	22  libmonosgen-2.0.dylib               0x003677e5 mono_jit_exec + 149
	23  libmonosgen-2.0.dylib               0x00369d79 mono_main + 9609
	24  XamarinStudio                       0x00003817 main + 2503
	25  XamarinStudio                       0x00001ce5 start + 53
Comment 1 Aleksander Morgado 2013-03-06 06:03:04 UTC
Created attachment 3540 [details]
Patch

This could be just it; can't test it myself though.
Comment 2 Alan McGovern 2013-03-06 06:04:21 UTC
Heh, pretty much identical to what I just compiled:

https://gist.github.com/alanmcgovern/ec7aeb4efcfb6d679394

I ran a quick test with a native obj-c application and this does look like the correct fix.
Comment 3 Aleksander Morgado 2013-03-06 06:13:40 UTC
Upstream bug, with Alan's patch:
https://bugzilla.gnome.org/show_bug.cgi?id=695278
Comment 4 Aleksander Morgado 2013-03-06 06:14:58 UTC
Created attachment 3541 [details]
Alan's patch, which is the one suggested upstream
Comment 5 Aleksander Morgado 2013-03-06 06:45:21 UTC
Patch is merged in upstream now.
Comment 6 Mikayla Hutchinson [MSFT] 2013-03-06 13:01:22 UTC
*** Bug 10497 has been marked as a duplicate of this bug. ***
Comment 7 Mikayla Hutchinson [MSFT] 2013-03-06 13:03:51 UTC
FWIW, as noted in the earlier bug that I marked as a dup of this, this doesn't really matter as the new XS 4.0.2 will almost certainly go out before an updated. gtk+, and does not use this fullscreening mechanism.
Comment 8 narayanp 2013-03-07 07:14:50 UTC
Today we have checked this issue with following builds:

X.S 4.0 - 1645b898271456799b70944c8b356ed6c5c00fdf
Mono 2.10.12 (mono-2-10/823e22f)

We are successfully able to get X.S in Full Screen mode, it is not crashing. This is the screencast for the same: http://screencast.com/t/5I6Hedlh

Please close this issue.