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: | Always read process error and output | ||
---|---|---|---|
Product: | cnd | Reporter: | Vladimir Kvashin <vkvashin> |
Component: | -- Other -- | Assignee: | Vladimir Kvashin <vkvashin> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | pbeerli |
Priority: | P3 | ||
Version: | 8.1 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | truss log of starting command in a pseudo-termina |
Description
Vladimir Kvashin
2016-05-17 16:04:11 UTC
Main changeset is: http://hg.netbeans.org/cnd-main/rev/da22225fba66 1. Additional fix for Bug #262599: http://hg.netbeans.org/cnd-main/rev/437c80e3aec9 2. Additional fix for Bug #262587: http://hg.netbeans.org/releases/rev/a3b2d25f6175 Second fix results in failure of RedirectErrorTest. Test is failed in condition: ================== RedirectErrorTest @ localhost configure builder using setCommandLine() configure builder not to do redirectError() configure builder to be started in a pseudo-terminal Extected that error goes to output Result is: ExitStatus exitCode=1 error= output= ================== I.e. pseudo-terminal in command line mode does not print anything in out/err if input stream is closed. It looks like loop function in dlight.nativeexecution/tools/pty/src/loop.c returns 1 and process was killed. Created attachment 160201 [details]
truss log of starting command in a pseudo-termina
see that process 15352 was killed by process 15350
*** Bug 267786 has been marked as a duplicate of this bug. *** |