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

Godo crash opening existing c# project #36837

Closed
irmantus opened this issue Mar 5, 2020 · 1 comment
Closed

Godo crash opening existing c# project #36837

irmantus opened this issue Mar 5, 2020 · 1 comment
Labels

Comments

@irmantus
Copy link

irmantus commented Mar 5, 2020

Godot version:
Godot Mono 3.2
Godot Mono 3.2.1 RC2

OS/device including version:
macOS 10.12.6

Issue description:
Project was working fine yesterday, but today when I try to open same project it crashes.

Dump from terminal Irmantass-iMac:Applications irmantas$ ./Godot_mono.app/Contents/MacOS/Godot arguments 0: ./Godot_mono.app/Contents/MacOS/Godot Current path: /Applications Godot Engine v3.2.stable.mono.official - https://godotengine.org OpenGL ES 3.0 Renderer: Intel Iris Pro OpenGL Engine

Mono: Logfile is: /Users/irmantas/Library/Application Support/Godot/mono/mono_logs/2020_03_05 22.30.43 (1383).txt
Editing project: /Users/irmantas/MEGAsync/Game/myGame (::Users::irmantas::MEGAsync::Game::myGame)
arguments
0: /Applications/Godot_mono.app/Contents/MacOS/Godot
1: --path
2: /Users/irmantas/MEGAsync/Game/myGame
3: --editor
Current path: /Applications
Godot Engine v3.2.stable.mono.official - https://godotengine.org
OpenGL ES 3.0 Renderer: Intel Iris Pro OpenGL Engine

Mono: Logfile is: /Users/irmantas/Library/Application Support/Godot/mono/mono_logs/2020_03_05 22.30.47 (1384).txt
ERROR: copy: Failed to open res://.mono/assemblies/Debug/GodotSharp.xml
At: core/os/dir_access.cpp:297.
WARNING: copy_prebuilt_api_assembly: Failed to copy 'GodotSharp.xml'.
At: modules/mono/mono_gd/gd_mono.cpp:633.
ERROR: copy: Failed to open res://.mono/assemblies/Debug/GodotSharp.pdb
At: core/os/dir_access.cpp:297.
WARNING: copy_prebuilt_api_assembly: Failed to copy 'GodotSharp.pdb'.
At: modules/mono/mono_gd/gd_mono.cpp:637.
ERROR: copy: Failed to open res://.mono/assemblies/Debug/GodotSharp.dll
At: core/os/dir_access.cpp:297.
ERROR: copy_prebuilt_api_assembly: Failed to copy 'GodotSharp.dll'.
At: modules/mono/mono_gd/gd_mono.cpp:641.
ERROR: _load_api_assemblies: The assembly is invalidated and the prebuilt assemblies are missing.
At: modules/mono/mono_gd/gd_mono.cpp:910.

=================================================================
Native Crash Reporting

Got a SIGILL while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.

=================================================================
Native stacktrace:

0x102da39d8 - /Applications/Godot_mono.app/Contents/MacOS/Godot : mono_dump_native_crash_info
0x102d97245 - /Applications/Godot_mono.app/Contents/MacOS/Godot : mono_handle_native_crash
0x102daabf0 - /Applications/Godot_mono.app/Contents/MacOS/Godot : mono_sigill_signal_handler
0x7fffadea3b3a - /usr/lib/system/libsystem_platform.dylib : _sigtramp
0x21 - Unknown
0x1035b779e - /Applications/Godot_mono.app/Contents/MacOS/Godot : _ZN6GDMono26initialize_load_assembliesEv
0x103530c0a - /Applications/Godot_mono.app/Contents/MacOS/Godot : _ZN14CSharpLanguage4initEv
0x10578bd39 - /Applications/Godot_mono.app/Contents/MacOS/Godot : _ZN12ScriptServer14init_languagesEv
0x10302655a - /Applications/Godot_mono.app/Contents/MacOS/Godot : _ZN4Main6setup2Ey
0x103020c48 - /Applications/Godot_mono.app/Contents/MacOS/Godot : _ZN4Main5setupEPKciPPcb
0x1030075d9 - /Applications/Godot_mono.app/Contents/MacOS/Godot : main
0x7fffadc94235 - /usr/lib/system/libdyld.dylib : start

=================================================================
Telemetry Dumper:

Pkilling 0x70000f939000 from 0x7fffb6bc43c0

  • Assertion: should not be reached at threads.c:6254

Unhandled Exception:
System.NullReferenceException: Object reference not set to an instance of an object
Entering thread summarizer pause from 0x7fffb6bc43c0
Finished thread summarizer pause from 0x7fffb6bc43c0.
ERROR: debug_send_unhandled_exception_error: System.NullReferenceException: Object reference not set to an instance of an object
At: modules/mono/mono_gd/gd_mono_utils.cpp:357.

Waiting for dumping threads to resume
Irmantass-iMac:Applications irmantas$

External Debugger Dump:

=================================================================
(lldb) command source -s 0 '/tmp/mono-gdb-commands.1384'
Executing commands in '/tmp/mono-gdb-commands.1384'.
(lldb) process attach --pid 1384
Process 1384 stopped

  • thread adding global doesn't automatically flush to engine.cfg and is confusing. #1, name = 'tid_307', queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
    frame #0: 0x00007fffaddc33ee libsystem_kernel.dylib__wait4 + 10 libsystem_kernel.dylib__wait4:
    -> 0x7fffaddc33ee <+10>: jae 0x7fffaddc33f8 ; <+20>
    0x7fffaddc33f0 <+12>: movq %rax, %rdi
    0x7fffaddc33f3 <+15>: jmp 0x7fffaddbbcd4 ; cerror
    0x7fffaddc33f8 <+20>: retq
    Target 0: (Godot) stopped.

Executable module set to "/Applications/Godot_mono.app/Contents/MacOS/Godot".
Architecture set to: x86_64h-apple-macosx.
(lldb) thread list
Process 1384 stopped

=================================================================
Basic Fault Address Reporting

Memory around native instruction pointer (0x1035b7a42):0x1035b7a32 8d 45 d8 ba 8e 03 00 00 45 31 c9 e8 8e 91 0f 02 .E......E1......
0x1035b7a42 0f 0b 41 8a 07 84 c0 75 2c 48 8d 05 7e 01 89 03 ..A....u,H..~...
0x1035b7a52 80 b8 a9 02 00 00 00 75 3e 48 8d 3d a4 00 11 03 .......u>H.=....
0x1035b7a62 48 8d 35 af f9 10 03 48 8d 0d fe 01 11 03 ba a0 H.5....H........

=================================================================
Managed Stacktrace:

=================================================================

Irmantass-iMac:Applications irmantas$

@irmantus
Copy link
Author

irmantus commented Mar 6, 2020

And today it started working again. Not sure what happened, maybe reboot did the trick.

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

No branches or pull requests

2 participants