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.
I am using the MonoTouch build of Service Stack from https://github.com/ServiceStack/ServiceStack/tree/master/release/latest/MonoTouch
When run on a iPad, I get a **JIT** error. I thought MonoTouch took care of that in the build?
Attempting to JIT compile method
'ServiceStack.Text.Json.JsonReader`1<Common.AppCategoryEnum>:GetParseFn ()' while running with --aot-only.
I use the DLLS:
And only this single call:
new JsonServiceClient ().GetAsync<MyResponse> (url, Success, Failure);
Mono 2.10.9 (tarball Tue Mar 20 15:31:37 EDT 2012)
Apple Developer Tools:
Xcode 4.3.1 (1176)
I fixing something else at the moment, but between builds, I googled and found this:
That patch is one month old but the binaries you linked to are more than 3 months old. It's worth a try...
I get this when building for release:
AOT Compilation exited with code 134, command:
MONO_PATH=Places.app /Developer/MonoTouch/usr/bin/arm-darwin-mono --llvm --aot=mtriple=armv6-darwin,full,static,asmonly,nodebug,llvm-path=/Developer/MonoTouch/LLVM/bin/,outfile=/var/folders/15/47k2732n643g9dcrz5sncc6c0000gn/T/tmp26e46968.tmp/ServiceStack.Text.dll.6.s "/Users/vink/Dropbox/Dev/iOS/UNIVERSAL/BiblePlaces/BiblePlaces/bin/iPhone/Release/Places.app/ServiceStack.Text.dll"
Mono Ahead of Time compiler - compiling assembly /Places.app/ServiceStack.Text.dll
* Assertion at ../../../../../mono/mono/mini/mini-llvm.c:4535, condition `LLVMTypeOf (values [sreg1]) == LLVMTypeOf (values [phi->dreg])' not met
Was the above with the older or newer assemblies ?
That was with the current production release of the ServiceStack assemblies. I couldn't find any newer builds. IT does appear something in the newest MT isn't agreeing as it worked months ago.
The stack trace in comment #3 is identical to the crash in bug #6066 - which has been fixed in master (the upcoming 5.3.5).
*** This bug has been marked as a duplicate of bug 6066 ***