freenode/#sbcl - IRC Chatlog
Search
9:52:38
flip214
With git HEAD I get an error in MAYBE-EMIT-MAKE-LOAD-FORMS: https://pastebin.com/LSUexMF6
10:34:19
flip214
Now I'm using a different order in my ql:quickload list - and :local-time loads, but clon and ironclad break.
10:35:04
scymtym
flip214: could you trace MAKE-LOAD-FORM before loading the library. maybe something installed a bogus method
10:38:01
flip214
looks like (most) libraries can be QL'ed by themselves... but when more are loaded into one image, at some point it breaks.
10:45:24
scymtym
flip214: maybe. i'm comparing the output. there is also (trace … :methods t). that may help spotting additional methods
10:46:25
|3b|
or if you inspect the error condition (hit enter on error at top of sldb), do you get more info?
10:51:15
flip214
the topmost frame is in swank-presentation-streams.lisp -- monkey-patch-stream-printing
10:53:02
flip214
|3b|: trying to inspect just returns me to "invalid number of arguments: 3" and a new stacktrace
10:54:26
|3b|
if you open the LABELS ... MAYBE-EMIT-MAKE-LOAD-FORMS frame can you inspect the pathname?
10:55:33
scymtym
swank-presentation-streams.lisp defines a method on PRINT-OBJECT for pathname. that could have something to do with it (and i don't think it is permitted)
10:56:46
|3b|
ah, i guess look at the source where you end up from top frame and see if it is passing 3 arguments to something
10:58:39
scymtym
for the "visit source of unprintable frame" method, better untrace everything first so print errors don't get in the way
11:04:43
flip214
I *believe* that ~/src/sbcl/src/code/print.lisp output-object print-it, the (funcall fun stream object) call is the bad call
11:05:37
flip214
but why would pprint-dispatch return sb-impl::%print-unreadable-object? that's incompatible, too