When running synfigstudio with valgrind, there are a lot of errors that do not relate to synfigstudio itself.
You can ignore these errors using this valgrind suppression file:
https://synfig.svn.sourceforge.net/svnroot/synfig/.valgrind