two 4GB mallocs => SEGV

Willem Jan Withagen wjw at
Tue Oct 26 06:45:40 PDT 2004

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 at files> ln -s AXZ /etc/malloc.conf
[/tmp] root at files> ./a.out
a.out in malloc(): error: out of memory
Abort (core dumped)
[/tmp] root at files> uname -a
FreeBSD 5.1-RELEASE-p11 FreeBSD 5.1-RELEASE-p11 #3: Sat Dec 
20 16:16:35 CET 2003     root at
sr/src51/src/sys/GENERIC  i386

so there it works as expected...


More information about the freebsd-amd64 mailing list