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

Crash while using the editor #1651

Closed
PascalLadalle opened this issue Apr 13, 2020 · 5 comments · Fixed by #1656
Closed

Crash while using the editor #1651

PascalLadalle opened this issue Apr 13, 2020 · 5 comments · Fixed by #1656
Labels
🐛 bug This is a bug impacting users 💥crash Bug that is crashing the software

Comments

@PascalLadalle
Copy link

I'm trying beta 90 and the editor keeps crashing.
If I click on the first field of that line:
image
It always crashes.
And with that line:
image
See how it's at the end of the line, and bottom of box, in edit mode:
image
If I write another 'l' in there, it crashes.

Error stack (don't write anything here)

Invariant Violation: Minified React error #185; visit https://reactjs.org/docs/error-decoder.html?invariant=185 for the full message or use the non-minified dev environment for full errors and additional helpful warnings. 
    at a (file:///C:/Users/Lutin/AppData/Local/Programs/gdevelop/resources/app.asar/www/static/js/59.06a7dabd.chunk.js:2:37498)
    at u (file:///C:/Users/Lutin/AppData/Local/Programs/gdevelop/resources/app.asar/www/static/js/59.06a7dabd.chunk.js:2:37768)
    at qa (file:///C:/Users/Lutin/AppData/Local/Programs/gdevelop/resources/app.asar/www/static/js/59.06a7dabd.chunk.js:2:132769)
    at to (file:///C:/Users/Lutin/AppData/Local/Programs/gdevelop/resources/app.asar/www/static/js/59.06a7dabd.chunk.js:2:93461)
    at file:///C:/Users/Lutin/AppData/Local/Programs/gdevelop/resources/app.asar/www/static/js/0.234712d0.chunk.js:2:1756600
    at file:///C:/Users/Lutin/AppData/Local/Programs/gdevelop/resources/app.asar/www/static/js/0.234712d0.chunk.js:2:1756929
    at oa (file:///C:/Users/Lutin/AppData/Local/Programs/gdevelop/resources/app.asar/www/static/js/59.06a7dabd.chunk.js:2:112817)
    at Ra (file:///C:/Users/Lutin/AppData/Local/Programs/gdevelop/resources/app.asar/www/static/js/59.06a7dabd.chunk.js:2:119691)
    at ja (file:///C:/Users/Lutin/AppData/Local/Programs/gdevelop/resources/app.asar/www/static/js/59.06a7dabd.chunk.js:2:122688)
    at file:///C:/Users/Lutin/AppData/Local/Programs/gdevelop/resources/app.asar/www/static/js/59.06a7dabd.chunk.js:2:135788
    at Object.t.unstable_runWithPriority (file:///C:/Users/Lutin/AppData/Local/Programs/gdevelop/resources/app.asar/www/static/js/59.06a7dabd.chunk.js:2:146555)
    at Su (file:///C:/Users/Lutin/AppData/Local/Programs/gdevelop/resources/app.asar/www/static/js/59.06a7dabd.chunk.js:2:135722)
    at Tu (file:///C:/Users/Lutin/AppData/Local/Programs/gdevelop/resources/app.asar/www/static/js/59.06a7dabd.chunk.js:2:135498)
    at Eu (file:///C:/Users/Lutin/AppData/Local/Programs/gdevelop/resources/app.asar/www/static/js/59.06a7dabd.chunk.js:2:134843)
    at Nu (file:///C:/Users/Lutin/AppData/Local/Programs/gdevelop/resources/app.asar/www/static/js/59.06a7dabd.chunk.js:2:136222)
    at Nn (file:///C:/Users/Lutin/AppData/Local/Programs/gdevelop/resources/app.asar/www/static/js/59.06a7dabd.chunk.js:2:67909)
    at HTMLDocument.i (file:///C:/Users/Lutin/AppData/Local/Programs/gdevelop/resources/app.asar/www/static/js/59.06a7dabd.chunk.js:2:350019)

Component stack (don't write anything here)


    in ForwardRef
    in div
    in ForwardRef
    in ForwardRef
    in ForwardRef
    in ForwardRef
    in div
    in ForwardRef
    in ForwardRef
    in ForwardRef
    in ForwardRef
    in t
    in c
    in i
    in div
    in div
    in div
    in c
    in _
    in i
    in div
    in s
    in div
    in i
    in div
    in ForwardRef
    in ForwardRef
    in Unknown
    in div
    in ForwardRef
    in ForwardRef
    in ForwardRef
    in u
    in r
    in div
    in l
    in a
    in o
    in F
    in l
    in t
    in Unknown
    in div
    in m
    in div
    in Z
    in i
    in X
    in t
    in L
    in Unknown
    in t
    in c
    in z
    in i
    in u
    in DragDropContext(u)
    in Z
    in m

Other details

  • IDE version: 5.0.0-beta90-a47acbb82a3c19ed8508f40be293e4eec2cb2139
  • Arch: x64,
  • Platform Name: win32,
  • System Version: 10.0.17763,
  • User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) GDevelop5/5.0.0-beta90 Chrome/80.0.3987.163 Electron/8.2.1 Safari/537.36,
@PascalLadalle PascalLadalle changed the title Crash while using an editor Crash while using the editor Apr 13, 2020
@4ian
Copy link
Owner

4ian commented Apr 14, 2020

Any chance you are able to reproduce this on an example?

@4ian
Copy link
Owner

4ian commented Apr 14, 2020

This seems related to #1617 (same React error)

@4ian 4ian added 🐛 bug This is a bug impacting users 💥crash Bug that is crashing the software labels Apr 14, 2020
@Bouh
Copy link
Collaborator

Bouh commented Apr 14, 2020

Any chance you are able to reproduce this on an example?

Yes always for me! Step-by-step
Open platformer open a input numeric expression feild, long press i, and wait crash.
This happend only on numeric expression feild with a expression inside.

And for be more precise, this crash is on desktop too.
w10.

@4ian
Copy link
Owner

4ian commented Apr 14, 2020

I can reproduce! Thanks, very useful. Might be related to some timeouts when handling autocompletions, this is strange but I'll try to fix that and then I'll release beta 91. :)

@4ian
Copy link
Owner

4ian commented Apr 14, 2020

This is a material-ui issue fixed in mui/material-ui#19743
We should upgrade to material-ui 4.9.4 or more recent :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug This is a bug impacting users 💥crash Bug that is crashing the software
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants