[slime-devel] Re: slime-edit-definition woes

Luke Gorrie luke at synap.se
Sat Mar 5 20:35:25 UTC 2005


Edi Weitz <edi at agharta.de> writes:

> The offending part of the log file looks like this (imagine a very
> long pause between the first lines where slime-edit-definition is
> invoked and the rest):
> 
>   READ: (:emacs-rex (swank:find-definitions-for-emacs "get-projects-for-costs") ":acc" t 7)
> 
>   DISPATCHING: (:EMACS-REX
>                 (SWANK:FIND-DEFINITIONS-FOR-EMACS "get-projects-for-costs")
>                 ":acc" T 7)
>   DISPATCHING: (:DEBUG #<Process Idle Loop {58004595}> 1 ("Heap (dynamic space) overflow" "   [Condition of type KERNEL:HEAP-OVERFLOW]" NIL NIL) (("ABORT" "Abort handling SLIME request.") ("CONTINUE" "Return NIL from load of \"home:.cmucl-init\".") ("ABORT" "Skip remaining initializations.")) ((0 "((METHOD SWANK-BACKEND:CALL-WITH-DEBUGGING-ENVIRONMENT NIL (T)) #<#1=unused-arg> #<#1#> #<Function \"DEFUN DEBUG-IN-EMACS\" {59CFEEF1}>)") (1 "(SWANK::CALL-WITH-BINDINGS ((*PRINT-PRETTY*) (*PRINT-LEVEL* . 4) (*PRINT-LENGTH* . 10) (*PRINT-CIRCLE* . T) (*PRINT-READABLY*) ...) #<Function \"DEFUN DEBUG-IN-EMACS\" {59CFEEB1}>)") (2 "(SWANK::DEBUG-IN-EMACS #<KERNEL:HEAP-OVERFLOW {77F0003D}>)") (3 "(INVOKE-DEBUGGER #<KERNEL:HEAP-OVERFLOW {77F0003D}>)") (4 "(ERROR KERNEL:HEAP-OVERFLOW)") (5 "(KERNEL:DYNAMIC-SPACE-OVERFLOW-WARNING-HIT)")) (7))

.. yikes :-)

Perhaps you can fire up a stand-alone Lisp and try calling:

  (swank:find-definitions-for-emacs "get-projects-for-costs")

and see if it drops you into a debugger where you can do some decent
poking around? Probably worth whacking it with a SIGINT to see what
it's upto during the long pause.





More information about the slime-devel mailing list