Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Oct 2004 15:45:37 +0200
From:      Willem Jan Withagen <wjw@withagen.nl>
To:        Georgi Guninski <guninski@guninski.com>
Cc:        freebsd-amd64@freebsd.org
Subject:   Re: two 4GB mallocs => SEGV
Message-ID:  <417E5501.2090909@withagen.nl>
In-Reply-To: <20041026133651.GF2841@sivokote.iziade.m$>
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$>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?417E5501.2090909>