From owner-freebsd-amd64@FreeBSD.ORG Tue Oct 26 13:45:40 2004 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 60F3516A4D0 for ; Tue, 26 Oct 2004 13:45:40 +0000 (GMT) Received: from freebee.digiware.nl (dsl439.iae.nl [212.61.63.187]) by mx1.FreeBSD.org (Postfix) with ESMTP id B6F4E43D54 for ; Tue, 26 Oct 2004 13:45:39 +0000 (GMT) (envelope-from wjw@withagen.nl) Received: from [212.61.27.71] (dual [212.61.27.71]) by freebee.digiware.nl (8.12.10/8.12.10) with ESMTP id i9QDjc9S029208; Tue, 26 Oct 2004 15:45:38 +0200 (CEST) (envelope-from wjw@withagen.nl) Message-ID: <417E5501.2090909@withagen.nl> Date: Tue, 26 Oct 2004 15:45:37 +0200 From: Willem Jan Withagen User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Georgi Guninski References: <20041026115041.GE2841@sivokote.iziade.m$> <417E474A.1000401@withagen.nl> <20041026125709.GF1003@straylight.m.ringlet.net> <417E4D6C.4040508@withagen.nl> <20041026133002.GG1003@straylight.m.ringlet.net> <20041026133651.GF2841@sivokote.iziade.m$> In-Reply-To: <20041026133651.GF2841@sivokote.iziade.m$> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: Peter Pentchev cc: freebsd-amd64@freebsd.org Subject: Re: two 4GB mallocs => SEGV X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Oct 2004 13:45:40 -0000 Georgi Guninski wrote: > On Tue, Oct 26, 2004 at 04:30:02PM +0300, Peter Pentchev wrote: > >>Still, Georgi, can you check if you have a MALLOC_OPTIONS variable or >>a /etc/malloc.conf symlink? >> > > > don't have neither. > default install. > iirc the problem is also in 5.2. Running it on a small box: [/tmp] root@files> ln -s AXZ /etc/malloc.conf [/tmp] root@files> ./a.out 80000000 a.out in malloc(): error: out of memory Abort (core dumped) [/tmp] root@files> uname -a FreeBSD files.digiware.nl 5.1-RELEASE-p11 FreeBSD 5.1-RELEASE-p11 #3: Sat Dec 20 16:16:35 CET 2003 root@freebee.digiware.nl:/mnt2/obj/u sr/src51/src/sys/GENERIC i386 so there it works as expected... --WjW