Bug 17816 - Xamarin Studio crashing with System.MissingMethodException
Summary: Xamarin Studio crashing with System.MissingMethodException
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: General ()
Version: 4.2.3
Hardware: PC Windows
: --- normal
Target Milestone: master
Assignee: Bugzilla
Depends on:
Reported: 2014-02-17 11:00 UTC by Allie Miller
Modified: 2014-02-18 08:25 UTC (History)
2 users (show)

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

Xamarin Studio Log (7.63 KB, application/octet-stream)
2014-02-17 11:00 UTC, Allie Miller

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:

Description Allie Miller 2014-02-17 11:00:30 UTC
Created attachment 6073 [details]
Xamarin Studio Log

*Report filed on behalf of a user*

When attempting to open Xamarin Studio, it loads successfully and the welcome screen appears for a few seconds. However, then Xamarin Studio crashes. Specifically, it seems to be failing with the following error:

ERROR [2014-02-15 15:19:05Z]: An unhandled exception has occured. Terminating MonoDevelop? True
System.MissingMethodException: Method not found: 'Void Cairo.Context.SetSource(Cairo.Pattern)'.
   at MonoDevelop.Ide.WelcomePage.XamarinWelcomePageButtonBar.OnExposeEvent(EventExpose evnt)
   at Gtk.Widget.exposeevent_cb(IntPtr widget, IntPtr evnt)
Cairo.Context: called from finalization thread, programmer is missing a call to Dispose

Attempts to resolve the issue:
1) Tried fully re-installing the software. Results: Same crashing behavior.
2) Updating to the latest Beta version of the software. Results: Same crashing behavior.

Logs from Xamarin Studio attached.
Comment 1 Mikayla Hutchinson [MSFT] 2014-02-17 11:16:30 UTC
They seem to have somehow installed an older version of GTK#.

Try reinstalling GTK#: http://download.xamarin.com/GTKforWindows/Windows/gtk-sharp-2.12.22.msi
Comment 2 Shoaib 2014-02-18 08:25:56 UTC
Yes, Now working fine. Thanks Michael