Skip to content

Cider locks up Emacs regularly after cider-connect #1758

@mrrodriguez

Description

@mrrodriguez

Expected behavior

When using cider-connect to connect to a pre-existing nREPL server, I expect it to connect and be responsive once the prompt is available. As I continue to interact and work in the REPL I do not expect frequent lock-ups that lock up Emacs itself, not only the REPL prompt.

Actual behavior

I use cider-connect to connect to a pre-existing nREPL server. I get a prompt fairly quickly with something like

user>

However, if I try to type any character, Emacs/Cider becomes fully locked up. This lasts for anywhere from 5-10 seconds. Once it becomes responsive again, some characters I typed during the lock-up typically show up. Then I can start requiring my namespaces etc. This all happens at normal speeds at this point. However, frequently as I am doing more work in the editor with this connection present, I get frequent lock-ups again that lock the whole editor. I do not know what it is doing during this time.

Steps to reproduce the problem

My steps above are all you need to do to see this problem.

Environment & Version information

CIDER version information

;; CIDER 0.12.0  nREPL 0.2.12
;; Clojure 1.8.0, Java 1.8.0_91

Note: I see the same behavior in Java 6 as well.

Lein/Boot version

Lein 2.6.1

Emacs version

GNU Emacs 24.5.1 (x86_64-apple-darwin13.4.0, NS apple-appkit-1265.21) of 2015-04-10 on builder10-9.porkrind.org

Operating system

OS X 10.11.4 "El Capitan"

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions