Seen in the *inferior-lisp* buffer while trying to load the latest cvs version of slime using sbcl-0.9.15 on Linux x86: ... WARNING: These Swank interfaces are unimplemented: (ACTIVATE-STEPPING CALLS-WHO DISASSEMBLE-FRAME SLDB-BREAK-AT-START SLDB-BREAK-ON-RETURN WHO-BINDS WHO-CALLS WHO-MACROEXPANDS WHO-REFERENCES WHO-SETS WHO-SPECIALIZES) T * Help! 11 nested errors. SB-KERNEL:*MAXIMUM-ERROR-DEPTH* exceeded. 0: (BACKTRACE 536870911 #<SYNONYM-STREAM :SYMBOL SB-SYS:*TTY* {C545449}>) 1: ((LAMBDA NIL)) 2: ((LAMBDA NIL)) 3: (SB-IMPL::%WITH-STANDARD-IO-SYNTAX #<CLOSURE (LAMBDA NIL) {C545565}>) 4: (SB-IMPL::ERROR-ERROR) 5: (SB-IMPL::INFINITE-ERROR-PROTECTOR) 6: (ERROR SB-INT:SIMPLE-STREAM-ERROR) 7: (SB-IMPL::SIMPLE-STREAM-PERROR "couldn't write to ~S" #<SB-SYS:FD-STREAM for "the terminal" {A7C4821}> 32) 8: (SB-IMPL::FLUSH-OUTPUT-BUFFER #<SB-SYS:FD-STREAM for "the terminal" {A7C4821}>) 9: (SB-IMPL::OUTPUT-CHAR-UTF-8-LINE-BUFFERED #<SB-SYS:FD-STREAM for "the terminal" {A7C4821}> #\Newline) 10: (WRITE-CHAR #\Newline #<SB-SYS:FD-STREAM for "the terminal" {A7C4821}>) 11: (TERPRI #<SYNONYM-STREAM :SYMBOL SB-SYS:*TTY* {910E8F1}>) 12: ((LAMBDA NIL)) 13: ((LAMBDA NIL)) 14: (SB-IMPL::%WITH-STANDARD-IO-SYNTAX #<CLOSURE (LAMBDA NIL) {C544FA5}>) 15: (SB-IMPL::ERROR-ERROR) 16: (SB-IMPL::INFINITE-ERROR-PROTECTOR) 17: (ERROR SB-INT:SIMPLE-STREAM-ERROR) 18: (SB-IMPL::SIMPLE-STREAM-PERROR "couldn't write to ~S" #<SB-SYS:FD-STREAM for "the terminal" {A7C4821}> 32) 19: (SB-IMPL::FLUSH-OUTPUT-BUFFER #<SB-SYS:FD-STREAM for "the terminal" {A7C4821}>) 20: (FORCE-OUTPUT #<SYNONYM-STREAM :SYMBOL *TERMINAL-IO* {915C2C1}>) 21: (SB-INT:FLUSH-STANDARD-OUTPUT-STREAMS) 22: (INVOKE-DEBUGGER #<SB-INT:SIMPLE-STREAM-ERROR {C544E91}>) 23: (ERROR SB-INT:SIMPLE-STREAM-ERROR) 24: (SB-IMPL::SIMPLE-STREAM-PERROR "couldn't write to ~S" #<SB-SYS:FD-STREAM for "the terminal" {A7C4821}> 32) 25: (SB-IMPL::FLUSH-OUTPUT-BUFFER #<SB-SYS:FD-STREAM for "the terminal" {A7C4821}>) 26: (FORCE-OUTPUT #<SYNONYM-STREAM :SYMBOL *TERMINAL-IO* {915C2C1}>) 27: (SB-INT:FLUSH-STANDARD-OUTPUT-STREAMS) 28: (INVOKE-DEBUGGER #<SB-INT:SIMPLE-STREAM-ERROR {C544D71}>) 29: (ERROR SB-INT:SIMPLE-STREAM-ERROR) 30: (SB-IMPL::SIMPLE-STREAM-PERROR "couldn't write to ~S" #<SB-SYS:FD-STREAM for "the terminal" {A7C4821}> 32) 31: (SB-IMPL::FLUSH-OUTPUT-BUFFER #<SB-SYS:FD-STREAM for "the terminal" {A7C4821}>) 32: (FORCE-OUTPUT #<SYNONYM-STREAM :SYMBOL *TERMINAL-IO* {915C2C1}>) 33: (SB-INT:FLUSH-STANDARD-OUTPUT-STREAMS) 34: (INVOKE-DEBUGGER #<SB-INT:SIMPLE-STREAM-ERROR {C544C51}>) 35: (ERROR SB-INT:SIMPLE-STREAM-ERROR) 36: (SB-IMPL::SIMPLE-STREAM-PERROR "couldn't write to ~S" #<SB-SYS:FD-STREAM for "the terminal" {A7C4821}> 32) 37: (SB-IMPL::FLUSH-OUTPUT-BUFFER #<SB-SYS:FD-STREAM for "the terminal" {A7C4821}>) 38: (FORCE-OUTPUT #<SYNONYM-STREAM :SYMBOL *TERMINAL-IO* {915C2C1}>) 39: (SB-INT:FLUSH-STANDARD-OUTPUT-STREAMS) 40: (INVOKE-DEBUGGER #<SB-INT:SIMPLE-STREAM-ERROR {C544B31}>) 41: (ERROR SB-INT:SIMPLE-STREAM-ERROR) 42: (SB-IMPL::SIMPLE-STREAM-PERROR "couldn't write to ~S" #<SB-SYS:FD-STREAM for "the terminal" {A7C4821}> 32) 43: (SB-IMPL::FLUSH-OUTPUT-BUFFER #<SB-SYS:FD-STREAM for "the terminal" {A7C4821}>) 44: (FORCE-OUTPUT #<SYNONYM-STREAM :SYMBOL *TERMINAL-IO* {915C2C1}>) 45: (SB-INT:FLUSH-STANDARD-OUTPUT-STREAMS) 46: (INVOKE-DEBUGGER #<SB-INT:SIMPLE-STREAM-ERROR {C544A11}>) 47: (ERROR SB-INT:SIMPLE-STREAM-ERROR) 48: (SB-IMPL::SIMPLE-STREAM-PERROR "couldn't write to ~S" #<SB-SYS:FD-STREAM for "the terminal" {A7C4821}> 32) 49: (SB-IMPL::FLUSH-OUTPUT-BUFFER #<SB-SYS:FD-STREAM for "the terminal" {A7C4821}>) 50: (FORCE-OUTPUT #<SYNONYM-STREAM :SYMBOL *TERMINAL-IO* {915C2C1}>) 51: (SB-INT:FLUSH-STANDARD-OUTPUT-STREAMS) 52: (INVOKE-DEBUGGER #<SB-INT:SIMPLE-STREAM-ERROR {C5448F1}>) 53: (ERROR SB-INT:SIMPLE-STREAM-ERROR) 54: (SB-IMPL::SIMPLE-STREAM-PERROR "couldn't write to ~S" #<SB-SYS:FD-STREAM for "the terminal" {A7C4821}> 32) 55: (SB-IMPL::FLUSH-OUTPUT-BUFFER #<SB-SYS:FD-STREAM for "the terminal" {A7C4821}>) 56: (FORCE-OUTPUT #<SYNONYM-STREAM :SYMBOL *TERMINAL-IO* {915C2C1}>) 57: (SB-INT:FLUSH-STANDARD-OUTPUT-STREAMS) 58: (INVOKE-DEBUGGER #<SB-INT:SIMPLE-STREAM-ERROR {C5447D1}>) 59: (ERROR SB-INT:SIMPLE-STREAM-ERROR) 60: (SB-IMPL::SIMPLE-STREAM-PERROR "couldn't write to ~S" #<SB-SYS:FD-STREAM for "the terminal" {A7C4821}> 32) 61: (SB-IMPL::FLUSH-OUTPUT-BUFFER #<SB-SYS:FD-STREAM for "the terminal" {A7C4821}>) 62: (FORCE-OUTPUT #<SYNONYM-STREAM :SYMBOL *TERMINAL-IO* {915C2C1}>) 63: (SB-INT:FLUSH-STANDARD-OUTPUT-STREAMS) 64: (INVOKE-DEBUGGER #<SB-INT:SIMPLE-STREAM-ERROR {C5446B1}>) 65: (ERROR SB-INT:SIMPLE-STREAM-ERROR) 66: (SB-IMPL::SIMPLE-STREAM-PERROR "couldn't write to ~S" #<SB-SYS:FD-STREAM for "the terminal" {A7C4821}> 32) 67: (SB-IMPL::FLUSH-OUTPUT-BUFFER #<SB-SYS:FD-STREAM for "the terminal" {A7C4821}>) 68: (FORCE-OUTPUT #<SYNONYM-STREAM :SYMBOL *TERMINAL-IO* {915C2C1}>) 69: (SB-INT:FLUSH-STANDARD-OUTPUT-STREAMS) 70: (INVOKE-DEBUGGER #<SB-INT:SIMPLE-STREAM-ERROR {C544591}>) 71: (ERROR SB-INT:SIMPLE-STREAM-ERROR) 72: (SB-IMPL::SIMPLE-STREAM-PERROR "couldn't write to ~S" #<SB-SYS:FD-STREAM for "the terminal" {A7C4821}> 32) 73: (SB-IMPL::FLUSH-OUTPUT-BUFFER #<SB-SYS:FD-STREAM for "the terminal" {A7C4821}>) 74: (FORCE-OUTPUT #<SYNONYM-STREAM :SYMBOL *TERMINAL-IO* {915C2C1}>) 75: (SB-INT:FLUSH-STANDARD-OUTPUT-STREAMS) 76: (INVOKE-DEBUGGER #<SB-INT:SIMPLE-STREAM-ERROR {C544471}>) 77: (ERROR SB-INT:SIMPLE-STREAM-ERROR) 78: (SB-IMPL::SIMPLE-STREAM-PERROR "couldn't write to ~S" #<SB-SYS:FD-STREAM for "the terminal" {A7C4821}> 32) 79: (SB-IMPL::FLUSH-OUTPUT-BUFFER #<SB-SYS:FD-STREAM for "the terminal" {A7C4821}>) 80: (FORCE-OUTPUT #<SYNONYM-STREAM :SYMBOL *TERMINAL-IO* {915C2C1}>) 81: (SB-INT:FLUSH-STANDARD-OUTPUT-STREAMS) 82: (INVOKE-DEBUGGER #<SB-INT:SIMPLE-STREAM-ERROR {C544171}>) 83: (ERROR SB-INT:SIMPLE-STREAM-ERROR) 84: (SB-IMPL::SIMPLE-STREAM-PERROR "couldn't write to ~S" #<SB-SYS:FD-STREAM for "the terminal" {A7C4821}> 32) 85: (SB-IMPL::FLUSH-OUTPUT-BUFFER #<SB-SYS:FD-STREAM for "the terminal" {A7C4821}>) 86: (SB-IMPL::OUTPUT-CHAR-UTF-8-LINE-BUFFERED #<SB-SYS:FD-STREAM for "the terminal" {A7C4821}> #\Newline) 87: (WRITE-CHAR #\Newline #<SB-SYS:FD-STREAM for "the terminal" {A7C4821}>) 88: (WRITE-CHAR #\Newline #<SYNONYM-STREAM :SYMBOL SB-SYS:*TTY* {910E8F1}>) 89: (TERPRI #<SYNONYM-STREAM :SYMBOL *TERMINAL-IO* {915C2C1}>) 90: (SB-FORMAT::%-FORMAT-DIRECTIVE-INTERPRETER #<SYNONYM-STREAM :SYMBOL *TERMINAL-IO* {915C2C1}> #<~%> NIL #<unavailable argument> NIL) 91: (SB-FORMAT::INTERPRET-DIRECTIVE-LIST #<SYNONYM-STREAM :SYMBOL *TERMINAL-IO* {915C2C1}> (#<~%>) (32933) NIL) 92: (SB-FORMAT::%FORMAT #<SYNONYM-STREAM :SYMBOL *TERMINAL-IO* {915C2C1}> "~&;; Swank started at port: ~D.~%" (32933) (32933)) 93: (FORMAT #<SYNONYM-STREAM :SYMBOL *TERMINAL-IO* {915C2C1}> "~&;; Swank started at port: ~D.~%") 94: (SWANK::SIMPLE-ANNOUNCE-FUNCTION 32933) 95: (SWANK::SETUP-SERVER 0 #<CLOSURE (LAMBDA (SWANK::PORT)) {C481565}> :SPAWN NIL :UTF-8-UNIX) 96: (SWANK:START-SERVER "/tmp/slime.18179" :STYLE NIL :DONT-CLOSE NIL :EXTERNAL-FORMAT :UTF-8-UNIX) 97: (SB-INT:EVAL-IN-LEXENV (SWANK:START-SERVER "/tmp/slime.18179" :EXTERNAL-FORMAT :UTF-8-UNIX) #<NULL-LEXENV>) 98: (INTERACTIVE-EVAL (SWANK:START-SERVER "/tmp/slime.18179" :EXTERNAL-FORMAT :UTF-8-UNIX)) 99: (SB-IMPL::REPL-FUN NIL) 100: ((LAMBDA NIL)) 101: ((LAMBDA NIL)) 102: (SB-IMPL::%WITH-REBOUND-IO-SYNTAX #<CLOSURE (LAMBDA NIL) {A7C3C6D}>) 103: (SB-IMPL::TOPLEVEL-REPL NIL) 104: (SB-IMPL::TOPLEVEL-INIT) 105: ((LABELS SB-IMPL::RESTART-LISP))
debugger invoked on a SIMPLE-ERROR in thread #<THREAD "initial thread" {A7C4489}>: Maximum error nesting depth exceeded
Type HELP for debugger help, or (SB-EXT:QUIT) to exit from SBCL.
restarts (invokable by number or by possibly-abbreviated name): 0: [ABORT] Exit debugger, returning to top level.
(SB-IMPL::SIMPLE-STREAM-PERROR "couldn't write to ~S" #<SB-SYS:FD-STREAM for "the terminal" {A7C4821}> 32) 0]
Matthew D Swank akopa@charter.net writes:
Seen in the *inferior-lisp* buffer while trying to load the latest cvs version of slime using sbcl-0.9.15 on Linux x86:
7: (SB-IMPL::SIMPLE-STREAM-PERROR "couldn't write to ~S" #<SB-SYS:FD-STREAM for "the terminal" {A7C4821}> 32)
Not immediately sure _why_ you get this, but adding
(setf *terminal-io* (make-two-way-stream *standard-input* *standard-output*))
to your .sbclrc will probably fix things. In current SBCL *terminal-io* is an io stream opened on /dev/tty, which apparently causes some confusion. (This is likely to change fairly soon.)
Cheers,
-- Nikodemus Schemer: "Buddha is small, clean, and serious." Lispnik: "Buddha is big, has hairy armpits, and laughs."
Nikodemus Siivola wrote:
Matthew D Swank akopa@charter.net writes
7: (SB-IMPL::SIMPLE-STREAM-PERROR "couldn't write to ~S" #<SB-SYS:FD-STREAM for "the terminal" {A7C4821}> 32)
Not immediately sure _why_ you get this, but adding
(setf *terminal-io* (make-two-way-stream *standard-input* *standard-output*))
to your .sbclrc will probably fix things. In current SBCL *terminal-io* is an io stream opened on /dev/tty, which apparently causes some confusion. (This is likely to change fairly soon.)
This worked. Thank you.
Matt