-
-
Notifications
You must be signed in to change notification settings - Fork 227
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
Exported project crash on Linux #2296
Comments
Please try using the latest Godot 4.3 beta, the version you used is broken. |
Hi, I tried with Godot 4.3 beta1 and the executable is not immediately crashing but still not running as expected.
There is still error logs: Godot Engine v4.3.beta1.official.a4f2ea91a - https://godotengine.org OpenGL API 4.6 (Core Profile) Mesa 23.2.1-1ubuntu3.1~22.04.2 - Compatibility - Using Device: Intel - Mesa Intel(R) UHD Graphics 630 (CFL GT2) ERROR: Parser bug: Mismatched external parser. at: resolve_class_member (modules/gdscript/gdscript_analyzer.cpp:909) ERROR: Parser bug: Mismatched external parser. at: resolve_class_member (modules/gdscript/gdscript_analyzer.cpp:909) ERROR: Parser bug: Mismatched external parser. at: resolve_class_member (modules/gdscript/gdscript_analyzer.cpp:909) ERROR: Parser bug: Mismatched external parser. at: resolve_class_member (modules/gdscript/gdscript_analyzer.cpp:909) ERROR: Parser bug: Mismatched external parser. at: resolve_class_member (modules/gdscript/gdscript_analyzer.cpp:909) ERROR: Parser bug: Mismatched external parser. at: resolve_class_member (modules/gdscript/gdscript_analyzer.cpp:909) ERROR: Parser bug: Mismatched external parser. at: resolve_class_member (modules/gdscript/gdscript_analyzer.cpp:909) ERROR: Parser bug: Mismatched external parser. at: resolve_class_member (modules/gdscript/gdscript_analyzer.cpp:909) ERROR: Parser bug: Mismatched external parser. at: resolve_class_member (modules/gdscript/gdscript_analyzer.cpp:909) ERROR: Parser bug: Mismatched external parser. at: resolve_class_member (modules/gdscript/gdscript_analyzer.cpp:909) ERROR: Parser bug: Mismatched external parser. at: resolve_class_member (modules/gdscript/gdscript_analyzer.cpp:909) ERROR: Parser bug: Mismatched external parser. at: resolve_class_member (modules/gdscript/gdscript_analyzer.cpp:909) ERROR: Parser bug: Mismatched external parser. at: resolve_class_member (modules/gdscript/gdscript_analyzer.cpp:909) ERROR: Parser bug: Mismatched external parser. at: resolve_class_member (modules/gdscript/gdscript_analyzer.cpp:909) SCRIPT ERROR: Parse Error: Cannot infer the type of "_result" variable because the value doesn't have a set type. at: GDScript::reload (res://addons/dialogic/Modules/History/subsystem_history.gd:68) SCRIPT ERROR: Compile Error: at: GDScript::reload (res://addons/dialogic/Modules/Text/auto_skip.gd:-1) ERROR: Parser bug: Mismatched external parser. at: resolve_class_member (modules/gdscript/gdscript_analyzer.cpp:909) ERROR: Parser bug: Mismatched external parser. at: resolve_class_member (modules/gdscript/gdscript_analyzer.cpp:909) ERROR: Parser bug: Mismatched external parser. at: resolve_class_member (modules/gdscript/gdscript_analyzer.cpp:909) ERROR: Parser bug: Mismatched external parser. at: resolve_class_member (modules/gdscript/gdscript_analyzer.cpp:909) SCRIPT ERROR: Compile Error: at: GDScript::reload (res://addons/dialogic/Modules/Voice/event_voice.gd:-1) SCRIPT ERROR: Compile Error: at: GDScript::reload (res://addons/dialogic/Modules/Voice/subsystem_voice.gd:-1) SCRIPT ERROR: Compile Error: at: GDScript::reload (res://addons/dialogic/Modules/Text/auto_advance.gd:-1) SCRIPT ERROR: Compile Error: at: GDScript::reload (res://addons/dialogic/Modules/Text/subsystem_text.gd:-1) ERROR: Parser bug: Mismatched external parser. at: resolve_class_member (modules/gdscript/gdscript_analyzer.cpp:909) ERROR: Parser bug: Mismatched external parser. at: resolve_class_member (modules/gdscript/gdscript_analyzer.cpp:909) ERROR: Parser bug: Mismatched external parser. at: resolve_class_member (modules/gdscript/gdscript_analyzer.cpp:909) ERROR: Parser bug: Mismatched external parser. at: resolve_class_member (modules/gdscript/gdscript_analyzer.cpp:909) ERROR: Parser bug: Mismatched external parser. at: resolve_class_member (modules/gdscript/gdscript_analyzer.cpp:909) ERROR: Parser bug: Mismatched external parser. at: resolve_class_member (modules/gdscript/gdscript_analyzer.cpp:909) ERROR: Parser bug: Mismatched external parser. at: resolve_class_member (modules/gdscript/gdscript_analyzer.cpp:909) ERROR: Parser bug: Mismatched external parser. at: resolve_class_member (modules/gdscript/gdscript_analyzer.cpp:909) ERROR: Parser bug: Mismatched external parser. at: resolve_class_member (modules/gdscript/gdscript_analyzer.cpp:909) ERROR: Parser bug: Mismatched external parser. at: resolve_class_member (modules/gdscript/gdscript_analyzer.cpp:909) SCRIPT ERROR: Parse Error: Cannot infer the type of "_result" variable because the value doesn't have a set type. at: GDScript::reload (res://addons/dialogic/Modules/History/subsystem_history.gd:68) SCRIPT ERROR: Compile Error: at: GDScript::reload (res://addons/dialogic/Modules/Choice/subsystem_choices.gd:-1) ERROR: Parser bug: Mismatched external parser. at: resolve_class_member (modules/gdscript/gdscript_analyzer.cpp:909) ERROR: Parser bug: Mismatched external parser. at: resolve_class_member (modules/gdscript/gdscript_analyzer.cpp:909) ERROR: Parser bug: Mismatched external parser. at: resolve_class_member (modules/gdscript/gdscript_analyzer.cpp:909) ERROR: Parser bug: Mismatched external parser. at: resolve_class_member (modules/gdscript/gdscript_analyzer.cpp:909) SCRIPT ERROR: Parse Error: Cannot infer the type of "_result" variable because the value doesn't have a set type. at: GDScript::reload (res://addons/dialogic/Modules/History/subsystem_history.gd:68) SCRIPT ERROR: Compile Error: at: GDScript::reload (res://addons/dialogic/Modules/Text/event_text.gd:-1) SCRIPT ERROR: Compile Error: at: GDScript::reload (res://addons/dialogic/Core/DialogicResourceUtil.gd:-1) SCRIPT ERROR: Compile Error: at: GDScript::reload (res://addons/dialogic/Resources/timeline.gd:-1) ERROR: Parser bug: Mismatched external parser. at: resolve_class_member (modules/gdscript/gdscript_analyzer.cpp:909) ERROR: Parser bug: Mismatched external parser. at: resolve_class_member (modules/gdscript/gdscript_analyzer.cpp:909) ERROR: Parser bug: Mismatched external parser. at: resolve_class_member (modules/gdscript/gdscript_analyzer.cpp:909) ERROR: Parser bug: Mismatched external parser. at: resolve_class_member (modules/gdscript/gdscript_analyzer.cpp:909) ERROR: Parser bug: Mismatched external parser. at: resolve_class_member (modules/gdscript/gdscript_analyzer.cpp:909) SCRIPT ERROR: Parse Error: Cannot infer the type of "_result" variable because the value doesn't have a set type. at: GDScript::reload (res://addons/dialogic/Modules/History/subsystem_history.gd:68) SCRIPT ERROR: Compile Error: at: GDScript::reload (res://addons/dialogic/Core/DialogicGameHandler.gd:-1) SCRIPT ERROR: Compile Error: at: GDScript::reload (res://addons/dialogic/Core/DialogicUtil.gd:-1) SCRIPT ERROR: Compile Error: at: GDScript::reload (res://addons/dialogic/Resources/character.gd:-1) SCRIPT ERROR: Compile Error: at: GDScript::reload (res://addons/dialogic/Resources/CharacterResourceLoader.gd:-1) ERROR: Failed to load script "res://addons/dialogic/Resources/CharacterResourceLoader.gd" with error "Compilation failed". at: load (modules/gdscript/gdscript.cpp:2943) SCRIPT ERROR: Invalid call. Nonexistent function 'start' in base 'Node'. at: _ready (res://node_3d.gd:4) Then, when I close the executable, I got a crash: WARNING: ObjectDB instances leaked at exit (run with --verbose for details). at: cleanup (core/object/object.cpp:2316) ERROR: 16 resources still in use at exit (run with --verbose for details). at: clear (core/io/resource.cpp:604) [1] 130082 segmentation fault (core dumped) ./test-export-dialogic2.x86_64 Fortunately, the Workaround by changing the Scripts -> GDSCript Export Mode to Text is still working with leakage at exit. |
4.3 released beta2 yesterday, Give that one a try |
Good news, Godot 4.3 beta2 included a fix about mismatch parser error |
Thats ultimately a different issue, so I'll set this one to closed for the time being. Feel free to open a new one if you think Dialogic may be the source of the leaks. |
The problem
Describe the bug
When exporting a project for Linux, the executable crashes immediately because of Dialogic2 Alpha 14.
Similar to the crash on Windows which had been fixed in Alpha14.
To Reproduce
Steps to reproduce the behavior:
Godot project to reproduce: test-export-dialogic2.zip
Expected behavior
I expect the executable to not crash and not produce error logs.
To compare, I created a new project with one scene and exported directly. There is no error logs and it doesnt crash.
Error log from the executable
System (please complete the following information):
Solutions
Workaround
Scripts -> GDSCript Export Mode
toText
, the executable can run.There are still leaking errors when closing the game.
The text was updated successfully, but these errors were encountered: