Hi everyone !
I have been developing a plug-in, lately, for sonic-visualiser (SV). I tested it with SV, under Ubuntu 10.04, using a command line like the following:
VAMP_PATH=. sonic-visualiser
When I try to load a file with the option in the menu (or equivalently with the button on the menubar), SV crashes with a "Segmentation fault" error message. I can however load a file by drag-n-dropping it over the window. I can then run my plug-in, which seems, on my few tests, to work without errors. When I try to open the plug-in dialog before the file is entirely loaded (I'm the impatient type of person), it again crashes with a segfault.
The weird thing is that, since it crashes even before I tell him to load the plug-in (and even when the plug-in is nowhere for SV to be found), I tried to launch it the "normal" way, from the ubuntu menu. It then seems to work OK.
If I run it from the terminal, though, I get the same behaviour. Here is the output I get:
$ sonic-visualiser
Registering interactive file finder
Loading qt_en_US... Failed
Failed to load Qt translation for locale
Loading sonic-visualiser_en_US... Done
OSCQueue::OSCQueue: Base OSC URL is osc.udp://...
View::View(0x9167a10)
WARNING: MainWindow::setupRecentTransformsMenu: Unknown transform "vamp:f0salience:f0salience:f0salience" in recent transforms list
WARNING: MainWindow::setupRecentTransformsMenu: Unknown transform "vamp:f0salience:f0salience:output" in recent transforms list
WARNING: MainWindow::setupRecentTransformsMenu: Unknown transform "vamp:vampy:vampy-zc2:vampy-counts" in recent transforms list
WARNING: MainWindow::setupRecentTransformsMenu: Unknown transform "vamp:vampy:vampy-zc2:vampy-crossings" in recent transforms list
WARNING: MainWindow::setupRecentTransformsMenu: Unknown transform "vamp:mvamp:marsyas_bextract_zero_crossings:zero_crossing_counts" in recent transforms list
WARNING: MainWindow::setupRecentTransformsMenu: Unknown transform "vamp:qm-vamp-plugins:qm-dwt:wcoeff" in recent transforms list
WARNING: MainWindow::setupRecentTransformsMenu: Unknown transform "vamp:qm-vamp-plugins:qm-constantq:constantq" in recent transforms list
WARNING: MainWindow::setupRecentTransformsMenu: Unknown transform "vamp:qm-vamp-plugins:qm-segmenter:segmentation" in recent transforms list
WARNING: MainWindow::setupRecentTransformsMenu: Unknown transform "vamp:vampy:vampy-sf3:vampy-sd" in recent transforms list
WARNING: MainWindow::setupRecentTransformsMenu: Unknown transform "vamp:vampy:vampy-sf3:vampy-sc" in recent transforms list
WARNING: MainWindow::setupRecentTransformsMenu: Unknown transform "vamp:vampy:vampy-mfcc:warped-fft" in recent transforms list
View::View(0x92ef150)
NOTE: Document::setModel: Layer 0x92f3408 ("Ruler") is already set to model 0 ("(null)")
NOTE: Document::setModel: Layer 0x9307c70 ("Waveform") is already set to model 0 ("(null)")
PluginRDFIndexer::indexConfiguredURLs
PluginRDFIndexer::indexConfiguredURLs: index url is http://www.vamp-plugins.org/rdf/plugins/index.txt
CachedFile::CachedFile: origin is "http://www.vamp-plugins.org/rdf/plugins/index.txt"
CachedFile::check: Valid last retrieval at Tue Nov 30 09:12:35 2010
PluginRDFIndexer::indexConfiguredURLs: url is http://www.vamp-plugins.org/rdf/plugins/vamp-example-plugins
CachedFile::CachedFile: origin is "http://www.vamp-plugins.org/rdf/plugins/vamp-example-plugins"
CachedFile::check: Valid last retrieval at Tue Nov 30 09:12:35 2010
PluginRDFIndexer::indexConfiguredURLs: url is http://www.vamp-plugins.org/rdf/plugins/ofa-vamp-plugin
CachedFile::CachedFile: origin is "http://www.vamp-plugins.org/rdf/plugins/ofa-vamp-plugin"
CachedFile::check: Valid last retrieval at Tue Nov 30 09:12:36 2010
PluginRDFIndexer::indexConfiguredURLs: url is http://www.vamp-plugins.org/rdf/plugins/vamp-libxtract
CachedFile::CachedFile: origin is "http://www.vamp-plugins.org/rdf/plugins/vamp-libxtract"
CachedFile::check: Valid last retrieval at Tue Nov 30 09:12:37 2010
PluginRDFIndexer::indexConfiguredURLs: url is http://www.vamp-plugins.org/rdf/plugins/qm-vamp-plugins
CachedFile::CachedFile: origin is "http://www.vamp-plugins.org/rdf/plugins/qm-vamp-plugins"
CachedFile::check: Valid last retrieval at Tue Nov 30 09:12:37 2010
PluginRDFIndexer::indexConfiguredURLs: url is http://www.vamp-plugins.org/rdf/plugins/mazurka-plugins
CachedFile::CachedFile: origin is "http://www.vamp-plugins.org/rdf/plugins/mazurka-plugins"
CachedFile::check: Valid last retrieval at Tue Nov 30 09:12:38 2010
PluginRDFIndexer::indexConfiguredURLs: url is http://www.vamp-plugins.org/rdf/plugins/vamp-aubio
CachedFile::CachedFile: origin is "http://www.vamp-plugins.org/rdf/plugins/vamp-aubio"
CachedFile::check: Valid last retrieval at Tue Nov 30 09:12:39 2010
PluginRDFIndexer::indexConfiguredURLs: url is http://www.vamp-plugins.org/rdf/plugins/match-vamp-plugin
CachedFile::CachedFile: origin is "http://www.vamp-plugins.org/rdf/plugins/match-vamp-plugin"
CachedFile::check: Valid last retrieval at Tue Nov 30 09:12:39 2010
PluginRDFIndexer::indexConfiguredURLs: url is http://www.vamp-plugins.org/rdf/plugins/vamp-onsetsds
CachedFile::CachedFile: origin is "http://www.vamp-plugins.org/rdf/plugins/vamp-onsetsds"
CachedFile::check: Valid last retrieval at Tue Nov 30 09:12:39 2010
PluginRDFIndexer::indexConfiguredURLs: url is http://www.vamp-plugins.org/rdf/plugins/mvamp
CachedFile::CachedFile: origin is "http://www.vamp-plugins.org/rdf/plugins/mvamp"
CachedFile::check: Valid last retrieval at Tue Nov 30 09:12:40 2010
PluginRDFIndexer::indexConfiguredURLs: url is http://www.vamp-plugins.org/rdf/plugins/nnls-chroma
CachedFile::CachedFile: origin is "http://www.vamp-plugins.org/rdf/plugins/nnls-chroma"
CachedFile::check: Valid last retrieval at Tue Nov 30 09:12:40 2010
Finished setting up OSC interface
Comparing current version "1.7.2" with latest version "1.7.1"
Segmentation fault
The last line only appears when I try to open the "open file" dialog. On this log, the plug-ins were not found, because I removed them from the ~/vamp folder (I guess).
Well, I m not sure what exactly goes wrong there... Could the plug-ins I used (especially the one I develop) have "broken" my current installation of SV? Or is this something related to a build problem within SV?
Best regards,
Jean-Louis
added 1/12/2010: I ran the plugin-tester with the following command line:
$ VAMP_PATH=. ~/PATH/TO/vamp-plugin-tester -a
and obtained:
... <a lot of debugging "printf" stuff > ...
vamp-plugin-tester: All tests succeeded for this plugin
vamp-plugin-tester: All tests succeeded
Segmentation fault
What should I think of that?...