You are not logged in.

#1 2012-10-12 06:55:35

Bulkin
Member
Registered: 2012-08-30
Posts: 5

Useless backtrace in slime with SBCL

SBCL in arch exhibits some strange behavior. For example, typing (a) in the repl results in sldb displaying this:

The function COMMON-LISP-USER::A is undefined.
   [Condition of type UNDEFINED-FUNCTION]

Restarts:
 0: [RETRY] Retry SLIME REPL evaluation request.
 1: [*ABORT] Return to SLIME's top level.
 2: [ABORT] Abort thread (#<THREAD "repl-thread" RUNNING {1007B88063}>)

Backtrace:
  0: (SB-KERNEL::UNDEFINED-FUN-ERROR-HANDLER ..)
  1: (SB-KERNEL:INTERNAL-ERROR #.(SB-SYS:INT-SAP #X7FFFF4945740) #<unavailable argument>)
  2: ("foreign function: #x4193AF")

In other distros (at least gentoo and debian) a complete backtrace is displayed.

Offline

#2 2012-10-12 17:02:33

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,008

Re: Useless backtrace in slime with SBCL

I have sbcl-git from AUR instsalled and get

The function COMMON-LISP-USER::A is undefined.
   [Condition of type UNDEFINED-FUNCTION]

Restarts:
 0: [ABORT] Exit debugger, returning to top level.

Backtrace:
  0: ("undefined function")
  1: (SB-INT:SIMPLE-EVAL-IN-LEXENV (A) #<NULL-LEXENV>)
  2: (EVAL (A))
  3: (INTERACTIVE-EVAL (A) :EVAL NIL)
  4: (SB-IMPL::REPL-FUN NIL)
  5: ((LAMBDA () :IN SB-IMPL::TOPLEVEL-REPL))
  6: (SB-IMPL::%WITH-REBOUND-IO-SYNTAX #<CLOSURE (LAMBDA # :IN SB-IMPL::TOPLEVEL-REPL) {100665C48B}>)
  7: (SB-IMPL::TOPLEVEL-REPL NIL)
  8: (SB-IMPL::TOPLEVEL-INIT)
  9: ((FLET #:WITHOUT-INTERRUPTS-BODY-52 :IN SAVE-LISP-AND-DIE))
 10: ((LABELS SB-IMPL::RESTART-LISP :IN SAVE-LISP-AND-DIE))

and

(progn (load "/usr/share/emacs/site-lisp/slime/swank-loader.lisp" :verbose t) (funcall (read-from-string "swank-loader:init")) (funcall (read-from-string "swank:start-server") "/tmp/slime.25686"))

This is SBCL 1.1.0.36-d15afa6, an implementation of ANSI Common Lisp.
More information about SBCL is available at <http://www.sbcl.org/>.

SBCL is free software, provided as is, with absolutely no warranty.
It is mostly in the public domain; some portions are provided under
BSD-style licenses.  See the CREDITS and COPYING files in the
distribution for more information.
* 
; loading #P"/usr/share/emacs/site-lisp/slime/swank-loader.lisp"

; compiling file "/usr/share/emacs/site-lisp/slime/swank-backend.lisp" (written 11 OCT 2012 01:58:28 PM):

; file: /usr/share/emacs/site-lisp/slime/swank-backend.lisp
; in: DEFUN UTF8-ENCODE
;     (<= SWANK-BACKEND::CODE 67108863)
; ==>
;   SWANK-BACKEND::CODE
; 
; note: deleting unreachable code

;     (SWANK-BACKEND::UTF8-ENCODE-AUX SWANK-BACKEND::CODE SWANK-BACKEND::BUFFER
;                                     SWANK-BACKEND::START SWANK-BACKEND::END 5)
; --> COND IF < - 
; ==>
;   SWANK-BACKEND::END
; 
; note: deleting unreachable code

; --> COND IF PROGN 
; ==>
;   SWANK-BACKEND::START
; 
; note: deleting unreachable code

; --> COND IF COND THE PROGN SETF SB-KERNEL:%ASET 
; ==>
;   SWANK-BACKEND::BUFFER
; 
; note: deleting unreachable code

;     (<= SWANK-BACKEND::CODE 2147483647)
; ==>
;   SWANK-BACKEND::CODE
; 
; note: deleting unreachable code

;     (SWANK-BACKEND::UTF8-ENCODE-AUX SWANK-BACKEND::CODE SWANK-BACKEND::BUFFER
;                                     SWANK-BACKEND::START SWANK-BACKEND::END 6)
; --> COND IF < - 
; ==>
;   SWANK-BACKEND::END
; 
; note: deleting unreachable code

; --> COND IF PROGN 
; ==>
;   SWANK-BACKEND::START
; 
; note: deleting unreachable code

; --> COND IF COND THE PROGN SETF SB-KERNEL:%ASET 
; ==>
;   SWANK-BACKEND::BUFFER
; 
; note: deleting unreachable code

;     (ERROR "Can't encode ~s (~x)" CHAR SWANK-BACKEND::CODE)
; ==>
;   "Can't encode ~s (~x)"
; 
; note: deleting unreachable code

; in: DEFINTERFACE SEND
;     (SWANK-BACKEND::DEFINTERFACE SWANK-BACKEND::SEND
;                                  (SWANK-BACKEND::THREAD SWANK-BACKEND::OBJECT)
;                                  "Send OBJECT to thread THREAD."
;                                  SWANK-BACKEND::OBJECT)
; --> PROGN SETF LET* LET* MULTIPLE-VALUE-BIND LET LAMBDA 
; ==>
;   #'(LAMBDA (SWANK-BACKEND::THREAD SWANK-BACKEND::OBJECT) SWANK-BACKEND::OBJECT)
; 
; caught STYLE-WARNING:
;   The variable THREAD is defined but never used.

; in: DEFINTERFACE FIND-REGISTERED
;     (SWANK-BACKEND::DEFINTERFACE SWANK-BACKEND::FIND-REGISTERED
;                                  (SWANK-BACKEND::NAME)
;                                  "Find the thread that was registered for the symbol NAME.
;   Return nil if the no thread was registred or if the tread is dead."
;                                  NIL)
; --> PROGN SETF LET* LET* MULTIPLE-VALUE-BIND LET LAMBDA 
; ==>
;   #'(LAMBDA (SWANK-BACKEND::NAME) NIL)
; 
; caught STYLE-WARNING:
;   The variable NAME is defined but never used.
; 
; compilation unit finished
;   caught 2 STYLE-WARNING conditions
;   printed 9 notes

; /home/haawda/.slime/fasl/2012-09-04/sbcl-1.1.0.36-d15afa6-linux-x86-64/swank-backend.fasl written
; compilation finished in 0:00:01.164
; loading #P"/home/haawda/.slime/fasl/2012-09-04/sbcl-1.1.0.36-d15afa6-linux-x86-64/swank-backend.fasl"
WARNING: SWANK-BACKEND also exports the following symbols:
  (SWANK-BACKEND:INTERRUPT-THREAD SWANK-BACKEND:MAKE-WEAK-VALUE-HASH-TABLE
   SWANK-BACKEND:BACKGROUND-SAVE-IMAGE SWANK-BACKEND:GETPID
   SWANK-BACKEND:FRAME-PACKAGE SWANK-BACKEND:CURRENT-THREAD
   SWANK-BACKEND:CREATE-SOCKET SWANK-BACKEND:SLDB-STEP-INTO
   SWANK-BACKEND:GUESS-EXTERNAL-FORMAT SWANK-BACKEND:FORMAT-STRING-EXPAND
   SWANK-BACKEND:FRAME-RESTARTABLE-P SWANK-BACKEND:ALL-THREADS
   SWANK-BACKEND:WHO-REFERENCES SWANK-BACKEND:SEND
   SWANK-BACKEND:FORMAT-SLDB-CONDITION SWANK-BACKEND:GDB-INITIAL-COMMANDS
   SWANK-BACKEND:CALL-WITH-COMPILATION-HOOKS
   SWANK-BACKEND:PREFERRED-COMMUNICATION-STYLE SWANK-BACKEND:THREAD-ID
   SWANK-BACKEND:REMOVE-SIGIO-HANDLERS SWANK-BACKEND:DESCRIBE-PRIMITIVE-TYPE
   SWANK-BACKEND:MAKE-OUTPUT-STREAM SWANK-BACKEND:KILL-THREAD
   SWANK-BACKEND:LISP-IMPLEMENTATION-TYPE-NAME SWANK-BACKEND:CONDITION-EXTRAS
   SWANK-BACKEND:COMPILER-MACROEXPAND SWANK-BACKEND:FIND-DEFINITIONS
   SWANK-BACKEND:LIST-CALLERS SWANK-BACKEND:CALL-WITH-DEBUGGER-HOOK
   SWANK-BACKEND:INSTALL-SIGINT-HANDLER
   SWANK-BACKEND:LISP-IMPLEMENTATION-PROGRAM SWANK-BACKEND:SOCKET-FD
   SWANK-BACKEND:LOCAL-PORT SWANK-BACKEND:ACTIVATE-STEPPING
   SWANK-BACKEND:PROFILED-FUNCTIONS SWANK-BACKEND:RECEIVE-IF
   SWANK-BACKEND:UNPROFILE-ALL SWANK-BACKEND:COMMAND-LINE-ARGS
   SWANK-BACKEND:SWANK-COMPILE-FILE SWANK-BACKEND:EXEC-IMAGE
   SWANK-BACKEND:SLDB-STEP-NEXT SWANK-BACKEND:SAVE-IMAGE
   SWANK-BACKEND:INSTALL-DEBUGGER-GLOBALLY SWANK-BACKEND:PROFILE-PACKAGE
   SWANK-BACKEND:SLDB-STEP-OUT SWANK-BACKEND:FRAME-VAR-VALUE
   SWANK-BACKEND:TOGGLE-TRACE SWANK-BACKEND:INITIALIZE-MULTIPROCESSING
   SWANK-BACKEND:BUFFER-FIRST-CHANGE SWANK-BACKEND:LIST-CALLEES
   SWANK-BACKEND:HASH-TABLE-WEAKNESS SWANK-BACKEND:DISASSEMBLE-FRAME
   SWANK-BACKEND:DEFAULT-READTABLE-ALIST SWANK-BACKEND:FILENAME-TO-PATHNAME
   SWANK-BACKEND:SPAWN SWANK-BACKEND:DESCRIBE-SYMBOL-FOR-EMACS
   SWANK-BACKEND:FRAME-CATCH-TAGS SWANK-BACKEND:CALL-WITH-USER-BREAK-HANDLER
   SWANK-BACKEND:WHO-SETS SWANK-BACKEND:CLOSE-SOCKET
   SWANK-BACKEND:SET-DEFAULT-DIRECTORY SWANK-BACKEND:CHARACTER-COMPLETION-SET
   SWANK-BACKEND:FUNCTION-NAME SWANK-BACKEND:CALLS-WHO SWANK-BACKEND:MAKE-LOCK
   SWANK-BACKEND:DESCRIBE-DEFINITION SWANK-BACKEND:PRINT-FRAME
   SWANK-BACKEND:WAIT-FOR-INPUT SWANK-BACKEND:FIND-THREAD
   SWANK-BACKEND:ADD-SIGIO-HANDLER SWANK-BACKEND:MACROEXPAND-ALL
   SWANK-BACKEND:THREAD-ATTRIBUTES SWANK-BACKEND:CALL-WITH-SYNTAX-HOOKS
   SWANK-BACKEND:WHO-MACROEXPANDS SWANK-BACKEND:FIND-EXTERNAL-FORMAT
   SWANK-BACKEND:FRAME-CALL SWANK-BACKEND:SET-STREAM-TIMEOUT
   SWANK-BACKEND:UTF8-TO-STRING SWANK-BACKEND:ARGLIST
   SWANK-BACKEND:ADD-FD-HANDLER SWANK-BACKEND:SWANK-COMPILE-STRING
   SWANK-BACKEND:FIND-SOURCE-LOCATION SWANK-BACKEND:SLDB-STEPPER-CONDITION-P
   SWANK-BACKEND:CALL-WITH-DEBUGGING-ENVIRONMENT
   SWANK-BACKEND:ACCEPT-CONNECTION SWANK-BACKEND:PATHNAME-TO-FILENAME
   SWANK-BACKEND:MAKE-WEAK-KEY-HASH-TABLE SWANK-BACKEND:PROFILE
   SWANK-BACKEND:MAKE-FD-STREAM SWANK-BACKEND:RESTART-FRAME
   SWANK-BACKEND:MAKE-INPUT-STREAM SWANK-BACKEND:PROFILE-REPORT
   SWANK-BACKEND:FIND-REGISTERED SWANK-BACKEND:VALID-FUNCTION-NAME-P
   SWANK-BACKEND:WHO-BINDS SWANK-BACKEND:FRAME-LOCALS
   SWANK-BACKEND:EVAL-IN-FRAME SWANK-BACKEND:EMACS-CONNECTED
   SWANK-BACKEND:COMPILER-MACROEXPAND-1 SWANK-BACKEND:STRING-TO-UTF8
   SWANK-BACKEND:REGISTER-THREAD SWANK-BACKEND:THREAD-STATUS
   SWANK-BACKEND:CALL-WITH-LOCK-HELD SWANK-BACKEND:COMPUTE-BACKTRACE
   SWANK-BACKEND:PROFILE-RESET SWANK-BACKEND:REMOVE-FD-HANDLERS
   SWANK-BACKEND:SLDB-BREAK-ON-RETURN SWANK-BACKEND:EVAL-CONTEXT
   SWANK-BACKEND:CODEPOINT-LENGTH SWANK-BACKEND:THREAD-NAME
   SWANK-BACKEND:WHO-CALLS SWANK-BACKEND:FRAME-SOURCE-LOCATION
   SWANK-BACKEND:SET-DEFAULT-INITIAL-BINDING SWANK-BACKEND:DUP
   SWANK-BACKEND:SLDB-BREAK-AT-START SWANK-BACKEND:UNPROFILE
   SWANK-BACKEND:RETURN-FROM-FRAME SWANK-BACKEND:DEFAULT-DIRECTORY
   SWANK-BACKEND:RECEIVE SWANK-BACKEND:THREAD-ALIVE-P
   SWANK-BACKEND:WHO-SPECIALIZES)
See also:
  The ANSI Standard, Macro DEFPACKAGE
; compiling file "/usr/share/emacs/site-lisp/slime/swank-source-path-parser.lisp" (written 11 OCT 2012 01:58:28 PM):

; /home/haawda/.slime/fasl/2012-09-04/sbcl-1.1.0.36-d15afa6-linux-x86-64/swank-source-path-parser.fasl written
; compilation finished in 0:00:00.086
; loading #P"/home/haawda/.slime/fasl/2012-09-04/sbcl-1.1.0.36-d15afa6-linux-x86-64/swank-source-path-parser.fasl"
; compiling file "/usr/share/emacs/site-lisp/slime/swank-source-file-cache.lisp" (written 11 OCT 2012 01:58:28 PM):

; /home/haawda/.slime/fasl/2012-09-04/sbcl-1.1.0.36-d15afa6-linux-x86-64/swank-source-file-cache.fasl written
; compilation finished in 0:00:00.061
; loading #P"/home/haawda/.slime/fasl/2012-09-04/sbcl-1.1.0.36-d15afa6-linux-x86-64/swank-source-file-cache.fasl"
; compiling file "/usr/share/emacs/site-lisp/slime/swank-sbcl.lisp" (written 11 OCT 2012 01:58:28 PM):

; file: /usr/share/emacs/site-lisp/slime/swank-sbcl.lisp
; in: DEFIMPLEMENTATION FRAME-CALL
;     (PPRINT-LOGICAL-BLOCK (STREAM NIL :PREFIX "(" :SUFFIX ")")
;       (LET ((*PRINT-LENGTH* NIL) (*PRINT-LEVEL* NIL))
;         (PRIN1 (SB-DEBUG::ENSURE-PRINTABLE-OBJECT SWANK-BACKEND::NAME) STREAM))
;       (LET ((SWANK-BACKEND::ARGS
;              (SB-DEBUG::ENSURE-PRINTABLE-OBJECT SWANK-BACKEND::ARGS)))
;         (IF (LISTP SWANK-BACKEND::ARGS)
;             (FORMAT STREAM "~{ ~_~S~}" SWANK-BACKEND::ARGS)
;             (FORMAT STREAM " ~S" SWANK-BACKEND::ARGS))))
; --> LET LET SB-PRETTY::WITH-PRETTY-STREAM FLET LET IF 
; --> #:WITH-PRETTY-STREAM1822 
; ==>
;   STREAM
; 
; note: deleting unreachable code
; 
; compilation unit finished
;   printed 1 note

; /home/haawda/.slime/fasl/2012-09-04/sbcl-1.1.0.36-d15afa6-linux-x86-64/swank-sbcl.fasl written
; compilation finished in 0:00:01.956
; loading #P"/home/haawda/.slime/fasl/2012-09-04/sbcl-1.1.0.36-d15afa6-linux-x86-64/swank-sbcl.fasl"
STYLE-WARNING: redefining EMACS-INSPECT (#<BUILT-IN-CLASS T>) in DEFMETHOD
; compiling file "/usr/share/emacs/site-lisp/slime/swank-gray.lisp" (written 11 OCT 2012 01:58:28 PM):

; /home/haawda/.slime/fasl/2012-09-04/sbcl-1.1.0.36-d15afa6-linux-x86-64/swank-gray.fasl written
; compilation finished in 0:00:00.187
; loading #P"/home/haawda/.slime/fasl/2012-09-04/sbcl-1.1.0.36-d15afa6-linux-x86-64/swank-gray.fasl"
STYLE-WARNING:
   Implicitly creating new generic function
   SWANK-BACKEND::STREAM-READ-CHAR-WILL-HANG-P.
; compiling file "/usr/share/emacs/site-lisp/slime/swank-match.lisp" (written 11 OCT 2012 01:58:28 PM):

; /home/haawda/.slime/fasl/2012-09-04/sbcl-1.1.0.36-d15afa6-linux-x86-64/swank-match.fasl written
; compilation finished in 0:00:00.055
; loading #P"/home/haawda/.slime/fasl/2012-09-04/sbcl-1.1.0.36-d15afa6-linux-x86-64/swank-match.fasl"
; compiling file "/usr/share/emacs/site-lisp/slime/swank-rpc.lisp" (written 11 OCT 2012 01:58:28 PM):

; /home/haawda/.slime/fasl/2012-09-04/sbcl-1.1.0.36-d15afa6-linux-x86-64/swank-rpc.fasl written
; compilation finished in 0:00:00.211
; loading #P"/home/haawda/.slime/fasl/2012-09-04/sbcl-1.1.0.36-d15afa6-linux-x86-64/swank-rpc.fasl"
; compiling file "/usr/share/emacs/site-lisp/slime/swank.lisp" (written 11 OCT 2012 01:58:28 PM):

; file: /usr/share/emacs/site-lisp/slime/swank.lisp
; in: DEFUN THREAD-FOR-EVALUATION
;     (SWANK::FIND-REPL-THREAD SWANK::CONNECTION)
; 
; caught STYLE-WARNING:
;   undefined function: FIND-REPL-THREAD

; in: DEFUN FIND-WORKER-THREAD
;     (SWANK::FIND-REPL-THREAD SWANK::CONNECTION)
; 
; caught STYLE-WARNING:
;   undefined function: FIND-REPL-THREAD
; 
; compilation unit finished
;   Undefined function:
;     FIND-REPL-THREAD
;   caught 2 STYLE-WARNING conditions

; /home/haawda/.slime/fasl/2012-09-04/sbcl-1.1.0.36-d15afa6-linux-x86-64/swank.fasl written
; compilation finished in 0:00:03.117
; loading #P"/home/haawda/.slime/fasl/2012-09-04/sbcl-1.1.0.36-d15afa6-linux-x86-64/swank.fasl"
WARNING: SWANK also exports the following symbols:
  (SWANK:QUIT-THREAD-BROWSER SWANK:OPERATOR-ARGLIST SWANK:UNDEFINE-FUNCTION
   SWANK:INIT-INSPECTOR SWANK:INSPECTOR-REINSPECT
   SWANK:FIND-SOURCE-LOCATION-FOR-EMACS SWANK:APROPOS-LIST-FOR-EMACS
   SWANK:PPRINT-EVAL SWANK:TOGGLE-DEBUG-ON-SWANK-ERROR
   SWANK:COMPILE-FILE-FOR-EMACS SWANK:DESCRIBE-FUNCTION
   SWANK:INVOKE-NTH-RESTART-FOR-EMACS SWANK:PPRINT-INSPECTOR-PART SWANK:PING
   SWANK:SWANK-MACROEXPAND SWANK:COMMIT-EDITED-VALUE
   SWANK:INSPECTOR-TOGGLE-VERBOSE SWANK:COMPILE-STRING-FOR-EMACS
   SWANK:LIST-ALL-PACKAGE-NAMES SWANK:INSPECTOR-HISTORY
   SWANK:SWANK-TOGGLE-TRACE SWANK:VALUE-FOR-EDITING SWANK:INSPECTOR-NTH-PART
   SWANK:DOCUMENTATION-SYMBOL SWANK:BACKTRACE SWANK:SWANK-EXPAND
   SWANK:DESCRIBE-DEFINITION-FOR-EMACS SWANK:FIND-DEFINITIONS-FOR-EMACS
   SWANK:INSPECTOR-RANGE SWANK:INTERACTIVE-EVAL SWANK:INSPECTOR-NEXT
   SWANK:CONNECTION-INFO SWANK:DESCRIBE-INSPECTEE
   SWANK:FRAME-LOCALS-AND-CATCH-TAGS SWANK:LIST-THREADS SWANK:INSPECTOR-EVAL
   SWANK:SWANK-REQUIRE SWANK:START-SWANK-SERVER-IN-THREAD SWANK:SLDB-ABORT
   SWANK:SDLB-PRINT-CONDITION SWANK:KILL-NTH-THREAD SWANK:SLDB-NEXT
   SWANK:SET-PACKAGE SWANK:SIMPLE-BREAK SWANK:SLDB-BREAK-WITH-DEFAULT-DEBUGGER
   SWANK:SWANK-EXPAND-1 SWANK:SWANK-MACROEXPAND-1 SWANK:COMPILE-FILE-IF-NEEDED
   SWANK:INSPECT-NTH-PART SWANK:EVAL-AND-GRAB-OUTPUT SWANK:INSPECT-IN-FRAME
   SWANK:IO-SPEED-TEST SWANK:XREFS SWANK:SIMPLE-COMPLETIONS
   SWANK:FLOW-CONTROL-TEST SWANK:XREF SWANK:RE-EVALUATE-DEFVAR
   SWANK:EVAL-STRING-IN-FRAME SWANK:FIND-DEFINITION-FOR-THING
   SWANK:UPDATE-INDENTATION-INFORMATION SWANK:PROFILE-BY-SUBSTRING
   SWANK:SLDB-CONTINUE SWANK:INSPECTOR-POP SWANK:INVOKE-NTH-RESTART
   SWANK:TOGGLE-BREAK-ON-SIGNALS SWANK:SWANK-FORMAT-STRING-EXPAND
   SWANK:THROW-TO-TOPLEVEL SWANK:SWANK-COMPILER-MACROEXPAND
   SWANK:FRAME-PACKAGE-NAME SWANK:PPRINT-EVAL-STRING-IN-FRAME
   SWANK:INTERACTIVE-EVAL-REGION SWANK:UNINTERN-SYMBOL
   SWANK:COMPILE-MULTIPLE-STRINGS-FOR-EMACS SWANK:SLDB-OUT
   SWANK:INSPECT-CURRENT-CONDITION SWANK:DESCRIBE-SYMBOL
   SWANK:INSPECT-FRAME-VAR SWANK:MOP SWANK:TOGGLE-PROFILE-FDEFINITION
   SWANK:INSPECTOR-CALL-NTH-ACTION SWANK:SLDB-DISASSEMBLE
   SWANK:SWANK-COMPILER-MACROEXPAND-1 SWANK:UNTRACE-ALL SWANK:QUIT-INSPECTOR
   SWANK:DISASSEMBLE-FORM SWANK:SWANK-MACROEXPAND-ALL SWANK:DEBUG-NTH-THREAD
   SWANK:LOAD-FILE SWANK:SLDB-RETURN-FROM-FRAME SWANK:DEBUGGER-INFO-FOR-EMACS)
See also:
  The ANSI Standard, Macro DEFPACKAGE
WARNING: These Swank interfaces are unimplemented:
 (DISASSEMBLE-FRAME SLDB-BREAK-AT-START SLDB-BREAK-ON-RETURN)
; compiling file "/usr/share/emacs/site-lisp/slime/contrib/swank-util.lisp" (written 11 OCT 2012 01:58:28 PM):

; /home/haawda/.slime/fasl/2012-09-04/sbcl-1.1.0.36-d15afa6-linux-x86-64/contrib/swank-util.fasl written
; compilation finished in 0:00:00.092
; compiling file "/usr/share/emacs/site-lisp/slime/contrib/swank-repl.lisp" (written 11 OCT 2012 01:58:28 PM):

; /home/haawda/.slime/fasl/2012-09-04/sbcl-1.1.0.36-d15afa6-linux-x86-64/contrib/swank-repl.fasl written
; compilation finished in 0:00:00.187
; compiling file "/usr/share/emacs/site-lisp/slime/contrib/swank-c-p-c.lisp" (written 11 OCT 2012 01:58:28 PM):

; /home/haawda/.slime/fasl/2012-09-04/sbcl-1.1.0.36-d15afa6-linux-x86-64/contrib/swank-c-p-c.fasl written
; compilation finished in 0:00:00.173
; compiling file "/usr/share/emacs/site-lisp/slime/contrib/swank-arglists.lisp" (written 11 OCT 2012 01:58:28 PM):

; /home/haawda/.slime/fasl/2012-09-04/sbcl-1.1.0.36-d15afa6-linux-x86-64/contrib/swank-arglists.fasl written
; compilation finished in 0:00:01.288
; compiling file "/usr/share/emacs/site-lisp/slime/contrib/swank-fuzzy.lisp" (written 11 OCT 2012 01:58:28 PM):

; file: /usr/share/emacs/site-lisp/slime/contrib/swank-fuzzy.lisp
; in: DEFUN RECURSIVELY-COMPUTE-MOST-COMPLETIONS
;     (LENGTH SWANK::*ALL-CHUNKS*)
; 
; note: unable to
;   optimize
; due to type uncertainty:
;   The first argument is a SEQUENCE, not a (SIMPLE-ARRAY * (*)).
; 
; note: unable to
;   optimize
; due to type uncertainty:
;   The first argument is a SEQUENCE, not a VECTOR.

;     (INCF SWANK::SHORT-INDEX)
; --> LET* SETQ 
; ==>
;   (THE FIXNUM #:NEW517)
; 
; note: doing signed word to integer coercion (cost 20), for:
;       the first argument of CHECK-FIXNUM
; 
; compilation unit finished
;   printed 3 notes

; /home/haawda/.slime/fasl/2012-09-04/sbcl-1.1.0.36-d15afa6-linux-x86-64/contrib/swank-fuzzy.fasl written
; compilation finished in 0:00:00.297
; compiling file "/usr/share/emacs/site-lisp/slime/contrib/swank-fancy-inspector.lisp" (written 11 OCT 2012 01:58:28 PM):

; /home/haawda/.slime/fasl/2012-09-04/sbcl-1.1.0.36-d15afa6-linux-x86-64/contrib/swank-fancy-inspector.fasl written
; compilation finished in 0:00:00.970
; compiling file "/usr/share/emacs/site-lisp/slime/contrib/swank-presentations.lisp" (written 11 OCT 2012 01:58:28 PM):

; /home/haawda/.slime/fasl/2012-09-04/sbcl-1.1.0.36-d15afa6-linux-x86-64/contrib/swank-presentations.fasl written
; compilation finished in 0:00:00.084
; compiling file "/usr/share/emacs/site-lisp/slime/contrib/swank-presentation-streams.lisp" (written 11 OCT 2012 01:58:28 PM):

; /home/haawda/.slime/fasl/2012-09-04/sbcl-1.1.0.36-d15afa6-linux-x86-64/contrib/swank-presentation-streams.fasl written
; compilation finished in 0:00:00.086
; compiling file "/usr/share/emacs/site-lisp/slime/contrib/swank-asdf.lisp" (written 11 OCT 2012 01:58:28 PM):

; /home/haawda/.slime/fasl/2012-09-04/sbcl-1.1.0.36-d15afa6-linux-x86-64/contrib/swank-asdf.fasl written
; compilation finished in 0:00:00.126
; compiling file "/usr/share/emacs/site-lisp/slime/contrib/swank-package-fu.lisp" (written 11 OCT 2012 01:58:28 PM):

; /home/haawda/.slime/fasl/2012-09-04/sbcl-1.1.0.36-d15afa6-linux-x86-64/contrib/swank-package-fu.fasl written
; compilation finished in 0:00:00.040
; compiling file "/usr/share/emacs/site-lisp/slime/contrib/swank-hyperdoc.lisp" (written 11 OCT 2012 01:58:28 PM):

; /home/haawda/.slime/fasl/2012-09-04/sbcl-1.1.0.36-d15afa6-linux-x86-64/contrib/swank-hyperdoc.fasl written
; compilation finished in 0:00:00.113
; compiling file "/usr/share/emacs/site-lisp/slime/contrib/swank-sbcl-exts.lisp" (written 11 OCT 2012 01:58:28 PM):

; /home/haawda/.slime/fasl/2012-09-04/sbcl-1.1.0.36-d15afa6-linux-x86-64/contrib/swank-sbcl-exts.fasl written
; compilation finished in 0:00:00.044
; compiling file "/usr/share/emacs/site-lisp/slime/contrib/swank-mrepl.lisp" (written 11 OCT 2012 01:58:28 PM):

; /home/haawda/.slime/fasl/2012-09-04/sbcl-1.1.0.36-d15afa6-linux-x86-64/contrib/swank-mrepl.fasl written
; compilation finished in 0:00:00.110
;; Swank started at port: 37004.
37004
* (a)
; in: A
;     (A)
; 
; caught STYLE-WARNING:
;   undefined function: A
; 
; compilation unit finished
;   Undefined function:
;     A
;   caught 1 STYLE-WARNING condition

I this what you meant when saying "complete backtrace"?

Offline

#3 2012-10-15 06:37:51

Bulkin
Member
Registered: 2012-08-30
Posts: 5

Re: Useless backtrace in slime with SBCL

Yes, that is what I meant.
sbcl-git works as desired, so it's the sbcl binary from the extra repo that is at fault.

Offline

#4 2013-02-03 06:00:52

kahsa
Member
Registered: 2013-01-15
Posts: 1

Re: Useless backtrace in slime with SBCL

I still got same problem with sbcl 1.1.3.
How could I fix PKGBUILD?

Offline

Board footer

Powered by FluxBB