Skip to content

when binding to tcp server inside Bordeaux Thread on MacOS QuickLisp gets stuck and server is not bound to port #27

@troydm

Description

@troydm

When binding to tcp server inside Bordeaux Thread on MacOS QuickLisp gets stuck and server is not bound to port

Basically what happens is that (ql:quickload "jsonrpc/transport/tcp" :silent t) is called from inside Bordeaux Thread and it gets stuck thus server is not loaded, not sure whenever it's QuickLisp's problem or just bunch of stuff but this happens on MacOS 10.13.3 running SBCL 2.0.11.

From what I understand root cause is find-mode-class in utils.lisp and it's causing Bordeaux Thread to get stuck, I'm still not sure why QuickLisp gets stuck when loading "jsonrpc/transport/tcp" but it causes whole server not to start

I've encountered this issue when trying to run cl-lsp which started as usually however port was not bound and no error messages were printed so it took me some time to debug this issue

Current workaround that I've found is to call (ql:quickload "jsonrpc/transport/tcp" :silent t) from main thread prior to starting a server, but it's an ad-hoc workaround at best that just happens to work

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions