Bug 6932 - CoreImage sample crashing when tapping ColorCube element.
Summary: CoreImage sample crashing when tapping ColorCube element.
Alias: None
Product: iOS
Classification: Xamarin
Component: Samples ()
Version: 5.3.x
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Sebastien Pouliot
Depends on:
Reported: 2012-09-05 13:50 UTC by Peter Collins
Modified: 2012-09-05 15:37 UTC (History)
2 users (show)

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

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 Peter Collins 2012-09-05 13:50:34 UTC
The CoreImage sample throws an Objective-C exception when clicking on the ColorCube element of the Color Effect root component.

Steps to reproduce:
1. Open up the CoreImage sample in the mono-touch samples repo.
2. Build and deploy app to simulator/device.
3. Tap the Color Effect menu item.
4. Tap the ColorCube menu item.

Expected Behavior:
ColorCube image is displayed.

Actual Behavior:
App crashes due to Objective-C Exception thrown : CIColorCube data is not of the expected length.

Environment Details:
OSX Mountain Lion 10.8
MT 5.4.0
Xcode 4.4.1 (1488)

MD Crash Output:
Comment 1 Sebastien Pouliot 2012-09-05 14:48:08 UTC
The sample has a:

			//CubeData = 

just before the objc exception occurs. Smells like the sample is incomplete, IOW not a 5.4 issue.
Comment 2 Sebastien Pouliot 2012-09-05 15:01:31 UTC
yup, providing the right size fix the crash. I'll come up with good values (to show something better than black ;-)
Comment 3 Sebastien Pouliot 2012-09-05 15:37:03 UTC
Fixed in bc82453df7e4166632236bd41e9dc818122d36c4