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

sdl2:init hangs on windows running on slime #116

Open
A-deLuna opened this issue Mar 20, 2019 · 1 comment
Open

sdl2:init hangs on windows running on slime #116

A-deLuna opened this issue Mar 20, 2019 · 1 comment
Labels
msw Microsoft Operating System

Comments

@A-deLuna
Copy link

I don't run into the issue when running SBCL directly from the command line, only when running through SLIME.

Tried switching to CCL but same problem.

I think issue is related to this line:

(let ((result (recvmsg ,channel)))

But I'm still a Lisp noob and don't know how to continue debugging.

Pasting backtrace hoping it helps:

0: (CCL::%PROCESS-WAIT-ON-SEMAPHORE-PTR #<A Foreign Pointer [gcable] #x1AB0> 16777215 0 "semaphore wait" NIL)
1: (WAIT-ON-SEMAPHORE #<SEMAPHORE #x21033C408D> NIL "semaphore wait")
2: (BORDEAUX-THREADS:CONDITION-WAIT #<SEMAPHORE #x21033C408D> #<RECURSIVE-LOCK "Anonymous lock" [ptr @ #xE7D640] #x21033C400D> :TIMEOUT NIL)
3: (TRIVIAL-CHANNELS:RECVMSG #S(TRIVIAL-CHANNELS:CHANNEL :QUEUE #S(TRIVIAL-CHANNELS.QUEUE:QUEUE :HEAD NIL :TAIL NIL) :Q-CONDITION #<SEMAPHORE #x21033C408D> :Q-MUTEX ...) NIL)
Locals:
CHANNEL = #S(TRIVIAL-CHANNELS:CHANNEL :QUEUE #S(TRIVIAL-CHANNELS.QUEUE:QUEUE :HEAD NIL :TAIL NIL) :Q-CONDITION #<SEMAPHORE #x21033C408D> :Q-MUTEX ...)
TIMEOUT = NIL
#:G121246 = #<LOCK-ACQUISITION [status = T] #x27370F0D>
#:G121247 = #<RECURSIVE-LOCK "Anonymous lock" [ptr @ #xE7D640] #x21033C400D>
4: (SDL2:INIT)
Locals:
SDL-INIT-FLAGS = NIL
#:FUN200433 = #<COMPILED-LEXICAL-CLOSURE (:INTERNAL SDL2:INIT) #x21033C410F>
#:CHANNEL200434 = #S(TRIVIAL-CHANNELS:CHANNEL :QUEUE #S(TRIVIAL-CHANNELS.QUEUE:QUEUE :HEAD NIL :TAIL NIL) :Q-CONDITION #<SEMAPHORE #x21033C408D> :Q-MUTEX ...)
5: (CCL::CALL-CHECK-REGS SDL2:INIT)

@A-deLuna
Copy link
Author

Also, I've only tried with 64 bit binaries of SBCL and CCL

@fitzsim fitzsim added w32 msw Microsoft Operating System and removed w32 labels Aug 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
msw Microsoft Operating System
Development

No branches or pull requests

2 participants