This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Stopping the currently executing build does not kill generated child processes on OS X | ||
---|---|---|---|
Product: | platform | Reporter: | kasperhirvikoski |
Component: | Execution | Assignee: | Petr Hejl <phejl> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | .wojtek, boerrild, cmrp, mikekarrys |
Priority: | P3 | ||
Version: | 8.0 | ||
Hardware: | PC | ||
OS: | Mac OS X | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | Example project |
Nothing to do with java.project. *** Bug 242231 has been marked as a duplicate of this bug. *** *** Bug 232322 has been marked as a duplicate of this bug. *** Can you test with a recent daily build? This is likely duplicate of #195537. *** This bug has been marked as a duplicate of bug 195537 *** I'm running on OSX 10.11.5 with an updated Netbeans 8.1 (Build 201510222201). The problem still persists. The project I'm running is a server, and in order to be able to kill the process, I look up for the process which is using the port I configure after "killing" the execution on netbeans, and then killing that process. lsof -i :PORT kill -9 PID Here's the complete info on "About Netbeans": Product Version: NetBeans IDE 8.1 (Build 201510222201) Updates: NetBeans IDE is updated to version NetBeans 8.1 Patch 1 Java: 1.8.0_91; Java HotSpot(TM) 64-Bit Server VM 25.91-b14 Runtime: Java(TM) SE Runtime Environment 1.8.0_91-b14 System: Mac OS X version 10.11.5 running on x86_64; UTF-8; en_US (nb) (In reply to luiz_souza from comment #6) > I'm running on OSX 10.11.5 with an updated Netbeans 8.1 (Build 201510222201). > > The problem still persists. The project I'm running is a server, and in > order to be able to kill the process, I look up for the process which is > using the port I configure after "killing" the execution on netbeans, and > then killing that process. > > lsof -i :PORT > kill -9 PID > > Here's the complete info on "About Netbeans": > > Product Version: NetBeans IDE 8.1 (Build 201510222201) > Updates: NetBeans IDE is updated to version NetBeans 8.1 Patch 1 > Java: 1.8.0_91; Java HotSpot(TM) 64-Bit Server VM 25.91-b14 > Runtime: Java(TM) SE Runtime Environment 1.8.0_91-b14 > System: Mac OS X version 10.11.5 running on x86_64; UTF-8; en_US (nb) Please test with the latest dev build. Should be resolved. |
Created attachment 147933 [details] Example project Stopping the currently executing build (from the output window) does not kill generated child processes on OS X when NetBeans’s run-action has been configured to run a task that creates child processes. Affecting: OS X 10.9.3 (13D65), Java 1.8.0_05, NetBeans 8.0 (Build 201403101706) Works as expected on Ubuntu 12.04 LTS. Steps: 1. Run a project with a custom NetBeans run-action. 2. Run-action generates child processes. 3. Stop the currently executing build from the output window. 4. The main process is killed, but the child processes remain. See attached project example.