Skip to content

SB-KERNEL::ARG-COUNT-ERROR upon printing to stdout #8

@Neightro

Description

@Neightro
  • Manjaro Linux

  • sbcl-bin 2.3.4

  • mondo 0.1.0

  • Swank bundled with Slime 2.27

  • Output of ros version:

    roswell 22.12.14.113
    build with gcc (GCC) 12.2.1 20230201
    libcurl=8.0.1
    Quicklisp=2021-02-13
    Dist=2023-02-15
    sbcl-bin-variant=''
    

I get the following error whenever I evaluate something that prints to stdout:

❯ mondo
SBCL 2.3.4 running at 127.0.0.1:50005 (pid=1186922)
CL-USER> *standard-output*
#<SWANK/GRAY::SLIME-OUTPUT-STREAM {10013CAAA3}>
CL-USER> (princ "Test")
Unhandled SB-KERNEL::ARG-COUNT-ERROR in thread #<SB-THREAD:THREAD tid=1186929 "mondo swank message processor" RUNNING
                                                  {100260A3C3}>:
  Error while parsing arguments to DESTRUCTURING-BIND:
    too many elements in
      ("Test" NIL 1)
    to satisfy lambda list
      (OUTPUT &OPTIONAL TARGET):
    between 1 and 2 expected, but got 3

Backtrace for: #<SB-THREAD:THREAD tid=1186929 "mondo swank message processor" RUNNING {100260A3C3}>
0: (SB-DEBUG::DEBUGGER-DISABLED-HOOK #<SB-KERNEL::ARG-COUNT-ERROR {1002815983}> #<unused argument> :QUIT T)
1: (SB-DEBUG::RUN-HOOK *INVOKE-DEBUGGER-HOOK* #<SB-KERNEL::ARG-COUNT-ERROR {1002815983}>)
2: (INVOKE-DEBUGGER #<SB-KERNEL::ARG-COUNT-ERROR {1002815983}>)
3: (ERROR SB-KERNEL::ARG-COUNT-ERROR :KIND DESTRUCTURING-BIND :NAME NIL :ARGS ("Test" NIL 1) :LAMBDA-LIST (MONDO/SWANK/PROTOCOL::OUTPUT &OPTIONAL MONDO/SWANK/PROTOCOL::TARGET) :MINIMUM 1 :MAXIMUM 2)
4: (SB-C::DS-BIND-ERROR ("Test" NIL 1) 1 2 (MONDO/SWANK/PROTOCOL::OUTPUT &OPTIONAL MONDO/SWANK/PROTOCOL::TARGET))
5: (SB-C::CHECK-DS-LIST #<unavailable argument> #<unavailable argument> #<unavailable argument> #<unavailable argument>)
6: ((LAMBDA (MONDO/SWANK/PROTOCOL:EVENT) :IN MONDO/SWANK/PROTOCOL:MAKE-DISPATCH-EVENT-FUNCTION) (:WRITE-STRING "Test" NIL 1))
7: ((LAMBDA NIL :IN MONDO/SWANK/CLIENT::MAKE-PROCESS-THREAD))
8: ((LAMBDA NIL :IN BORDEAUX-THREADS::BINDING-DEFAULT-SPECIALS))
9: ((FLET SB-UNIX::BODY :IN SB-THREAD::RUN))
10: ((FLET "WITHOUT-INTERRUPTS-BODY-156" :IN SB-THREAD::RUN))
11: ((FLET SB-UNIX::BODY :IN SB-THREAD::RUN))
12: ((FLET "WITHOUT-INTERRUPTS-BODY-149" :IN SB-THREAD::RUN))
13: (SB-THREAD::RUN)
14: ("foreign function: call_into_lisp_")
15: ("foreign function: funcall1")

unhandled condition in --disable-debugger mode, quitting

Mondo seems to otherwise be working fine; looking forward to getting to use it more.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions