Bug 18230 - Crash when setting the region format to Swiss German (Switzerland)
Summary: Crash when setting the region format to Swiss German (Switzerland)
Status: RESOLVED DUPLICATE of bug 17690
Alias: None
Product: iOS
Classification: Xamarin
Component: XI runtime ()
Version: master
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: 7.2.1
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2014-03-06 15:38 UTC by Christer Nordvik
Modified: 2014-03-12 17:55 UTC (History)
2 users (show)

Tags:
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:
Status:
RESOLVED DUPLICATE of bug 17690

Description Christer Nordvik 2014-03-06 15:38:35 UTC
Not sure how to report this to be honest, but I will give it a try. 

We have an app with about 1 million users and yesterday we pushed an iOS 7 only update. We discovered then that users with the region format set to Swiss German couldn't run the app. I changed to the region format in the simulator and it ran fine, but on the device it crashes. 

I attached the debugger and saw that it ran a few lines but crashed when getting the version of the iPhone. I removed that line but then it crashed when creating SQLite tables. I ran it multiple times and it always crashed on the same line. So I removed that as well but then it crashed when parsing an int (for no apparent reason since it actually was an int). Finally I managed to run through all the code but then it just crashes when calling window.MakeKeyAndVisible(). 

Changing the region format to something else and the app runs fine. This app is 3 years old and I have never seen anything like this. Any idea where I can begin to look? The crashlog doesn't help much (for me at least) since it for some reason are missing any method names. Normally I see them just fine. 

Mar  6 21:31:12 Christer-sin-iPhone ReportCrash[640] <Error>: CrashReporter Key:   13d2c743a39e24b2f59d2ccec186e5d58fb91513
Mar  6 21:31:12 Christer-sin-iPhone ReportCrash[640] <Error>: Hardware Model:      iPhone5,3
Mar  6 21:31:12 Christer-sin-iPhone ReportCrash[640] <Error>: Process:             NDC2010 [638]
Mar  6 21:31:12 Christer-sin-iPhone ReportCrash[640] <Error>: Path:                /var/mobile/Applications/E434E3D6-F764-4857-ACDF-1CABCDB5C957/FotMob.app/NDC2010
Mar  6 21:31:12 Christer-sin-iPhone ReportCrash[640] <Error>: Identifier:          NDC2010
Mar  6 21:31:12 Christer-sin-iPhone ReportCrash[640] <Error>: Version:             ???
Mar  6 21:31:12 Christer-sin-iPhone ReportCrash[640] <Error>: Code Type:           ARM (Native)
Mar  6 21:31:12 Christer-sin-iPhone ReportCrash[640] <Error>: Parent Process:      launchd [1]
Mar  6 21:31:12 Christer-sin-iPhone ReportCrash[640] <Error>: Date/Time:           2014-03-06 21:31:11.890 +0100
Mar  6 21:31:12 Christer-sin-iPhone ReportCrash[640] <Error>: OS Version:          iOS 7.0.6 (11B651)
Mar  6 21:31:12 Christer-sin-iPhone ReportCrash[640] <Error>: Report Version:      104
Mar  6 21:31:12 Christer-sin-iPhone ReportCrash[640] <Error>: Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Mar  6 21:31:12 Christer-sin-iPhone ReportCrash[640] <Error>: Exception Subtype: KERN_PROTECTION_FAILURE at 0x27ccdea0
Mar  6 21:31:12 Christer-sin-iPhone ReportCrash[640] <Error>: Triggered by Thread:  0
Mar  6 21:31:12 Christer-sin-iPhone ReportCrash[640] <Error>: Thread 0 Crashed:
Mar  6 21:31:12 Christer-sin-iPhone ReportCrash[640] <Error>: 0   libsystem_platform.dylib      	0x3af98278 0x3af94000 + 17016
Mar  6 21:31:12 Christer-sin-iPhone ReportCrash[640] <Error>: 1   NDC2010                       	0x00f28282 0x37000 + 15667842
Mar  6 21:31:12 Christer-sin-iPhone ReportCrash[640] <Error>: 2   NDC2010                       	0x00f2828e 0x37000 + 15667854
Mar  6 21:31:12 Christer-sin-iPhone ReportCrash[640] <Error>: 3   NDC2010                       	0x00f2828e 0x37000 + 15667854
Mar  6 21:31:12 Christer-sin-iPhone ReportCrash[640] <Error>: 4   NDC2010                       	0x00f2828e 0x37000 + 15667854
Mar  6 21:31:12 Christer-sin-iPhone ReportCrash[640] <Error>: 5   NDC2010                       	0x00f2828e 0x37000 + 15667854
Mar  6 21:31:12 Christer-sin-iPhone ReportCrash[640] <Error>: 6   NDC2010                       	0x00f2828e 0x37000 + 15667854
Mar  6 21:31:12 Christer-sin-iPhone ReportCrash[640] <Error>: 7   NDC2010                       	0x00f282ee 0x37000 + 15667950
Mar  6 21:31:12 Christer-sin-iPhone ReportCrash[640] <Error>: 8   NDC2010                       	0x00f25dd6 0x37000 + 15658454
Mar  6 21:31:12 Christer-sin-iPhone ReportCrash[640] <Error>: 9   NDC2010                       	0x00ee4bc8 0x37000 + 15391688
Mar  6 21:31:12 Christer-sin-iPhone ReportCrash[640] <Error>: 10  NDC2010                       	0x00ee6e0e 0x37000 + 15400462
Mar  6 21:31:12 Christer-sin-iPhone ReportCrash[640] <Error>: 11  NDC2010                       	0x00ed0010 0x37000 + 15306768
Mar  6 21:31:12 Christer-sin-iPhone ReportCrash[640] <Error>: 12  NDC2010                       	0x005a82c0 0x37000 + 5706432
Mar  6 21:31:12 Christer-sin-iPhone ReportCrash[640] <Error>: 13  NDC2010                       	0x005a7e0c 0x37000 + 5705228
Mar  6 21:31:12 Christer-sin-iPhone ReportCrash[640] <Error>: 14  NDC2010                       	0x005f9960 0x37000 + 6039904
Mar  6 21:31:12 Christer-sin-iPhone ReportCrash[640] <Error>: 15  NDC2010                       	0x006426ac 0x37000 + 6338220
Mar  6 21:31:12 Christer-sin-iPhone ReportCrash[640] <Error>: 16  NDC2010                       	0x00644bac 0x37000 + 6347692
Mar  6 21:31:12 Christer-sin-iPhone ReportCrash[640] <Error>: 17  NDC2010                       	0x00644eb0 0x37000 + 6348464
Mar  6 21:31:12 Christer-sin-iPhone ReportCrash[640] <Error>: 18  NDC2010                       	0x00636f00 0x37000 + 6291200
Mar  6 21:31:12 Christer-sin-iPhone ReportCrash[640] <Error>: 19  NDC2010                       	0x00652b1c 0x37000 + 6404892
Mar  6 21:31:12 Christer-sin-iPhone ReportCrash[640] <Error>: 20  NDC2010                       	0x0065256c 0x37000 + 6403436
Mar  6 21:31:12 Christer-sin-iPhone ReportCrash[640] <Error>: 21  NDC2010                       	0x006523ac 0x37000 + 6402988
Mar  6 21:31:12 Christer-sin-iPhone ReportCrash[640] <Error>: 22  NDC2010                       	0x005a7
Comment 1 Rolf Bjarne Kvinge [MSFT] 2014-03-06 20:09:24 UTC
It crashes (stack overflow) when looking up culture information for the Swiss German region.

This will be solved when we get 7.0.8 (beta should be out in a couple of weeks). Until then I recommend downgrading to an earlier version of Xamarin.iOS

It might be possible to work around this in your app (some apps use a lot of localization, others don't) - there are a couple of ideas in bug #17690.

*** This bug has been marked as a duplicate of bug 17690 ***