Created attachment 4453 [details]
A stack overflow in CultureInfo crashes Xamarin Studio on launch.
Fixed in master and 3-2 branch
This completely breaks the runtime when MacOS Region (no Language) is set to Taiwan. In addition, it has been reported against XA (see bug 13490).
Fix is https://github.com/mono/mono/commit/fc4074b399431e9c24d91419281fe9fcec7c285c
Bug was introduced in https://github.com/mono/mono/commit/2002e457787e92c444badb1b20ac6a141deee39a, the issue is that CultureInfo initialization for zh_TW depends on ordinal String.EndsWith, but ordinal String.EndsWith unnecessarily depends on CultureInfo.CurrentCulture, so if the CurrentCulture is zh_TW then there is a stack overflow.
Patch looks safe to hotfix.
We should also get it into XA and XI.
*** Bug 13570 has been marked as a duplicate of this bug. ***
This has been backported onto the Mono 3.2.1 branch and a hotfix release will be made shortly.
Rolf, Jon, can we get this fix into XA and XI?
This patch is triple-rainbow safe.
monodroid/a93d13b7 includes this fix. The fix will be in Xamarin.Android 4.8.2.
It would be nice to have some unit tests so we don't break this badly again.
monotouch/monotouch-6.4-series: 8edb80749727b763ad4026087e679a621c937d89 has the fix.
Not sure if it'll get into 6.4.1 or 6.4.2 though.
Added unit test for the fix
Today we have checked this issue with following builds
Mac Maverick 10.9
X.S 4.1.9(build 6)
After changing the region language to Chinese(Taiwan) we are successfully able to create android and iOS application in X.S.