Bug 25735 - 64 bit CGContext.DrawShading crash
Summary: 64 bit CGContext.DrawShading crash
Status: VERIFIED FIXED
Alias: None
Product: iOS
Classification: Xamarin
Component: Xamarin.iOS.dll ()
Version: master
Hardware: PC Mac OS
: --- normal
Target Milestone: 8.6.x (services rel)
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2015-01-06 04:49 UTC by Rolf Bjarne Kvinge [MSFT]
Modified: 2015-01-14 13:36 UTC (History)
4 users (show)

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


Attachments
Sample App (12.10 KB, application/zip)
2015-01-06 09:06 UTC, Udham Singh
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 Rolf Bjarne Kvinge [MSFT] 2015-01-06 04:49:37 UTC
See http://forums.xamarin.com/discussion/comment/95470 for more information
Comment 2 Rolf Bjarne Kvinge [MSFT] 2015-01-06 08:54:01 UTC
Fixed.

maccore/master: 86b616bc3d714df255fabf45a21939f6354bb6d5
monotouch/master: 0ff7549e70caae6ca2a4cc600dcbd2313d6a25ce

Unit tests were added.
Comment 3 Sebastien Pouliot 2015-01-06 09:05:09 UTC
Candidate for 8.6.x service releases. 

note: Let's wait before backporting (not sure about the branching strategy that will be used, like if we continue using the release branch).
Comment 4 Udham Singh 2015-01-06 09:06:57 UTC
Created attachment 9251 [details]
Sample App

I have checked this issue with the help of code provided in the link given in bug description and observed the same behaviour. Please refer the screencast : http://www.screencast.com/t/oYhDqHvNQ

iOS Device Log : https://gist.github.com/Udham1/313fd57e70116c372cc9
Crash Log : https://gist.github.com/Udham1/5c71af6553e6ef47fcfd
Application Output : https://gist.github.com/Udham1/9e4825db86c6dccb68fa

I am attaching a sample app which I have created to reproduce this issue.

Note : I have checked this issue with iOS device iPhone 5S(iOS 7.1). I have also checked this issue with current stable xamarin builds and getting the same behaviour.

Environment Info : 

=== Xamarin Studio ===

Version 5.7 (build 661)
Installation UUID: ce927b2a-2c07-44c5-b186-09cfdafba6dc
Runtime:
	Mono 3.12.0 ((detached/1538a59)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 312000072

=== Apple Developer Tools ===

Xcode 6.1.1 (6611)
Build 6A2008a

=== Xamarin.iOS ===

Version: 8.6.0.48 (Enterprise Edition)
Hash: cb9aa84
Branch: 
Build date: 2015-01-05 13:17:37-0500

=== Build Information ===

Release ID: 507000661
Git revision: b70bab61da996da29045ea8ee8aed1a6faedbe78
Build date: 2015-01-05 16:31:31-05
Xamarin addins: 82f6c71490562d6cd125a09287f441902fdac3d7

=== Operating System ===

Mac OS X 10.9.4
Darwin Xamarin76s-Mac-mini.local 13.3.0 Darwin Kernel Version 13.3.0
    Tue Jun  3 21:27:35 PDT 2014
    root:xnu-2422.110.17~1/RELEASE_X86_64 x86_64
Comment 5 Udham Singh 2015-01-14 13:36:51 UTC
I have checked this issue with following builds.

Environment Info :

 === Xamarin Studio ===

Version 5.7.1 (build 2)
Installation UUID: ce927b2a-2c07-44c5-b186-09cfdafba6dc
Runtime:
	Mono 3.12.0 ((detached/a813491)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 312000068

=== Apple Developer Tools ===

Xcode 6.1.1 (6611)
Build 6A2008a

=== Xamarin.iOS ===

Version: 8.9.0.116 (Enterprise Edition)
Hash: fe4abbb
Branch: 
Build date: 2015-01-12 14:56:16-0500

=== Build Information ===

Release ID: 507010002
Git revision: 5a4e27c5dbd44e36bb1a0e2b63acf1e448fa2dbd
Build date: 2015-01-13 19:33:45-05
Xamarin addins: ee38284410f7625ad84602be0a5d0ade0ac779aa

=== Operating System ===

Mac OS X 10.9.5
Darwin Xamarin76s-Mac-mini.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

Screencast : http://www.screencast.com/t/FdiZYm6r

Now this issue is working fine, Hence closing this issue