two 4GB mallocs => SEGV

Willem Jan Withagen wjw at withagen.nl
Tue Oct 26 06:51:26 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.

And again on a 5.2 i386 box:
[/tmp] root at freebee> a.out
80000000
a.out in malloc(): error: allocation failed
Abort (core dumped)
[/tmp] root at freebee> ll /etc/malloc.conf
ls: /etc/malloc.conf: No such file or directory
[/tmp] root at freebee> ln -s AXZ /etc/malloc.conf
[/tmp] root at freebee> a.out
80000000
a.out in malloc(): error: allocation failed
Abort (core dumped)
[/tmp] root at freebee> uname -a
FreeBSD freebee.digiware.nl 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Fri Jul  9 
18:44:14 CEST 2004
  root at freebee.digiware.nl:/usr/obj/usr/src5/src/sys/FREEBEE  i386

Which is all as expected.

But I don't have i386-CURRENT other AMD64 releases around.

--WjW




More information about the freebsd-amd64 mailing list