[CM] Re: cannot run cm script on Linux SBCL

Rick Taube taube@uiuc.edu
Wed, 17 Aug 2005 10:25:28 -0500


> FC4 -- I guess the answer is to keep trying -- here I am
> typing in a shell, with interspersed unprintable commentary:

I wonder if you are being bitten by a memory randomization issue in 
fc4, see below (there seems to be lots of postings about problems in 
0.9.3)

---
	From: 	  jsnell@iki.fi
	Subject: 	[Sbcl-devel] Re: problem building 0.9.3 under Fedora Core 4 
using CMUCL 19b
	Date: 	August 17, 2005 10:14:00 AM CDT
	To: 	  patrick.may@intamission.com
	Cc: 	  sbcl-devel@lists.sourceforge.net

On Wed, Aug 17, 2005 at 12:09:45AM +0100, Patrick May wrote:
> Near as I can tell, I've got some bad craziness related to threading
> going on.  Can anyone lend me a clue?

Are you compiling with gcc 4? There are some problems with threading
and gcc4 (possibly solved in HEAD). Using gcc 3 instead might help.

> *** glibc detected *** sbcl: malloc(): memory corruption: 0x096ee058 
> ***

The FC4 kernel has some patches for memory map randomization, which
(unlike the earlier versions) is automatically turned on for all
applications. For full details see the "Memory randomization problems
coming" thread on sbcl-devel. For now, either of the following solutions
should work:

  Disable randomization globally "echo 0 > 
/proc/sys/kernel/randomize_va_space"
  Start sbcl with "setarch i386 -R sbcl"

-- 
Juho Snellman


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle 
Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & 
QA
Security * Process Improvement & Measurement * 
http://www.sqe.com/bsce5sf
_______________________________________________
Sbcl-devel mailing list
Sbcl-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sbcl-devel