Skip to content

Conversation

@jpobst
Copy link
Contributor

@jpobst jpobst commented Aug 19, 2024

Beginning in .NET 8 '8.0.400', we hit the following error on CI:

/var/folders/cy/09t6wxdj6qn64c5q9_kr6czr0000gn/T/MSBuildTemprunner/tmp58b6b197481a4eb7b080ec79e70515ad.exec.
cmd: line 2:  7199 Bus error: 10           "/Users/runner/hostedtoolcache/dotnet/dotnet" 
"/Users/runner/work/1/s/bin/Release-net8.0//jnimarshalmethod-gen.dll" "/Users/runner/work/1/s/samples/Hello-
NativeAOTFromJNI/bin/Release/Hello-NativeAOTFromJNI.dll" -v -v --keeptemp -L "/Users/runner/work/1/s/samples/Hello-
NativeAOTFromJNI/bin/Release/"

##[error]samples/Hello-NativeAOTFromJNI/Hello-NativeAOTFromJNI.targets(44,5): Error MSB3073: The command 
""/Users/runner/hostedtoolcache/dotnet/dotnet" "/Users/runner/work/1/s/bin/Release-net8.0//jnimarshalmethod-gen.dll" 
"/Users/runner/work/1/s/samples/Hello-NativeAOTFromJNI/bin/Release/Hello-NativeAOTFromJNI.dll" -v -v --keeptemp -L 
"/Users/runner/work/1/s/samples/Hello-NativeAOTFromJNI/bin/Release/" " exited with code 138.

Pin to .NET '8.0.303' for now while this regression is investigated/fixed in .NET.

@jpobst jpobst marked this pull request as ready for review August 19, 2024 19:57
@jpobst jpobst requested a review from jonpryor August 19, 2024 19:57
@jonpryor jonpryor merged commit d30d554 into main Aug 20, 2024
@jonpryor jonpryor deleted the pin-net8 branch August 20, 2024 17:36
@github-actions github-actions bot locked and limited conversation to collaborators Sep 20, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants