PrestonKnopp / language-gdscript

gdscript language grammar package for atom.io
https://atom.io/packages/lang-gdscript
MIT License
32 stars 9 forks source link

Atom Crashes whenever I type anything #33

Closed astrale-sharp closed 4 years ago

astrale-sharp commented 4 years ago

Step to induce the crash:

open atom from godot (having external checked and flags = {file}:{line} the text appear correctly highlited, but if you type anything or try to modificate the code, atom crashes

thank you!

EDIT: typing new line is okay

PrestonKnopp commented 4 years ago

Hey, I can't reproduce this. Does it crash when you open Atom manually with the gdscript file?

Are there any errors in the dev tools console? You can open the dev tools with: Ctrl-Shift-I.

Quick tip: When opening from Godot does work you can set the flags to {file}:{line}:{col}.

astrale-sharp commented 4 years ago

Hey, It does crash when you open manually with godot open or godot closed ! console before is linked as a .png below

atomcrash_before_typing

it crashed before anything new gets printed in the console

Thanks again!

PrestonKnopp commented 4 years ago

I'm not sure why it's crashing.

Can you provide the output of the command atom --version; apm --version?

First, try running atom in safe mode: atom --safe and verify that it does work without packages.

After that can you try clearing save state and if that doesn't work try with factory defaults and just install lang-gdscript?

Lastly, if the above doesn't shed any light can you attach the most recent crash log found in /tmp/Atom\ Crashes.

astrale-sharp commented 4 years ago

sure thing : atom --version; apm --version :

-----------------

Atom : 1.45.0 Electron: 4.2.7 Chrome : 69.0.3497.128 Node : 10.11.0 apm 2.4.3 npm 6.2.0 node 10.2.1 x64 atom 1.45.0 python 2.7.17 git 2.17.1

-----------------

Atom works just fine in safe mode! I moved ./atom to ./atom.bkp (the only two package i have being lang_gdscript and atom-ide-ui and Hydrogen with only lang_gdscript installed: It works fine ! no crash whatsoever! can edit files, with Godot opened or closed! if i add atom-ide-ui: It still works ! (btw it works so well, i was really eager to test that, it is SO GREAT to be able to code in atom) as far as im concerned there is no more problem, i dont really understand why it works now, i'll let you close the issue if you agree with me, otherwise i can do some more test with hydrogen: It still works Oo, i dont understand my life but it seems like its all working ? Anyway thanks a lot for your help and let me now if i can help!

PrestonKnopp commented 4 years ago

Awesome, I'm glad it's working and thank you so much for testing. I have no idea why it was crashing, so I'll close this issue.