https://bugs.kde.org/show_bug.cgi?id=380018

            Bug ID: 380018
           Summary: 'Stop all jobs' does not stop compilation (CMake,
                    Makefile generator)
           Product: kdevelop
           Version: 5.1.0
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Build tools: CMake
          Assignee: kdevelop-bugs-n...@kde.org
          Reporter: reave...@gmail.com
  Target Milestone: ---

Steps to reproduce:
1. Open some CMake managed project and configure it to use Makefiles generator
2. Start compilation in KDevelop (Project->Build all or just selection)
3. Check 'top' in other terminal and number of compilation processes
4. In KDevelop, click 'Stop All'. 
5. Build output will show:
"make: *** [all] Terminated
*** Killed process ***"
6. but hey.. check 'top' again. Code is still compiling, just like compilation
processes were orphaned. Indeed they are. pstree shows that they went under PID
1.

I haven't checked kdevelop code but I can bet you are sending SIGKILL instead
of SIGINT, so 'make' doesn't have a chance to cleanup its children.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to