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
Comments
Does this fix the problem?
cffi/cffi@3397035
…On Tue, 7 Feb 2023, 07:49 Steve Nunez, ***@***.***> wrote:
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 <#646>
—
Reply to this email directly, view it on GitHub
<#756>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAALFPY2J4LVSXZPNCRNEFLWWH5ATANCNFSM6AAAAAAUTTV6UM>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Nevermind. 🤦♂️ #646 is a Mac issue, but you're on Windows 10. Can you
perhaps attach gdb when sbcl hangs to look for clues?
…On Tue, 7 Feb 2023, 07:49 Steve Nunez, ***@***.***> wrote:
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 <#646>
—
Reply to this email directly, view it on GitHub
<#756>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAALFPY2J4LVSXZPNCRNEFLWWH5ATANCNFSM6AAAAAAUTTV6UM>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm seeing an odd behaviour when loading shared libraries under slime/swank. From a command line REPL:
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:
possibly related to #646
The text was updated successfully, but these errors were encountered: