Bug 153 - Crashes on OS X Lion when moving files from one folder to another
Summary: Crashes on OS X Lion when moving files from one folder to another
Status: VERIFIED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: GTK# Designer ()
Version: 2.8.6
Hardware: Macintosh Mac OS
: Normal critical
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2011-08-02 17:57 UTC by Andrew Young
Modified: 2012-03-08 12:03 UTC (History)
5 users (show)

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


Attachments
Crash report (66.64 KB, text/plain)
2011-08-02 17:57 UTC, Andrew Young
Details
Project set up for easy reproduction of bug (19.12 KB, application/zip)
2012-01-10 11:34 UTC, PJ
Details
stacktrace for crash (72.57 KB, text/plain)
2012-01-10 11:38 UTC, PJ
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 Andrew Young 2011-08-02 17:57:11 UTC
Created attachment 50 [details]
Crash report

Moving a file from one folder to another in the solution explorer causes MonoDevelop to crash. I have attached the crash report.
Comment 1 Lluis Sanchez 2011-08-16 11:04:28 UTC
I can't reproduce. You selected Gui Designer as Component. Is this crash somehow related to the Gui Designer?
Comment 2 Andrew Young 2011-08-16 12:44:12 UTC
Sorry I guess I didn't know what Gui Designer was meant to be. It is probably just a general problem with moving files around in a solution/project.
Comment 3 Andrew Young 2011-08-16 12:45:44 UTC
I just the same test case in MonoDevelop 2.6 beta 1 and there is no problem there. Perhaps it is fixed?
Comment 4 Lluis Sanchez 2011-08-16 13:17:07 UTC
It may already have been fixed. Closing. Feel free to reopen if you get the crash again.
Comment 5 PJ 2012-01-10 11:34:46 UTC
Created attachment 1160 [details]
Project set up for easy reproduction of bug

Re-Opening this bug.

Ran into the same issue while running C2392.

I've attached a project with things set up to reproduce.
1. Open Project.
2. Open the folder 'Created Folder'.
3. Click and drag the class file 'MoveThisClassAround.cs' to another folder, project or solution. 
(Note: Often the click and drag does not even move the file. There may be restrictions on moving between certain areas that persistence can overcome.)
4. Repeat 3 using different folders/levels until crash happens or you suspect I am insane.

It doesn't happen every time you move a file, but it does happen frequently enough than a minute or two of moving the file around should get you the crash.

Screencast: http://screencast.com/t/WyqccXPLF

The second time I tried to crash it on the cast, I thought I had gotten the file stuck at the Solution level, so I paused the recording. When I then went to close MonoDevelop, I got the crash. 1st and 3rd crashes are onscreen during the cast.
Comment 6 PJ 2012-01-10 11:38:51 UTC
Created attachment 1161 [details]
stacktrace for crash
Comment 7 Mikayla Hutchinson [MSFT] 2012-01-10 13:04:31 UTC
What version of Mono? Many DnD issues were fixed in the new GTK+ that's in Mono 2.10.8.1.
Comment 8 PJ 2012-01-10 18:02:02 UTC
It was 2.10.8

Will retest.
Comment 9 PJ 2012-02-02 12:16:11 UTC
Verified as fixed on 2.10.8.1. Not sure if I should close yet as this is live only for OSX, but I figured I should update.