Opened 11 years ago

Closed 11 years ago

#388 closed defect (fixed)

c-/ doesn't work

Reported by: gz Owned by: gb
Priority: normal Milestone:
Component: Runtime (threads, GC) Version:
Keywords: Cc:

Description

Typing c-/ at the lisp process (in a unix shell) leaves it in a weird state where ps lists it as <defunct>, but it actually keeps running, sometimes apparently working fine, sometimes becoming non-responsive.

Gary knows what causes this, but it might be hard to fix on some platforms.

Change History (2)

comment:1 Changed 11 years ago by gb

  • Status changed from new to assigned

I haven't tested this on all platforms yet, but it should have been fixed in the trunk in r11501. Unless there are typos, I think the code should work (e.g., that it's the right idea.)

Aside from allowing SIGQUIT to terminate the process, we should ensure that

(defun hear-no-evil () (without-interrupts (loop (sleep 1)))

(process-run-function "interrupts off" #'hear-no-evil)

(quit)

quits without hanging. (We've been using SIGQUIT to kill the unresponsive thread in that case, which interferes with other more legitimate uses of SIGQUIT.)

comment:2 Changed 11 years ago by rme

  • Resolution set to fixed
  • Status changed from assigned to closed
Note: See TracTickets for help on using tickets.