Bug 32385 - Certain preference files causing XS to crash
Summary: Certain preference files causing XS to crash
Status: VERIFIED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: General ()
Version: 5.9
Hardware: PC Mac OS
: Normal normal
Target Milestone: (C7)
Assignee: Bugzilla
URL:
: 10655 38510 ()
Depends on:
Blocks:
 
Reported: 2015-07-23 23:57 UTC by Cody Beyer (MSFT)
Modified: 2016-05-18 12:11 UTC (History)
6 users (show)

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


Attachments
SamplePref (52.59 KB, application/zip)
2015-07-23 23:58 UTC, Cody Beyer (MSFT)
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 Cody Beyer (MSFT) 2015-07-23 23:57:11 UTC
### Description 

The attached preference files are causing XS to crash repeatedly. Only remedy is to remove these preference files/replace with previous

### Files

Attached

### Steps to Reproduce

1. Back up current preference files at ~/Library/Preferences/Xamarin*
2. Make sure you do step 1
3. Copy sample files to the corresponding location
4. Launch Xamarin Studio

### Expected Results

Xamarin Studio should launch

### Actual Results

It does not

### Versions

=== Xamarin Studio ===

Version 5.9.5 (build 5)
Installation UUID: 14e9db9d-4a59-440f-8c5b-890f54ec8c58
Runtime:
	Mono 4.0.3 ((detached/429313d)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 400030013

=== Apple Developer Tools ===

Xcode 6.4 (7720)
Build 6E35b

=== Xamarin.iOS ===

Version: 8.10.4.10 (Business Edition)
Hash: c57a2c7
Branch: master
Build date: 2015-07-09 15:56:39-0400

=== Xamarin.Android ===

Version: 5.1.5.2 (Business Edition)
Android SDK: /Users/codybeyer/Library/Developer/Xamarin/android-sdk-macosx
	Supported Android versions:
		2.3   (API level 10)
		4.0.3 (API level 15)
		4.2   (API level 17)
		4.4   (API level 19)
		5.0   (API level 21)
Java SDK: /usr
java version "1.7.0_71"
Java(TM) SE Runtime Environment (build 1.7.0_71-b14)
Java HotSpot(TM) 64-Bit Server VM (build 24.71-b01, mixed mode)

=== Xamarin Android Player ===

Version: Unknown version
Location: /Applications/Xamarin Android Player.app

=== Xamarin.Mac ===

Version: 2.0.2.84 (Business Edition)

=== Build Information ===

Release ID: 509050005
Git revision: 8d5aa047f336e5129fff1b174a972021b087bd76
Build date: 2015-07-14 16:37:43-04
Xamarin addins: 3bc005cd1e150ae5f206c1cf76164f47f2f2b62c

=== Operating System ===

Mac OS X 10.10.4
Darwin Codys-Macintosh.local 14.4.0 Darwin Kernel Version 14.4.0
    Thu May 28 11:35:04 PDT 2015
    root:xnu-2782.30.5~1/RELEASE_X86_64 x86_64
Comment 2 Rajneesh Kumar 2015-08-07 10:40:09 UTC
I have checked this issue and able to reproduce this. To reproduce this issue I have followed the steps and instruction provided in bug description. 
Step I followed:

1. Back up current preference files at ~/Library/Preferences/Xamarin*
2. Copy sample files to the corresponding location (Attached to this bug)
4. Launch Xamarin Studio

I observed that when I launch xamarin studio, it is getting crash. Please refer the screencast give below: http://screencast.com/t/ANaLwwNVK8

Ide Logs: https://gist.github.com/Rajneesh360Logica/be6aafc7dfcc774a916b
Crash Details: https://gist.github.com/Rajneesh360Logica/4e04bdd9d7dc2f1a920d

Environment Info:

=== Xamarin Studio ===

Version 5.9.5 (build 9)
Installation UUID: 011d70a5-dede-428b-ab04-ef451c2e539d
Runtime:
	Mono 4.0.3 ((detached/d6946b4)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 400030020

=== Xamarin.Android ===

Version: 5.1.5.2
Android SDK: Not found

=== Xamarin Android Player ===

Version: Unknown version
Location: /Applications/Xamarin Android Player.app

=== Apple Developer Tools ===

Xcode 6.2 (6776)
Build 6C131e

=== Xamarin.iOS ===

Version: 8.10.4.46 (Business Edition)
Hash: 2c66d2f
Branch: master
Build date: 2015-08-04 13:52:25-0400

=== Xamarin.Mac ===

Version: 2.0.2.122 (Business Edition)

=== Build Information ===

Release ID: 509050009
Git revision: b99cb19a1d3b15d8980c4616f13f837457e5b292
Build date: 2015-07-28 02:01:44-04
Xamarin addins: d53d6eceb828422f3d4aff8547f2f6bab6c9ea58

=== Operating System ===

Mac OS X 10.9.5
Darwin MacMini.local 13.4.0 Darwin Kernel Version 13.4.0
    Sun Aug 17 19:50:11 PDT 2014
    root:xnu-2422.115.4~1/RELEASE_X86_64 x86_64
Comment 3 xamarin-release-manager 2016-02-18 16:18:46 UTC
Fixed in version 6.0.0.4480 (master)

Author: iain holmes
Commit: 9311b44c982aac750902a3a2329fbf29f190d02c (mono/monodevelop)
Comment 4 Lluis Sanchez 2016-03-02 18:28:39 UTC
*** Bug 10655 has been marked as a duplicate of this bug. ***
Comment 5 Lluis Sanchez 2016-03-02 18:30:31 UTC
*** Bug 38510 has been marked as a duplicate of this bug. ***
Comment 6 Danish Akhtar 2016-05-18 12:11:54 UTC
I have checked this issue with latest C7 XS 6.0(build 5156) and observed that now this issue is not exits. XS doesn't get crashed when Copy sample files to the corresponding location.

Hence marking this as Verified.

Environment info:=== Xamarin Studio Community ===

Version 6.0 (build 5156)
Installation UUID: 46d4d4b6-9307-4ad8-8136-09022b256dbf
Runtime:
	Mono 4.4.0 (mono-4.4.0-branch/0f5fdf2) (64-bit)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 404000168

=== Xamarin.Profiler ===

Not Installed

=== Apple Developer Tools ===

Xcode 7.2 (9548)
Build 7C68

=== Xamarin.iOS ===

Version: 9.8.0.318 (Xamarin Studio Community)
Hash: efefc1e
Branch: cycle7
Build date: 2016-05-13 17:19:05-0400

=== Xamarin.Android ===

Version: 6.1.0.56 (Xamarin Studio Community)
Android SDK: /Users/360_macmini/Desktop/android-sdk-macosx
	Supported Android versions:
		2.3    (API level 10)
		4.0.3  (API level 15)
		4.1    (API level 16)
		4.2    (API level 17)
		4.3    (API level 18)
		4.4    (API level 19)
		4.4.87 (API level 20)
		5.0    (API level 21)
		5.1    (API level 22)
		6.0    (API level 23)

SDK Tools Version: 25.1.3
SDK Platform Tools Version: 24 rc1
SDK Build Tools Version: 24 rc2

Java SDK: /usr
java version "1.8.0_77"
Java(TM) SE Runtime Environment (build 1.8.0_77-b03)
Java HotSpot(TM) 64-Bit Server VM (build 25.77-b03, mixed mode)

Android Designer EPL code available here:
https://github.com/xamarin/AndroidDesigner.EPL

=== Xamarin Android Player ===

Version: 0.6.5
Location: /Applications/Xamarin Android Player.app

=== Xamarin.Mac ===

Version: 2.8.0.58 (Xamarin Studio Community)

=== Build Information ===

Release ID: 600005156
Git revision: 6bb41168165682b4ed22a94364bf0cf24e6b1d5c
Build date: 2016-05-13 16:06:44-04
Xamarin addins: 32a8312bbbe9be707b6535e19c0ed3c4e4f27443
Build lane: monodevelop-lion-cycle7

=== Operating System ===

Mac OS X 10.10.5
Darwin Danish.local 14.5.0 Darwin Kernel Version 14.5.0
    Wed Jul 29 02:26:53 PDT 2015
    root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64