Swank KILL-THREAD crashes/hangs CCL
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu |
Confirmed
|
Undecided
|
igor ageev |
Bug Description
KILL-THREAD in swank-ccl.lisp calls the internal CCL function
CCL::PROCESS-
this function causes the x86 Linux version of CCL to crash and the ARM version
to hang. I reported the problem to the CCL maintainers and was informed that
calling CCL::PROCESS-
user code, since it kills a thread without executing cleanup forms that do
essential things, such as releasing locks. I was told to use CCL:PROCESS-KILL
instead.
If I replace the call to CCL::PROCESS-
call to CCL:PROCESS-KILL, then my swank-crew tests successfully run to
completion. Unfortunately, I don't know if the change has other unwanted side
effects.
bob
affects: | slime → ubuntu |
Changed in ubuntu: | |
assignee: | nobody → igor ageev (igor-ageev-82) |
Changed in ubuntu: | |
status: | New → Fix Committed |
status: | Fix Committed → New |
One difference I noticed is that I noticed is in the thread status: run-function :k (lambda () (sleep 60)))) initial- form-exited:
(defparameter *thread* (ccl:process-
After killing it with process-kill:
*thread* => #<PROCESS K(42) [Reset] #x302000D6C61D>
and with process-
*thread* => #<PROCESS K(49) [Dead] #x302000E7C16D>
I'm not sure what's the significance of this.