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

Editor crash - Wasm error #5898

Open
JakeTheAnimation opened this issue Nov 13, 2023 · 2 comments
Open

Editor crash - Wasm error #5898

JakeTheAnimation opened this issue Nov 13, 2023 · 2 comments
Labels
💥crash Bug that is crashing the software

Comments

@JakeTheAnimation
Copy link

JakeTheAnimation commented Nov 13, 2023

Describe what you were doing when the crash happened

  1. Went to add a behavior
  2. got an error
    what do i do?
    2023-11-12 (7)

GDevelop version

5.3.180-4f98ffa9ab98b751f6526f4d8ac28cef0c16ed1e

Platform info

System Version: Unknown system version (web-app), Arch: Unknown architecture (web-app), User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36 Edg/119.0.0.0, Platform: Win32

Additional error context

RuntimeError: memory access out of bounds
at https://editor.gdevelop.io/libGD.wasm?cache-buster=5.3.180-4f98ffa9ab98b751f6526f4d8ac28cef0c16ed1e:wasm-function[3963]:0xce16f
at https://editor.gdevelop.io/libGD.wasm?cache-buster=5.3.180-4f98ffa9ab98b751f6526f4d8ac28cef0c16ed1e:wasm-function[3556]:0xaf81a
at https://editor.gdevelop.io/libGD.wasm?cache-buster=5.3.180-4f98ffa9ab98b751f6526f4d8ac28cef0c16ed1e:wasm-function[3416]:0xa72e5
at https://editor.gdevelop.io/libGD.wasm?cache-buster=5.3.180-4f98ffa9ab98b751f6526f4d8ac28cef0c16ed1e:wasm-function[3139]:0x91933
at https://edi...

Additional component context

in Og
in div
in s
in ey
in div
in ForwardRef
in ForwardRef
in div
in div
in ForwardRef
in ForwardRef
in div
in t
in ForwardRef
in k
in div
in ForwardRef
in ForwardRef
in ForwardRef
in ForwardRef
in Unknown
in py
in n
in t
in Unknown
in hy
in t
in div
in l
in n
in n
in t
in Unknown
in PI
in div
in n
in Ga
in div
in _L
in Unknown
in mt
in f
in u
in v
in m
in j
in h
in h
in Z
in d
in X
in n

...

@AlexandreSi
Copy link
Collaborator

Hi @JakeTheAnimation,
Does this error happen consistently?

@ClementPasteau
Copy link
Collaborator

Crash seems to be coming from this line: https://github.com/4ian/GDevelop/blob/master/newIDE/app/src/BehaviorsEditor/NewBehaviorDialog.js#L70

calling getRequiredBehaviorTypes() here:

https://github.com/4ian/GDevelop/blob/master/Core/GDCore/Extensions/Metadata/BehaviorMetadata.cpp#L412-L422

Unsure which line exactly caused the memory access out of bounds though, and how we ended up in such a state.

@ClementPasteau ClementPasteau changed the title Crash while using an editor Editor crash - Wasm error Nov 29, 2023
@ClementPasteau ClementPasteau added the 💥crash Bug that is crashing the software label Nov 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💥crash Bug that is crashing the software
Projects
None yet
Development

No branches or pull requests

3 participants