Bug 8767 - Crashes and deadlocks showing the migration pane
Summary: Crashes and deadlocks showing the migration pane
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Mac Add-in ()
Version: 4.0.8
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: Aaron Bockover [MSFT]
Depends on:
Reported: 2012-12-05 06:49 UTC by Alan McGovern
Modified: 2013-06-11 05:32 UTC (History)
2 users (show)

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:

Description Alan McGovern 2012-12-05 06:49:14 UTC
I disabled the monomac -> xammac migration dialog as it is frequently deadlocking my system and has been involved in one inexplicable crash. The commit in question just added a 'return Migration.Ignore'. See commit 4ea232747964cc86580ad2d5d51290a200fb6bb6 in md-addins. I put this on master as well as ui-refresh. We need to back this out ASAP but this was the fastest way to get a MD that doesn't deadlock.

The deadlock looks like this: https://gist.github.com/d65ee8c8ea52f247d64e and MD sometimes consumes 100% of the CPU when this happens and sometimes consumes 0%.
Comment 1 Alan McGovern 2012-12-05 06:49:55 UTC
Clicky linky to the commit: https://github.com/xamarin/md-addins/commit/4ea232747964cc86580ad2d5d51290a200fb6bb6
Comment 2 Alan McGovern 2012-12-05 17:51:53 UTC
I think part of this bug is triggered by clicking on the MD dock icon while the migration prompt window is open:

Comment 3 Aaron Bockover [MSFT] 2012-12-06 16:03:37 UTC
This bug should be repurposed and reassigned. Not sure who should get it. As discussed, this is likely a crappy GTK bug. I've gone back to using a modal dialog instead of a modal sheet for now, which appears to avoid the issue.

TL;DR not my fault

Comment 4 Lluis Sanchez 2013-06-11 05:32:21 UTC
Closing since a workaround was committed.