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

Godot crashes when generating mono glue if PWD is godot project #83128

Closed
TCROC opened this issue Oct 10, 2023 · 0 comments · Fixed by #91509
Closed

Godot crashes when generating mono glue if PWD is godot project #83128

TCROC opened this issue Oct 10, 2023 · 0 comments · Fixed by #91509

Comments

@TCROC
Copy link
Contributor

TCROC commented Oct 10, 2023

Godot version

commit hash: d80ce0c

System information

Pop OS 22.04

Issue description

I'm putting this issue in for tracking purposes. I also have a PR incoming with a fix.

When generating glue following these docs:

https://docs.godotengine.org/en/stable/contributing/development/compiling/compiling_with_dotnet.html#generate-the-glue

Godot crashes if it is generated while the PWD is a godot project.

Here is the stacktrace:

Godot Engine v4.2.dev.mono.custom_build.d80ce0c52 - https://godotengine.org
 

================================================================
handle_crash: Program crashed with signal 11
Engine version: Godot Engine v4.2.dev.mono.custom_build (d80ce0c52a097c35bb4d441e7a9c0a76e6342ba4)
Dumping the backtrace. Please include this when reporting the bug to the project developer.
[1] /lib/x86_64-linux-gnu/libc.so.6(+0x42520) [0x7f6cfa642520] (??:0)
[2] submodules/godot/bin/godot.linuxbsd.editor.x86_64.llvm.mono(+0x33302a7) [0x55f5f45ee2a7] (/home/tcroc/dev/BlockyBallOT/submodules/godot/./core/templates/cowdata.h:397)
[3] submodules/godot/bin/godot.linuxbsd.editor.x86_64.llvm.mono(+0x31fd9a3) [0x55f5f44bb9a3] (/home/tcroc/dev/BlockyBallOT/submodules/godot/editor/editor_help.cpp:2365)
[4] submodules/godot/bin/godot.linuxbsd.editor.x86_64.llvm.mono(+0x31fe3a4) [0x55f5f44bc3a4] (??:?)
[5] submodules/godot/bin/godot.linuxbsd.editor.x86_64.llvm.mono(+0x58843d2) [0x55f5f6b423d2] (/home/tcroc/dev/BlockyBallOT/submodules/godot/core/os/thread.cpp:63)
[6] submodules/godot/bin/godot.linuxbsd.editor.x86_64.llvm.mono(+0x60aa763) [0x55f5f7368763] (msdf-error-correction.cpp:?)
[7] /lib/x86_64-linux-gnu/libc.so.6(+0x94ac3) [0x7f6cfa694ac3] (??:0)
[8] /lib/x86_64-linux-gnu/libc.so.6(+0x126a40) [0x7f6cfa726a40] (??:0)
-- END OF BACKTRACE --
================================================================
Aborted (core dumped)

Steps to reproduce

  1. Create a godot project
  2. Make sure your PWD is in the godot project
  3. Generate the mono glue
  4. Watch the world burn

Minimal reproduction project

The steps to reproduce above

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

Successfully merging a pull request may close this issue.

3 participants