This list is a place for the mutual aid of those who recognize that they're not ocaml gurus yet... everything you wanted to ask about Ocaml, but were afraid to ask in the very official caml-list@inria.fr, can be asked, answered and discussed here.
Satisfaction is NOT guaranteed and if you are teaching more than you're learning... please think that you've probably learnt more than you're teaching! :-)
Thanks Floren. I set the environment variable: export MALLOC_CHECK_=1 The problem is solved. Also, Thanks Richard for your explaination. Really appreciate your
... searching google for this error message, I've found answers which recommand using valgrind to debug this. I've also found on a forum to set the environment
... The case where you have allocations and deallocations happening on the C side of things is more complicated than merely wrapping each individual function.