From: Justin Smith
Subject: Problem with CMUCL 18c
Date: 
Message-ID: <20020216.123513.1350573793.2853@mcs.drexel.edu>
This is on a vanilla RH7.2 linux system.

When I run it as root I get the startup

CMU Common Lisp 18c, running on jsmith.org
Send questions and bug reports to your local CMU CL maintainer, 
or to ··········@cons.org. and ·········@cons.org. respectively.
Loaded subsystems:
    Python 1.0, target Intel x86
    CLOS based on PCL version:  September 16 92 PCL (f)

and when I run it as an ordinary user, I get:


Error in function UNIX::SIGSEGV-HANDLER:  Segmentation Violation at #x4001924C.

Restarts:
  0: [ABORT] Skip remaining initializations.

Debug  (type H for help)

(UNIX::SIGSEGV-HANDLER #<unused-arg>
                       #<unused-arg>
                       #.(SYSTEM:INT-SAP #x3FFFEA90))
Source: Error finding source: 
Error in function COMMON-LISP::%ENUMERATE-SEARCH-LIST:
   Undefined search list: default
0] 


This makes me think that it's a problem with permissions, but the lib
directory has the proper permissions...

Any suggestions?

From: Martin Cracauer
Subject: Re: Problem with CMUCL 18c
Date: 
Message-ID: <a4nesr$2fr6$1@counter.bik-gmbh.de>
"Justin Smith" <······@mcs.drexel.edu> writes:

>This is on a vanilla RH7.2 linux system.

>and when I run it as an ordinary user, I get:


>Error in function UNIX::SIGSEGV-HANDLER:  Segmentation Violation at #x4001924C.

What says
  ulimit -a
-- 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Martin Cracauer <········@bik-gmbh.de> http://www.bik-gmbh.de/~cracauer/
FreeBSD - where you want to go. Today. http://www.freebsd.org/
From: Justin Smith
Subject: Re: Problem with CMUCL 18c
Date: 
Message-ID: <20020217.072111.1605894428.1428@mcs.drexel.edu>
In article <·············@counter.bik-gmbh.de>, "Martin Cracauer"
<········@counter.bik-gmbh.de> wrote:

What says
>   ulimit -a


core file size (blocks)     0
data seg size (kbytes)      unlimited
file size (blocks)          unlimited
max locked memory (kbytes)  unlimited
max memory size (kbytes)    unlimited
open files                  1024
pipe size (512 bytes)       8
stack size (kbytes)         8192
cpu time (seconds)          unlimited
max user processes          3072
virtual memory (kbytes)     unlimited
From: Justin Smith
Subject: Re: Problem with CMUCL 18c
Date: 
Message-ID: <20020219.101920.1350573793.1920@mcs.drexel.edu>
I have solved this problem!

It was very strange and did not go away even when I recompiled cmucl from
sources.

The problem is the library libsafe. It is supposed to be a transparent
security feature, intercepting calls to routines that can be unsafe (like
strcpy) and replacing them by safe versions. 

This was automatically installed when I installed some other software.

It is disabled by putting the lines 

LD_PRELOAD=
export LD_PRELOAD

in the .bashrc and .bash_profile files.