Ok, i've added:
export "MALLOC_CHECK_=2"
A test with getenv("MALLOC_CHECK_") outputs a string argument "2".
The program fails no more: it just runs without some graphic, maybe as result
of the bad addressing.
This was not supposed to happen...
I'm trying valgrind (hope there is a man page for it).