From owner-freebsd-stable@FreeBSD.ORG Thu Jul 24 02:04:45 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2E25837B401 for ; Thu, 24 Jul 2003 02:04:45 -0700 (PDT) Received: from ren.fdy2.net (fdy2.demon.co.uk [80.177.11.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id 10CF343F93 for ; Thu, 24 Jul 2003 02:04:44 -0700 (PDT) (envelope-from rjs@ren.fdy2.net) Received: from ren.fdy2.net (localhost [127.0.0.1]) by ren.fdy2.net (8.12.9/8.11.3) with ESMTP id h6O93TD0070986; Thu, 24 Jul 2003 10:03:29 +0100 (BST) (envelope-from rjs@ren.fdy2.net) Received: (from rjs@localhost) by ren.fdy2.net (8.12.9/8.12.9/Submit) id h6O93Sxg070983; Thu, 24 Jul 2003 10:03:28 +0100 (BST) Date: Thu, 24 Jul 2003 10:03:28 +0100 (BST) Message-Id: <200307240903.h6O93Sxg070983@ren.fdy2.net> From: Robert Swindells To: gilham@csl.sri.com In-reply-to: <200307240220.h6O2K8dW032615@quarter.csl.sri.com> (message from Fred Gilham on Wed, 23 Jul 2003 19:20:08 -0700) cc: freebsd-stable@freebsd.org Subject: Re: Question about malloc, mmap etc. X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jul 2003 09:04:45 -0000 [CMUCL changes snipped] >The segments my program creates are at 0x10000000, 0x28f00000 and >0x48000000 if that makes a difference. >Anyway my question is whether anyone knows why this might be happening >or if someone can point me in the right direction to find out. What does the memory map of the lisp process look like at this point ? Things will break if you put in any extra printf calls before the segments are set up. You might want to recompile malloc.c with some extra debug around the call to mmap(2), but using write(2) not printf, just to check where in the setup sequence it is being called. Robert Swindells