[cells-gtk-devel] test-gtk:gtk-demo does not run on sbcl 1.0.35 64 bit

Ramarren ramarren at gmail.com
Sat Feb 20 22:07:40 UTC 2010


Hello,

Someone one this mailing list had this problem before, but it has been
supposedly fixed by updating SBCL. Of course, SBCL 1.0.35 is current.

Do note that gtk-window-set-title is just the last GTK function, which
are specially traced. A full backtrace would be more useful. This is
the first string conversion in the demo, which is one probable cause.

It is obvious that the function itself takes two arguments, which
leaves essentially two possibilities, that there is an outdated
component somewhere. Likely CFFI, I have been using CFFI and its
dependencies installed with http://common-lisp.net/project/clbuild/ .
I believe that older CFFI did have different
cffi:foreign-string-alloc, and the version in Ubuntu repositories is
quite old.

The other possibility is that the stack is corrupted due to type
mismatch. I do not have a 64-bit system to test on, and it is possible
that something somewhere has wrong type which works on 32-bit systems
by coincidence. I did quite a lot of cleaning up types in the binding,
but it is hard to tell if I didn't miss something without testing.

Please check that CFFI and its dependencies are up to date, and if
they are and/or the problem is still there, post a full backtrace. I
don't know how CUSP shows backtraces, but they can be obtained from
the command line by typing ":backtrace" into the debugger prompt.

Regards,
Jakub Higersberger

On Sat, Feb 20, 2010 at 9:54 PM, Jozef M H Dassen
<j.m.h.dassen at alumnus.tue.nl> wrote:
>
> Hi,
>
> I have just installed cells-gtk,  but I can not even get the demo to work. I
> get the following message:
>
> Calling (gtk-window-set-title #.(SB-SYS:INT-SAP #X006D0580)
> GTK-Testing)invalid number of arguments: 3
>
> Installation seemed to go flawless, so I was quite optimistic about
> cells-gtk until I started the demo.
>
> My system is:
> Ubuntu 8.0.4 64 bit
> SBCL 1.0.35 64 bit, with multithreading.
>
> Cell-GTK version: Ramarren-cells-gtk3-b9d5f66
>
>
> I am running under CUSP although I get the same error with SBCL in a command
> window:
>
> Calling (gtk-window-set-title #.(SB-SYS:INT-SAP #X0069F390) GTK-Testing)
> debugger invoked on a SB-INT:SIMPLE-PROGRAM-ERROR in thread #<THREAD
>                                                               "initial
> thread" RUNNING
>                                                               {1002ABBE21}>:
>   invalid number of arguments: 3
>
>
>
> I see only two arguments..... Why is the window-set-title call complaining
> ??
>
> Thanks,  JD
> _______________________________________________
> cells-gtk-devel site list
> cells-gtk-devel at common-lisp.net
> http://common-lisp.net/mailman/listinfo/cells-gtk-devel
>




More information about the cells-gtk-devel mailing list