Re: Warning: Return value of malloc()...

Bruno Haible <[email protected]>
Newsgroups gmane.lisp.clisp.devel
Message-ID <1903351.QK77xVYeku@omega>
Hello Don,

>   Warning: Return value of malloc() = 7f924a51b010 is not compatible with type code distribution.
> The image seems to work, but I suspect that someone will want to change
> some code to fix whatever it is that causes that message.

Thanks for the report. Indeed, I'm currently working on this area. Can you
please report back:

1) After
   $ make lispbibl.h
   what is the output of
   $ grep 'define MAPPABLE_ADDRESS_RANGE' lispbibl.h
   $ grep MAP_MEMORY lispbibl.h
   $ grep CODE_ADDRESSS_RANGE config.status

2) What is the result of 3 consecutive runs of
   $ ./lisp.run -mm

Generational GC relies on being able to map memory with MAP_FIXED.
In order to do this, one needs knowledge about where to find a free
address range. I've done this for many platforms (lispbibl.d around lines
2100-2500). But with a different Linux kernel version, things may well be
different.

Thanks!

Bruno


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
clisp-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/clisp-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.