[hunchentoot-devel] Trouble with finish-output in process-connection

Andrey Moskvitin archimag at gmail.com
Fri Apr 1 14:02:43 UTC 2011


> Are they still in ESTABLISHED or in FIN_WAIT state?
> It'd be great if you could supply us with some more information.

Hmm...

Threads (via *slime-threads*):

27   repl-thread                              Running
28   auto-flush-thread                        Running
29   reader-thread                            Running
30   control-thread                           Running
31   hunchentoot-worker-62.78.43.253:8576     Running
7    hunchentoot-listener-*:80                Running
8    Swank 4005                               Running
9    initial thread                           Running

Backtrace:

Interrupt from Emacs
   [Condition of type SIMPLE-ERROR]

Restarts:
 0: [CONTINUE] Continue from break.
 1: [TERMINATE-THREAD] Terminate this thread (#<THREAD
"hunchentoot-worker-62.78.43.253:8576" RUNNING {1002BD0451}>)

Backtrace:
  0: ("bogus stack frame")
  1: (SB-IMPL::SUB-SUB-SERVE-EVENT NIL NIL)
  2: (SB-IMPL::SUB-SERVE-EVENT NIL NIL NIL)
  3: (SB-SYS:SERVE-ALL-EVENTS NIL)
  4: (SB-IMPL::FINISH-FD-STREAM-OUTPUT #<SB-SYS:FD-STREAM for "a
socket" {1002BCE731}>)
  5: (FINISH-OUTPUT #<SB-SYS:FD-STREAM for "a socket" {1002BCE731}>)
  6: ((SB-PCL::FAST-METHOD HUNCHENTOOT:PROCESS-CONNECTION
(HUNCHENTOOT:ACCEPTOR T)) ..)
  7: ((SB-PCL::FAST-METHOD HUNCHENTOOT:PROCESS-CONNECTION :AROUND
(HUNCHENTOOT:ACCEPTOR T)) ..)
  8: ((LAMBDA ()))
  9: ((LAMBDA ()))
 10: ((FLET #:WITHOUT-INTERRUPTS-BODY-[BLOCK358]363))
 11: ((FLET SB-THREAD::WITH-MUTEX-THUNK))
 12: ((FLET #:WITHOUT-INTERRUPTS-BODY-[CALL-WITH-MUTEX]293))
 13: (SB-THREAD::CALL-WITH-MUTEX ..)
 14: (SB-THREAD::INITIAL-THREAD-FUNCTION)
 15: ("foreign function: #x4220F0")
 16: ("foreign function: #x418D67")

But, NETSTAT not show connection to 62.78.43.253:8576. It looks like a
bug in SBCL.

Andrey




More information about the Tbnl-devel mailing list