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

[BUG][WINDOWS] Crashes on writing (LangHealth) #270

Closed
NullPlane opened this issue Apr 23, 2024 · 3 comments
Closed

[BUG][WINDOWS] Crashes on writing (LangHealth) #270

NullPlane opened this issue Apr 23, 2024 · 3 comments
Assignees
Labels
bug Something isn't working ready for release

Comments

@NullPlane
Copy link

NullPlane commented Apr 23, 2024

Ecode crashes everytime I try to write code in a new project. Pinpointed to languages health.

Steps taken

  • create folder in D:\users\username\desktop: ".\HUE\ue01"
  • open ecode and open folder as a project folder
  • left sidebar context create new Haskell file a01.hs
  • go to editor and write something
    • try to write a (-bracket or delete written by CTRL + BACKSPACE

The app crashes

Notes

  • LSP, Linter and Formatter are all set but not installed thus red (never had any problem with that before anywhere else)
  • Tried with JavaScript. Doesn't crash on action but after a while when typing a symbol it does the same.
  • Using i18n/de.xml german ui

This should not happen even tho these additions are not present on the system. Haven't had that before.

@NullPlane
Copy link
Author

Afterwards opening it normally does also crash ecode.
That's everything I could get from the log:

2024-04-23 14:59:00 - INFO: eepp initialized
2024-04-23 14:59:00 - INFO: ecode starting with these command line arguments: D:\Users\user\Desktop\HUE\ue01\a01.hs
2024-04-23 14:59:00 - INFO: C:\Users\user\AppData\Roaming\ecode\config.cfg loaded in 0.14ms
2024-04-23 14:59:00 - INFO: C:\Users\user\AppData\Roaming\ecode\state.cfg loaded in 0.07ms
2024-04-23 14:59:00 - INFO: Plugin: Auto Complete loaded and ready from process 18632
2024-04-23 14:59:00 - INFO: Plugin: Auto Formatter loaded and ready from process 18632
2024-04-23 14:59:00 - INFO: Plugin: Linter loaded and ready from process 18632
2024-04-23 14:59:00 - INFO: Plugin: LSP Client loaded and ready from process 18632
2024-04-23 14:59:01 - INFO: Shader 2 compiled succesfully
2024-04-23 14:59:01 - INFO: Shader 3 compiled succesfully
2024-04-23 14:59:01 - INFO: Engine Initialized Succesfully.
	Version: eepp version 2.7.0 (codename: "Kāla")
	Build time: Feb 20 2024 12:32:12
	Platform: Windows
	OS: Microsoft Windows 11
	Arch: x64
	CPU Cores: 12
	Process Path: C:\Expand\crupkg\ecode\
	Current Working Directory: D:\Users\user\Desktop\HUE\ue01
	Disk Free Space: 213.53 GiB
	Window/Input Backend: SDL 2.26.2
	GL Backend: OpenGL 3
	GL Vendor: NVIDIA Corporation
	GL Renderer: NVIDIA GeForce GTX 1080/PCIe/SSE2
	GL Version: 4.6.0 NVIDIA 551.76
	GL Shading Language Version: 4.60 NVIDIA
	Resolution: 1747x1336
2024-04-23 14:59:01 - INFO: ecode version 0.5.1 (codename: "Ākāśa") initializing
2024-04-23 14:59:01 - INFO: Window creation took: 487.47 ms
2024-04-23 14:59:01 - INFO: C:\Users\user\AppData\Roaming\ecode\keybindings.cfg loaded in 0.22ms
2024-04-23 14:59:01 - INFO: Texture ID 1 loaded in 2.217 ms.
2024-04-23 14:59:01 - INFO: Texture ID 2 loaded in 0.470 ms.
2024-04-23 14:59:01 - INFO: Texture ID 3 loaded in 0.374 ms.
2024-04-23 14:59:01 - INFO: Texture ID 4 loaded in 0.417 ms.
2024-04-23 14:59:01 - INFO: StyleSheet loaded in: 0.658 ms.
2024-04-23 14:59:01 - INFO: StyleSheet loaded in: 4.688 ms.
2024-04-23 14:59:01 - INFO: StyleSheet loaded in: 0.028 ms.
2024-04-23 14:59:01 - INFO: Syntax definitions loaded in 4.17 ms.
2024-04-23 14:59:01 - INFO: StyleSheet loaded in: 1.550 ms.
2024-04-23 14:59:01 - INFO: Texture ID 5 loaded in 0.607 ms.
2024-04-23 14:59:01 - INFO: Texture ID 6 loaded in 0.157 ms.
2024-04-23 14:59:01 - INFO: Texture ID 7 loaded in 0.332 ms.
2024-04-23 14:59:01 - INFO: Texture ID 8 loaded in 0.304 ms.
2024-04-23 14:59:01 - INFO: Texture ID 9 loaded in 0.837 ms.
2024-04-23 14:59:01 - INFO: Texture ID 10 loaded in 0.376 ms.
2024-04-23 14:59:01 - INFO: Texture ID 11 loaded in 1.211 ms.
2024-04-23 14:59:01 - INFO: Texture ID 12 loaded in 0.698 ms.
2024-04-23 14:59:01 - INFO: Texture ID 13 loaded in 0.639 ms.
2024-04-23 14:59:01 - INFO: Color Schemes loaded in 0.74ms.
2024-04-23 14:59:01 - INFO: SyntaxDefinitionManager loaded custom languages in: 0.32 ms
2024-04-23 14:59:01 - INFO: Terminal Color Schemes loaded in 0.29ms.
2024-04-23 14:59:01 - INFO: Base UI took: 550.28 ms
2024-04-23 14:59:01 - INFO: Texture ID 14 loaded in 0.509 ms.
2024-04-23 14:59:01 - INFO: Texture ID 15 loaded in 0.468 ms.
2024-04-23 14:59:01 - INFO: Texture ID 16 loaded in 0.599 ms.
2024-04-23 14:59:01 - INFO: Texture ID 17 loaded in 0.078 ms.
2024-04-23 14:59:01 - INFO: Settings Menu took: 49.323002
2024-04-23 14:59:01 - INFO: Texture ID 18 loaded in 0.520 ms.
2024-04-23 14:59:01 - INFO: Texture ID 19 loaded in 0.323 ms.
2024-04-23 14:59:01 - INFO: Complete UI took: 607.58 ms
2024-04-23 14:59:01 - INFO: Init ProjectTreeView took: 609.55 ms
2024-04-23 14:59:01 - INFO: Document "D:\Users\user\Desktop\HUE\ue01\a01.hs" loaded in 0.23ms.
2024-04-23 14:59:01 - INFO: First update took: 659.99 ms
2024-04-23 14:59:01 - INFO: First frame took: 669.48 ms
2024-04-23 14:59:01 - INFO: App Ready

Doesn't look very conclusive

EDIT

  • Linter seems to be responsible but I precautiously disabled LSP too

@SpartanJ SpartanJ self-assigned this Apr 23, 2024
@SpartanJ SpartanJ added the bug Something isn't working label Apr 23, 2024
@SpartanJ
Copy link
Owner

Thanks for reporting it! It took me a while to reproduce it but I was able to reproduce it by slowing down the whole system. You can test the fix with the following build:
ecode-windows-0.5.2-x86_64-preview.zip

@NullPlane
Copy link
Author

perfect seems to be fixed.

@SpartanJ SpartanJ reopened this Apr 26, 2024
@SpartanJ SpartanJ closed this as completed May 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ready for release
Projects
None yet
Development

No branches or pull requests

2 participants