eranif / codelite

A multi purpose IDE specialized in C/C++/Rust/Python/PHP and Node.js. Written in C++
https://codelite.org
GNU General Public License v2.0
2.08k stars 444 forks source link

[Bug]: Random crashes #3406

Open biciolea opened 3 weeks ago

biciolea commented 3 weeks ago

What happened?

With the latest versions of Codelite, I can't tell which one to start with, I'm having random crashes. The logs set at the debug or developer level do not provide useful details, because the last lines are minutes away from the crash event. However, I have noticed that crashes always happen when switching from one application to another, especially when using ALT+TAB. I recently installed Codelite on a new laptop running Windows 11 and am experiencing the same type of problem. Could it be related to IDE activation/deactivation? I'm currently using the version 17.10.0 on Windows 10 and Windows 11. I use workspaces with C/C++ projects and clangd as lsp.

Version

Other

Operating system

Windows 10

Steps to reproduce

No response

Relevant log output

No response

Eric-01 commented 3 weeks ago

Do you, by any chance, have a tooltip open (e.g. when you hover over a function signature) before unfocusing CodeLite and switching to another application? And then the crash occurs.

biciolea commented 3 weeks ago

Do you, by any chance, have a tooltip open (e.g. when you hover over a function signature) before unfocusing CodeLite and switching to another application? And then the crash occurs.

Not my case

eranif commented 3 weeks ago

I don't have Windows 11, so I can't really check this on this platform. But, can you run CodeLite under lldb? (for what it worth, it works nicely on Windows 10 for me)