[Serusers] WARNING:fm_free: free(0) called

Andrei Pelinescu-Onciul pelinescu-onciul at fokus.fraunhofer.de
Wed Nov 17 18:37:11 CET 2004


On Nov 17, 2004 at 18:24, Marian Dumitru <marian.dumitru at voice-sistem.ro> wrote:
> Hi Paul,
> 
> This warning shouldn't concern. Just let's you know that somewhere in 
> the code free(0) was called - no side effects :-)

free(0) should never be called, so this warning _should_ concern you.

To see  what's happening please try to compile with malloc debugging
 on (edit Makefile.defs, remove -DF_MALLOC, add -DDBG_QM_MALLOC and
  recompile everything: make proper; make all).
Use a higher debug level (warning: it will write a lot of info in the
log), and wait. Next time a free(0) will be tried ser will write
 who called it in the log and then it will core dump (abort()).

Please send me the log lines above:
BUG: qm_free: bad pointer ...
(something like "qm_free(0x.., 0x..),  called from ...").

Andrei




More information about the sr-users mailing list