Bug#560052: ardour-i686: Ardour with debian-patches crashes while performing audio-analysis

Adrian Knoth adi at drcomp.erfurt.thur.de
Wed Dec 9 20:53:26 UTC 2009


On Tue, Dec 08, 2009 at 04:59:40PM +0100, Klaumi Klingsporn wrote:

Hi!

> "Vamp::HostExt::PluginLoader: Unable to load library
> "/usr/lib/ardour2/vamp/libardourvampplugins.so":
> /usr/lib/ardour2/vamp/libardourvampplugins.so: undefined symbol:
> _ZTIN11_VampPlugin4Vamp17PluginAdapterBaseE


I can reproduce the bug, and it looks like others are facing the same
problem:

   http://www.mail-archive.com/64studio-devel@lists.64studio.com/msg00400.html


To me, it looks like this:

adi at hex:~$ objdump -T /usr/lib/ardour2/vamp/libardourvampplugins.so | \
   grep PluginAdapterBaseE
00000000      D  *UND*  00000000 _ZTIN11_VampPlugin4Vamp17PluginAdapterBaseE


So this symbol really is undefined. The lib is linked "correctly":

adi at hex:~$ ldd /usr/lib/ardour2/vamp/libardourvampplugins.so | grep vamp
        libvamp-sdk.so.1 => /usr/lib/libvamp-sdk.so.1 (0xb7eea000)
        libvamp-hostsdk.so.2 => /usr/lib/libvamp-hostsdk.so.2 (0xb7ec3000)


I see a similar symbol in libvamp-sdk:

adi at hex:~$ objdump -T /usr/lib/libvamp-sdk.so.1 | grep AdapterBaseE
000147e4  w   DO .data.rel.ro   00000008  Base _ZTIN4Vamp17PluginAdapterBaseE


I've now managed to build a non-crashing version. Can you try the
attached patch? It basically boils down to removing a single line in
libs/vamp-plugins/SConscript, so you could also "patch" this manually.

With this patch, I'm also getting beautiful FFT graphs. ;)


If this patch does the trick, I'll upload a fixed package.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: vamp-crash.patch
Type: text/x-diff
Size: 882 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20091209/e41cd76e/attachment.patch>


More information about the pkg-multimedia-maintainers mailing list