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 271532 - Build no longer works after some time
Summary: Build no longer works after some time
Status: RESOLVED WORKSFORME
Alias: None
Product: cnd
Classification: Unclassified
Component: execution (show other bugs)
Version: Dev
Hardware: PC Linux
: P2 normal (vote)
Assignee: ilia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-26 18:06 UTC by tbrunhoff
Modified: 2017-09-28 05:28 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
pty file (22.73 KB, application/octet-stream)
2017-09-26 20:34 UTC, tbrunhoff
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tbrunhoff 2017-09-26 18:06:14 UTC
The ide below has been running for weeks, and today, when starting a build, the output window showed:

----------------------------------------------------------------------------
cd '/home/toddb/src/src4/omneon/director/host/sb'
/bin/gmake -f Makefile QUIET=
Cannot run program "/tmp/dlight_toddb/c54878f/1300829284/pty": error=2, No such file or directory

BUILD FAILED (exit value -2, total time: 53ms)
----------------------------------------------------------------------------

This continues until I restart the ide, and the build works fine. There is nothing in the messages.log at the time of the failure.



Product Version: NetBeans IDE Dev (Build 201707260001)
Updates: Updates available
Java: 1.8.0_101; Java HotSpot(TM) 64-Bit Server VM 25.101-b13
Runtime: Java(TM) SE Runtime Environment 1.8.0_101-b13
System: Linux version 4.11.8-200.fc25.x86_64 running on amd64; UTF-8; en_US (nb)
User directory: /home/toddb/.netbeans/dev
Cache directory: /home/toddb/.cache/netbeans/dev
Comment 1 Vladimir Voskresensky 2017-09-26 20:12:14 UTC
Todd, may be you have cleaned your /tmp folder for some reason while IDE was running? In this case you could delete /tmp/dlight_toddb folder where we keep some helper binaries
Comment 2 tbrunhoff 2017-09-26 20:34:30 UTC
Created attachment 165187 [details]
pty file
Comment 3 tbrunhoff 2017-09-26 20:36:04 UTC
> you have cleaned your /tmp folder
No. Rarely if ever. But I should emphasize that this instance of the ide had been running for at least a 10 days while I was out of town. 

Turns out the file cited in the error message below *still* exists on the system. And I've attached it for your entertainment.

---------------------------------------------------
$ ls -l /tmp/dlight_toddb/c54878f/1300829284/pty
-rwxrw-r-- 1 toddb toddb 23280 Sep 26 11:03 /tmp/dlight_toddb/c54878f/1300829284/pty
---------------------------------------------------
Comment 4 Alexander Simon 2017-09-26 20:51:08 UTC
(In reply to tbrunhoff from comment #3)
> > you have cleaned your /tmp folder
> No. Rarely if ever. But I should emphasize that this instance of the ide had
> been running for at least a 10 days while I was out of town. 
> 
> Turns out the file cited in the error message below *still* exists on the
> system. And I've attached it for your entertainment.
> 
> ---------------------------------------------------
> $ ls -l /tmp/dlight_toddb/c54878f/1300829284/pty
> -rwxrw-r-- 1 toddb toddb 23280 Sep 26 11:03
> /tmp/dlight_toddb/c54878f/1300829284/pty
> ---------------------------------------------------
I see that file was recreated today.
Comment 5 tbrunhoff 2017-09-26 22:02:11 UTC
True (and not rewritten).

I cannot explain why it was removed.  There is nothing in /etc/cron* that would do it.

I'll close this and if it ever happens again with better evidence, I'll reopen.