• Mcclim error on SBCL 2.4.8 under 32 bits

    From Bozo User@21:1/5 to All on Mon Sep 16 17:12:29 2024
    Hello. I use SBCL 2.4.8, and everything worked ok,
    even quicklisp and fetching mcclim.

    But this happens upon loading the demo example
    from https://github.com/McCLIM/McCLIM:

    * (app:app-main)

    debugger invoked on a TYPE-ERROR @37FEDBAF in thread
    #<THREAD tid=21824 "main thread" RUNNING {38B2A059}>:
    The value
    -20
    is not of type
    (MOD 536870909)
    when binding SB-IMPL::REMAINING-REQUEST

    Type HELP for debugger help, or (SB-EXT:EXIT) to exit from SBCL.

    restarts (invokable by number or by possibly-abbreviated name):
    0: [ABORT] Exit debugger, returning to top level.

    (SB-IMPL::FD-STREAM-READ-N-BYTES #<SB-SYS:FD-STREAM for "socket, peer: /tmp/.X11-unix/X0" {40501F31}> #(1 0 18 0 3 0 0 0 12 0 0 0 ...) #<unused argument> 32 12 T)

    What could it be the issue? on theading support:

    * *features*
    (:QUICKLISP :ASDF3.3 :ASDF3.2 :ASDF3.1 :ASDF3 :ASDF2 :ASDF :OS-UNIX
    :NON-BASE-CHARS-EXIST-P :ASDF-UNICODE :X86 :GENCGC :ANSI-CL :COMMON-LISP :ELF
    :IEEE-FLOATING-POINT :LINUX :LITTLE-ENDIAN :PACKAGE-LOCAL-NICKNAMES
    :SB-CORE-COMPRESSION :SB-LDB :SB-PACKAGE-LOCKS :SB-THREAD :SB-UNICODE :SBCL
    :UNIX)
    *

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Madhu@21:1/5 to All on Tue Sep 17 23:11:03 2024
    * Bozo User <vc9ott$2v9lg$1@dont-email.me> :
    Wrote on Mon, 16 Sep 2024 17:12:29 -0000 (UTC):
    Hello. I use SBCL 2.4.8, and everything worked ok,
    even quicklisp and fetching mcclim.

    But this happens upon loading the demo example
    from https://github.com/McCLIM/McCLIM:

    * (app:app-main)

    debugger invoked on a TYPE-ERROR @37FEDBAF in thread
    #<THREAD tid=21824 "main thread" RUNNING {38B2A059}>:
    The value
    -20
    is not of type
    (MOD 536870909)
    when binding SB-IMPL::REMAINING-REQUEST

    Type HELP for debugger help, or (SB-EXT:EXIT) to exit from SBCL.

    restarts (invokable by number or by possibly-abbreviated name):
    0: [ABORT] Exit debugger, returning to top level.

    (SB-IMPL::FD-STREAM-READ-N-BYTES #<SB-SYS:FD-STREAM for "socket, peer: /tmp/.X11-unix/X0" {40501F31}> #(1 0 18 0 3 0 0 0 12 0 0 0 ...) #<unused argument> 32 12 T)


    This is in the CLX layer. try running the clx demo to see if it works,
    to fix that

    What could it be the issue? on theading support:

    * *features*
    (:QUICKLISP :ASDF3.3 :ASDF3.2 :ASDF3.1 :ASDF3 :ASDF2 :ASDF :OS-UNIX
    :NON-BASE-CHARS-EXIST-P :ASDF-UNICODE :X86 :GENCGC :ANSI-CL :COMMON-LISP :ELF
    :IEEE-FLOATING-POINT :LINUX :LITTLE-ENDIAN :PACKAGE-LOCAL-NICKNAMES
    :SB-CORE-COMPRESSION :SB-LDB :SB-PACKAGE-LOCKS :SB-THREAD :SB-UNICODE :SBCL
    :UNIX)
    *

    I got the README example working with current sbcl. I'm not using or quicklisp/asdf and when I do (set-difference *features* *) with your
    features, I see these features in my lisp which are not in your lisp,
    once mcclim and its dependencies are loaded.

    (:64-BIT :X86-64 :ARENA-ALLOCATOR :CLTL2 :MK-DEFSYSTEM :SLYNK
    :CLIM-WITHOUT-SWANK :THREAD-SUPPORT ALEXANDRIA::SEQUENCE-EMPTYP
    :BORDEAUX-THREADS :CLOSER-MOP :CLIM-MP CLIM-INTERNALS::PACKAGE-LOCKS :CL-PPCRE
    :CL-UNICODE :FLEXI-STREAMS :CLX-LITTLE-ENDIAN :CLX :XLIB :CLX-MIT-R4
    :CLX-MIT-R5 :CLX-EXT-RENDER :CLX-EXT-RANDR CFFI-SYS::FLAT-NAMESPACE :CFFI
    CFFI-FEATURES:UNIX CFFI-FEATURES:X86-64 CFFI-FEATURES:FLAT-NAMESPACE :MMAP
    :USE-NO-ZLIB :PDF-BINARY :CL-PDF)


    Apparently you are running a 32bit lisp, clx is of course expected to
    work with 32bit lisps but the problem is likely there if you are on a
    64bit machine, better check try to run the clx demo

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From usuario@21:1/5 to All on Wed Sep 25 20:11:15 2024
    El Tue, 17 Sep 2024 23:11:03 +0530, Madhu escribió:

    * Bozo User <vc9ott$2v9lg$1@dont-email.me> :
    Wrote on Mon, 16 Sep 2024 17:12:29 -0000 (UTC):
    Hello. I use SBCL 2.4.8, and everything worked ok,
    even quicklisp and fetching mcclim.

    But this happens upon loading the demo example from
    https://github.com/McCLIM/McCLIM:

    * (app:app-main)

    debugger invoked on a TYPE-ERROR @37FEDBAF in thread #<THREAD tid=21824
    "main thread" RUNNING {38B2A059}>:
    The value
    -20
    is not of type
    (MOD 536870909)
    when binding SB-IMPL::REMAINING-REQUEST

    Type HELP for debugger help, or (SB-EXT:EXIT) to exit from SBCL.

    restarts (invokable by number or by possibly-abbreviated name):
    0: [ABORT] Exit debugger, returning to top level.

    (SB-IMPL::FD-STREAM-READ-N-BYTES #<SB-SYS:FD-STREAM for "socket, peer:
    /tmp/.X11-unix/X0" {40501F31}> #(1 0 18 0 3 0 0 0 12 0 0 0 ...)
    #<unused argument> 32 12 T)


    This is in the CLX layer. try running the clx demo to see if it works,
    to fix that

    What could it be the issue? on theading support:

    * *features*
    (:QUICKLISP :ASDF3.3 :ASDF3.2 :ASDF3.1 :ASDF3 :ASDF2 :ASDF :OS-UNIX
    :NON-BASE-CHARS-EXIST-P :ASDF-UNICODE :X86 :GENCGC :ANSI-CL
    :COMMON-LISP :ELF :IEEE-FLOATING-POINT :LINUX :LITTLE-ENDIAN
    :PACKAGE-LOCAL-NICKNAMES :SB-CORE-COMPRESSION :SB-LDB
    :SB-PACKAGE-LOCKS :SB-THREAD :SB-UNICODE :SBCL :UNIX)
    *

    I got the README example working with current sbcl. I'm not using or quicklisp/asdf and when I do (set-difference *features* *) with your features, I see these features in my lisp which are not in your lisp,
    once mcclim and its dependencies are loaded.

    (:64-BIT :X86-64 :ARENA-ALLOCATOR :CLTL2 :MK-DEFSYSTEM :SLYNK
    :CLIM-WITHOUT-SWANK :THREAD-SUPPORT ALEXANDRIA::SEQUENCE-EMPTYP
    :BORDEAUX-THREADS :CLOSER-MOP :CLIM-MP CLIM-INTERNALS::PACKAGE-LOCKS
    :CL-PPCRE :CL-UNICODE :FLEXI-STREAMS :CLX-LITTLE-ENDIAN :CLX :XLIB
    :CLX-MIT-R4 :CLX-MIT-R5 :CLX-EXT-RENDER :CLX-EXT-RANDR
    CFFI-SYS::FLAT-NAMESPACE :CFFI CFFI-FEATURES:UNIX CFFI-FEATURES:X86-64
    CFFI-FEATURES:FLAT-NAMESPACE :MMAP :USE-NO-ZLIB :PDF-BINARY :CL-PDF)


    Apparently you are running a 32bit lisp, clx is of course expected to
    work with 32bit lisps but the problem is likely there if you are on a
    64bit machine, better check try to run the clx demo

    Thanks, I fixed it by downloading both clx and MCClim from GIT.

    The last release it's much faster on SBCL and even ECL, making the one
    under SBCL almost lagless except for the first run. I tried the MCClim
    demo package from Quicklisp.
    That under an n270 Atom netbook and a GB of RAM. An astounding change.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)