Bug 380018 - 'Stop all jobs' does not stop compilation (CMake, Makefile generator)
Summary: 'Stop all jobs' does not stop compilation (CMake, Makefile generator)
Status: RESOLVED WORKSFORME
Alias: None
Product: kdevelop
Classification: Applications
Component: Build tools: Make (show other bugs)
Version: 5.1.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-19 17:40 UTC by Maciej Mrozowski
Modified: 2022-12-06 05:19 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maciej Mrozowski 2017-05-19 17:40:46 UTC
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.
Comment 1 Maciej Mrozowski 2017-05-21 23:00:32 UTC
Of course in order to reproduce one needs some project with enough template mast****tion or aggregate initialisation to make compiler processes live long enough to notice.
Comment 2 Justin Zobel 2022-11-06 09:24:41 UTC
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 3 Bug Janitor Service 2022-11-21 05:13:15 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bug Janitor Service 2022-12-06 05:19:57 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!