valgrind --num-callers=40 --suppressions=lyskomd.supp --leak-check=yes --logfile-fd=21 --show-reachable=yes ../lyskomd -f config/lyskomd-config ==3786== Memcheck, a.k.a. Valgrind, a memory error detector for x86-linux. ==3786== Copyright (C) 2002-2003, and GNU GPL'd, by Julian Seward. ==3786== Using valgrind-2.0.0, a program supervision framework for x86-linux. ==3786== Copyright (C) 2000-2003, and GNU GPL'd, by Julian Seward. ==3786== Estimated CPU clock rate is 1399 MHz ==3786== For more details, rerun with: -v ==3786== ==3786== Invalid read of size 1 ==3786== at 0x403A8777: __GI__dl_close (in /lib/libc-2.3.2.so) ==3786== by 0x403A94B0: do_dlclose (in /lib/libc-2.3.2.so) ==3786== by 0x4000AA40: _dl_catch_error_internal (in /lib/ld-2.3.2.so) ==3786== by 0x403A93F5: dlerror_run (in /lib/libc-2.3.2.so) ==3786== by 0x403AC33A: free_mem (in /lib/libc-2.3.2.so) ==3786== by 0x403AC1E9: __GI___libc_freeres (in /lib/libc-2.3.2.so) ==3786== by 0x40183A75: vgPlain___libc_freeres_wrapper (in /usr/lib/valgrind/valgrind.so) ==3786== by 0x402D1E1C: __GI_exit (in /lib/libc-2.3.2.so) ==3786== by 0x804AE3C: main (ramkomd.c:680) ==3786== by 0x402BC8DB: __libc_start_main (in /lib/libc-2.3.2.so) ==3786== by 0x804A0D0: (within /home/ceder/rcvs/xenofarm/client/lyskom-server/ceder.dyndns.org/buildtmp/dist/lyskom-server-2.1.2/src/server/lyskomd) ==3786== Address 0x1E7 is not stack'd, malloc'd or free'd