Bug 36805 - Assertion at ../../../../../mono/mono/metadata/metadata.c:3532, condition `ptr' not met
Summary: Assertion at ../../../../../mono/mono/metadata/metadata.c:3532, condition `pt...
Alias: None
Product: iOS
Classification: Xamarin
Component: Mono runtime / AOT compiler ()
Version: XI 9.4 (iOS 9.2)
Hardware: PC Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Zoltan Varga
Depends on:
Reported: 2015-12-10 06:08 UTC by Prashant Cholachagudda
Modified: 2016-03-28 05:25 UTC (History)
3 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 Cholachagudda 2015-12-10 06:08:04 UTC
Xamarin.iOS app fails to build in Release mode with following error:

MONO_PATH=/Users/prashantvc/Downloads/Project/Tradewize.iOS/obj/iPhone/Release/mtouch-cache/Build /Library/Frameworks/Xamarin.iOS.framework/Versions/ --debug -O=gsharedvt  --aot=mtriple=armv7s-ios,full,static,asmonly,direct-icalls,nodebug,dwarfdebug,outfile=/Users/prashantvc/Downloads/Project/Tradewize.iOS/obj/iPhone/Release/mtouch-cache/Tradewize.iOS.exe.armv7s.s "/Users/prashantvc/Downloads/Project/Tradewize.iOS/obj/iPhone/Release/mtouch-cache/Build/Tradewize.iOS.exe"
		Mono Ahead of Time compiler - compiling assembly /Users/prashantvc/Downloads/Project/Tradewize.iOS/obj/iPhone/Release/mtouch-cache/Build/Tradewize.iOS.exe
		* Assertion at ../../../../../mono/mono/metadata/metadata.c:3532, condition `ptr' not met
MTOUCH: error MT3001: Could not AOT the assembly '/Users/prashantvc/Downloads/Project/Tradewize.iOS/obj/iPhone/Release/mtouch-cache/Build/Tradewize.iOS.exe'
	Task "MTouch" execution -- FAILED
	Done building target "_CompileToNative" in project "/Users/prashantvc/Downloads/Project/Tradewize.iOS/Tradewize.iOS.csproj".-- FAILED
Done building project "/Users/prashantvc/Downloads/Project/Tradewize.iOS/Tradewize.iOS.csproj".-- FAILED

Full build log - https://gist.github.com/prashantvc/0cb48a44b283cd8006d0
Comment 2 Prashant Cholachagudda 2016-03-28 05:25:39 UTC
This issues does not seem to happen, when customer updated to the latest version of Xamarin tools