<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; " class=""><pre class="paste-area"><span class="paste">So, using SBCL and :fd-handler, I got into a situation where running hunchentoot from slime and loading a page triggered an error that gave me a backtrace. Then things got weird as I couldn't view the source of, say, frame 12 without getting an error like: "</span>The variable SWANK-BACKEND::*SLDB-STACK-TOP* is unbound."</pre><pre class="paste-area">I forgot I was using fd-handler, but tcr was kind enough to point out that that's probably part of the problem.</pre><pre class="paste-area">Not sure what's going on here, but I figured I'd report it. Backtraces below.</pre><pre class="paste-area"><br></pre><pre class="paste-area">Thanks,</pre><pre class="paste-area"><br></pre><pre class="paste-area">Cyrus</pre><pre class="paste-area"><br></pre><pre class="paste-area"><span class="paste">
The path
  #P"/Users/sly/projects/hunchentoot-launcher/log/hunch..."
does not exist.
   [Condition of type SB-INT:SIMPLE-FILE-ERROR]

Restarts:
 0: [TERMINATE-THREAD] Terminate this thread <span class="paren1">(<span class="paste">#<THREAD <span class="string">"Hunchentoot worker (client: 127.0.0.1:61003)"</span> RUNNING {1003A55761}></span>)</span>

Backtrace:
  0: <span class="paren1">(<span class="paste"><a href="http://www.lispworks.com/reference/HyperSpec/Body/f_open.htm" class="symbol">OPEN</a> #P<span class="string">"/Users/sly/projects/hunchentoot-launcher/log/hunchentoot-message.log"</span></span>)</span>[:EXTERNAL]
  1: <span class="paren1">(<span class="paste"><span class="paren2">(<span class="paste"><a href="http://www.lispworks.com/reference/HyperSpec/Body/s_flet_.htm" class="symbol"><i class=""><span class="symbol">FLET</span></i></a> <i class=""><span class="symbol">SB-THREAD::WITH-MUTEX-THUNK</span></i></span>)</span></span>)</span>
  2: <span class="paren1">(<span class="paste"><span class="paren2">(<span class="paste"><a href="http://www.lispworks.com/reference/HyperSpec/Body/s_flet_.htm" class="symbol"><i class=""><span class="symbol">FLET</span></i></a> <span class="keyword">#:WITHOUT-INTERRUPTS-BODY-</span>[CALL-WITH-MUTEX]300</span>)</span></span>)</span>
  3: <span class="paren1">(<span class="paste">SB-THREAD::CALL-WITH-MUTEX ..</span>)</span>
  4: <span class="paren1">(<span class="paste">HUNCHENTOOT::LOG-MESSAGE-TO-FILE <span class="keyword">:ERROR</span> <span class="string">"Error while processing connection: ~A"</span></span>)</span>[:EXTERNAL]
  5: <span class="paren1">(<span class="paste"><span class="paren2">(<span class="paste"><a href="http://www.lispworks.com/reference/HyperSpec/Body/s_flet_.htm" class="symbol"><i class=""><span class="symbol">FLET</span></i></a> <span class="keyword">#:LAMBDA103</span></span>)</span> #<SB-INT:SIMPLE-FILE-ERROR <span class="string">"~@<The path ~2I~_~S ~I~_does not exist.~:>"</span> {1003B98FD1}></span>)</span>
  6: <span class="paren1">(<span class="paste"><a href="http://www.lispworks.com/reference/HyperSpec/Body/f_signal.htm" class="symbol">SIGNAL</a> #<SB-INT:SIMPLE-FILE-ERROR <span class="string">"~@<The path ~2I~_~S ~I~_does not exist.~:>"</span> {1003B98FD1}></span>)</span>[:EXTERNAL]
  7: <span class="paren1">(<span class="paste"><a href="http://www.lispworks.com/reference/HyperSpec/Body/a_error.htm" class="symbol">ERROR</a> SB-INT:SIMPLE-FILE-ERROR</span>)</span>[:EXTERNAL]
  8: <span class="paren1">(<span class="paste"><a href="http://www.lispworks.com/reference/HyperSpec/Body/f_open.htm" class="symbol">OPEN</a> #P<span class="string">"/Users/sly/projects/hunchentoot-launcher/log/hunchentoot-access.log"</span></span>)</span>[:EXTERNAL]
  9: <span class="paren1">(<span class="paste"><span class="paren2">(<span class="paste"><a href="http://www.lispworks.com/reference/HyperSpec/Body/s_flet_.htm" class="symbol"><i class=""><span class="symbol">FLET</span></i></a> <i class=""><span class="symbol">SB-THREAD::WITH-MUTEX-THUNK</span></i></span>)</span></span>)</span>
 10: <span class="paren1">(<span class="paste"><span class="paren2">(<span class="paste"><a href="http://www.lispworks.com/reference/HyperSpec/Body/s_flet_.htm" class="symbol"><i class=""><span class="symbol">FLET</span></i></a> <span class="keyword">#:WITHOUT-INTERRUPTS-BODY-</span>[CALL-WITH-MUTEX]300</span>)</span></span>)</span>
 11: <span class="paren1">(<span class="paste">SB-THREAD::CALL-WITH-MUTEX ..</span>)</span>
 12: <span class="paren1">(<span class="paste">HUNCHENTOOT::LOG-ACCESS-TO-FILE</span>)</span>[:EXTERNAL]
 13: <span class="paren1">(<span class="paste">HUNCHENTOOT::START-OUTPUT</span>)</span>[:EXTERNAL]
 14: <span class="paren1">(<span class="paste"><span class="paren2">(<span class="paste">SB-PCL::FAST-METHOD HUNCHENTOOT:PROCESS-REQUEST <span class="paren3">(<span class="paste"><a href="http://www.lispworks.com/reference/HyperSpec/Body/a_t.htm" class="symbol">T</a></span>)</span></span>)</span> #<unavailable argument> #<unavailable argument> #<HUNCHENTOOT:REQUEST {1003679FB1}></span>)</span>
 15: <span class="paren1">(<span class="paste"><span class="paren2">(<span class="paste">SB-PCL::FAST-METHOD HUNCHENTOOT:PROCESS-CONNECTION <span class="paren3">(<span class="paste">HUNCHENTOOT:ACCEPTOR <a href="http://www.lispworks.com/reference/HyperSpec/Body/a_t.htm" class="symbol">T</a></span>)</span></span>)</span> ..</span>)</span>
 16: <span class="paren1">(<span class="paste"><span class="paren2">(<span class="paste">SB-PCL::FAST-METHOD HUNCHENTOOT:PROCESS-CONNECTION <span class="keyword">:AROUND</span> <span class="paren3">(<span class="paste">HUNCHENTOOT:ACCEPTOR <a href="http://www.lispworks.com/reference/HyperSpec/Body/a_t.htm" class="symbol">T</a></span>)</span></span>)</span> ..</span>)</span>
 17: <span class="paren1">(<span class="paste"><span class="paren2">(<span class="paste"><a href="http://www.lispworks.com/reference/HyperSpec/Body/a_lambda.htm" class="symbol"><i class=""><span class="symbol">LAMBDA</span></i></a> <span class="paren3">(<span class="paste"></span>)</span></span>)</span></span>)</span>
 18: <span class="paren1">(<span class="paste"><span class="paren2">(<span class="paste"><a href="http://www.lispworks.com/reference/HyperSpec/Body/s_flet_.htm" class="symbol"><i class=""><span class="symbol">FLET</span></i></a> <span class="keyword">#:WITHOUT-INTERRUPTS-BODY-</span>[BLOCK401]406</span>)</span></span>)</span>
 19: <span class="paren1">(<span class="paste"><span class="paren2">(<span class="paste"><a href="http://www.lispworks.com/reference/HyperSpec/Body/s_flet_.htm" class="symbol"><i class=""><span class="symbol">FLET</span></i></a> <i class=""><span class="symbol">SB-THREAD::WITH-MUTEX-THUNK</span></i></span>)</span></span>)</span>
 --more--

then when I try to either expand the stack trace or visit a source file from the back trace I get the following subsequent error:

The variable SWANK-BACKEND::*SLDB-STACK-TOP* is unbound.
   [Condition of type UNBOUND-VARIABLE]

Restarts:
 0: [*ABORT] Return to SLIME's top level.
 1: [ABORT] Exit debugger, returning to top level.

Backtrace:
  0: <span class="paren1">(<span class="paste">SWANK-BACKEND::NTH-FRAME 20</span>)</span>
  1: <span class="paren1">(<span class="paste"><span class="paren2">(<span class="paste"><a href="http://www.lispworks.com/reference/HyperSpec/Body/s_flet_.htm" class="symbol"><i class=""><span class="symbol">FLET</span></i></a> SWANK-BACKEND:COMPUTE-BACKTRACE</span>)</span> 20 60</span>)</span>
  2: <span class="paren1">(<span class="paste">SWANK:BACKTRACE 20 60</span>)</span>
  3: <span class="paren1">(<span class="paste">SB-INT:SIMPLE-EVAL-IN-LEXENV <span class="paren2">(<span class="paste">SWANK:BACKTRACE 20 60</span>)</span> #<NULL-LEXENV></span>)</span>
  4: <span class="paren1">(<span class="paste">SWANK::EVAL-FOR-EMACS <span class="paren2">(<span class="paste">SWANK:BACKTRACE 20 60</span>)</span> <span class="string">"COMMON-LISP-USER"</span> 10</span>)</span>
  5: <span class="paren1">(<span class="paste">SWANK::PROCESS-REQUESTS <a href="http://www.lispworks.com/reference/HyperSpec/Body/a_t.htm" class="symbol">T</a></span>)</span>
  6: <span class="paren1">(<span class="paste"><span class="paren2">(<span class="paste"><a href="http://www.lispworks.com/reference/HyperSpec/Body/a_lambda.htm" class="symbol"><i class=""><span class="symbol">LAMBDA</span></i></a> <span class="paren3">(<span class="paste"></span>)</span></span>)</span></span>)</span>
  7: <span class="paren1">(<span class="paste"><span class="paren2">(<span class="paste"><a href="http://www.lispworks.com/reference/HyperSpec/Body/a_lambda.htm" class="symbol"><i class=""><span class="symbol">LAMBDA</span></i></a> <span class="paren3">(<span class="paste"></span>)</span></span>)</span></span>)</span>
  8: <span class="paren1">(<span class="paste">SWANK-BACKEND::CALL-WITH-BREAK-HOOK #<<a href="http://www.lispworks.com/reference/HyperSpec/Body/a_fn.htm" class="symbol"><i class=""><span class="symbol">FUNCTION</span></i></a> SWANK:SWANK-DEBUGGER-HOOK> #<CLOSURE <span class="paren2">(<span class="paste"><a href="http://www.lispworks.com/reference/HyperSpec/Body/a_lambda.htm" class="symbol"><i class=""><span class="symbol">LAMBDA</span></i></a> #</span>)</span> {1002AEA0F9}></span>)</span>
  9: <span class="paren1">(<span class="paste"><span class="paren2">(<span class="paste"><a href="http://www.lispworks.com/reference/HyperSpec/Body/s_flet_.htm" class="symbol"><i class=""><span class="symbol">FLET</span></i></a> SWANK-BACKEND:CALL-WITH-DEBUGGER-HOOK</span>)</span> #<<a href="http://www.lispworks.com/reference/HyperSpec/Body/a_fn.htm" class="symbol"><i class=""><span class="symbol">FUNCTION</span></i></a> SWANK:SWANK-DEBUGGER-HOOK> #<CLOSURE <span class="paren2">(<span class="paste"><a href="http://www.lispworks.com/reference/HyperSpec/Body/a_lambda.htm" class="symbol"><i class=""><span class="symbol">LAMBDA</span></i></a> #</span>)</span> {1002AEA0F9}></span>)</span>
 10: <span class="paren1">(<span class="paste">SWANK::CALL-WITH-BINDINGS ..</span>)</span>
 11: <span class="paren1">(<span class="paste">SWANK::HANDLE-REQUESTS #<SWANK::CONNECTION {1003B761E1}> <a href="http://www.lispworks.com/reference/HyperSpec/Body/a_t.htm" class="symbol">T</a></span>)</span>
 12: <span class="paren1">(<span class="paste"><span class="paren2">(<span class="paste"><a href="http://www.lispworks.com/reference/HyperSpec/Body/s_flet_.htm" class="symbol"><i class=""><span class="symbol">LABELS</span></i></a> SWANK-BACKEND::RUN</span>)</span> 7</span>)</span>
 13: <span class="paren1">(<span class="paste">SB-IMPL::SUB-SUB-SERVE-EVENT <a href="http://www.lispworks.com/reference/HyperSpec/Body/a_nil.htm" class="symbol">NIL</a> <a href="http://www.lispworks.com/reference/HyperSpec/Body/a_nil.htm" class="symbol">NIL</a></span>)</span>
 14: <span class="paren1">(<span class="paste">SB-IMPL::SUB-SERVE-EVENT <a href="http://www.lispworks.com/reference/HyperSpec/Body/a_nil.htm" class="symbol">NIL</a> <a href="http://www.lispworks.com/reference/HyperSpec/Body/a_nil.htm" class="symbol">NIL</a> <a href="http://www.lispworks.com/reference/HyperSpec/Body/a_nil.htm" class="symbol">NIL</a></span>)</span>
 15: <span class="paren1">(<span class="paste">SB-SYS:WAIT-UNTIL-FD-USABLE 0 <span class="keyword">:INPUT</span> <a href="http://www.lispworks.com/reference/HyperSpec/Body/a_nil.htm" class="symbol">NIL</a></span>)</span>
 16: <span class="paren1">(<span class="paste">SB-IMPL::REFILL-INPUT-BUFFER #<SB-SYS:FD-STREAM for <span class="string">"standard input"</span> {10037292C1}></span>)</span>
 17: <span class="paren1">(<span class="paste">SB-IMPL::INPUT-CHAR/ASCII #<SB-SYS:FD-STREAM for <span class="string">"standard input"</span> {10037292C1}> <a href="http://www.lispworks.com/reference/HyperSpec/Body/a_nil.htm" class="symbol">NIL</a> <span class="keyword">#:EOF-OBJECT</span></span>)</span>
 18: <span class="paren1">(<span class="paste"><span class="paren2">(<span class="paste"><a href="http://www.lispworks.com/reference/HyperSpec/Body/a_lambda.htm" class="symbol"><i class=""><span class="symbol">LAMBDA</span></i></a> <span class="paren3">(<span class="paste">&REST <a href="http://www.lispworks.com/reference/HyperSpec/Body/f_rest.htm" class="symbol">REST</a></span>)</span></span>)</span> #<SB-SYS:FD-STREAM for <span class="string">"standard input"</span> {10037292C1}> <a href="http://www.lispworks.com/reference/HyperSpec/Body/a_nil.htm" class="symbol">NIL</a> <span class="keyword">#:EOF-OBJECT</span></span>)</span>
 19: <span class="paren1">(<span class="paste"><span class="paren2">(<span class="paste"><a href="http://www.lispworks.com/reference/HyperSpec/Body/a_lambda.htm" class="symbol"><i class=""><span class="symbol">LAMBDA</span></i></a> <span class="paren3">(<span class="paste">&REST <a href="http://www.lispworks.com/reference/HyperSpec/Body/f_rest.htm" class="symbol">REST</a></span>)</span></span>)</span> #<SB-SYS:FD-STREAM for <span class="string">"standard input"</span> {10037292C1}> <a href="http://www.lispworks.com/reference/HyperSpec/Body/a_nil.htm" class="symbol">NIL</a> <span class="keyword">#:EOF-OBJECT</span></span>)</span>[:OPTIONAL]
 --more--
</span></pre><div class=""><br class=""></div></body></html>