On Sun, Dec 20, 2015 at 10:02 PM, Yick Xie <yick.xie at gmail.com> wrote: > Hi Nikos, > > Sorry, I don't know how to use valgrind 3.11.0, which always showed > some errors even as I just ran safe ocserv 0.10.8 . > GCC version is: > gcc (Ubuntu 4.8.4-2ubuntu1~14.04) 4.8.4 > valgrind ocserv -c /etc/ocserv/config -f > ==5112== Memcheck, a memory error detector > ==5112== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al. > ==5112== Using Valgrind-3.11.0 and LibVEX; rerun with -h for copyright info > ==5112== Command: ocserv -c /etc/ocserv/config -f I forgot to mention that you need to set isolate-workers to false to be able to run valgrind. After setting that, it should run normally. regards, Nikos