SimulaVR / SimulaVR/Simula

fatal crash with godot

Open
#193 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Haskell
Stars
3.2k
Forks
111
PR merge metrics
No merged PRs in 30d

Description

the following error resulted in a return to desktop and crash of Simula. excuse the bad formatting but here is the dump:

      Project FPS: 45 (22.2 mspf)
                                 ERROR: FATAL: Index p_index = 0 is out of bounds (size() = -1715311521).
                            at: get (./core/cowdata.h:156)

                                                          ================================================================
                                          handle_crash: Program crashed with signal 4
     Engine version: Godot Engine v3.4.beta.custom_build
                                                        Dumping the backtrace. Please include this when reporting the bug on https://github.com/godotengine/godot/issues
        [1] /nix/store/76l4v99sk83ylfwkz8wmwrm4s8h73rhd-glibc-2.35-224/lib/libc.so.6(+0x3dbf0) [0x7f235183dbf0] (??:0)
                                      [2] /nix/store/7x7sfhml0ki360gl7zsxpgyx24jc3bb0-godot-3.2/bin/godot.x11.opt.debug.64() [0x1eb4327] (/build/godot/./core/cowdata.h:156)
            [3] /nix/store/7x7sfhml0ki360gl7zsxpgyx24jc3bb0-godot-3.2/bin/godot.x11.opt.debug.64() [0x10bf666] (/build/godot/./core/reference.h:104)
                                                                    [4] /nix/store/7x7sfhml0ki360gl7zsxpgyx24jc3bb0-godot-3.2/bin/godot.x11.opt.debug.64() [0x10c5de8] (/build/godot/./core/cowdata.h:74)
                                         [5] /nix/store/7x7sfhml0ki360gl7zsxpgyx24jc3bb0-godot-3.2/bin/godot.x11.opt.debug.64() [0x10c96da] (/build/godot/scene/gui/rich_text_label.cpp:996)
                            [6] /nix/store/7x7sfhml0ki360gl7zsxpgyx24jc3bb0-godot-3.2/bin/godot.x11.opt.debug.64() [0x1e3ea14] (/build/godot/core/object.cpp:929)
 [7] /nix/store/7x7sfhml0ki360gl7zsxpgyx24jc3bb0-godot-3.2/bin/godot.x11.opt.debug.64() [0x13b875b] (/build/godot/scene/2d/canvas_item.cpp:450)
                                                               [8] /nix/store/7x7sfhml0ki360gl7zsxpgyx24jc3bb0-godot-3.2/bin/godot.x11.opt.debug.64() [0x6c1a29] (/build/godot/./core/method_bind.gen.inc:62 (discriminator 4))
                                                               [9] /nix/store/7x7sfhml0ki360gl7zsxpgyx24jc3bb0-godot-3.2/bin/godot.x11.opt.debug.64() [0x1e40eb3] (/build/godot/core/object.cpp:918 (discriminator 2))
                                                      [10] /nix/store/7x7sfhml0ki360gl7zsxpgyx24jc3bb0-godot-3.2/bin/godot.x11.opt.debug.64() [0x1e391c3] (/build/godot/./core/variant.h:436)
                             [11] /nix/store/7x7sfhml0ki360gl7zsxpgyx24jc3bb0-godot-3.2/bin/godot.x11.opt.debug.64() [0x1e39478] (/build/godot/core/message_queue.cpp:286)
          [12] /nix/store/7x7sfhml0ki360gl7zsxpgyx24jc3bb0-godot-3.2/bin/godot.x11.opt.debug.64() [0x67e24b] (/build/godot/main/main.cpp:2170)
                                                              [13] /nix/store/7x7sfhml0ki360gl7zsxpgyx24jc3bb0-godot-3.2/bin/godot.x11.opt.debug.64() [0x663b61] (/build/godot/platform/x11/os_x11.cpp:3643)
                                            [14] /nix/store/7x7sfhml0ki360gl7zsxpgyx24jc3bb0-godot-3.2/bin/godot.x11.opt.debug.64() [0x650454] (/build/godot/platform/x11/godot_x11.cpp:55)
                           [15] /nix/store/76l4v99sk83ylfwkz8wmwrm4s8h73rhd-glibc-2.35-224/lib/libc.so.6(+0x2924e) [0x7f235182924e] (??:0)
                                                          [16] /nix/store/76l4v99sk83ylfwkz8wmwrm4s8h73rhd-glibc-2.35-224/lib/libc.so.6(__libc_start_main+0x89) [0x7f2351829309] (??:0)
                       [17] /nix/store/7x7sfhml0ki360gl7zsxpgyx24jc3bb0-godot-3.2/bin/godot.x11.opt.debug.64() [0x6523e5] (??:?)
                                                -- END OF BACKTRACE --
                                                                      ================================================================
                                                      Gdk-Message: 07:47:02.681: Error reading events from display: Connection reset by peer
                                                            Gdk-Message: 07:47:02.681: Error reading events from display: Broken pipe
                                                     Gdk-Message: 07:47:02.681: Error reading events from display: Broken pipe
                                              Gdk-Message: 07:47:02.681: Error reading events from display: Broken pipe
                                       (EE) failed to write to Xwayland fd: Broken pipe
       /home/bada/.nix-profile/bin/nixVulkanNvidia: line 6:  5246 Aborted                 (core dumped) "$@"
                            Exiting due to channel error.
                                                         Exiting due to channel error.
      Exiting due to channel error.
                                   Exiting due to channel error.
                                                                Exiting due to channel error.
             Exiting due to channel error.
                                          Exiting due to channel error.
                                                                       Exiting due to channel error.
                    Exiting due to channel error.
                                                 Exiting due to channel error.

Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.

Should I take this over to Godot? This is also with monado-main (latest upstream) and I had to do some less than ethical IPC configuration to get it to talk with Simula. it mentions an xwayland ipc pipe throw as well as some open-range bovine tipping nonsense so I wanted to check here first. Thanks

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the reported backtrace entries in scene/gui/rich_text_label.cpp:996 and core/cowdata.h:156, then reproduce the crash in Simula using Godot 3.4.beta.custom_build and monado-main. Compare the Xwayland and IPC errors with the crash context. Done means identifying whether the failure is in Simula or Godot and documenting a minimal reproducible setup or confirmed resolution.

Written by the indexing model from the issue text.

Assessment

Tech stack
godot
Domain
desktop, game-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.