codelite icon indicating copy to clipboard operation
codelite copied to clipboard

[Bug]: CodeLite crashes randomly

Open olivierbrun opened this issue 10 months ago • 1 comments

What happened?

Time to time, CodeLite crashes randomly while editing. CodeLite may be running fine during hours of editing, and then crashing without notice nor any displayed error while typing text in the source code editor. The codelite.log file has not been updated at the time the crash hapened (but has been updated after rerunning CodeLite).

I'm using CodeLite version 18.1.0 on Windows 10.

In case it helps debugging the issue, I can also provide:

  • crash dump files (codelite.exe.*.dmp),
  • the history file

I have paste the codelite.log file (updated after rerunning CodeLite) in the log output section. Let me know whether you'd need additional info or files to investigate.

Version

18.1.0

Operating system

Windows 10

Steps to reproduce

No specific step to reproduce the issue.
The crash happens randomly while typing text in the source code editor (I was editing a .h c++ header file).
I've also experienced crashes while editing .cpp files.

Relevant log output

[08:58:35:315 SYS] [Main] Loading lexers...
[08:58:35:315 SYS] [Main] Loading default lexers. CodeLite expected version: 10 . Current version found in configuration file: 0
[08:58:36:875 SYS] [Main] Success
[09:04:21:109 SYS] [Main] Restarting CodeLite: C:\Program Files\CodeLite\codelite.exe
[09:04:21:259 SYS] [Main] Loading lexers...
[09:04:21:813 SYS] [Main] Success
[09:42:43:474 SYS] [Main] Found template project: C:\Program Files\CodeLite\templates\projects\CMake_Executable\CMake_Executable.project . CMake Executable
[09:42:43:492 SYS] [Main] Found template project: C:\Program Files\CodeLite\templates\projects\cobra-executableU\cobra-executableU.project . cobra-executable
[09:42:43:503 SYS] [Main] Found template project: C:\Program Files\CodeLite\templates\projects\cobra-libraryU\cobra-library.project . cobra-library
[09:42:43:514 SYS] [Main] Found template project: C:\Program Files\CodeLite\templates\projects\cobra-staticU\cobra-staticU.project . cobra-embedded-RT
[09:42:43:524 SYS] [Main] Found template project: C:\Program Files\CodeLite\templates\projects\ConsoleClang\ConsoleClang.project . Simple executable (clang)
[09:42:43:534 SYS] [Main] Found template project: C:\Program Files\CodeLite\templates\projects\ConsoleClang++\ConsoleClang++.project . Simple executable (clang++)
[09:42:43:543 SYS] [Main] Found template project: C:\Program Files\CodeLite\templates\projects\cpp_gtkmm24_template\cpp_gtkmm24_template.project . Executable GUI GTKMM 2.4/C++
[09:42:43:560 SYS] [Main] Found template project: C:\Program Files\CodeLite\templates\projects\cpp_gtkmm3_template\cpp_gtkmm3_template.project . Executable GUI GTKMM 3.0/C++
[09:42:43:571 SYS] [Main] Found template project: C:\Program Files\CodeLite\templates\projects\custom-makefile\custom-makefile.project . Custom Makefile
[09:42:43:588 SYS] [Main] Found template project: C:\Program Files\CodeLite\templates\projects\c_gtk24_template\c_gtk24_template.project . Executable GUI GTK 2.4/C
[09:42:43:599 SYS] [Main] Found template project: C:\Program Files\CodeLite\templates\projects\c_gtk3_template\c_gtk3_template.project . Executable GUI GTK 3.0/C
[09:42:43:611 ERR] [Main] Failed to open file: C:\Program Files\CodeLite\templates\projects\dynamic-library\cltmp-SGNEEQBi.project for write!
[09:42:43:616 ERR] [Main] Failed to open file: C:\Program Files\CodeLite\templates\projects\dynamic-library\cltmp-Og5djaVH.project for write!
[09:42:43:633 ERR] [Main] Failed to open file: C:\Program Files\CodeLite\templates\projects\dynamic-library-wx-enabled\cltmp-GZgIqUXP.project for write!
[09:42:43:635 ERR] [Main] Failed to open file: C:\Program Files\CodeLite\templates\projects\dynamic-library-wx-enabled\cltmp-VFt1v6o0.project for write!
[09:42:43:653 SYS] [Main] Found template project: C:\Program Files\CodeLite\templates\projects\executable\executable.project . Simple executable (g++)
[09:42:43:670 SYS] [Main] Found template project: C:\Program Files\CodeLite\templates\projects\executable-cobra\executable-cobra.project . Simple executable (Cobra)
[09:42:43:680 SYS] [Main] Found template project: C:\Program Files\CodeLite\templates\projects\executable-console-wx-enabled\executable-console-wx-enabled.project . Simple executable (wxWidgets enabled)
[09:42:43:690 SYS] [Main] Found template project: C:\Program Files\CodeLite\templates\projects\executable-gcc\executable-gcc.project . Simple executable (gcc)
[09:42:43:701 SYS] [Main] Found template project: C:\Program Files\CodeLite\templates\projects\executable-qt-enabled\executable-qt-enabled.project . Executable (Qt enabled)
[09:42:43:718 SYS] [Main] Found template project: C:\Program Files\CodeLite\templates\projects\executable-qt-qmake-enabled\executable-qt-qmake-enabled.project . Executable (Qt with qmake enabled)
[09:42:43:728 SYS] [Main] Found template project: C:\Program Files\CodeLite\templates\projects\executable-wx-dialog\executable-wx-dialog.project . Executable (wxWidgets + wxFB dialog)
[09:42:43:745 SYS] [Main] Found template project: C:\Program Files\CodeLite\templates\projects\executable-wx-enabled\executable-wx-enabled.project . Executable (wxWidgets enabled)
[09:42:43:756 SYS] [Main] Found template project: C:\Program Files\CodeLite\templates\projects\executable-wx-frame\executable-wx-frame.project . Executable (wxWidgets + wxFB frame)
[09:42:43:766 SYS] [Main] Found template project: C:\Program Files\CodeLite\templates\projects\executable-wx-xrc\executable-wx-xrc.project . Executable (wxWidgets + XRC frame)
[09:42:43:777 SYS] [Main] Found template project: C:\Program Files\CodeLite\templates\projects\executable-wxcrafter-dialog\wxCrafter_MainDialog.project . wxWidgets GUI Application (wxDialog, using wxCrafter)
[09:42:43:793 SYS] [Main] Found template project: C:\Program Files\CodeLite\templates\projects\executable-wxcrafter-frame\wxCrafter_MainFrame.project . wxWidgets GUI Application (wxFrame, using wxCrafter)
[09:42:43:804 SYS] [Main] Found template project: C:\Program Files\CodeLite\templates\projects\non-code-project\non-code.project . Non-code project
[09:42:43:814 SYS] [Main] Found template project: C:\Program Files\CodeLite\templates\projects\static-library\static-library.project . Static library
[09:42:43:830 SYS] [Main] Found template project: C:\Program Files\CodeLite\templates\projects\static-library-wx-enabled\static-library-wx-enabled.project . Static library (wxWidgets enabled)
[09:42:43:840 SYS] [Main] Found template project: C:\Program Files\CodeLite\templates\projects\UnitTest++\UnitTest++.project . UnitTest++
[09:42:43:851 SYS] [Main] Found template project: C:\Program Files\CodeLite\templates\projects\vc-dynamic-library\vc-dynamic-library.project . Dynamic library (MSVC)
[09:42:43:861 SYS] [Main] Found template project: C:\Program Files\CodeLite\templates\projects\vc-executable\vc-executable.project . Simple executable (MSVC)
[09:42:43:872 SYS] [Main] Found template project: C:\Program Files\CodeLite\templates\projects\vc-static-lib\vc-static-lib.project . Static library (MSVC)
[09:42:43:882 SYS] [Main] Found template project: C:\Program Files\CodeLite\templates\projects\wxWidgets_ConsoleApp\wxWidgets_ConsoleApp.project . wxWidgets Console Application (with wxEvent loop)
[11:38:46:868 ERR] [Main] failed to open file: C:\Users\Olivier\AppData\Roaming\codelite\history for read-binary
[13:09:22:085 SYS] [Main] Loading lexers...
[13:09:22:590 SYS] [Main] Success
[13:17:50:378 SYS] [Main] Loading lexers...
[13:17:50:920 SYS] [Main] Success
[13:50:42:311 SYS] [Main] Loading lexers...
[13:50:42:864 SYS] [Main] Success
[13:52:51:686 SYS] [Main] Loading lexers...
[13:52:52:246 SYS] [Main] Success
[14:09:43:474 SYS] [Main] Loading lexers...
[14:09:44:026 SYS] [Main] Success
[14:10:50:172 SYS] [Main] Loading lexers...
[14:10:50:712 SYS] [Main] Success
[09:31:45:278 SYS] [Main] Loading lexers...
[09:31:45:822 SYS] [Main] Success
[10:15:06:017 SYS] [Main] Loading lexers...
[10:15:06:636 SYS] [Main] Success
[15:42:08:154 SYS] [Main] Loading lexers...
[15:42:08:793 SYS] [Main] Success
[15:49:23:037 SYS] [Main] Loading lexers...
[15:49:23:645 SYS] [Main] Success
[21:00:03:616 SYS] [Main] Loading lexers...
[21:00:04:155 SYS] [Main] Success
[09:52:42:606 SYS] [Main] Loading lexers...
[09:52:43:222 SYS] [Main] Success
[00:13:05:570 SYS] [Main] Loading lexers...
[00:13:06:179 SYS] [Main] Success
[07:46:29:635 SYS] [Main] Loading lexers...
[07:46:30:154 SYS] [Main] Success
[18:41:38:469 SYS] [Main] Loading lexers...
[18:41:38:988 SYS] [Main] Success
[11:59:32:720 SYS] [Main] Loading lexers...
[11:59:33:323 SYS] [Main] Success
[14:25:33:352 SYS] [Main] Loading lexers...
[14:25:33:932 SYS] [Main] Success
[12:39:30:291 SYS] [Main] Loading lexers...
[12:39:30:872 SYS] [Main] Success
[21:43:47:105 SYS] [Main] Loading lexers...
[21:43:47:696 SYS] [Main] Success
[13:05:34:277 SYS] [Main] Loading lexers...
[13:05:34:794 SYS] [Main] Success

olivierbrun avatar Mar 14 '25 12:03 olivierbrun