Bug 59732 - MT3001 / AOT Compilation exited with code 134 / Structure field of type Byte[] can't be marshalled as LPArray
Summary: MT3001 / AOT Compilation exited with code 134 / Structure field of type Byte[...
Status: CONFIRMED
Alias: None
Product: iOS
Classification: Xamarin
Component: Mono runtime / AOT compiler (show other bugs)
Version: XI 11.0 (xcode9)
Hardware: PC Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Zoltan Varga
URL:
Depends on:
Blocks:
 
Reported: 2017-09-25 20:43 UTC by Sebastien Pouliot
Modified: 2017-09-25 23:24 UTC (History)
3 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 for Bug 59732 on Developer Community or GitHub if you have new information to add and do not yet see a matching new report.

If the latest results still closely match this report, you can use the original description:

  • Export the original title and description: Developer Community HTML or GitHub Markdown
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.

In special cases on GitHub you might also want the comments: GitHub Markdown with public comments

Related Links:
Status:
CONFIRMED

Description Sebastien Pouliot 2017-09-25 20:43:12 UTC
Extracted from https://bugzilla.xamarin.com/show_bug.cgi?id=59729 (logs attached)

		MONO_PATH=/Users/dev/Desktop/StoreFulfillmentDeployments/NativeApp/Development/SF_V10/iOS/obj/iPhone/Release/mtouch-cache/32/Build /Library/Frameworks/Xamarin.iOS.framework/Versions/11.0.0.0/bin/arm-darwin-mono-sgen --debug --llvm -O=gsharedvt -O=float32  --aot=mtriple=armv7-ios,data-outfile=/Users/dev/Desktop/StoreFulfillmentDeployments/NativeApp/Development/SF_V10/iOS/obj/iPhone/Release/mtouch-cache/armv7/CaptuvoMonoTouchLib.aotdata.armv7,static,asmonly,direct-icalls,full,nodebug,dwarfdebug,msym-dir=/Users/dev/Desktop/StoreFulfillmentDeployments/NativeApp/Development/SF_V10/iOS/obj/iPhone/Release/mtouch-cache/32/Build/Msym,llvm-path=/Library/Frameworks/Xamarin.iOS.framework/Versions/11.0.0.0/LLVM/bin/,outfile=/Users/dev/Desktop/StoreFulfillmentDeployments/NativeApp/Development/SF_V10/iOS/obj/iPhone/Release/mtouch-cache/armv7/CaptuvoMonoTouchLib.dll.s,llvm-outfile=/Users/dev/Desktop/StoreFulfillmentDeployments/NativeApp/Development/SF_V10/iOS/obj/iPhone/Release/mtouch-cache/armv7/CaptuvoMonoTouchLib.dll-llvm.o "/Users/dev/Desktop/StoreFulfillmentDeployments/NativeApp/Development/SF_V10/iOS/obj/iPhone/Release/mtouch-cache/32/Build/CaptuvoMonoTouchLib.dll"
		LLVM output file: '/Users/dev/Desktop/StoreFulfillmentDeployments/NativeApp/Development/SF_V10/iOS/obj/iPhone/Release/mtouch-cache/armv7/zxing.portable.dll-llvm.o'.
		JIT time: 1284 ms, Generation time: 14416 ms, Assembly+Link time: 0 ms.
		
		Mono Ahead of Time compiler - compiling assembly /Users/dev/Desktop/StoreFulfillmentDeployments/NativeApp/Development/SF_V10/iOS/obj/iPhone/Release/mtouch-cache/32/Build/CaptuvoMonoTouchLib.dll
		AOTID 22954BA6-D29F-70DE-894A-963808FB6E16
		Structure field of type Byte[] can't be marshalled as LPArray
		
		AOT Compilation exited with code 134, command:



I'm not sure if the error is related to the last output, @Zoltan ?

> Structure field of type Byte[] can't be marshalled as LPArray
Comment 1 Zoltan Varga 2017-09-25 20:53:11 UTC
That message aborts the aot compiler, so its probably the cause.