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

Lparallel randomly stopped working #42

Open
K1D77A opened this issue Dec 2, 2021 · 0 comments
Open

Lparallel randomly stopped working #42

K1D77A opened this issue Dec 2, 2021 · 0 comments

Comments

@K1D77A
Copy link

K1D77A commented Dec 2, 2021

I'm really sorry that this is going to be vague but I dont have any other info to give you, but I have a program that has been running for a long time, about 10 days ago a feature of the program stopped working and I have just worked out that it was because every called to a lparallel provided mapping function was completely blocking:

; Evaluation aborted on T
RSS> (lparallel:pmapc (lambda (x) (print x)) '(1 2 3 4))
; Evaluation aborted on T
RSS> (lparallel:pmapc (lambda (x) (print x)) '(1 2 3 4))
; Evaluation aborted on T
RSS> (lparallel:pmapcar (lambda (x) (print x)) '(1 2 3 4))
; Evaluation aborted on T
  0: (ERROR #<UNDEFINED-FUNCTION *KERNEL* {100A38A143}>)
RSS> lparallel:*kernel*
#<LPARALLEL.KERNEL:KERNEL :NAME "lparallel" :WORKER-COUNT 2 :USE-CALLER NIL :ALIVE T :SPIN-COUNT 2000 {100646C253}>
  0: (ERROR #<UNDEFINED-FUNCTION KERNEL {100E49FFB3}>)
  0: (ERROR #<UNDEFINED-FUNCTION KERNEL {100F62F8E3}>)
  0: (ERROR #<UNDEFINED-FUNCTION KERNEL {1005F18273}>)
RSS> (lparallel:end-kernel)
(#<SB-THREAD:THREAD "lparallel kernel shutdown manager" RUNNING {1005F1DAE3}>
 #<SB-THREAD:THREAD "lparallel" RUNNING {1000DC03E3}>
 #<SB-THREAD:THREAD "lparallel" RUNNING {1000DB9093}>)
RSS> (setf lparallel:*kernel* (lparallel:make-kernel 4))
#<LPARALLEL.KERNEL:KERNEL :NAME "lparallel" :WORKER-COUNT 4 :USE-CALLER NIL :ALIVE T :SPIN-COUNT 2000 {100B9FCC13}>
RSS> (lparallel:pmapc (lambda (x) (print x)) '(1 2 3 4))


2 4 
1 
3 
(1 2 3 4)

I had to manually kill the kernel and start it again.
I'm sorry I can't provide anymore information.
Thanks.

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

1 participant