Bug 39339 - Repeatedly opening/closing a custom Add-in Dialog from menu causes Xamarin Studio to crash
Summary: Repeatedly opening/closing a custom Add-in Dialog from menu causes Xamarin St...
Status: RESOLVED INVALID
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Add-ins ()
Version: 5.10 (C6SR3)
Hardware: PC Mac OS
: --- normal
Target Milestone: master
Assignee: Lluis Sanchez
URL:
Depends on:
Blocks:
 
Reported: 2016-03-03 22:32 UTC by David Hathaway
Modified: 2016-03-03 22:42 UTC (History)
1 user (show)

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


Attachments
Repro (697.73 KB, application/zip)
2016-03-03 22:32 UTC, David Hathaway
Details
Crash Log (71.54 KB, text/plain)
2016-03-03 22:33 UTC, David Hathaway
Details
Build Info (1.77 KB, text/plain)
2016-03-03 22:33 UTC, David Hathaway
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:
RESOLVED INVALID

Description David Hathaway 2016-03-03 22:32:17 UTC
Created attachment 15246 [details]
Repro

Description of Problem:

When adding a custom menu to Xamarin Studio, which opens up a Dialog, repeatedly opening/closing the dialog will eventually cause Xamarin Studio to crash.

Steps to reproduce the problem:
1. Download the attached "CustomMenuWithDialog.zip" add-in
2. Extract and open with Xamarin Studio (requires Xamarin Studio Add-in Maker)
3. Debug the project
4. In the debug Xamarin Studio instance select the "Test Menu > Custom Dialog" option
5. Dismiss the dialog by clicking the "Cancel" button
6. Repeat until Xamarin Studio crashes (may take several dozen iterations)


Actual Results:

Xamarin Studio crashes unexpectedly

Expected Results:

Xamarin Studio remains open despite repeatedly opening/closing a custom Dialog

How often does this happen? 

Issue is reproducible after dozens of opens/closes every time, though the number of times you have to open/close varies.

Additional Information:

Sometimes, when you click the "Cancel" button, all of the controls in the dialog disappear, but the dialog doesn't actually close.
Comment 1 David Hathaway 2016-03-03 22:33:00 UTC
Created attachment 15247 [details]
Crash Log
Comment 2 David Hathaway 2016-03-03 22:33:45 UTC
Created attachment 15248 [details]
Build Info
Comment 3 Mikayla Hutchinson [MSFT] 2016-03-03 22:42:26 UTC
System.Windows.Forms is not supported on Mono.