On Nov 8, 2012, at 6:41 AM, Helmut Eller wrote:
On Thu, Nov 08 2012, Chris Van Dusen wrote:
Any ideas as to what the problem is? I can provide any other information needed.
Please download the latest version, enable debugging in Emacs with M-x toggle-debug-on-error and start Slime. I haven't fixed anything but the latest version should show a more complete backtrace.
Helmut
The backtrace is below, but as soon as I saw it, I realized what the problem is.
I had a library loaded (for the curious, geben) that advises open-network-stream. The package seems to have been abandoned, and also causes problems with erc.
Removing it removed the problem starting slime.
Sorry for the noise, Chris.
Debugger entered--Lisp error: (wrong-type-argument bufferp nil) buffer-local-value(dbgp-buffer-process nil) open-network-stream("SLIME Lisp" nil "127.0.0.1" 58064) (let* ((inhibit-quit nil) (proc (open-network-stream "SLIME Lisp" nil host port)) (buffer (slime-make-net-buffer " *cl-connection*"))) (push proc slime-net-processes) (set-process-buffer proc buffer) (set-process-filter proc (quote slime-net-filter)) (set-process-sentinel proc (quote slime-net-sentinel)) (slime-set-query-on-exit-flag proc) (when (fboundp (quote set-process-coding-system)) (set-process-coding-system proc (quote binary) (quote binary))) (when-let (secret (slime-secret)) (slime-net-send secret proc)) proc) slime-net-connect("127.0.0.1" 58064) (let* ((process (slime-net-connect host port)) (slime-dispatching-connection process)) (slime-setup-connection process)) slime-connect("127.0.0.1" 58064 iso-latin-1-unix) (let ((c (slime-connect slime-lisp-host port (plist-get args :coding-system)))) (slime-set-inferior-process c process)) (let ((port (slime-read-swank-port)) (args (slime-inferior-lisp-args process))) (slime-delete-swank-port-file (quote message)) (let ((c (slime-connect slime-lisp-host port (plist-get args :coding-system)))) (slime-set-inferior-process c process))) (cond ((and (file-exists-p file) (> (nth 7 (file-attributes file)) 0)) (slime-cancel-connect-retry-timer) (let ((port (slime-read-swank-port)) (args (slime-inferior-lisp-args process))) (slime-delete-swank-port-file (quote message)) (let ((c (slime-connect slime-lisp-host port (plist-get args :coding-system)))) (slime-set-inferior-process c process)))) ((and retries (zerop retries)) (slime-cancel-connect-retry-timer) (message "Gave up connecting to Swank after %d attempts." attempt)) ((eq (process-status process) (quote exit)) (slime-cancel-connect-retry-timer) (message "Failed to connect to Swank: inferior process exited.")) (t (when (and (file-exists-p file) (zerop (nth 7 (file-attributes file)))) (message "(Zero length port file)") (unless retries (setq retries 3))) (unless slime-connect-retry-timer (setq slime-connect-retry-timer (run-with-timer 0.3 0.3 (function slime-timer-call) (function slime-attempt-connection) process (and retries (1- retries)) (1+ attempt)))))) (let ((file (slime-swank-port-file))) (unless (active-minibuffer-window) (message "Polling %S.. (Abort with `M-x slime-abort-connection'.)" file)) (cond ((and (file-exists-p file) (> (nth 7 (file-attributes file)) 0)) (slime-cancel-connect-retry-timer) (let ((port (slime-read-swank-port)) (args (slime-inferior-lisp-args process))) (slime-delete-swank-port-file (quote message)) (let ((c (slime-connect slime-lisp-host port ...))) (slime-set-inferior-process c process)))) ((and retries (zerop retries)) (slime-cancel-connect-retry-timer) (message "Gave up connecting to Swank after %d attempts." attempt)) ((eq (process-status process) (quote exit)) (slime-cancel-connect-retry-timer) (message "Failed to connect to Swank: inferior process exited.")) (t (when (and (file-exists-p file) (zerop (nth 7 (file-attributes file)))) (message "(Zero length port file)") (unless retries (setq retries 3))) (unless slime-connect-retry-timer (setq slime-connect-retry-timer (run-with-timer 0.3 0.3 (function slime-timer-call) (function slime-attempt-connection) process (and retries (1- retries)) (1+ attempt))))))) slime-attempt-connection(#<process inferior-lisp> nil 2) apply(slime-attempt-connection (#<process inferior-lisp> nil 2)) (condition-case data (apply fun args) ((debug error) (debug nil (list "Error in timer" fun args data)))) slime-timer-call(slime-attempt-connection #<process inferior-lisp> nil 2) apply(slime-timer-call (slime-attempt-connection #<process inferior-lisp> nil 2)) byte-code("r\301\302H\303H"\210)\301\207" [timer apply 5 6] 4) timer-event-handler([t 20637 45584 992419 0.3 slime-timer-call (slime-attempt-connection #<process inferior-lisp> nil 2) nil])
Chris.
slime-devel site list slime-devel@common-lisp.net http://common-lisp.net/mailman/listinfo/slime-devel