Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LinuxWatchService fails when running clojure boot #1760

Closed
laforge49 opened this issue Mar 8, 2017 · 3 comments
Closed

LinuxWatchService fails when running clojure boot #1760

laforge49 opened this issue Mar 8, 2017 · 3 comments

Comments

@laforge49
Copy link

When running clojure boot, the LinuxWatchService throws an exception.

bill@T540P:/mnt/c/Users/Bill/Documents/rolonicArk/simpleArk$ boot.sh test-it
sun.nio.fs.UnixException: Bad file descriptor
at sun.nio.fs.UnixNativeDispatcher.read(Native Method)
at sun.nio.fs.LinuxWatchService$Poller.run(LinuxWatchService.java:318)
at java.lang.Thread.run(Thread.java:745)

Windows 10 version 1607 (OS Build 14393.693)

The boot development environment monitors the file system for changes. So this is a critical API when using clojure boot.

@laforge49
Copy link
Author

Forgot to mention the java version...

bill@T540P:$ java -version
java version "1.8.0_121"
Java(TM) SE Runtime Environment (build 1.8.0_121-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode)
bill@T540P:
$

@laforge49
Copy link
Author

Boot version info:

BOOT_CLOJURE_VERSION=1.9.0-alpha10
BOOT_VERSION=2.6.0
BOOT_EMIT_TARGET=no

@seancorfield
Copy link

I believe this is a duplicate of some of the problems highlighted in #277 and is fixed in later Windows 10 builds. In particular, see my comment #277 (comment) which shows the same Bad file descriptor error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants