Bug 16772 - Sample App "PaintCode" gets crashed when run on iOS7 simulator with Xcode 5.0.2
Summary: Sample App "PaintCode" gets crashed when run on iOS7 simulator with Xcode 5.0.2
Status: VERIFIED DUPLICATE of bug 16635
Alias: None
Product: iOS
Classification: Xamarin
Component: Samples ()
Version: 7.0.6.x
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: GouriKumari
Depends on:
Reported: 2013-12-13 08:33 UTC by Prashant manu
Modified: 2014-03-26 05:00 UTC (History)
4 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 Prashant manu 2013-12-13 08:33:27 UTC
Steps to reproduce:
1. Open iOS sample PaintCode.
2. Debug or Run the sample on iOS7 Simulator.
3. Click on any option.

Actual Result: Application get crashed after clicking any option, throwing exception "A System.Format Exception" when run on iOS7 simulator (debug or release mode) with Xcode 5.0.2. It is working fine with iOS7 simulator and any Xcode other than 5.0.2. For ex Xcode 5.0.1, Xcode 5.0

Expected Result: User should able to navigate all options for PaintCode application on simulator with Xcode 5.0.2

Screencast for this:

Supplement info: 
Exception details: https://gist.github.com/saurabh360/e7056d6d9e3fcf7c3b06
IDE Log: https://gist.github.com/saurabh360/63ca7ccb08c6804d4aac

Environment details:
All Mac 
XS 4.2.2(build 2)
Mono 3.2.6
Xcode 5.0.2 (3335.32) Build 5A3005
monotouch-samples-master 48a09e92a03ccb476b238ec2e793e8f92918ea7d

Regression Status: Same behavior happening with stable X.iOS
Comment 1 Sebastien Pouliot 2013-12-13 09:00:01 UTC
Can you confirm which culture the device is using (like asked on #16635) to confirm if that's the issue ? thanks

*** This bug has been marked as a duplicate of bug 16635 ***
Comment 2 Prashant manu 2013-12-13 09:25:09 UTC
System.FormatException: Unknown char: .
  at System.Double.Parse (System.String s, NumberStyles style, IFormatProvider provider) [0x00012] in /Developer/MonoTouch/Source/mono/mcs/class/corlib/System/Double.cs:229
  at System.Single.Parse (System.String s) [0x00000] in /Developer/MonoTouch/Source/mono/mcs/class/corlib/System/Single.cs:203
  at PaintCode.GlossyButtonViewController.ViewDidLoad () [0x00021] in /Users/Admin_Mac/Desktop/12th Dec/monotouch-samples-master/PaintCode/PaintCodeDemo/GlossyButton/GlossyButtonViewController.cs:22
  at at (wrapper managed-to-native) MonoTouch.UIKit.UIApplication:UIApplicationMain (int,string[],intptr,intptr)
  at MonoTouch.UIKit.UIApplication.Main (System.String[] args, System.String principalClassName, System.String delegateClassName) [0x0004c] in /Developer/MonoTouch/Source/monotouch/src/UIKit/UIApplication.cs:38
  at PaintCode.Application.Main (System.String[] args) [0x00008] in /Users/Admin_Mac/Desktop/12th Dec/monotouch-samples-master/PaintCode/PaintCodeDemo/AppDelegate.cs:14
Comment 3 Atin 2013-12-13 12:55:50 UTC
On simulator 7.0 we are using Langauge English and Region is : United States
Comment 4 Tajinder Singh 2014-03-26 05:00:41 UTC
I have checked this issue with the latest builds:

XS 4.2.4(build32)
monotouch-samples-master bea743d25bfd85df3a5dc8594cfc9ef205eab162

Now it is working fine.Hence verifying this issue.