[Bese-devel] UCW with SBCL on Linux (possibly threading issue)

Brad Anderson brad at sankaty.com
Mon Sep 19 15:47:27 UTC 2005


Shark Fin Soup wrote:
> Dear all,
> 
> I have spent the past week trying to get UCW (latest release) to run  on
> SBCL (latest release)
> 
> With Gentoo Linux and Kernel 2.4, I am able to get run ucw/bin/
> start.lisp with no error, except for that the Swank server is  disabled
> because there is no thread.
> 
> With Kernel 2.6 and SBCL recompiled to include :sb-thread, ucw/bin/
> start.lisp incurs segmentation fault right after Swank is launched.
> 
> Although I can opt for the first option and live without threading, I 
> would like to devote another week to getting threading to work so I  can
> enjoy the embedded Swank of UCW.
> 
> Can someone please recommend a technique to get my setup to work, or  if
> there is a well-known setup that works on Linux. Please note that  I do
> not have to use SBCL or Gentoo. I am willing to switch to  anything that
> will allow me to get UCW up with threading. I am using  a Linode box,
> which is devoted entirely to UCW.
> 
> Dr. Atip Asvanund
> _______________________________________________
> bese-devel mailing list
> bese-devel at common-lisp.net
> http://common-lisp.net/cgi-bin/mailman/listinfo/bese-devel
> 


I use the same setup.  Gentoo with 2.6.12 kernel, SBCL & Slime (see
below).  Note the +threads flag for emerging sbcl.

Here's the emerge pretend of the two packages:


>> emerge -pv sbcl


These are the packages that I would merge, in order:

Calculating dependencies  ...done!
[ebuild     U ] dev-lisp/sbcl-0.9.4 [0.9.3] -hardened -ldb -nosource
+threads -unicode 2,658 kB

Total size of downloads: 2,658 kB

>> emerge -pv slime


These are the packages that I would merge, in order:

Calculating dependencies  ...done!
[ebuild   R   ] app-emacs/slime-1.2.1.20050804  -doc 0 kB

Total size of downloads: 0 kB



Also, in my /etc/make.conf file, I have both threads and nptl as flags.

I'm using mod_lisp as a backend, so in start.lisp, I have that uncommented.

Hopefully some of this info helps.

Brad




More information about the bese-devel mailing list