Consistent "Uncaught Error: channel closed" with repro instructions
Atom version: 0.152.0, Ubuntu GNOME 14.10 atom-jshint version: 1.5.0
Bug: uncaught error thrown over specific production (specifically == when "eqeqeq" is in the package.json)
Repro instructions:
- Start to type an equality test in an if-statement, but stop after
==. - Make any single character modification to the source, can be an addition or deletion.
- An error will print in the console, with "Uncaught Error: channel closed".
Notes:
- The error happens when this plugin tries
JSHINT_Worker.send. This implies a dead worker. - The bug should be 100% reproducible inside any sort of "brace", including, but not limited to, array/object literals, function calls, and most statement bodies (
(,{,[). Other syntax errors are mostly irrelevant. - The global scope (with regards to such braces) are 100% unaffected.
- If/etc. statements without braces are unaffected if they are in the global scope (with regards to such braces).
- The error isn't immediately thrown, but should be thrown within about a second.
Thank you for the repro instructions! I've managed to reproduce it, i'll take a look! I have a feeling this will be a tricky one :(
And, for some reason, now, it is locking Atom up on those, instead of throwing errors into the console, at least for me. O.o
I literally started with a new .atom directory and worked until I finally diagnosed the offending package.
This is preventing me from opening files in atom :(