Rocksolid Light

News from da outaworlds

mail  files  register  groups  login

Message-ID:  

Q: What's hard going in and soft and sticky coming out? A: Chewing gum.


comp / comp.lang.lisp / Mcclim error on SBCL 2.4.8 under 32 bits

SubjectAuthor
* Mcclim error on SBCL 2.4.8 under 32 bitsBozo User
`* Re: Mcclim error on SBCL 2.4.8 under 32 bitsMadhu
 `- Re: Mcclim error on SBCL 2.4.8 under 32 bitsusuario

1
Subject: Mcclim error on SBCL 2.4.8 under 32 bits
From: Bozo User
Newsgroups: comp.lang.lisp
Organization: A noiseless patient Spider
Date: Mon, 16 Sep 2024 17:12 UTC
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: anthk@disroot.org (Bozo User)
Newsgroups: comp.lang.lisp
Subject: Mcclim error on SBCL 2.4.8 under 32 bits
Date: Mon, 16 Sep 2024 17:12:29 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 33
Message-ID: <vc9ott$2v9lg$1@dont-email.me>
Injection-Date: Mon, 16 Sep 2024 19:12:29 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="5a233fe2fb96e53b9d9a4e71caeb9107";
logging-data="3122864"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+wpVd53pDaIxxe3CfKIuIF"
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:tsCn0jamgS12O6hnQJPe7hx7FkE=
View all headers

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)
*

Subject: Re: Mcclim error on SBCL 2.4.8 under 32 bits
From: Madhu
Newsgroups: comp.lang.lisp
Organization: Motzarella
Date: Tue, 17 Sep 2024 17:41 UTC
References: 1
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: enometh@meer.net (Madhu)
Newsgroups: comp.lang.lisp
Subject: Re: Mcclim error on SBCL 2.4.8 under 32 bits
Date: Tue, 17 Sep 2024 23:11:03 +0530
Organization: Motzarella
Lines: 57
Message-ID: <m35xqugouo.fsf@leonis4.robolove.meer.net>
References: <vc9ott$2v9lg$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Date: Tue, 17 Sep 2024 19:41:42 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="477e7751035e3ed34a9cba15b40a6162";
logging-data="3822702"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18w9IAvRN+blmAbnA+AfF89SLPoVJffyLA="
Cancel-Lock: sha1:ganMaHxB8F6ldlF4zlOODCeV4aI=
sha1:PbsgUFXTKgdowJMC8GcxypamwKQ=
View all headers

* 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

Subject: Re: Mcclim error on SBCL 2.4.8 under 32 bits
From: usuario
Newsgroups: comp.lang.lisp
Organization: A noiseless patient Spider
Date: Wed, 25 Sep 2024 20:11 UTC
References: 1 2
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: anthk@disroot.org (usuario)
Newsgroups: comp.lang.lisp
Subject: Re: Mcclim error on SBCL 2.4.8 under 32 bits
Date: Wed, 25 Sep 2024 20:11:15 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 67
Message-ID: <vd1qp2$3qhho$1@dont-email.me>
References: <vc9ott$2v9lg$1@dont-email.me>
<m35xqugouo.fsf@leonis4.robolove.meer.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 25 Sep 2024 22:11:15 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="329b4a72e98ef7447090cef3446732fb";
logging-data="4015672"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19/3dbJDpyUDA0X7tSRmenP"
User-Agent: Pan/0.149 (Bellevue; 4c157ba)
Cancel-Lock: sha1:Q8yKDxDfmDBghZD/CkNzKZ0uvbg=
View all headers

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.

1

rocksolid light 0.9.8
clearnet tor