Tracing machinery sensitive to dynamic environment after end of traced call
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SBCL |
New
|
Undecided
|
Unassigned |
Bug Description
SB-DEBUG:
Example of problem (note that this problem only affects printing the result of the form's evaluation, since TRACE-START-
----
* (defun foo () *package*)
FOO
* (trace foo)
(FOO)
* (foo)
0: (FOO)
0: FOO returned #<PACKAGE "COMMON-LISP-USER">
#<PACKAGE "COMMON-LISP-USER">
* (let ((*print-readably* t)) (foo))
0: (FOO)
debugger invoked on a PRINT-NOT-READABLE in thread
#<THREAD "main thread" RUNNING {10005205B3}>:
#<error printing object> cannot be printed readably.
Type HELP for debugger help, or (SB-EXT:EXIT) to exit from SBCL.
restarts (invokable by number or by possibly-
0: [PRINT-UNREADABLY] Print unreadably.
1: [USE-VALUE ] Supply an object to be printed instead.
2: [ABORT ] Exit debugger, returning to top level.
(SB-INT:
0] 0
0: FOO returned #<error printing object>
#<PACKAGE "COMMON-LISP-USER">
----
Other bug reporting requirements:
$ uname -a
Darwin m5.localdomain 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53 PDT 2015; root:xnu-
$ ./run-sbcl.sh --no-userinit --no-sysinit
This is SBCL 1.4.12.
More information about SBCL is available at <http://
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.
* *features*
(:X86-64 :64-BIT :64-BIT-REGISTERS :ALIEN-CALLBACKS :ANSI-CL :BSD
:C-STACK-
:COMPARE-
:FP-AND-
:IMMOBILE-SPACE :INODE64 :INTEGER-EQL-VOP :LINKAGE-TABLE :LITTLE-ENDIAN
:MACH-
:OS-PROVIDES-
:PACKAGE-
:SB-PACKAGE-LOCKS :SB-SIMD-PACK :SB-SOURCE-
:SBCL :STACK-
:STACK-
:STACK-
:UNIX :UNWIND-