Bug 2790 - MonoDevelop crashes on Mac(Lion)
Summary: MonoDevelop crashes on Mac(Lion)
Status: CLOSED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: General ()
Version: 2.8.6
Hardware: PC Mac OS
: Highest blocker
Target Milestone: 2.8.6
Assignee: Alan McGovern
URL:
Depends on:
Blocks:
 
Reported: 2012-01-09 07:19 UTC by Atin
Modified: 2012-01-12 09:20 UTC (History)
9 users (show)

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


Attachments
Stacktrace for crash (67.46 KB, text/plain)
2012-01-09 10:30 UTC, PJ
Details
Crash Report from MonoDevelop 2.8.6 (62.61 KB, text/plain)
2012-01-09 16:30 UTC, Eric Beisecker
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:
CLOSED FIXED

Description Atin 2012-01-09 07:19:33 UTC
Steps to reproduce:

1.Install MonoDevelop 2.8.6.
2.Open MonoDevelop from application.
3.Click File>New or click Create Solution
4.MonoDevelop crashes.

Actual result:
MonoDevelop crashed on Mac(10.7) and user unable to open/create solution.

Expected result:
MonoDevelop should not be crashed and solution should be open and create.

Environment:
MonoDevelop 2.8.6
MonoTouch 5.0.5
Mono for Android 4.0.2

Test data:
Please click below URL to see video of this bug.

http://www.screencast.com/t/yTM1xsRH
Comment 1 PJ 2012-01-09 10:30:21 UTC
Created attachment 1139 [details]
Stacktrace for crash

Bug is not present on Windows versions (tested Windows 7)

Reproduced on MAC 10.7.2 (Lion)

Stack trace in attachment
Comment 2 Alan McGovern 2012-01-09 11:01:44 UTC
What version of Mono are you using?
Comment 3 PJ 2012-01-09 11:29:08 UTC
Mono 2.10.8 

(I know I answered you on IRC, but putting it out in public record.)
Comment 4 Alan McGovern 2012-01-09 12:09:14 UTC
I cannot reproduce the issue. I have the same mono, mono for android, monotouch and MonoDevelop. Is there anything else that might be relevant to this?
Comment 5 PJ 2012-01-09 14:32:24 UTC
I am now unable to reproduce.

I got the error this morning 3 times in a row. Then I updated my mono framework from the site to 2.10.8.1 after you couldn't reproduce to test.

Since then I have not had the crash.

I have now uninstalled MonoDevelop and Mono, reinstalled and re-updated. At each point, I was able to open solutions and files and create new solutions and files.

I will be in touch with 360 and see if they can reproduce and distill a test case.
Comment 6 Miguel de Icaza [MSFT] 2012-01-09 14:54:30 UTC
Hey Atinc,

What is the Mono version that you are using?

Can you go to MonoDevelop/About box and get the version number for Mono?

is it 2.10.8.1 or 2.10.8?

The difference is that the .1 contains the new Gtk+ stack, the 2.10.8 has the old stack.
Comment 7 Alan McGovern 2012-01-09 16:03:04 UTC
I tested as extensively as I could with both 2.10.8 and 2.10.8.1. I was unable to reproduce any issue.
Comment 8 Eric Beisecker 2012-01-09 16:30:14 UTC
I just ran into this issue after installing 2.8.6 but cannot get it to re-occur, 

Action: Click New-> Solution

Versions:

MonoDevelop 2.8.6
Runtime:
	Mono 2.10.8 (tarball Mon Dec 19 17:43:18 EST 2011)
	GTK 2.24.5
	GTK# (2.12.0.0)

Attached Crash Report: MD286Crash.txt
Comment 9 Eric Beisecker 2012-01-09 16:30:42 UTC
Created attachment 1144 [details]
Crash Report from MonoDevelop 2.8.6
Comment 10 Atin 2012-01-10 01:09:30 UTC
Alan, we used Mono Framework 2.10.8 on Mac 10.7(Lion).
Comment 11 Saurabh 2012-01-10 03:51:16 UTC
Steps to reproduce:

1.Launch MonoDevelop
2.Two window appears (MonoDevelop application window and Welcome MonoDevelop window)
3.Don't close both window
4.Create solution using MonoDevelop application
5.Solution created and Mono develop application working fine.
6.Close 'Welcome MonoDevelop window'.
7.Create solution using MonoDevelop application.
8.MonoDevelop crashes.

Please click below link to view this issue.
Comment 12 Saurabh 2012-01-10 04:26:45 UTC
http://www.screencast.com/t/uK10Iu0Ul
Comment 13 PJ 2012-01-10 09:08:24 UTC
I am now able to reproduce. Thanks Saurabh!

Additional info:

The 'Welcome MonoDevelop' screen referenced is a pop up that can be disabled for future starts via checkbox.

To clear this setting, look to ~/Library/Preferences/Monodevelop-2.8/MonoDevelopProperties.XML

On the second to last line (or FIND) look for  <Property key="Xamarin.Ide.Welcome.Mac.ShowNextTime" value="False" />.

Change to "True" to re-enable the welcome screen and reproduce the bug as shown.
Comment 14 Alan McGovern 2012-01-10 09:18:37 UTC
That explains why I couldn't repro it. Looking into this now, I also pinged marek as he may have some ideas on this as he wrote the welcome window.
Comment 15 Alan McGovern 2012-01-10 10:16:44 UTC
The issue was caused by the new welcome window code. This is not supposed to be enabled for the foreseeable future so I simply disabled this and backported the fix to the 2.8.6 branch. We need to rebuild mono 2.8.6 from the branch so that commit 'd0116e1a2cd' is used.

The bug in question has already been found and fixed so once 2.8.6 is rebuilt with commit d0116e1a2cd the bug can be closed.
Comment 16 Alan McGovern 2012-01-11 09:23:02 UTC
Closing as this is fixed. MonoDevelop 2.8.6 needs to be rebuilt to test the fix though.
Comment 17 Ethan Chang 2012-01-12 09:20:08 UTC
Verified fixed.