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

Hang when loading a library via CFFI #756

Open
snunez1 opened this issue Feb 7, 2023 · 3 comments
Open

Hang when loading a library via CFFI #756

snunez1 opened this issue Feb 7, 2023 · 3 comments

Comments

@snunez1
Copy link

snunez1 commented Feb 7, 2023

I'm seeing an odd behaviour when loading shared libraries under slime/swank. From a command line REPL:

* (asdf:load-system :cffi)
T
* (cffi:load-foreign-library "s:/src/lla/lib/libopenblas-0.3.21.dll")
#<CFFI:FOREIGN-LIBRARY LIBOPENBLAS-0.3.21.DLL-518 "libopenblas-0.3.21.dll">

all good.

The same from emacs/slime/swank just hangs. The workaround is to go to the inferior-lisp buffer and press enter. After doing that the load unhangs and things proceed normally.

Configuration:

  • SBCL 2.1.6
  • Slime: 2.27
  • Windows 10

possibly related to #646

@luismbo
Copy link
Member

luismbo commented Feb 7, 2023 via email

@luismbo
Copy link
Member

luismbo commented Feb 7, 2023 via email

@snunez1
Copy link
Author

snunez1 commented Feb 8, 2023

My Windows dev environment doesn't include gdb, it's Visual Studio 2019. I'm not entirely certain that even works any more, as I've been 100% in common lisp for the last 4-5 years.

Does the fact that it can unhang with input from the *inferior-lisp* provide any clues?

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