Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash when opening project after unify build PR #66703

Closed
nonunknown opened this issue Oct 1, 2022 · 1 comment
Closed

Crash when opening project after unify build PR #66703

nonunknown opened this issue Oct 1, 2022 · 1 comment

Comments

@nonunknown
Copy link
Contributor

nonunknown commented Oct 1, 2022

Godot version

e69b708

System information

Manjaro linux

Issue description

ps: this is the fisrt build for mono after: #66242

when opening the project this crash report happens:

The specified runtimeconfig.json [/run/media/nonunknown/3a1f3657-ce4a-4ffa-8f65-f41e1dfcaf68/godot/bin/GodotSharp/Api/Debug/GodotPlugins.runtimeconfig.json] does not exist
ERROR: hostfxr_initialize_for_runtime_config failed with code: -2147450733
   at: initialize_hostfxr_for_config (modules/mono/mono_gd/gd_mono.cpp:201)
ERROR: Parameter "load_assembly_and_get_function_pointer" is null.
   at: initialize_hostfxr_and_godot_plugins (modules/mono/mono_gd/gd_mono.cpp:274)
ERROR: Parameter "godot_plugins_initialize" is null.
   at: initialize (modules/mono/mono_gd/gd_mono.cpp:403)

================================================================
handle_crash: Program crashed with signal 11
Engine version: Godot Engine v4.0.beta.mono.custom_build (e69b7083d45c5d8698508cce7086d361c4b1f44c)
Dumping the backtrace. Please include this when reporting the bug to the project developer.
[1] /usr/lib/libc.so.6(+0x38a40) [0x7fb2813e9a40] (??:0)
-- END OF BACKTRACE --
================================================================


this is the build message:

Running MSBuild:  /usr/bin/dotnet msbuild /run/media/nonunknown/3a1f3657-ce4a-4ffa-8f65-f41e1dfcaf68/godot/modules/mono/glue/GodotSharp/GodotSharp.sln /restore /t:Build /p:Configuration=Debug /p:NoWarn=1591 /p:ClearNuGetLocalCache=true /p:PushNuGetToLocalSource=/run/media/nonunknown/3a1f3657-ce4a-4ffa-8f65-f41e1dfcaf68/CustomNuget
Microsoft(R) Build Engine versão 17.0.0+c9eb9dd64 para .NET 
Copyright (C) Microsoft Corporation. Todos os direitos reservados.

  Determining projects to restore...
  Restored /run/media/nonunknown/3a1f3657-ce4a-4ffa-8f65-f41e1dfcaf68/godot/modules/mono/glue/GodotSharp/GodotPlugins/GodotPlugins.csproj (in 79 ms).
  Restored /run/media/nonunknown/3a1f3657-ce4a-4ffa-8f65-f41e1dfcaf68/godot/modules/mono/glue/GodotSharp/GodotSharpEditor/GodotSharpEditor.csproj (in 79 ms).
  Restored /run/media/nonunknown/3a1f3657-ce4a-4ffa-8f65-f41e1dfcaf68/godot/modules/mono/glue/GodotSharp/GodotSharp/GodotSharp.csproj (in 100 ms).
  Restored /run/media/nonunknown/3a1f3657-ce4a-4ffa-8f65-f41e1dfcaf68/godot/modules/mono/glue/GodotSharp/Godot.SourceGenerators.Internal/Godot.SourceGenerators.Internal.csproj (in 145 ms).
/run/media/nonunknown/3a1f3657-ce4a-4ffa-8f65-f41e1dfcaf68/godot/modules/mono/glue/GodotSharp/GodotSharp/GodotSharp.csproj(139,3): error MSB4019: o projeto importado "/run/media/nonunknown/3a1f3657-ce4a-4ffa-8f65-f41e1dfcaf68/godot/modules/mono/glue/GodotSharp/GodotSharp/Generated/GeneratedIncludes.props" não foi localizado. Confirme se a expressão na declaração Import "Generated/GeneratedIncludes.props" está correta e se o arquivo existe no disco.
/run/media/nonunknown/3a1f3657-ce4a-4ffa-8f65-f41e1dfcaf68/godot/modules/mono/glue/GodotSharp/GodotSharpEditor/GodotSharpEditor.csproj(41,3): error MSB4019: o projeto importado "/run/media/nonunknown/3a1f3657-ce4a-4ffa-8f65-f41e1dfcaf68/godot/modules/mono/glue/GodotSharp/GodotSharpEditor/Generated/GeneratedIncludes.props" não foi localizado. Confirme se a expressão na declaração Import "Generated/GeneratedIncludes.props" está correta e se o arquivo existe no disco.
/usr/share/dotnet/sdk/6.0.108/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets(267,5): error MSB4018: Falha inesperada da tarefa "ResolvePackageAssets". [/run/media/nonunknown/3a1f3657-ce4a-4ffa-8f65-f41e1dfcaf68/godot/modules/mono/glue/GodotSharp/GodotPlugins/GodotPlugins.csproj]
/usr/share/dotnet/sdk/6.0.108/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets(267,5): error MSB4018: NuGet.Packaging.Core.PackagingException: Unable to find fallback package folder '/home/nonunknown/.local/share/godot/mono/GodotNuGetFallbackFolder'. [/run/media/nonunknown/3a1f3657-ce4a-4ffa-8f65-f41e1dfcaf68/godot/modules/mono/glue/GodotSharp/GodotPlugins/GodotPlugins.csproj]
/usr/share/dotnet/sdk/6.0.108/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets(267,5): error MSB4018:    at NuGet.Packaging.FallbackPackagePathResolver..ctor(String userPackageFolder, IEnumerable`1 fallbackPackageFolders) [/run/media/nonunknown/3a1f3657-ce4a-4ffa-8f65-f41e1dfcaf68/godot/modules/mono/glue/GodotSharp/GodotPlugins/GodotPlugins.csproj]
/usr/share/dotnet/sdk/6.0.108/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets(267,5): error MSB4018:    at Microsoft.NET.Build.Tasks.NuGetPackageResolver.CreateResolver(IEnumerable`1 packageFolders) [/run/media/nonunknown/3a1f3657-ce4a-4ffa-8f65-f41e1dfcaf68/godot/modules/mono/glue/GodotSharp/GodotPlugins/GodotPlugins.csproj]
/usr/share/dotnet/sdk/6.0.108/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets(267,5): error MSB4018:    at Microsoft.NET.Build.Tasks.NuGetPackageResolver.CreateResolver(LockFile lockFile) [/run/media/nonunknown/3a1f3657-ce4a-4ffa-8f65-f41e1dfcaf68/godot/modules/mono/glue/GodotSharp/GodotPlugins/GodotPlugins.csproj]
/usr/share/dotnet/sdk/6.0.108/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets(267,5): error MSB4018:    at Microsoft.NET.Build.Tasks.ResolvePackageAssets.CacheWriter..ctor(ResolvePackageAssets task) [/run/media/nonunknown/3a1f3657-ce4a-4ffa-8f65-f41e1dfcaf68/godot/modules/mono/glue/GodotSharp/GodotPlugins/GodotPlugins.csproj]
/usr/share/dotnet/sdk/6.0.108/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets(267,5): error MSB4018:    at Microsoft.NET.Build.Tasks.ResolvePackageAssets.CacheReader.CreateReaderFromDisk(ResolvePackageAssets task, Byte[] settingsHash) [/run/media/nonunknown/3a1f3657-ce4a-4ffa-8f65-f41e1dfcaf68/godot/modules/mono/glue/GodotSharp/GodotPlugins/GodotPlugins.csproj]
/usr/share/dotnet/sdk/6.0.108/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets(267,5): error MSB4018:    at Microsoft.NET.Build.Tasks.ResolvePackageAssets.CacheReader..ctor(ResolvePackageAssets task) [/run/media/nonunknown/3a1f3657-ce4a-4ffa-8f65-f41e1dfcaf68/godot/modules/mono/glue/GodotSharp/GodotPlugins/GodotPlugins.csproj]
/usr/share/dotnet/sdk/6.0.108/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets(267,5): error MSB4018:    at Microsoft.NET.Build.Tasks.ResolvePackageAssets.ReadItemGroups() [/run/media/nonunknown/3a1f3657-ce4a-4ffa-8f65-f41e1dfcaf68/godot/modules/mono/glue/GodotSharp/GodotPlugins/GodotPlugins.csproj]
/usr/share/dotnet/sdk/6.0.108/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets(267,5): error MSB4018:    at Microsoft.NET.Build.Tasks.ResolvePackageAssets.ExecuteCore() [/run/media/nonunknown/3a1f3657-ce4a-4ffa-8f65-f41e1dfcaf68/godot/modules/mono/glue/GodotSharp/GodotPlugins/GodotPlugins.csproj]
/usr/share/dotnet/sdk/6.0.108/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets(267,5): error MSB4018:    at Microsoft.NET.Build.Tasks.TaskBase.Execute() [/run/media/nonunknown/3a1f3657-ce4a-4ffa-8f65-f41e1dfcaf68/godot/modules/mono/glue/GodotSharp/GodotPlugins/GodotPlugins.csproj]
/usr/share/dotnet/sdk/6.0.108/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets(267,5): error MSB4018:    at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute() [/run/media/nonunknown/3a1f3657-ce4a-4ffa-8f65-f41e1dfcaf68/godot/modules/mono/glue/GodotSharp/GodotPlugins/GodotPlugins.csproj]
/usr/share/dotnet/sdk/6.0.108/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets(267,5): error MSB4018:    at Microsoft.Build.BackEnd.TaskBuilder.ExecuteInstantiatedTask(ITaskExecutionHost taskExecutionHost, TaskLoggingContext taskLoggingContext, TaskHost taskHost, ItemBucket bucket, TaskExecutionMode howToExecuteTask) [/run/media/nonunknown/3a1f3657-ce4a-4ffa-8f65-f41e1dfcaf68/godot/modules/mono/glue/GodotSharp/GodotPlugins/GodotPlugins.csproj]
/usr/share/dotnet/sdk/6.0.108/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets(267,5): error MSB4018: Falha inesperada da tarefa "ResolvePackageAssets". [/run/media/nonunknown/3a1f3657-ce4a-4ffa-8f65-f41e1dfcaf68/godot/modules/mono/glue/GodotSharp/Godot.SourceGenerators.Internal/Godot.SourceGenerators.Internal.csproj]
/usr/share/dotnet/sdk/6.0.108/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets(267,5): error MSB4018: NuGet.Packaging.Core.PackagingException: Unable to find fallback package folder '/home/nonunknown/.local/share/godot/mono/GodotNuGetFallbackFolder'. [/run/media/nonunknown/3a1f3657-ce4a-4ffa-8f65-f41e1dfcaf68/godot/modules/mono/glue/GodotSharp/Godot.SourceGenerators.Internal/Godot.SourceGenerators.Internal.csproj]
/usr/share/dotnet/sdk/6.0.108/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets(267,5): error MSB4018:    at NuGet.Packaging.FallbackPackagePathResolver..ctor(String userPackageFolder, IEnumerable`1 fallbackPackageFolders) [/run/media/nonunknown/3a1f3657-ce4a-4ffa-8f65-f41e1dfcaf68/godot/modules/mono/glue/GodotSharp/Godot.SourceGenerators.Internal/Godot.SourceGenerators.Internal.csproj]
/usr/share/dotnet/sdk/6.0.108/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets(267,5): error MSB4018:    at Microsoft.NET.Build.Tasks.NuGetPackageResolver.CreateResolver(IEnumerable`1 packageFolders) [/run/media/nonunknown/3a1f3657-ce4a-4ffa-8f65-f41e1dfcaf68/godot/modules/mono/glue/GodotSharp/Godot.SourceGenerators.Internal/Godot.SourceGenerators.Internal.csproj]
/usr/share/dotnet/sdk/6.0.108/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets(267,5): error MSB4018:    at Microsoft.NET.Build.Tasks.NuGetPackageResolver.CreateResolver(LockFile lockFile) [/run/media/nonunknown/3a1f3657-ce4a-4ffa-8f65-f41e1dfcaf68/godot/modules/mono/glue/GodotSharp/Godot.SourceGenerators.Internal/Godot.SourceGenerators.Internal.csproj]
/usr/share/dotnet/sdk/6.0.108/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets(267,5): error MSB4018:    at Microsoft.NET.Build.Tasks.ResolvePackageAssets.CacheWriter..ctor(ResolvePackageAssets task) [/run/media/nonunknown/3a1f3657-ce4a-4ffa-8f65-f41e1dfcaf68/godot/modules/mono/glue/GodotSharp/Godot.SourceGenerators.Internal/Godot.SourceGenerators.Internal.csproj]
/usr/share/dotnet/sdk/6.0.108/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets(267,5): error MSB4018:    at Microsoft.NET.Build.Tasks.ResolvePackageAssets.CacheReader.CreateReaderFromDisk(ResolvePackageAssets task, Byte[] settingsHash) [/run/media/nonunknown/3a1f3657-ce4a-4ffa-8f65-f41e1dfcaf68/godot/modules/mono/glue/GodotSharp/Godot.SourceGenerators.Internal/Godot.SourceGenerators.Internal.csproj]
/usr/share/dotnet/sdk/6.0.108/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets(267,5): error MSB4018:    at Microsoft.NET.Build.Tasks.ResolvePackageAssets.CacheReader..ctor(ResolvePackageAssets task) [/run/media/nonunknown/3a1f3657-ce4a-4ffa-8f65-f41e1dfcaf68/godot/modules/mono/glue/GodotSharp/Godot.SourceGenerators.Internal/Godot.SourceGenerators.Internal.csproj]
/usr/share/dotnet/sdk/6.0.108/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets(267,5): error MSB4018:    at Microsoft.NET.Build.Tasks.ResolvePackageAssets.ReadItemGroups() [/run/media/nonunknown/3a1f3657-ce4a-4ffa-8f65-f41e1dfcaf68/godot/modules/mono/glue/GodotSharp/Godot.SourceGenerators.Internal/Godot.SourceGenerators.Internal.csproj]
/usr/share/dotnet/sdk/6.0.108/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets(267,5): error MSB4018:    at Microsoft.NET.Build.Tasks.ResolvePackageAssets.ExecuteCore() [/run/media/nonunknown/3a1f3657-ce4a-4ffa-8f65-f41e1dfcaf68/godot/modules/mono/glue/GodotSharp/Godot.SourceGenerators.Internal/Godot.SourceGenerators.Internal.csproj]
/usr/share/dotnet/sdk/6.0.108/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets(267,5): error MSB4018:    at Microsoft.NET.Build.Tasks.TaskBase.Execute() [/run/media/nonunknown/3a1f3657-ce4a-4ffa-8f65-f41e1dfcaf68/godot/modules/mono/glue/GodotSharp/Godot.SourceGenerators.Internal/Godot.SourceGenerators.Internal.csproj]
/usr/share/dotnet/sdk/6.0.108/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets(267,5): error MSB4018:    at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute() [/run/media/nonunknown/3a1f3657-ce4a-4ffa-8f65-f41e1dfcaf68/godot/modules/mono/glue/GodotSharp/Godot.SourceGenerators.Internal/Godot.SourceGenerators.Internal.csproj]
/usr/share/dotnet/sdk/6.0.108/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets(267,5): error MSB4018:    at Microsoft.Build.BackEnd.TaskBuilder.ExecuteInstantiatedTask(ITaskExecutionHost taskExecutionHost, TaskLoggingContext taskLoggingContext, TaskHost taskHost, ItemBucket bucket, TaskExecutionMode howToExecuteTask) [/run/media/nonunknown/3a1f3657-ce4a-4ffa-8f65-f41e1dfcaf68/godot/modules/mono/glue/GodotSharp/Godot.SourceGenerators.Internal/Godot.SourceGenerators.Internal.csproj]
scons: Reading SConscript files ...
Warning: Speech Dispatcher development libraries not found. Disabling Text-to-Speech support.
Building for platform "linuxbsd", architecture "x86_64", target "editor.
Checking for C header file mntent.h... (cached) yes
scons: done reading SConscript files.
scons: Building targets ...
[100%] progress_finish(["progress_finish"], [])
[100%] scons: done building targets.
[Time elapsed: 00:00:08.626]
./compile_mono.sh: linha 9: ./bin/godot.linuxbsd.tools.x86_64.mono: Arquivo ou diretório inexistente

Steps to reproduce

build settings:

compile_mono.sh

cd godot
git switch master
git pull
scons p=linuxbsd tools=yes module_mono_enabled=yes mono_glue=no target=editor -j12
bin/godot.linuxbsd.tools.x86_64.mono --generate-mono-glue modules/mono/glue
./modules/mono/build_scripts/build_assemblies.py --godot-output-dir ./bin \
    --push-nupkgs-local /run/media/nonunknown/3a1f3657-ce4a-4ffa-8f65-f41e1dfcaf68/CustomNuget/
scons p=linuxbsd target=editor tools=yes module_mono_enabled=yes -j12
./bin/godot.linuxbsd.tools.x86_64.mono -v

Minimal reproduction project

N/a

@akien-mga
Copy link
Member

You're running the wrong build. Please read the description of the PR you linked :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants