View Issue Details

IDProjectCategoryView StatusLast Update
0001717ardourbugspublic2007-09-25 18:34
Reporterrotoquezada Assigned Tov2  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionfixed 
Product Version2.0 
Summary0001717: Ardour 2.02 crashes when inserting a plugin with two inputs on a mono track
Descriptiontried to insert TAP Stereo Echo into a mono track pre-fader, Ardour segmentation faults inmediatly. If I try the same using a vst enabled ardour, it doesn't even quit itself but freezes!
Additional InformationGentoo, 2.6.21-rt9 kernel, Ardour 2.02 release.
TagsNo tags attached.

Relationships

has duplicate 0001734 closedv2 Crash on clicking OK for "You dont have 2 channels for this effect to work" while playing 

Activities

nowhiskey

2007-06-03 22:11

reporter   ~0004058

the same here, first the message appears about 'trying to insert a plugin with 2 inputs at a point where only one input is availibel...' and when i ckick at 'ok' ardour is crashing creating a coredump.
here is the backtrace:

Thread 5 (process 4174):
#0 0xb6b1041c in __nanosleep_nocancel () from /lib/libpthread.so.0
0000001 0xb7669292 in g_usleep () from /usr/share/qt4/lib/libglib-2.0.so.0
#2 0xb6de8a25 in Glib::usleep (microseconds=10000) at
#libs/glibmm2/glibmm/timer.cc:68
#3 0xb7d767dc in ARDOUR::AudioEngine::meter_thread (this=0x8ae5688) at
#libs/ardour/audioengine.cc:412
0000004 0xb7d794de in sigc::bound_mem_functor0<void,
#ARDOUR::AudioEngine>::operator() (this=0x8ae54d4) at
#libs/sigc++2/sigc++/functors/mem_fun.h:1781
0000005 0xb7d79500 in sigc::adaptor_functor<sigc::bound_mem_functor0<void,
#ARDOUR::AudioEngine> >::operator() (this=0x8ae54d0)
    at libs/sigc++2/sigc++/adaptors/adaptor_trait.h:251
#6 0xb7d7952c in sigc::internal::slot_call0<sigc::bound_mem_functor0<void,
ARDOUR::AudioEngine>, void>::call_it (rep=0x8ae54b8)
    at libs/sigc++2/sigc++/functors/slot.h:103
#7 0x08368602 in sigc::slot0<void>::operator() (this=0x8a6f768) at
libs/sigc++2/sigc++/functors/slot.h:440
0000008 0xb6e0624f in call_thread_entry_slot (data=0x8a6f768) at
libs/glibmm2/glibmm/thread.cc:43
0000009 0xb76672cf in g_thread_create_full () from
/usr/share/qt4/lib/libglib-2.0.so.0
0000010 0xb6b09183 in start_thread () from /lib/libpthread.so.0
0000011 0xb68b9a7e in clone () from /lib/libc.so.6

Thread 4 (process 4175):
#0 0xb68afe29 in poll () from /lib/libc.so.6
0000001 0xb6b214bb in jack_client_thread (arg=0x8aefc90) at client.c:1309
#2 0xb6b27a30 in jack_thread_proxy (varg=0x8d65c68) at thread.c:111
#3 0xb6b09183 in start_thread () from /lib/libpthread.so.0
0000004 0xb68b9a7e in clone () from /lib/libc.so.6

Thread 3 (process 4185):
#0 0xb68afe29 in poll () from /lib/libc.so.6
0000001 0xb7ea8197 in ARDOUR::Session::butler_thread_work (this=0x8da7c00) at
#libs/ardour/session_butler.cc:176
#2 0xb7ea8f7b in ARDOUR::Session::_butler_thread_work (arg=0x8da7c00) at
#libs/ardour/session_butler.cc:157
#3 0xb6b09183 in start_thread () from /lib/libpthread.so.0
0000004 0xb68b9a7e in clone () from /lib/libc.so.6

Thread 2 (process 4186):
#0 0xb68afe29 in poll () from /lib/libc.so.6
0000001 0xb7ec763b in ARDOUR::Session::midi_thread_work (this=0x8da7c00) at
#libs/ardour/session_midi.cc:1207
#2 0xb7ec7ba5 in ARDOUR::Session::_midi_thread_work (arg=0x8da7c00) at
#libs/ardour/session_midi.cc:1128
#3 0xb6b09183 in start_thread () from /lib/libpthread.so.0
0000004 0xb68b9a7e in clone () from /lib/libc.so.6

Thread 1 (process 4170):
#0 0xb685476c in free () from /lib/libc.so.6
0000001 0xb5dcf72b in deactivate_Echo () from /usr/local/lib/ladspa//tap_echo.so
#2 0x00000019 in ?? ()
#3 0xb7e0fabc in ~LadspaPlugin (this=0x8f6dd08) at
#libs/ardour/ladspa_plugin.cc:142
0000004 0xb7df46ca in boost::checked_delete<ARDOUR::LadspaPlugin> (x=0x8f6dd08)
#at /usr/include/boost/checked_delete.hpp:34
0000005 0xb7df51dc in
#boost::detail::sp_counted_impl_p<ARDOUR::LadspaPlugin>::dispose
#(this=0x8f6bc70) at /usr/include/boost/detail/sp_counted_impl.hpp:76
#6 0x08387d38 in boost::detail::sp_counted_base::release (this=0x8f6bc70)
#at /usr/include/boost/detail/sp_counted_base_gcc_x86.hpp:145
#7 0x08387d70 in ~shared_count (this=0xbfd79a70) at
#/usr/include/boost/detail/shared_count.hpp:159
0000008 0x085a9b84 in ~shared_ptr (this=0xbfd79a6c) at
#/usr/include/boost/shared_ptr.hpp:106
0000009 0x0863ad03 in PluginSelector::use_plugin (this=0x8c87070,
#pi=@0xbfd79b24) at gtk2_ardour/plugin_selector.cc:390
0000010 0x0863ae22 in PluginSelector::run (this=0x8c87070) at
#gtk2_ardour/plugin_selector.cc:492
0000011 0x0864fe76 in RedirectBox::choose_plugin (this=0x8e03c9c) at
#gtk2_ardour/redirect_box.cc:387
0000012 0x0864fece in RedirectBox::rb_choose_plugin () at
#gtk2_ardour/redirect_box.cc:1239
0000013 0x08656625 in sigc::pointer_functor0<void>::operator() (this=0x8cc11ec)
#at libs/sigc++2/sigc++/functors/ptr_fun.h:77
0000014 0x0865663c in sigc::adaptor_functor<sigc::pointer_functor0<void>
#>::operator() (this=0x8cc11e8) at
#>libs/sigc++2/sigc++/adaptors/adaptor_trait.h:251
#15 0x08656658 in sigc::internal::slot_call0<sigc::pointer_functor0<void>,
#void>::call_it (rep=0x8cc11d0) at libs/sigc++2/sigc++/functors/slot.h:103
0000016 0x08368602 in sigc::slot0<void>::operator() (this=0x8b0205c) at
#libs/sigc++2/sigc++/functors/slot.h:440
#17 0xb6e076d5 in Glib::SignalProxyNormal::slot0_void_callback
#(self=0x8cb3d00, data=0x8b02058) at libs/glibmm2/glibmm/signalproxy.cc:95
0000018 0xb76d2e1b in g_cclosure_marshal_VOID__VOID () from
#/usr/share/qt4/lib/libgobject-2.0.so.0
0000019 0xb76c598b in g_closure_invoke () from
#/usr/share/qt4/lib/libgobject-2.0.so.0
0000020 0xb76d6213 in g_signal_chain_from_overridden () from
#/usr/share/qt4/lib/libgobject-2.0.so.0
0000021 0xb76d7429 in g_signal_emit_valist () from
#/usr/share/qt4/lib/libgobject-2.0.so.0
0000022 0xb76d75d9 in g_signal_emit () from
#/usr/share/qt4/lib/libgobject-2.0.so.0
0000023 0xb7319ca3 in _gtk_action_emit_activate () from
#/usr/share/qt4/lib/libgtk-x11-2.0.so.0
#24 0xb731ab38 in gtk_action_activate () from
#/usr/share/qt4/lib/libgtk-x11-2.0.so.0
0000025 0xb76d2e1b in g_cclosure_marshal_VOID__VOID () from
#/usr/share/qt4/lib/libgobject-2.0.so.0
0000026 0xb76c598b in g_closure_invoke () from
#/usr/share/qt4/lib/libgobject-2.0.so.0
0000027 0xb76d5f2d in g_signal_chain_from_overridden () from
#/usr/share/qt4/lib/libgobject-2.0.so.0
0000028 0xb76d7429 in g_signal_emit_valist () from
#/usr/share/qt4/lib/libgobject-2.0.so.0
0000029 0xb76d75d9 in g_signal_emit () from
#/usr/share/qt4/lib/libgobject-2.0.so.0
0000030 0xb74e3042 in gtk_widget_activate () from
#/usr/share/qt4/lib/libgtk-x11-2.0.so.0
0000031 0xb7401262 in gtk_menu_shell_activate_item () from
#/usr/share/qt4/lib/libgtk-x11-2.0.so.0
0000032 0xb7402810 in gtk_menu_shell_append () from
#/usr/share/qt4/lib/libgtk-x11-2.0.so.0
0000033 0xb73f6d3f in gtk_menu_attach () from
#/usr/share/qt4/lib/libgtk-x11-2.0.so.0
0000034 0xb73f5250 in _gtk_marshal_BOOLEAN__BOXED () from
#/usr/share/qt4/lib/libgtk-x11-2.0.so.0
0000035 0xb76c3f49 in g_value_set_boxed () from
#/usr/share/qt4/lib/libgobject-2.0.so.0
0000036 0xb76c598b in g_closure_invoke () from
#/usr/share/qt4/lib/libgobject-2.0.so.0
0000037 0xb76d656f in g_signal_chain_from_overridden () from
#/usr/share/qt4/lib/libgobject-2.0.so.0
0000038 0xb76d7208 in g_signal_emit_valist () from
#/usr/share/qt4/lib/libgobject-2.0.so.0
0000039 0xb76d75d9 in g_signal_emit () from
#/usr/share/qt4/lib/libgobject-2.0.so.0
0000040 0xb74def64 in gtk_widget_get_default_style () from
#/usr/share/qt4/lib/libgtk-x11-2.0.so.0
0000041 0xb73eebd3 in gtk_propagate_event () from
#/usr/share/qt4/lib/libgtk-x11-2.0.so.0
0000042 0xb73efe07 in gtk_main_do_event () from
#/usr/share/qt4/lib/libgtk-x11-2.0.so.0
0000043 0xb7288eea in _gdk_events_init () from
#/usr/share/qt4/lib/libgdk-x11-2.0.so.0
0000044 0xb7649731 in g_main_context_dispatch () from
#/usr/share/qt4/lib/libglib-2.0.so.0
0000045 0xb764c7a6 in g_main_context_check () from
#/usr/share/qt4/lib/libglib-2.0.so.0
0000046 0xb764cb67 in g_main_loop_run () from
#/usr/share/qt4/lib/libglib-2.0.so.0
0000047 0xb73f0281 in gtk_main () from /usr/share/qt4/lib/libgtk-x11-2.0.so.0
0000048 0xb78cbe49 in Gtk::Main::run_impl (this=0x885f7a8) at
#libs/gtkmm2/gtk/gtkmm/main.cc:503
0000049 0xb78cbc56 in Gtk::Main::run () at libs/gtkmm2/gtk/gtkmm/main.cc:450
0000050 0xb7b4feb7 in Gtkmm2ext::UI::run (this=0x885c838,
#old_receiver=@0x883e388) at libs/gtkmm2ext/gtk_ui.cc:216
0000051 0x085c3de5 in main (argc=1, argv=0xbfd7ae04) at gtk2_ardour/main.cc:296

jdavisp3

2007-08-10 03:54

reporter   ~0004251

I can't reproduce this with ardour 2.0.5 or the trunk. Has this been fixed?

nowhiskey

2007-08-10 08:04

reporter   ~0004253

hi, i am still able to reproduce this issue. since the backtrace differ a little, i ll copy+paste it here again. this time jackd ist started non-rt, ardour-svn-ongoing-Revision 2285.
as i was able to find out untill now, it happens only with tap-stereo-echo and not with other stereo-fx's. no mater if i switch on any of denormal handling options.

backtrace:


Thread 5 (process 23780):
#0 0xb6a303ec in __nanosleep_nocancel () from /lib/libpthread.so.0
0000001 0xb75cf832 in g_usleep () from /usr/share/qt4/lib/libglib-2.0.so.0
#2 0xb6d1097d in Glib::usleep (microseconds=10000) at
#libs/glibmm2/glibmm/timer.cc:68
#3 0xb7d02528 in ARDOUR::AudioEngine::meter_thread (this=0x8b47668) at
#libs/ardour/audioengine.cc:412
0000004 0xb7d0513e in sigc::bound_mem_functor0<void,
#ARDOUR::AudioEngine>::operator() (this=0x8b4747c) at
#libs/sigc++2/sigc++/functors/mem_fun.h:1781
0000005 0xb7d05160 in sigc::adaptor_functor<sigc::bound_mem_functor0<void,
#ARDOUR::AudioEngine> >::operator() (this=0x8b47478)
    at libs/sigc++2/sigc++/adaptors/adaptor_trait.h:251
#6 0xb7d0518c in sigc::internal::slot_call0<sigc::bound_mem_functor0<void,
ARDOUR::AudioEngine>, void>::call_it (rep=0x8b47460)
    at libs/sigc++2/sigc++/functors/slot.h:103
#7 0x0839634e in sigc::slot0<void>::operator() (this=0x8ac3010) at
libs/sigc++2/sigc++/functors/slot.h:440
0000008 0xb6d2da63 in call_thread_entry_slot (data=0x8ac3010) at
libs/glibmm2/glibmm/thread.cc:43
0000009 0xb75cd64f in g_thread_create_full () from
/usr/share/qt4/lib/libglib-2.0.so.0
0000010 0xb6a29183 in start_thread () from /lib/libpthread.so.0
0000011 0xb68b8d2e in clone () from /lib/libc.so.6

Thread 4 (process 23781):
#0 0xb68aeeb9 in poll () from /lib/libc.so.6
0000001 0xb6a414bb in jack_client_thread (arg=0x8b51bb8) at client.c:1309
#2 0xb6a29183 in start_thread () from /lib/libpthread.so.0
#3 0xb68b8d2e in clone () from /lib/libc.so.6

Thread 3 (process 23798):
#0 0xb68aeeb9 in poll () from /lib/libc.so.6
0000001 0xb7e2b2df in ARDOUR::Session::butler_thread_work (this=0x8dd4c00) at
#libs/ardour/session_butler.cc:176
#2 0xb7e2c0dd in ARDOUR::Session::_butler_thread_work (arg=0x8dd4c00) at
#libs/ardour/session_butler.cc:157
#3 0xb6a29183 in start_thread () from /lib/libpthread.so.0
0000004 0xb68b8d2e in clone () from /lib/libc.so.6

Thread 2 (process 23799):
#0 0xb68aeeb9 in poll () from /lib/libc.so.6
0000001 0xb7e49276 in ARDOUR::Session::midi_thread_work (this=0x8dd4c00) at
#libs/ardour/session_midi.cc:1220
#2 0xb7e497e7 in ARDOUR::Session::_midi_thread_work (arg=0x8dd4c00) at
#libs/ardour/session_midi.cc:1141
#3 0xb6a29183 in start_thread () from /lib/libpthread.so.0
0000004 0xb68b8d2e in clone () from /lib/libc.so.6

Thread 1 (process 23773):
#0 0xb6810176 in raise () from /lib/libc.so.6
0000001 0xb6811a51 in abort () from /lib/libc.so.6
#2 0xb68476bb in __fsetlocking () from /lib/libc.so.6
#3 0xb684f824 in mallopt () from /lib/libc.so.6
0000004 0xb6852e90 in free () from /lib/libc.so.6
0000005 0xb5cd7715 in deactivate_Echo () from /usr/local/lib/ladspa//tap_echo.so
#6 0xb692a150 in __after_morecore_hook () from /lib/libc.so.6
#7 0xb7f01f84 in ?? () from /usr/local/lib/ardour2/libardour.so
0000008 0xb6d2eea0 in Glib::SignalProxyNormal::~SignalProxyNormal () at
#libs/glibmm2/glibmm/signalproxy.cc:50
0000009 0xb7d9914a in ~LadspaPlugin (this=0x8fb5ca8) at
#libs/ardour/ladspa_plugin.cc:142
0000010 0xb7d7eb3c in boost::checked_delete<ARDOUR::LadspaPlugin> (x=0x8fb5ca8)
#at /usr/include/boost/checked_delete.hpp:34
0000011 0xb7d7f5e4 in
#boost::detail::sp_counted_impl_p<ARDOUR::LadspaPlugin>::dispose
#(this=0x8fba8d0) at /usr/include/boost/detail/sp_counted_impl.hpp:76
0000012 0x083b5a26 in boost::detail::sp_counted_base::release (this=0x8fba8d0)
#at /usr/include/boost/detail/sp_counted_base_gcc_x86.hpp:145
0000013 0x083b5a5e in ~shared_count (this=0xbf82a500) at
#/usr/include/boost/detail/shared_count.hpp:159
0000014 0x085d74e2 in ~shared_ptr (this=0xbf82a4fc) at
#/usr/include/boost/shared_ptr.hpp:106
#15 0x0866a569 in PluginSelector::use_plugin (this=0x8cb0e48,
#pi=@0xbf82a5ac) at gtk2_ardour/plugin_selector.cc:462
0000016 0x0866a697 in PluginSelector::run (this=0x8cb0e48) at
#gtk2_ardour/plugin_selector.cc:570
#17 0x08680b80 in RedirectBox::choose_plugin (this=0x8e46134) at
#gtk2_ardour/redirect_box.cc:387
0000018 0x08680bd8 in RedirectBox::rb_choose_plugin () at
#gtk2_ardour/redirect_box.cc:1239
0000019 0x08687231 in sigc::pointer_functor0<void>::operator() (this=0x8cf1d6c)
#at libs/sigc++2/sigc++/functors/ptr_fun.h:77
0000020 0x08687248 in sigc::adaptor_functor<sigc::pointer_functor0<void>
#>::operator() (this=0x8cf1d68) at
#>libs/sigc++2/sigc++/adaptors/adaptor_trait.h:251
0000021 0x08687264 in sigc::internal::slot_call0<sigc::pointer_functor0<void>,
#void>::call_it (rep=0x8cf1d50) at libs/sigc++2/sigc++/functors/slot.h:103
0000022 0x0839634e in sigc::slot0<void>::operator() (this=0x8cf1dec) at
#libs/sigc++2/sigc++/functors/slot.h:440
0000023 0xb6d2eee5 in Glib::SignalProxyNormal::slot0_void_callback
#(self=0x8ce50e0, data=0x8cf1de8) at libs/glibmm2/glibmm/signalproxy.cc:95
#24 0xb76439d9 in g_cclosure_marshal_VOID__VOID () from
#/usr/share/qt4/lib/libgobject-2.0.so.0
0000025 0xb76365d2 in g_closure_invoke () from
#/usr/share/qt4/lib/libgobject-2.0.so.0
0000026 0xb76473f1 in g_signal_override_class_closure () from
#/usr/share/qt4/lib/libgobject-2.0.so.0
0000027 0xb7648627 in g_signal_emit_valist () from
#/usr/share/qt4/lib/libgobject-2.0.so.0
0000028 0xb76487e9 in g_signal_emit () from
#/usr/share/qt4/lib/libgobject-2.0.so.0
0000029 0xb721baf5 in gtk_widget_get_action () from
#/usr/share/qt4/lib/libgtk-x11-2.0.so.0
0000030 0xb721c968 in gtk_action_activate () from
#/usr/share/qt4/lib/libgtk-x11-2.0.so.0
0000031 0xb76439d9 in g_cclosure_marshal_VOID__VOID () from
#/usr/share/qt4/lib/libgobject-2.0.so.0
0000032 0xb76365d2 in g_closure_invoke () from
#/usr/share/qt4/lib/libgobject-2.0.so.0
0000033 0xb7647103 in g_signal_override_class_closure () from
#/usr/share/qt4/lib/libgobject-2.0.so.0
0000034 0xb7648627 in g_signal_emit_valist () from
#/usr/share/qt4/lib/libgobject-2.0.so.0
0000035 0xb76487e9 in g_signal_emit () from
#/usr/share/qt4/lib/libgobject-2.0.so.0
0000036 0xb7416184 in gtk_widget_activate () from
#/usr/share/qt4/lib/libgtk-x11-2.0.so.0
0000037 0xb730a8a8 in gtk_menu_shell_activate_item () from
#/usr/share/qt4/lib/libgtk-x11-2.0.so.0
0000038 0xb730be72 in gtk_menu_shell_append () from
#/usr/share/qt4/lib/libgtk-x11-2.0.so.0
0000039 0xb7303ab5 in gtk_menu_reorder_child () from
#/usr/share/qt4/lib/libgtk-x11-2.0.so.0
0000040 0xb72fdc10 in gtk_marshal_BOOLEAN__VOID () from
#/usr/share/qt4/lib/libgtk-x11-2.0.so.0
0000041 0xb7634de9 in g_value_set_boxed () from
#/usr/share/qt4/lib/libgobject-2.0.so.0
0000042 0xb76365d2 in g_closure_invoke () from
#/usr/share/qt4/lib/libgobject-2.0.so.0
0000043 0xb7647753 in g_signal_override_class_closure () from
#/usr/share/qt4/lib/libgobject-2.0.so.0
0000044 0xb76483ef in g_signal_emit_valist () from
#/usr/share/qt4/lib/libgobject-2.0.so.0
0000045 0xb76487e9 in g_signal_emit () from
#/usr/share/qt4/lib/libgobject-2.0.so.0
0000046 0xb7411dd8 in gtk_widget_get_default_style () from
#/usr/share/qt4/lib/libgtk-x11-2.0.so.0
0000047 0xb72f6fd3 in gtk_propagate_event () from
#/usr/share/qt4/lib/libgtk-x11-2.0.so.0
0000048 0xb72f81d7 in gtk_main_do_event () from
#/usr/share/qt4/lib/libgtk-x11-2.0.so.0
0000049 0xb71850da in gdk_add_client_message_filter () from
#/usr/share/qt4/lib/libgdk-x11-2.0.so.0
0000050 0xb75afa62 in g_main_context_dispatch () from
#/usr/share/qt4/lib/libglib-2.0.so.0
0000051 0xb75b2a2f in g_main_context_check () from
#/usr/share/qt4/lib/libglib-2.0.so.0
0000052 0xb75b2dd9 in g_main_loop_run () from
#/usr/share/qt4/lib/libglib-2.0.so.0
0000053 0xb72f8654 in gtk_main () from /usr/share/qt4/lib/libgtk-x11-2.0.so.0
0000054 0xb7850f91 in Gtk::Main::run_impl (this=0x886ed70) at
#libs/gtkmm2/gtk/gtkmm/main.cc:503
0000055 0xb7850d9e in Gtk::Main::run () at libs/gtkmm2/gtk/gtkmm/main.cc:450
0000056 0xb7ad0287 in Gtkmm2ext::UI::run (this=0x886bbe8,
#old_receiver=@0x884c178) at libs/gtkmm2ext/gtk_ui.cc:222
0000057 0x085f15d6 in main (argc=1, argv=0xbf82b874) at gtk2_ardour/main.cc:273



cheers,
doc

paul

2007-08-10 13:45

administrator   ~0004255

believe it or not, i actually flagged this as a problem in the code. i think its relatively easy to fix.

v2

2007-09-25 18:34

developer   ~0004393

Bug fixed in the ongoing-2.0 branch at revision 2484 and trunk in 2485.

Issue History

Date Modified Username Field Change
2007-06-03 21:54 rotoquezada New Issue
2007-06-03 22:11 nowhiskey Note Added: 0004058
2007-08-10 03:54 jdavisp3 Note Added: 0004251
2007-08-10 08:04 nowhiskey Note Added: 0004253
2007-08-10 13:45 paul Note Added: 0004255
2007-08-10 14:01 paul Relationship added has duplicate 0001734
2007-09-25 18:34 v2 Status new => resolved
2007-09-25 18:34 v2 Resolution open => fixed
2007-09-25 18:34 v2 Assigned To => v2
2007-09-25 18:34 v2 Note Added: 0004393
2007-09-25 18:34 v2 Status resolved => closed