Bug 26714 - arm64 IList<T> where T struct - crash
Summary: arm64 IList<T> where T struct - crash
Alias: None
Product: iOS
Classification: Xamarin
Component: XI runtime ()
Version: 1.0
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
Depends on:
Reported: 2015-02-04 03:41 UTC by Andrey Mazurov
Modified: 2015-02-06 07:01 UTC (History)
6 users (show)

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

test project (12.22 KB, application/zip)
2015-02-04 03:54 UTC, Andrey Mazurov

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 Andrey Mazurov 2015-02-04 03:41:33 UTC
public struct Point
    public double X { get; set; }

  public class TestClass
    private IList<Point> points;
    public TestClass()
      points = new List<Point>();
      points.Add(new Point());
      var p2 = points[0]; // crash
Comment 1 Andrey Mazurov 2015-02-04 03:54:17 UTC
Created attachment 9633 [details]
test project

test project
Comment 2 Zoltan Varga 2015-02-05 17:30:06 UTC
What xamarin.ios version is this ?
Comment 3 Andrey Mazurov 2015-02-05 22:22:58 UTC
Comment 4 Rajneesh Kumar 2015-02-06 07:01:34 UTC
I am able to reproduce this issue with the Xamarin.iOS and Xamarin.iOS Here is the screencast for the same:

Screencast(X.iOS : http://www.screencast.com/t/fdF8wc5sGPOI
Screencast(X.iOS : http://www.screencast.com/t/jRYqZFCQvSo

I have checked this issue with Xamarin.iOS (Beta)  and observed that this issue has been fixed. I am able to deploy the application successfully without any crash.

Screencast(X.iOS : http://www.screencast.com/t/dn4HfuChxe7l
Screenshot Of Device: http://www.screencast.com/t/VOVN66YiVc

Hence closing this issue with respect to X.iOS

Environment Info:

=== Xamarin Studio ===

Version 5.7.1 (build 17)
Installation UUID: 011d70a5-dede-428b-ab04-ef451c2e539d
	Mono 3.12.0 ((detached/a813491)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 312000068

=== Xamarin.Android ===

Version: (Starter Edition)
Android SDK: /Users/MM/Desktop/android-sdk-macosx
	Supported Android versions:
		2.1    (API level 7)
		2.2    (API level 8)
		2.3    (API level 10)
		3.1    (API level 12)
		4.0    (API level 14)
		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)
Java SDK: /usr
java version "1.7.0_65"
Java(TM) SE Runtime Environment (build 1.7.0_65-b17)
Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode)

=== Apple Developer Tools ===

Xcode 6.1 (6604)
Build 6A1052d

=== Xamarin.iOS ===

Version: (Starter Edition)
Hash: 1ee873c
Build date: 2015-01-31 17:42:21-0500

=== Xamarin.Mac ===

Version: (Starter Edition)

=== Build Information ===

Release ID: 507010017
Git revision: 0bc7d3550b6b088ac25b08dcf7bbe73bcc8658b3
Build date: 2015-02-03 19:43:29-05
Xamarin addins: f7b7d34419c9ec24501bfa7c658e80a6305613e0

=== 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