Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
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
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.
Created attachment 5965 [details]
Attached is a test application that crashes upon trying to access the ServiceStack.Text project included trying to debug to a device. There isn't any output in Xamarin Studio that indicates the cause of the crash or that it even happened. The log from XCode suggests that it's an issue with the linker (also attached). I've tried flipping between link SDK assemblies and link all assemblies to no avail.
Doing debug and release builds to the iPhone simulator work fine, as do release builds to a device.
Created attachment 5966 [details]
I can't reproduce this with 126.96.36.199.
Today we have checked this issue and when we deploy attached sample then it crashed as soon as it launches on device.
Device Log : https://gist.github.com/saurabh360/5d76d3c96d2048018b2d
Device info : iPhone 4S : 7.0.4
Environment Details :
=== Xamarin Studio ===
Version 4.2.2 (build 2)
Installation UUID: 6ea47b0d-1852-4aaf-808d-373ff0a5002b
Mono 3.2.6 ((no/9b58377)
GTK+ 2.24.23 theme: Raleigh
Package version: 302060000
=== Xamarin.Android ===
Version: 4.12.0 (Trial Edition)
Android SDK: /Users/jatin66/Desktop/Backup/android-sdk-macosx
Supported Android versions:
2.2 (API level 8)
2.3 (API level 10)
3.1 (API level 12)
3.2 (API level 13)
4.0 (API level 14)
4.0.3 (API level 15)
4.1 (API level 16)
4.2 (API level 17)
4.3 (API level 18)
Java SDK: /usr
java version "1.7.0_25"
Java(TM) SE Runtime Environment (build 1.7.0_25-b15)
Java HotSpot(TM) 64-Bit Server VM (build 23.25-b01, mixed mode)
=== Apple Developer Tools ===
Xcode 4.6.2 (2067.2)
=== Xamarin.iOS ===
Version: 188.8.131.52 (Business Edition)
Build date: 2014-28-01 13:38:01-0500
=== Xamarin.Mac ===
Xamarin.Mac: Not Installed
=== Build Information ===
Release ID: 402020002
Git revision: c5f82958ae7d9af652b44b87ceff777b3ad19b91
Build date: 2013-11-19 15:35:40+0000
Xamarin addins: a4044fee09138f6fd031a9944b7caaeb51e57e80
=== Operating System ===
Mac OS X 10.7.5
Darwin Jatin66s-iMac.local 11.4.2 Darwin Kernel Version 11.4.2
Thu Aug 23 16:25:48 PDT 2012
When experiencing a crash please look at Xcode's organizer. You'll see a crash report (and that will symbolicate it) that you can attach to the bug report. That will tell us where the crash occured (useful if it cannot be duplicated).
I will attached mine.
> The log from XCode suggests that it's an issue with the linker (also attached)
The only reference to the linker I can see (in your attached log) is the name of your application. Can you pinpoint which line you're referring to ?
I do not think this is related to the linker since:
* Enabling the linker on simulator builds does not crash (nothing extra got removed);
* Disabling the "Enable debugging" on the Debug|iPhone configuration works;
@Zoltan I had no problem to reproduce this crash using 7.0.7 and my iPhone5. Could you look again ?
I wonder if it could this be related to ld's 24bits limit bug we have often seen with ServiceStack.Text ?
Even with the linker enabled the debug builds are much larger (53,193,920) than the release version (15,935,168). Both sizes are the executable binary (not the .app folder) size.
Created attachment 6094 [details]
Device Crash Log
I still can't reproduce this on an iphone5s, mt 184.108.40.206.
I use the 'ServiceStackLinkerTest' solution in Debug|iPhone mode.
This seems to be something Apple fixed in their native linker in Xcode 5.1, so I'm closing this bug report.