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

Engine crash while loading or creating projects. #58588

Closed
Haridev669 opened this issue Feb 27, 2022 · 7 comments
Closed

Engine crash while loading or creating projects. #58588

Haridev669 opened this issue Feb 27, 2022 · 7 comments

Comments

@Haridev669
Copy link

Godot version

4.0 dev

System information

Ubuntu 20.04, GLES3, Intel uhd 630 graphics

Issue description

The engine crashes when we create a new project, or import or scan one.

Steps to reproduce

Opening the engine , i clicked create project . The engine crashes after me giving the name and dir.

Minimal reproduction project

No response

@Haridev669
Copy link
Author

The build was a custom one which i built from the master branch, which had a last commit 23 hrs ago.

@Karmavil
Copy link
Contributor

I can confirm the crash

Godot Engine v4.0.alpha.custom_build.234eb83df - https://godotengine.org
Vulkan API 1.2.0 - Using Vulkan Device #0: NVIDIA - NVIDIA GeForce GTX 960
 
X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  42 (X_SetInputFocus)
  Serial number of failed request:  31277
  Current serial number in output stream:  31278
ERROR: BUG: Unreferenced static string to 0: process_internal
   at: unref (core/string/string_name.cpp:117)
ERROR: BUG: Unreferenced static string to 0: physics_process
   at: unref (core/string/string_name.cpp:117)
ERROR: BUG: Unreferenced static string to 0: physics_process_internal
   at: unref (core/string/string_name.cpp:117)
ERROR: BUG: Unreferenced static string to 0: driver_name
   at: unref (core/string/string_name.cpp:117)
ERROR: BUG: Unreferenced static string to 0: title_button_font_size
   at: unref (core/string/string_name.cpp:117)
ERROR: BUG: Unreferenced static string to 0: GuiHsplitBg
   at: unref (core/string/string_name.cpp:117)
ERROR: BUG: Unreferenced static string to 0: GuiToggleOnDisabledMirrored
   at: unref (core/string/string_name.cpp:117)
ERROR: BUG: Unreferenced static string to 0: child_exited_tree
   at: unref (core/string/string_name.cpp:119)
ERROR: BUG: Unreferenced static string to 0: child_entered_tree
   at: unref (core/string/string_name.cpp:119)
ERROR: BUG: Unreferenced static string to 0: bus_layout_changed
   at: unref (core/string/string_name.cpp:119)
ERROR: BUG: Unreferenced static string to 0: cell_selected
   at: unref (core/string/string_name.cpp:119)
ERROR: BUG: Unreferenced static string to 0: frame_post_draw
   at: unref (core/string/string_name.cpp:119)
ERROR: BUG: Unreferenced static string to 0: frame_pre_draw
   at: unref (core/string/string_name.cpp:119)
ERROR: BUG: Unreferenced static string to 0: physics_frame
   at: unref (core/string/string_name.cpp:119)
ERROR: BUG: Unreferenced static string to 0: process_frame
   at: unref (core/string/string_name.cpp:119)
ERROR: BUG: Unreferenced static string to 0: cancelled
   at: unref (core/string/string_name.cpp:119)
ERROR: BUG: Unreferenced static string to 0: interface_added
   at: unref (core/string/string_name.cpp:119)
ERROR: BUG: Unreferenced static string to 0: button_down
   at: unref (core/string/string_name.cpp:119)
ERROR: BUG: Unreferenced static string to 0: button_up
   at: unref (core/string/string_name.cpp:119)
ERROR: BUG: Unreferenced static string to 0: settings_changed
   at: unref (core/string/string_name.cpp:119)
ERROR: BUG: Unreferenced static string to 0: Dialogs
   at: unref (core/string/string_name.cpp:119)
ERROR: BUG: Unreferenced static string to 0: caret_width
   at: unref (core/string/string_name.cpp:119)
ERROR: BUG: Unreferenced static string to 0: minimum_character_width
   at: unref (core/string/string_name.cpp:119)
ERROR: BUG: Unreferenced static string to 0: autohide
   at: unref (core/string/string_name.cpp:119)
ERROR: BUG: Unreferenced static string to 0: icon_separation
   at: unref (core/string/string_name.cpp:119)
ERROR: BUG: Unreferenced static string to 0: icon_disabled_color
   at: unref (core/string/string_name.cpp:119)
ERROR: BUG: Unreferenced static string to 0: icon_normal_color
   at: unref (core/string/string_name.cpp:119)
ERROR: BUG: Unreferenced static string to 0: font_outline_color
   at: unref (core/string/string_name.cpp:119)
ERROR: BUG: Unreferenced static string to 0: title_button_font

Wow the build took 30 minutes.. compared to the 7, 8 minutes that take the stable there is a lot to do.
My system:
Debian bookworm/sid 64 Intel core i5-7400 @3.00 x4 Memory 15.6 GiB

The linux builds reported some details at Open and close the editor in Editor with doubles and sanitizers
But the general test was successful

@Haridev669
Copy link
Author

Guys is the bug only with Linux systems?

@Calinou
Copy link
Member

Calinou commented Mar 6, 2022

I can't reproduce this on master d37e858 (Fedora 34, GeForce GTX 1080).

Remember that on Linux, if you've recently updated your graphics driver, you need to reboot for OpenGL/Vulkan-based applications to start correctly. The same applies to @Karmavil 🙂

@Karmavil
Copy link
Contributor

Karmavil commented Mar 6, 2022

Hi @Calinou Yes sure I will

My current version is:
Vulkan Instance Version: 1.3.204

I can confirm the improvement. Interactions with window dialogs do not crash the engine
However, removing a node produces a crash

ERROR: Method argument to Callable constructor must be a non-empty string
   at: Callable (core/variant/callable.cpp:275)

I am using the #ff65d33 I am a little behind

It would be better to close this one and open a new issue for that given that the reported behavior was fixed and is no longer reproducible. Maybe because the driver I don't know

@Haridev669
Copy link
Author

@Calinou @Karmavil Thank you guys! This was helpful..I will close this issue!

@akien-mga
Copy link
Member

For the record, this was a duplicate of #58886.

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

4 participants