Raymond Toy <[EMAIL PROTECTED]> writes:

> >>>>> "Chisheng" == Chisheng Huang <[EMAIL PROTECTED]> writes:
> 
>     Chisheng> Hi,
>     Chisheng> I got a control stack overflow problem in cmucl-2003-11-x86-linux (the 
>     Chisheng> November snapshot available at 
> ftp://cmucl.cons.org/pub/lisp/cmucl/snapshots)
>     Chisheng> after typing 2 lines.  The first line was (load "cl-gtk.x86f").  The 
> second
>     Chisheng> line was 99.  
> 
>     Chisheng> Some background info:
>     Chisheng>   * File cl-gtk.x86f was generated by cmucl-2003-11-x86-linux.
>     Chisheng>     This is CLG for GTK+1.2.
> 
> Where can I get CLG?  I'd like to reproduce this on my own system.

Please fetch clg.tgz from ftp://[EMAIL PROTECTED]  
The password is sfsnash2.  This is based on CLG-0.51 by 
Mr. Espen S. Johnsen with some hacks added by me.

To reproduce the stack overflow, 
  1. Make sure to copy or link src/lisp/lisp.h to lib/cmucl/lib/lisp.h.
     Directory src is the src directory you get when you check out a 
     CVS copy of CMUCL source code.  lib/cmucl/lib is the directory that 
     has lisp.core.
  2. Do "tar xzf clg.tgz" to get a clg directory.
  3. cd clg
  4. ./configure
  5. make cmucl
  6. You are still in the clg directory.  There are 2 ways to get 
     stack overflow:
       The first way:
         A. cd cmucl
         B. make test
         C. The above step will eventually invoke CMUCL. 
            Type a number to get stack overflow.
       The second way:
         A. Fire up CMUCL
         B. (load "cmucl/cl-gtk.x86f")
         C. Type a number to get stack overflow.

Step 5 will eventually concatenate (/bin/cat) the following fasl files in the
following order to form cl-gtk.x86f:
  gforeign-package linkgtk glib-package gdk-package gtk-package gforeign glib 
  gdktypes gdk gtktypes gtk version.

I'm using Red Hat Linux 7.3.

Thanks a lot.

-cph


Reply via email to