Sujet : Re: Mcclim error on SBCL 2.4.8 under 32 bits
De : enometh (at) *nospam* meer.net (Madhu)
Groupes : comp.lang.lispDate : 17. Sep 2024, 19:41:03
Autres entêtes
Organisation : Motzarella
Message-ID : <m35xqugouo.fsf@leonis4.robolove.meer.net>
References : 1
* 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