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.

Bug 269031 - Clean hangs on Windows for Project with existing sources
Summary: Clean hangs on Windows for Project with existing sources
Status: RESOLVED INVALID
Alias: None
Product: cnd
Classification: Unclassified
Component: execution (show other bugs)
Version: Dev
Hardware: All Windows 10
: P2 normal (vote)
Assignee: ilia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-18 13:17 UTC by ilia
Modified: 2016-12-07 09:23 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Thread dump 1 (IG) (30.02 KB, text/plain)
2016-11-18 13:17 UTC, ilia
Details
Thread dump 2 (AS) (20.91 KB, text/plain)
2016-11-18 13:18 UTC, ilia
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ilia 2016-11-18 13:17:41 UTC
Created attachment 162953 [details]
Thread dump 1 (IG)

Create Project with existing sources, example in bug https://netbeans.org/bugzilla/show_bug.cgi?id=269010

Clean

----

Clean hangs.
Comment 1 ilia 2016-11-18 13:18:48 UTC
Created attachment 162954 [details]
Thread dump 2 (AS)
Comment 2 ilia 2016-11-18 13:21:09 UTC
Same thread state in both dumps: 

"NATIVEEXECUTOR: Waiting for localhost /cygdrive/C/cygwin64/bin/bash.exe "-c" "/cygdrive/C/cygwin64/bin/make.exe -f Makefile clean"" #60 daemon prio=1 os_prio=-2 tid=0x000000001ee91000 nid=0x1e8 runnable [0x000000002b6cf000]
   java.lang.Thread.State: RUNNABLE
	at java.lang.ProcessImpl.waitForInterruptibly(Native Method)
	at java.lang.ProcessImpl.waitFor(ProcessImpl.java:449)
	at org.netbeans.modules.nativeexecution.LocalNativeProcess.waitResult(LocalNativeProcess.java:233)
	at org.netbeans.modules.nativeexecution.AbstractNativeProcess$1.call(AbstractNativeProcess.java:165)
	at org.netbeans.modules.nativeexecution.AbstractNativeProcess$1.call(AbstractNativeProcess.java:157)
	at org.netbeans.modules.nativeexecution.support.NativeTaskExecutorService$1.call(NativeTaskExecutorService.java:67)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1443)
	at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:68)
	at org.openide.util.lookup.Lookups.executeWith(Lookups.java:303)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2058)
Comment 3 ilia 2016-11-21 11:23:30 UTC
Increasing priority
Comment 4 ilia 2016-12-07 09:23:09 UTC
There is an issue with a makefile, ".SHELLFLAGS=/C" line should be added to the beginning of the Makefile