Hello,
I’m interested in this topic because I plan to develop some LV2 instruments using the Faust DSP language. I understand that only Ardour3 will support LV2. In beta 5, I seem to be able to record audio, record MIDI notes, and to run AU audio plugins.
However, when I try to add the LV2 example synthesizer to a track from the tracks and busses window, I get “[ERROR]: LV2: Failed to instantiate plugin http://lv2plug.in/plugins/eg-synth” I have tried using a few different kinds of tracks with this.
(Note: The Faust instruments I compiled are showing up in this menu successfully.)
Alternatively, if when creating a track I choose Instrument: Example Sampler (I’m not sure why example synthesizer isn’t there, but all of the Faust instruments are also showing up in the menu), then Ardour crashes, and I am pasting in the crash log below.
Finally, I just want to note that LV2 and lilv (do I need that?) seem to install just fine in OS X. All the dependencies are satisfied when it compiles, and for example LV2 installs into /usr/lib/lv2 and /usr/include/lv2 (and a few other places e.g. /usr/lib/pkgconfig/). I believe that lilv probably winds up in the same place (as long as I use --prefix=/usr when configuring both of these packages …)
Cheers,
John
Process: Ardour3.bin [15129]
Path: /Applications/Ardour3beta5.app/Contents/MacOS/Ardour3.bin
Identifier: org.ardour.Ardour3
Version: 3.0/13072 (3.0/13072)
Code Type: X86 (Native)
Parent Process: launchd [133]
User ID: 501
Date/Time: 2012-11-25 10:50:45.755 -0800
OS Version: Mac OS X 10.8.2 (12C60)
Report Version: 10
Interval Since Last Report: 895603 sec
Crashes Since Last Report: 20
Per-App Interval Since Last Report: 11081 sec
Per-App Crashes Since Last Report: 8
Anonymous UUID: C53CDC10-66AE-7C4E-2E8E-CE4AFED25FC4
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000000
VM Regions Near 0:
–> __PAGEZERO 0000000000000000-0000000000001000 [ 4K] —/--- SM=NUL /Applications/Ardour3beta5.app/Contents/MacOS/Ardour3.bin
__TEXT 0000000000001000-0000000000b66000 [ 11.4M] r-x/rwx SM=COW /Applications/Ardour3beta5.app/Contents/MacOS/Ardour3.bin
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 Ardour3.bin 0x00713819 boost::shared_ptrARDOUR::Plugin::operator->() const + 15
1 libardour.dylib 0x0d807160 ARDOUR::PluginInsert::private_can_support_io_configuration(ARDOUR::ChanCount const&, ARDOUR::ChanCount&) const + 34
2 libardour.dylib 0x0d807abe ARDOUR::PluginInsert::can_support_io_configuration(ARDOUR::ChanCount const&, ARDOUR::ChanCount&) const + 38
3 libardour.dylib 0x0d85d183 ARDOUR::Route::try_configure_processors_unlocked(ARDOUR::ChanCount, ARDOUR::Route::ProcessorStreams*) + 1123
4 libardour.dylib 0x0d85d8f3 ARDOUR::Route::configure_processors_unlocked(ARDOUR::Route::ProcessorStreams*) + 197
5 libardour.dylib 0x0d86a9d4 ARDOUR::Route::add_processor(boost::shared_ptrARDOUR::Processor, boost::shared_ptrARDOUR::Processor, ARDOUR::Route::ProcessorStreams*, bool) + 1450
6 libardour.dylib 0x0d86b535 ARDOUR::Route::add_processor(boost::shared_ptrARDOUR::Processor, ARDOUR::Placement, ARDOUR::Route::ProcessorStreams*, bool) + 99
7 libardour.dylib 0x0d89bd3f ARDOUR::Session::new_midi_track(ARDOUR::ChanCount const&, ARDOUR::ChanCount const&, boost::shared_ptrARDOUR::PluginInfo, ARDOUR::TrackMode, ARDOUR::RouteGroup*, unsigned int, std::string) + 3525
8 Ardour3.bin 0x0002d296 ARDOUR_UI::session_add_mixed_track(ARDOUR::ChanCount const&, ARDOUR::ChanCount const&, ARDOUR::RouteGroup*, unsigned int, std::string const&, boost::shared_ptrARDOUR::PluginInfo) + 244
9 Ardour3.bin 0x0002e3ff ARDOUR_UI::add_route(Gtk::Window*) + 1363
10 Ardour3.bin 0x005f4e02 sigc::bound_mem_functor1<void, ARDOUR_UI, Gtk::Window*>::operator()(Gtk::Window* const&) const + 96
11 Ardour3.bin 0x005f4e1f sigc::adaptor_functor<sigc::bound_mem_functor1<void, ARDOUR_UI, Gtk::Window*> >::deduce_result_type<Gtk::Window*&, void, void, void, void, void, void>::type sigc::adaptor_functor<sigc::bound_mem_functor1<void, ARDOUR_UI, Gtk::Window*> >::operator()Gtk::Window*&(Gtk::Window*&) const + 27
12 Ardour3.bin 0x005f4e48 sigc::bind_functor<-1, sigc::bound_mem_functor1<void, ARDOUR_UI, Gtk::Window*>, Gtk::Window*, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil>::operator()() + 38
13 Ardour3.bin 0x005f4e64 sigc::internal::slot_call0<sigc::bind_functor<-1, sigc::bound_mem_functor1<void, ARDOUR_UI, Gtk::Window*>, Gtk::Window*, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil>, void>::call_it(sigc::internal::slot_rep*) + 26
14 libglibmm-2.4.1.dylib 0x14fb6a32 Glib::SignalProxyNormal::slot0_void_callback(_GObject*, void*) + 58
15 libgobject-2.0.0.dylib 0x1500333a g_closure_invoke + 216
16 libgobject-2.0.0.dylib 0x15012a6a signal_emit_unlocked_R + 1832
17 libgobject-2.0.0.dylib 0x15013f3d g_signal_emit_valist + 2779
18 libgobject-2.0.0.dylib 0x15014309 g_signal_emit + 41
19 libgtk-quartz-2.0.0.dylib 0x15188dd3 gtk_action_activate + 259
20 libgobject-2.0.0.dylib 0x15003556 _g_closure_invoke_va + 231
21 libgobject-2.0.0.dylib 0x15013730 g_signal_emit_valist + 718
22 libgobject-2.0.0.dylib 0x15014309 g_signal_emit + 41
23 libgtk-quartz-2.0.0.dylib 0x152752ae gtk_menu_item_activate + 118
24 libgtkmm2ext.dylib 0x133c8df7 idle_call_activate(void*) + 17
25 libglib-2.0.0.dylib 0x15085a15 g_main_dispatch + 290
26 libglib-2.0.0.dylib 0x15087bbb g_main_context_iterate + 552
27 libglib-2.0.0.dylib 0x15087cfe g_main_loop_run + 251
28 libgtk-quartz-2.0.0.dylib 0x1526263e gtk_main + 174
29 libgtkmm-2.4.1.dylib 0x1598edc4 Gtk::Main::run() + 26
30 libgtkmm2ext.dylib 0x1339ff0d Gtkmm2ext::UI::run(Receiver&) + 449
31 Ardour3.bin 0x00298c1e main + 1366
32 Ardour3.bin 0x0000303e _start + 216
33 Ardour3.bin 0x00002f65 start + 41
Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x974aa9ae kevent + 10
1 libdispatch.dylib 0x97c8ac71 _dispatch_mgr_invoke + 993
2 libdispatch.dylib 0x97c8a7a9 _dispatch_mgr_thread + 53
Thread 2:
0 libsystem_kernel.dylib 0x974a98e2 __psynch_cvwait + 10
1 libsystem_c.dylib 0x948d8289 _pthread_cond_wait + 938
2 libsystem_c.dylib 0x94965afc pthread_cond_wait + 48
3 libglib-2.0.0.dylib 0x150d33b2 g_cond_wait + 48
4 libardour.dylib 0x0d8f68b8 peak_thread_work() + 218
5 Ardour3.bin 0x007e57af sigc::pointer_functor0::operator()() const + 13
6 Ardour3.bin 0x007e57c6 sigc::adaptor_functor<sigc::pointer_functor0 >::operator()() const + 20
7 Ardour3.bin 0x007e57e2 sigc::internal::slot_call0<sigc::pointer_functor0, void>::call_it(sigc::internal::slot_rep*) + 26
8 libglibmm-2.4.1.dylib 0x14faa145 call_thread_entry_slot + 63
9 libglib-2.0.0.dylib 0x150b074d g_thread_proxy + 102
10 libsystem_c.dylib 0x948d3557 _pthread_start + 344
11 libsystem_c.dylib 0x948bdcee thread_start + 34
Thread 3:
0 libsystem_kernel.dylib 0x974a98e2 __psynch_cvwait + 10
1 libsystem_c.dylib 0x948d8289 _pthread_cond_wait + 938
2 libsystem_c.dylib 0x94965afc pthread_cond_wait + 48
3 libglib-2.0.0.dylib 0x150d33b2 g_cond_wait + 48
4 libardour.dylib 0x0d8f68b8 peak_thread_work() + 218
5 Ardour3.bin 0x007e57af sigc::pointer_functor0::operator()() const + 13
6 Ardour3.bin 0x007e57c6 sigc::adaptor_functor<sigc::pointer_functor0 >::operator()() const + 20
7 Ardour3.bin 0x007e57e2 sigc::internal::slot_call0<sigc::pointer_functor0, void>::call_it(sigc::internal::slot_rep*) + 26
8 libglibmm-2.4.1.dylib 0x14faa145 call_thread_entry_slot + 63
9 libglib-2.0.0.dylib 0x150b074d g_thread_proxy + 102
10 libsystem_c.dylib 0x948d3557 _pthread_start + 344
11 libsystem_c.dylib 0x948bdcee thread_start + 34
Thread 4:
0 libsystem_kernel.dylib 0x974a98e2 __psynch_cvwait + 10
1 libsystem_c.dylib 0x948d8289 _pthread_cond_wait + 938
2 libsystem_c.dylib 0x94965afc pthread_cond_wait + 48
3 libglib-2.0.0.dylib 0x150d33b2 g_cond_wait + 48
4 libardour.dylib 0x0d6c3d16 ARDOUR::Analyser::work() + 218
5 libardour.dylib 0x0d6c3e8b analyser_work() + 11
6 Ardour3.bin 0x007e57af sigc::pointer_functor0::operator()() const + 13
7 Ardour3.bin 0x007e57c6 sigc::adaptor_functor<sigc::pointer_functor0 >::operator()() const + 20
8 Ardour3.bin 0x007e57e2 sigc::internal::slot_call0<sigc::pointer_functor0, void>::call_it(sigc::internal::slot_rep*) + 26
9 libglibmm-2.4.1.dylib 0x14faa145 call_thread_entry_slot + 63
10 libglib-2.0.0.dylib 0x150b074d g_thread_proxy + 102
11 libsystem_c.dylib 0x948d3557 _pthread_start + 344
12 libsystem_c.dylib 0x948bdcee thread_start + 34
Thread 5:
0 libsystem_kernel.dylib 0x974a98e2 __psynch_cvwait + 10
1 libsystem_c.dylib 0x948d8289 _pthread_cond_wait + 938
2 libsystem_c.dylib 0x94965afc pthread_cond_wait + 48
3 libgdk-quartz-2.0.0.dylib 0x155f5af4 select_thread_func + 144
4 libsystem_c.dylib 0x948d3557 _pthread_start + 344
5 libsystem_c.dylib 0x948bdcee thread_start + 34
Thread 6:
0 libsystem_kernel.dylib 0x974a98e2 __psynch_cvwait + 10
1 libsystem_c.dylib 0x948d8289 _pthread_cond_wait + 938
2 libsystem_c.dylib 0x94965afc pthread_cond_wait + 48
3 libjack.0.dylib 0x1621afa9 Jack::JackProcessSync::Wait() + 185
4 libjack.0.dylib 0x16219807 Jack::JackMessageBuffer::Execute() + 151
5 libjack.0.dylib 0x1621a94c Jack::JackPosixThread::ThreadHandler(void*) + 172
6 libsystem_c.dylib 0x948d3557 _pthread_start + 344
7 libsystem_c.dylib 0x948bdcee thread_start + 34
Thread 7:
0 libsystem_kernel.dylib 0x974a9b06 __read_nocancel + 10
1 libjack.0.dylib 0x16220b80 Jack::JackClientSocket::Read(void*, int) + 48
2 libjack.0.dylib 0x1621ba2c Jack::JackSocketClientChannel::Execute() + 108
3 libjack.0.dylib 0x1621a94c Jack::JackPosixThread::ThreadHandler(void*) + 172
4 libsystem_c.dylib 0x948d3557 _pthread_start + 344
5 libsystem_c.dylib 0x948bdcee thread_start + 34
Thread 8:
0 libsystem_kernel.dylib 0x974a7826 semaphore_timedwait_trap + 10
1 libjack.0.dylib 0x16213338 Jack::JackMachSemaphore::TimedWait(long) + 136
2 libjack.0.dylib 0x16212943 Jack::JackConnectionManager::SuspendRefNum(Jack::JackClientControl*, Jack::JackMachSemaphore*, Jack::JackClientTiming*, long) + 35
3 libjack.0.dylib 0x16208747 Jack::JackGraphManager::SuspendRefNum(Jack::JackClientControl*, Jack::JackMachSemaphore*, long) + 71
4 libjack.0.dylib 0x1620b6d7 Jack::JackClient::CycleWait() + 71
5 libardour.dylib 0x0d6ef512 ARDOUR::AudioEngine::process_thread() + 128
6 libardour.dylib 0x0d6ef56b ARDOUR::AudioEngine::_process_thread(void*) + 17
7 libjack.0.dylib 0x1620bdf8 Jack::JackClient::Execute() + 168
8 libjack.0.dylib 0x1621a94c Jack::JackPosixThread::ThreadHandler(void*) + 172
9 libsystem_c.dylib 0x948d3557 _pthread_start + 344
10 libsystem_c.dylib 0x948bdcee thread_start + 34
Thread 9:
0 libsystem_kernel.dylib 0x974a9802 __poll_nocancel + 10
1 libardour.dylib 0x0d7205dd ARDOUR::Butler::thread_work() + 121
2 libardour.dylib 0x0d721447 ARDOUR::Butler::_thread_work(void*) + 175
3 libpbd.dylib 0x141f2530 fake_thread_start(void*) + 96
4 libsystem_c.dylib 0x948d3557 _pthread_start + 344
5 libsystem_c.dylib 0x948bdcee thread_start + 34
Thread 10:
0 libsystem_kernel.dylib 0x974a9c02 __select_nocancel + 10
1 libsystem_kernel.dylib 0x974a867f select + 92
2 libglib-2.0.0.dylib 0x15096f2e g_poll + 258
3 libglib-2.0.0.dylib 0x15087b13 g_main_context_iterate + 384
4 libglib-2.0.0.dylib 0x15087cfe g_main_loop_run + 251
5 libpbd.dylib 0x141e56ee BaseUI::main_thread() + 662
6 libpbd.dylib 0x141febbf sigc::bound_mem_functor0<void, BaseUI>::operator()() const + 87
7 libpbd.dylib 0x141febd6 sigc::adaptor_functor<sigc::bound_mem_functor0<void, BaseUI> >::operator()() const + 20
8 libpbd.dylib 0x141febf2 sigc::internal::slot_call0<sigc::bound_mem_functor0<void, BaseUI>, void>::call_it(sigc::internal::slot_rep*) + 26
9 libglibmm-2.4.1.dylib 0x14faa145 call_thread_entry_slot + 63
10 libglib-2.0.0.dylib 0x150b074d g_thread_proxy + 102
11 libsystem_c.dylib 0x948d3557 _pthread_start + 344
12 libsystem_c.dylib 0x948bdcee thread_start + 34
Thread 11:
0 libsystem_kernel.dylib 0x974a78e6 mach_wait_until + 10
1 libsystem_c.dylib 0x94964c1c nanosleep + 375
2 libglib-2.0.0.dylib 0x150b1bbc g_usleep + 105
3 libardour.dylib 0x0d6ed5cc ARDOUR::AudioEngine::meter_thread() + 56
4 libardour.dylib 0x0d960c64 boost::_mfi::mf0<void, ARDOUR::AudioEngine>::operator()(ARDOUR::AudioEngine*) const + 70
5 libardour.dylib 0x0d960f8a void boost::_bi::list1<boost::_bi::valueARDOUR::AudioEngine* >::operator()<boost::_mfi::mf0<void, ARDOUR::AudioEngine>, boost::_bi::list0>(boost::_bi::type, boost::_mfi::mf0<void, ARDOUR::AudioEngine>&, boost::_bi::list0&, int) + 58
6 libardour.dylib 0x0d960fcd boost::_bi::bind_t<void, boost::_mfi::mf0<void, ARDOUR::AudioEngine>, boost::_bi::list1<boost::_bi::valueARDOUR::AudioEngine* > >::operator()() + 61
7 libardour.dylib 0x0d960fe1 sigc::adaptor_functor<boost::_bi::bind_t<void, boost::_mfi::mf0<void, ARDOUR::AudioEngine>, boost::_bi::list1<boost::_bi::valueARDOUR::AudioEngine* > > >::operator()() const + 17
8 libardour.dylib 0x0d960ffe sigc::internal::slot_call0<boost::_bi::bind_t<void, boost::_mfi::mf0<void, ARDOUR::AudioEngine>, boost::_bi::list1<boost::_bi::valueARDOUR::AudioEngine* > >, void>::call_it(sigc::internal::slot_rep*) + 26
9 libglibmm-2.4.1.dylib 0x14faa145 call_thread_entry_slot + 63
10 libglib-2.0.0.dylib 0x150b074d g_thread_proxy + 102
11 libsystem_c.dylib 0x948d3557 _pthread_start + 344
12 libsystem_c.dylib 0x948bdcee thread_start + 34
Thread 12:
0 libsystem_kernel.dylib 0x974a78e6 mach_wait_until + 10
1 libsystem_c.dylib 0x94964c1c nanosleep + 375
2 libsystem_c.dylib 0x94964a46 usleep + 60
3 libardour.dylib 0x0d718344 ARDOUR::AutomationWatch::thread() + 20
4 libardour.dylib 0x0d97c86c boost::_mfi::mf0<void, ARDOUR::AutomationWatch>::operator()(ARDOUR::AutomationWatch*) const + 70
5 libardour.dylib 0x0d97cb84 void boost::_bi::list1<boost::_bi::valueARDOUR::AutomationWatch* >::operator()<boost::_mfi::mf0<void, ARDOUR::AutomationWatch>, boost::_bi::list0>(boost::_bi::type, boost::_mfi::mf0<void, ARDOUR::AutomationWatch>&, boost::_bi::list0&, int) + 58
6 libardour.dylib 0x0d97cbc7 boost::_bi::bind_t<void, boost::_mfi::mf0<void, ARDOUR::AutomationWatch>, boost::_bi::list1<boost::_bi::valueARDOUR::AutomationWatch* > >::operator()() + 61
7 libardour.dylib 0x0d97cbdb sigc::adaptor_functor<boost::_bi::bind_t<void, boost::_mfi::mf0<void, ARDOUR::AutomationWatch>, boost::_bi::list1<boost::_bi::valueARDOUR::AutomationWatch* > > >::operator()() const + 17
8 libardour.dylib 0x0d97cbf8 sigc::internal::slot_call0<boost::_bi::bind_t<void, boost::_mfi::mf0<void, ARDOUR::AutomationWatch>, boost::_bi::list1<boost::_bi::valueARDOUR::AutomationWatch* > >, void>::call_it(sigc::internal::slot_rep*) + 26
9 libglibmm-2.4.1.dylib 0x14faa145 call_thread_entry_slot + 63
10 libglib-2.0.0.dylib 0x150b074d g_thread_proxy + 102
11 libsystem_c.dylib 0x948d3557 _pthread_start + 344
12 libsystem_c.dylib 0x948bdcee thread_start + 34
Thread 13:
0 libsystem_kernel.dylib 0x974a780e semaphore_wait_trap + 10
1 libardour.dylib 0x0db1338b PBD::Semaphore::wait() + 19
2 libardour.dylib 0x0d918993 ARDOUR::Worker::run() + 43
3 libardour.dylib 0x0db134f1 sigc::bound_mem_functor0<void, ARDOUR::Worker>::operator()() const + 87
4 libardour.dylib 0x0db13508 sigc::adaptor_functor<sigc::bound_mem_functor0<void, ARDOUR::Worker> >::operator()() const + 20
5 libardour.dylib 0x0db13524 sigc::internal::slot_call0<sigc::bound_mem_functor0<void, ARDOUR::Worker>, void>::call_it(sigc::internal::slot_rep*) + 26
6 libglibmm-2.4.1.dylib 0x14faa145 call_thread_entry_slot + 63
7 libglib-2.0.0.dylib 0x150b074d g_thread_proxy + 102
8 libsystem_c.dylib 0x948d3557 _pthread_start + 344
9 libsystem_c.dylib 0x948bdcee thread_start + 34
Thread 0 crashed with X86 Thread State (32-bit):
eax: 0x00000000 ebx: 0x00713816 ecx: 0x0d807a98 edx: 0x00000000
edi: 0x00000000 esi: 0x00000000 ebp: 0xbfffe7c8 esp: 0xbfffe7b0
ss: 0x00000023 efl: 0x00210282 eip: 0x00713819 cs: 0x0000001b
ds: 0x00000023 es: 0x00000023 fs: 0x00000000 gs: 0x0000000f
cr2: 0x00000000
Logical CPU: 0
EDIT: Edited out the binary image info from the crashlog so it would actually show up hopefully…