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

Clangd freezes my laptop when i uncomment a certain line of code. #1840

Closed
FughyTC opened this issue Nov 28, 2023 · 3 comments
Closed

Clangd freezes my laptop when i uncomment a certain line of code. #1840

FughyTC opened this issue Nov 28, 2023 · 3 comments

Comments

@FughyTC
Copy link

FughyTC commented Nov 28, 2023

So i was trying to learn opengl and cmake and at a certain point my system started freezing, so nothing i pressed on the keyboard worked, the mouse stopped responding, the image on the screen just freezes on both archlinux and windows. After around 10 more freezes(i had to reboot the system each time) i think i found the line of code that is causing it. Here i tried to reproduce the freeze on a smaller scale and i have succesfully frozen my laptop again:

renderer.hpp.txt
main.cpp.txt
renderer.cpp.txt

In renderer.cpp on 23 line if i uncomment "//sData.Data = new Vertex[MaxVertexCount];" everything freezes.

Logs
No logs, i just can't check them(maybe they are saved somewhere but i am not aware where).

System information

Output of clangd --version:
clangd version 17.0.1
Features: windows
Platform: x86_64-pc-windows-msvc

Editor/LSP plugin:
vscodium clangd
lapce clangd

Operating system:
archlinux
windows

@HighCommander4
Copy link

I believe this is a duplicate of #967

@fishBone000
Copy link

Hmmm if it's a duplicate you should close this issue

@HighCommander4
Copy link

Duplicate of #967

@HighCommander4 HighCommander4 marked this as a duplicate of #967 May 4, 2024
@HighCommander4 HighCommander4 closed this as not planned Won't fix, can't repro, duplicate, stale May 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants