Skip to content

[Bug]: build/compile stops working #3787

Closed

Description

@tkdev2

What happened?

I am new to codelite and working on my pretty old machine with windows 7. I use fresh installation of codelite 18.2.0 installed from github release. I faces few crashes when creating workspace and project, but when everything was setup and I imported my old gcc project is started to work stable. I can edit, build and run my project, but after few operation build stops working. When I select build, nothing happens and I receive just "=== build completed successfully (0 errors, 0 warnings) ===" No files are processed, even when I call function "clean" nothing is removed. I can observe with ProcessExplorer codelite is spawning some cmd process and this process is spawning something for a fraction of second. Restarting codelite does not change anything, only Windows restart solve problem, until the moment when its happening again. Another observation is options to Run and Stop build application is not affected.

Version

18.2.0

Operating system

Windows 7

Steps to reproduce

As described above, clean windows after restart, rebuild, rebuild, rebuild (sometimes 2-3 rerun, sometimes 10).

Relevant log output

Logs when build failed:
[22:29:21:171 DBG] [Main] [builder_gnumake_default.cpp:153] Generating Makefile...
[22:29:21:186 DBG] [Main] [builder_gnumake_default.cpp:488] Generating Makefile...is completed
[22:29:21:190 DVL] [Main] [winprocess_impl.cpp:201] ==> ArrayJoin called for [C:\Windows\system32\cmd.exe, /C, "C:/w64devkit/bin/mingw32-make.exe -j4 SHELL=cmd.exe -e -f Makefile clean"]
[22:29:21:190 DVL] [Main] [winprocess_impl.cpp:202] args[2] is: "C:/w64devkit/bin/mingw32-make.exe -j4 SHELL=cmd.exe -e -f Makefile clean"
[22:29:21:190 DVL] [Main] [winprocess_impl.cpp:278] Windows process starting: C:\Windows\system32\cmd.exe /C "C:/w64devkit/bin/mingw32-make.exe -j4 SHELL=cmd.exe -e -f Makefile clean"
[22:29:21:190 DVL] [Main] [winprocess_impl.cpp:525] Running process: C:\Windows\system32\cmd.exe /C "C:/w64devkit/bin/mingw32-make.exe -j4 SHELL=cmd.exe -e -f Makefile clean"
[22:29:21:440 DBG] [Main] [BuildTab.cpp:72] Active compiler is set to: w64devkit gcc
[22:29:24:780 DVL] [winprocess_impl.cpp:185] Write thread going down
[22:29:24:780 DBG] [Main] [CompileCommandsGenerator.cpp:159] Executing: "C:\Program Files\CodeLite\codelite-make.exe" --workspace=REDACTED.workspace --json --config=Release --settings=C:\Users\REDACTED\AppData\Roaming\codelite\config\build_settings.xml
[22:29:24:780 DVL] [Main] [winprocess_impl.cpp:201] ==> ArrayJoin called for [C:\Windows\system32\cmd.exe, /C, ""C:\Program Files\CodeLite\codelite-make.exe" --workspace=REDACTED.workspace --json --config=Release --settings=C:\Users\REDACTED\AppData\Roaming\codelite\config\build_settings.xml"]
[22:29:24:780 DVL] [Main] [winprocess_impl.cpp:202] args[2] is: ""C:\Program Files\CodeLite\codelite-make.exe" --workspace=D:\REDACTED.workspace --json --config=Release --settings=C:\Users\REDACTED\AppData\Roaming\codelite\config\build_settings.xml"
[22:29:24:780 DVL] [Main] [winprocess_impl.cpp:278] Windows process starting: C:\Windows\system32\cmd.exe /C ""C:\Program Files\CodeLite\codelite-make.exe" --workspace=D:\REDACTED.workspace --json --config=Release --settings=C:\Users\REDACTED\AppData\Roaming\codelite\config\build_settings.xml"
[22:29:24:780 DVL] [Main] [winprocess_impl.cpp:525] Running process: C:\Windows\system32\cmd.exe /C ""C:\Program Files\CodeLite\codelite-make.exe" --workspace=REDACTED.workspace --json --config=Release --settings=C:\Users\REDACTED\AppData\Roaming\codelite\config\build_settings.xml"
[22:29:27:345 DVL] [winprocess_impl.cpp:185] Write thread going down
[22:29:27:345 DBG] [CompileCommandsGenerator.cpp:58] Checking paths for changes: [REDACTED\compile_commands.json]
[22:29:27:345 DBG] [CompileCommandsGenerator.cpp:64] New checksum is: [ 6B689A31A11148C80B7C39160BF55BB8 ]
[22:29:27:345 DBG] [CompileCommandsGenerator.cpp:70] Old checksum is: [ 6B689A31A11148C80B7C39160BF55BB8 ]
[22:29:27:345 DBG] [CompileCommandsGenerator.cpp:72] File: REDACTED\compile_commands.json exists: 1
[22:29:27:345 DBG] [CompileCommandsGenerator.cpp:84] No changes detected for paths: [REDACTED\compile_commands.json]

Activity

  1. tkdev2 commented on Dec 8, 2025

    @tkdev2
    Author

    New observation, when it happens on 18.2.0 version, after downgrade without restart to 18.0.0 problem is still reproduced.
    When downgraded to 17.10.0 seems to be still affected but printout is little different:

    C:/w64devkit/bin/mingw32-make.exe -j4 SHELL=cmd.exe -e -f Makefile
    === build completed successfully (0 errors, 0 warnings) ===

  2. eranif commented on Dec 9, 2025

    @eranif
    Owner

    Need to see the generated makefiles (plural) in order to be able to assist you.

  3. Repository owner locked and limited conversation to collaborators on Dec 9, 2025
  4. converted this issue into a discussion #3789 on Dec 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions