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 chrashes with FATAL: Index p_index = 1 is out of bounds (size() = 0). when launching editor. #78371

Closed
felanmalan opened this issue Jun 17, 2023 · 3 comments

Comments

@felanmalan
Copy link

felanmalan commented Jun 17, 2023

Godot version

v4.0.3.stable.flathub

System information

Rhino linux (Based on ubuntu)

Issue description

The editor chrashes when launching with the following error (Empty project):

================================================================
handle_crash: Program crashed with signal 11
Engine version: Godot Engine v4.0.3.stable.flathub (5222a99f5d38cd5346254cefed8f65315bca4fcb)
Dumping the backtrace. Please include this when reporting the bug to the project developer.
ERROR: FATAL: Index p_index = 1 is out of bounds (size() = 0).
   at: get (./core/templates/cowdata.h:155)

================================================================
handle_crash: Program crashed with signal 4
Engine version: Godot Engine v4.0.3.stable.flathub (5222a99f5d38cd5346254cefed8f65315bca4fcb)
Dumping the backtrace. Please include this when reporting the bug to the project developer.
ERROR: FATAL: Index p_index = 1 is out of bounds (size() = 0).
   at: get (./core/templates/cowdata.h:155)

I expected it to not crash.

I am using the sway windowmanager.

Steps to reproduce

  1. Download the 4.0.3 flatpak version of Godot.
  2. Launch it in swaywm
  3. Choose a game to edit that has graphics higher than the compatibility setting.
  4. Editor crashes

It does not crash with the compatibility graphics.

Minimal reproduction project

N/A

@Calinou
Copy link
Member

Calinou commented Jun 19, 2023

Choose a game to edit that has graphics higher than the compatibility setting.

What graphics card model do you have, and how recent are your graphics drivers? Forward+ and Mobile require Vulkan 1.1 support, which means you need compatible hardware and up-to-date drivers.

As for why it crashes instead of displaying an error message, this is because #58927 isn't implemented yet.

@felanmalan
Copy link
Author

I currently do not have acces to the device i got thet error on but i know i have a rather old gpu so that is probably the case.

@Calinou
Copy link
Member

Calinou commented Jul 3, 2023

Closing in favor of #58927.

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

2 participants