[LAD] Test app for LADSPA plugins

Damon Chaplin damon at karuna.eclipse.co.uk
Tue Jul 28 14:32:15 UTC 2009


On Tue, 2009-07-28 at 12:39 +0100, Damon Chaplin wrote:
> Hi,
> 
> I've been having problems with a few LADSPA plugins recently, so I've
> written a little test app that loads all LADSPA plugins, connects the
> ports and runs them for one cycle. (I've attached it here.)
> 
> I've run it on the plugin packages I have installed, using valgrind, and
> the results are:
> 
> amb	crashes
> blop	memory errors (patches sent for some of the errors)
> calf	memory errors in Flanger & MultiChorus plugins
> caps	memory errors in 3 plugins
> cmt	memory errors (patches sent)
> fil	OK
> ladspa  memory errors in Sine plugin (mismatched free/deletes)
> mcp	OK
> rev	OK
> swh	crashes
> tap	memory errors in 5 plugins
> vco	OK

I've just discovered that the crashes in the amb and swh packages are
caused by activating certain plugins before connecting the ports (which
I think is allowed by the LADSPA spec).

If the ports are connected first, the amb package is OK, but the swh
package has memory errors in 3 plugins.

Damon





More information about the Linux-audio-dev mailing list