Hi
I am having problems using C-c C-l in SLIME to load files, I am running CYGWIN, CLISP 2.46 and Emacs 23. The CLISP and emacs are from the cygwin packages.
Every time i load a file using the above command the following stack trace will appear.
Using a normal (load ) command the file loads ok, its only when I use the short cut then the following appears. Any suggestions? Oh I am using SLIME 2009-09-24
---- VALUES: too many values [Condition of type SIMPLE-ERROR]
Restarts: 0: [ABORT] Return to SLIME's top level. 1: [ABORT] Abort 2: [CLOSE-CONNECTION] Close SLIME connection 3: [ABORT] Abort main loop
Backtrace: 0: [545] frame binding variables (~ = dynamically): | ~ SWANK::*SWANK-STATE-STACK* <--> NIL 1: [542] frame binding variables (~ = dynamically): | ~ SWANK::*SLDB-STEPPING-P* <--> NIL 2: [539] frame binding variables (~ = dynamically): | ~ SWANK::*SLDB-LEVEL* <--> 0 3: [536] frame binding variables (~ = dynamically): | ~ *PACKAGE* <--> #<PACKAGE COMMON-LISP-USER> 4: <1/529> #<COMPILED-FUNCTION SWANK::DEBUG-IN-EMACS> [528] frame binding variables (~ = dynamically): | ~ SWANK::*SLIME-INTERRUPTS-ENABLED* <--> T 5: <1/522> #<COMPILED-FUNCTION SWANK:INVOKE-SLIME-DEBUGGER> - #<COMPILED-FUNCTION SWANK::SWANK-DEBUGGER-HOOK-2-1> 6: <1/520> #<COMPILED-FUNCTION SWANK::SWANK-DEBUGGER-HOOK-2-1> - #<COMPILED-FUNCTION SWANK::SWANK-DEBUGGER-HOOK-2-1> 7: [519] frame binding variables (~ = dynamically): | ~ *DEBUGGER-HOOK* <--> NIL 8: <1/515> #<COMPILED-FUNCTION #:|641 646 (DEFINTERFACE CALL-WITH-DEBUGGER-HOOK (HOOK FUN) ...)-63-3-1|> - #<COMPILED-FUNCTION #:|641 646 (DEFINTERFACE CALL-WITH-DEBUGGER-HOOK (HOOK FUN) ...)-63-3-1|> 9: <1/510> #<COMPILED-FUNCTION SWANK-BACKEND:CALL-WITH-DEBUGGER-HOOK> - #<COMPILED-FUNCTION SWANK::SWANK-DEBUGGER-HOOK-2> 10: <1/507> #<COMPILED-FUNCTION SWANK::SWANK-DEBUGGER-HOOK-2> - #<COMPILED-FUNCTION SWANK::SWANK-DEBUGGER-HOOK-2> 11: [506] handler frame for conditions SWANK::INVOKE-DEFAULT-DEBUGGER 12: [500] compiled tagbody frame for #(NIL) 13: <1/494> #<COMPILED-FUNCTION SWANK:SWANK-DEBUGGER-HOOK> [492] frame binding variables (~ = dynamically): | ~ *DEBUGGER-HOOK* <--> #<COMPILED-FUNCTION SWANK:SWANK-DEBUGGER-HOOK> 14: <1/489> #<SYSTEM-FUNCTION INVOKE-DEBUGGER> 1 [488] frame binding variables (~ = dynamically): | ~ SYSTEM::*PRIN-STREAM* <--> #<UNBOUND> 15: [485] frame binding variables (~ = dynamically): | ~ *PRINT-READABLY* <--> NIL 16: [482] frame binding variables (~ = dynamically): | ~ *PRINT-ESCAPE* <--> T 17: <1/478> #<SYSTEM-FUNCTION VALUES> 137 - NIL 18: <1/346> #<ADD-ON-SYSTEM-FUNCTION REGEXP:REGEXP-EXEC> 8 - #<FOREIGN-POINTER #x10211388> 19: <1/337> #<COMPILED-FUNCTION REGEXP::%MATCH> - #<COMPILED-FUNCTION SWANK-BACKEND::PARSE-CYGWIN-FILENAME> 20: <1/326> #<COMPILED-FUNCTION SWANK-BACKEND::PARSE-CYGWIN-FILENAME> - #<COMPILED-FUNCTION #:|119 122 (DEFIMPLEMENTATION FILENAME-TO-PATHNAME (STRING) ...)-10-1-1|> 21: <1/324> #<COMPILED-FUNCTION #:|119 122 (DEFIMPLEMENTATION FILENAME-TO-PATHNAME (STRING) ...)-10-1-1|> - #<COMPILED-FUNCTION #:|119 122 (DEFIMPLEMENTATION FILENAME-TO-PATHNAME (STRING) ...)-10-1-1|> 22: <1/320> #<COMPILED-FUNCTION SWANK-BACKEND:FILENAME-TO-PATHNAME> - #<COMPILED-FUNCTION SWANK:LOAD-FILE> 23: <1/318> #<COMPILED-FUNCTION SWANK:LOAD-FILE> - #<COMPILED-FUNCTION SWANK:LOAD-FILE> 24: [316] EVAL frame for form (SWANK:LOAD-FILE "/home/stephen/test.lisp") 25: [313] frame binding environments VAR_ENV <--> NIL FUN_ENV <--> NIL BLOCK_ENV <--> NIL GO_ENV <--> NIL DECL_ENV <--> ((DECLARATION OPTIMIZE DECLARATION)) 26: <1/308> #<SYSTEM-FUNCTION EVAL> [307] frame binding variables (~ = dynamically): | ~ SWANK::*SLIME-INTERRUPTS-ENABLED* <--> NIL 27: [304] frame binding variables (~ = dynamically): | ~ SWANK::*BUFFER-PACKAGE* <--> #<UNBOUND> 28: [301] frame binding variables (~ = dynamically): | ~ SWANK::*PENDING-CONTINUATIONS* <--> NIL 29: [298] frame binding variables (~ = dynamically): | ~ SWANK::*BUFFER-READTABLE* <--> #<UNBOUND> 30: [294] unwind-protect frame 31: <1/289> #<COMPILED-FUNCTION SWANK::EVAL-FOR-EMACS> - #<COMPILED-FUNCTION SWANK::EVAL-FOR-EMACS> 32: <1/280> #<COMPILED-FUNCTION SWANK::PROCESS-REQUESTS> [279] frame binding variables (~ = dynamically): | ~ SWANK::*SLDB-QUIT-RESTART* <--> #<UNBOUND> 33: [276] frame binding variables (~ = dynamically): | ~ SYSTEM::*ACTIVE-RESTARTS* <--> (#S(RESTART :NAME ABORT :TEST #<COMPILED-FUNCTION SYSTEM::DEFAULT-RESTART-TEST> :INVOKE-TAG #:SIMPLE-RESTART-2454.. 34: [273] compiled tagbody frame for #(NIL) 35: <1/267> #<COMPILED-FUNCTION SWANK::HANDLE-REQUESTS-1> - #<COMPILED-FUNCTION SWANK::HANDLE-REQUESTS-1> 36: <1/264> #<COMPILED-FUNCTION SWANK::CALL-WITH-CONNECTION> [262] compiled tagbody frame for #(SWANK::START) 37: <1/256> #<COMPILED-FUNCTION SWANK::HANDLE-REQUESTS> - #<COMPILED-FUNCTION SWANK::MAKE-REPL-INPUT-STREAM-1-1> 38: <1/253> #<COMPILED-FUNCTION SWANK::MAKE-REPL-INPUT-STREAM-1-1> - #<COMPILED-FUNCTION SWANK::MAKE-REPL-INPUT-STREAM-1-1> 39: [252] frame binding variables (~ = dynamically): | ~ *STANDARD-OUTPUT* <--> #<IO SYNONYM-STREAM *TERMINAL-IO*> | ~ *STANDARD-INPUT* <--> #<SWANK-BACKEND::SLIME-INPUT-STREAM #x1038AEE1> | ~ *TRAC.. 40: <1/233> #<COMPILED-FUNCTION SWANK::CALL-WITH-BINDINGS> - (#<IO UNBUFFERED SOCKET-STREAM CHARACTER 0.0.0.0:1155>) 41: <1/227> #<COMPILED-FUNCTION SWANK::MAKE-REPL-INPUT-STREAM-1> - #<COMPILED-FUNCTION SWANK::MAKE-REPL-INPUT-STREAM-1> 42: <1/224> #<COMPILED-FUNCTION #:|84 97 (DEFMETHOD STREAM-READ-CHAR (#) ...)-12-1-1-1|> - #<COMPILED-FUNCTION #:|84 97 (DEFMETHOD STREAM-READ-CHAR (#) ...)-12-1-1-1|> 43: <1/222> #<COMPILED-FUNCTION #:|1039 1043 (DEFINTERFACE CALL-WITH-LOCK-HELD (LOCK FUNCTION) ...)-124-3-1|> - #<COMPILED-FUNCTION #:|1039 1043 (DEFINTERFACE CALL-WITH-LOCK-HELD (LOCK FUNCTION) ...)-124-.. 44: <1/217> #<COMPILED-FUNCTION SWANK-BACKEND:CALL-WITH-LOCK-HELD> [215] compiled block frame for STREAM-READ-CHAR 45: <1/210> #<COMPILED-FUNCTION #:|84 97 (DEFMETHOD STREAM-READ-CHAR (#) ...)-12-1-1|> <2/210> #<STANDARD-GENERIC-FUNCTION STREAM-READ-CHAR> <3/210> #<STANDARD-GENERIC-FUNCTION STREAM-READ-CHAR> - #<SWANK.. 46: [208] frame binding variables (~ = dynamically): | ~ SYSTEM::*READING-STRUCT* <--> NIL 47: [205] frame binding variables (~ = dynamically): | ~ SYSTEM::*READING-ARRAY* <--> NIL 48: [202] frame binding variables (~ = dynamically): | ~ SYSTEM::*BACKQUOTE-LEVEL* <--> #<UNBOUND> 49: [199] frame binding variables (~ = dynamically): | ~ SYSTEM::*READ-REFERENCE-TABLE* <--> #<UNBOUND> 50: [196] frame binding variables (~ = dynamically): | ~ SYSTEM::*READ-PRESERVE-WHITESPACE* <--> #<UNBOUND> 51: [193] frame binding variables (~ = dynamically): | ~ SYSTEM::*READ-RECURSIVE-P* <--> #<UNBOUND> 52: <1/190> #<SYSTEM-FUNCTION READ> [186] frame binding variables (~ = dynamically): | ~ SYSTEM::*ACTIVE-RESTARTS* <--> (#S(RESTART :NAME SWANK::CLOSE-CONNECTION :TEST #<COMPILED-FUNCTION SYSTEM::DEFAU.. 53: [183] catch frame for tag #:SIMPLE-RESTART-24547 54: <1/179> #<COMPILED-FUNCTION SWANK::SIMPLE-REPL> - #<COMPILED-FUNCTION SWANK::SIMPLE-SERVE-REQUESTS-1-2-2-2> 55: <1/178> #<COMPILED-FUNCTION SWANK::SIMPLE-SERVE-REQUESTS-1-2-2-2> - #<COMPILED-FUNCTION SWANK::SIMPLE-SERVE-REQUESTS-1-2-2-2> 56: [177] handler frame for conditions SWANK::SWANK-ERROR 57: <1/170> #<COMPILED-FUNCTION SWANK::SIMPLE-SERVE-REQUESTS-1-2-2> - #<COMPILED-FUNCTION SWANK::SIMPLE-SERVE-REQUESTS-1-2-2> 58: [169] handler frame for conditions SWANK::SWANK-ERROR 59: [163] compiled tagbody frame for #(NIL) --more--
My Blog: http://sljm.blogspot.com My Twitter: http://www.twitter.com/stephenleejm
_________________________________________________________________ More than messages–check out the rest of the Windows Live™. http://www.microsoft.com/windows/windowslive/
* Stephen Lee [2009-09-25 15:33+0200] writes:
Using a normal (load ) command the file loads ok, its only when I use the short cut then the following appears. Any suggestions? Oh I am using SLIME 2009-09-24
Seems to be a problem with parse-cygwin-filename (in swank-clisp.lisp).
From the backtrace I can't see the argument but it should be in the
*slime-events* buffer. Maybe you can fix it then. It might be even possible to get rid of parse-cygwin-filename.
Helmut
Attach is my *slime-events* buffer, yeap seems like it has something to do with parse-cygwin-filename.
Anyone else has any idea what to do?
(:emacs-rex (swank:load-file "/home/stephen/test.lisp") nil t 3) (:debug 0 1 ("VALUES: too many values" " [Condition of type SIMPLE-ERROR]" nil) (("ABORT" "Return to SLIME's top level.") ("ABORT" "Abort") ("CLOSE-CONNECTION" "Close SLIME connection") ("ABORT" "Abort main loop")) ((0 "[545] frame binding variables (~ = dynamically):\n | ~ SWANK::*SWANK-STATE-STACK* <--> NIL") (1 "[542] frame binding variables (~ = dynamically):\n | ~ SWANK::*SLDB-STEPPING-P* <--> NIL") (2 "[539] frame binding variables (~ = dynamically):\n | ~ SWANK::*SLDB-LEVEL* <--> 0") (3 "[536] frame binding variables (~ = dynamically):\n | ~ *PACKAGE* <--> #<PACKAGE COMMON-LISP-USER>") (4 "<1/529> #<COMPILED-FUNCTION SWANK::DEBUG-IN-EMACS>\n[528] frame binding variables (~ = dynamically):\n | ~ SWANK::*SLIME-INTERRUPTS-ENABLED* <--> T") (5 "<1/522> #<COMPILED-FUNCTION SWANK:INVOKE-SLIME-DEBUGGER>\n- #<COMPILED-FUNCTION SWANK::SWANK-DEBUGGER-HOOK-2-1>") (6 "<1/520> #<COMPILED-FUNCTION SWANK::SWANK-DEBUGGER-HOOK-2-1>\n- #<COMPILED-FUNCTION SWANK::SWANK-DEBUGGER-HOOK-2-1>") (7 "[519] frame binding variables (~ = dynamically):\n | ~ *DEBUGGER-HOOK* <--> NIL") (8 "<1/515> #<COMPILED-FUNCTION #:|641 646 (DEFINTERFACE CALL-WITH-DEBUGGER-HOOK (HOOK FUN) ...)-63-3-1|>\n- #<COMPILED-FUNCTION #:|641 646 (DEFINTERFACE CALL-WITH-DEBUGGER-HOOK (HOOK FUN) ...)-63-3-1|>") (9 "<1/510> #<COMPILED-FUNCTION SWANK-BACKEND:CALL-WITH-DEBUGGER-HOOK>\n- #<COMPILED-FUNCTION SWANK::SWANK-DEBUGGER-HOOK-2>") (10 "<1/507> #<COMPILED-FUNCTION SWANK::SWANK-DEBUGGER-HOOK-2>\n- #<COMPILED-FUNCTION SWANK::SWANK-DEBUGGER-HOOK-2>") (11 "[506] handler frame for conditions SWANK::INVOKE-DEFAULT-DEBUGGER") (12 "[500] compiled tagbody frame for #(NIL)") (13 "<1/494> #<COMPILED-FUNCTION SWANK:SWANK-DEBUGGER-HOOK>\n[492] frame binding variables (~ = dynamically):\n | ~ *DEBUGGER-HOOK* <--> #<COMPILED-FUNCTION SWANK:SWANK-DEBUGGER-HOOK>") (14 "<1/489> #<SYSTEM-FUNCTION INVOKE-DEBUGGER> 1\n[488] frame binding variables (~ = dynamically):\n | ~ SYSTEM::*PRIN-STREAM* <--> #<UNBOUND>") (15 "[485] frame binding variables (~ = dynamically):\n | ~ *PRINT-READABLY* <--> NIL") (16 "[482] frame binding variables (~ = dynamically):\n | ~ *PRINT-ESCAPE* <--> T") (17 "<1/478> #<SYSTEM-FUNCTION VALUES> 137\n- NIL") (18 "<1/346> #<ADD-ON-SYSTEM-FUNCTION REGEXP:REGEXP-EXEC> 8\n- #<FOREIGN-POINTER #x102111D8>") (19 "<1/337> #<COMPILED-FUNCTION REGEXP::%MATCH>\n- #<COMPILED-FUNCTION SWANK-BACKEND::PARSE-CYGWIN-FILENAME>")) (3)) (:debug-activate 0 1 nil) My Blog: http://sljm.blogspot.com My Twitter: http://www.twitter.com/stephenleejm
To: slime-devel@common-lisp.net From: heller@common-lisp.net Date: Fri, 25 Sep 2009 16:05:58 +0200 Subject: Re: [slime-devel] problems with loading files CYGWIN, CLISP
- Stephen Lee [2009-09-25 15:33+0200] writes:
Using a normal (load ) command the file loads ok, its only when I use the short cut then the following appears. Any suggestions? Oh I am using SLIME 2009-09-24
Seems to be a problem with parse-cygwin-filename (in swank-clisp.lisp). From the backtrace I can't see the argument but it should be in the *slime-events* buffer. Maybe you can fix it then. It might be even possible to get rid of parse-cygwin-filename.
Helmut
slime-devel site list slime-devel@common-lisp.net http://common-lisp.net/mailman/listinfo/slime-devel
_________________________________________________________________ NEW! Get Windows Live FREE. http://www.get.live.com/wl/all
* Stephen Lee [2009-09-25 16:28+0200] writes:
Attach is my *slime-events* buffer, yeap seems like it has something to do with parse-cygwin-filename.
Anyone else has any idea what to do?
I can only say that
(swank-backend::parse-cygwin-filename "/home/stephen/test.lisp")
works just fine with CLISP 2.48 on Linux. I don't see why it wouldn't work on Windows.
Helmut