View Issue Details

IDProjectCategoryView StatusLast Update
0002338ardourbugspublic2020-04-19 20:13
Reporterdas Assigned Topaul  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionfixed 
Product VersionSVN/2.0-ongoing 
Summary0002338: Ardour crashes removing LADSPA plugin
DescriptionI had a "Mono to Stereo Splitter" plugin on a mono track, followed by a TAP Reverberator (which has 2 inputs). When I tried to remove the splitter while the Reverb was still there, Ardour crashed. Backtrace is attached.
Removing first the Reverb and then the splitter works fine.
TagsNo tags attached.

Activities

2008-07-07 17:35

 

backtrace.txt (10,356 bytes)   
Thread 8 (process 30513):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb6c485c6 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb76ad441 in Glib::Cond::wait (this=0x8ad0680, mutex=@0xb7f7be00) at libs/glibmm2/glibmm/thread.cc:362
#3  0xb7edd78b in peak_thread_work () at libs/ardour/source_factory.cc:65
#4  0x0875c663 in sigc::pointer_functor0<void>::operator() (this=0x8adc164) at libs/sigc++2/sigc++/functors/ptr_fun.h:77
#5  0x0875c67a in sigc::adaptor_functor<sigc::pointer_functor0<void> >::operator() (this=0x8adc160) at libs/sigc++2/sigc++/adaptors/adaptor_trait.h:251
#6  0x0875c696 in sigc::internal::slot_call0<sigc::pointer_functor0<void>, void>::call_it (rep=0x8adc148) at libs/sigc++2/sigc++/functors/slot.h:103
#7  0x083fc888 in sigc::slot0<void>::operator() (this=0x8adc138) at libs/sigc++2/sigc++/functors/slot.h:440
#8  0xb76ade9f in call_thread_entry_slot (data=0x8adc138) at libs/glibmm2/glibmm/thread.cc:43
#9  0xb7728b7f in ?? () from /usr/lib/libglib-2.0.so.0
#10 0x08adc138 in ?? ()
#11 0x08adc170 in ?? ()
#12 0xb6c3f000 in ?? ()
#13 0x00014084 in ?? ()
#14 0xb64bba18 in ?? () from /lib/tls/i686/cmov/libc.so.6
#15 0xb6c52ff4 in ?? () from /lib/tls/i686/cmov/libpthread.so.0
#16 0xb6c46440 in ?? () from /lib/tls/i686/cmov/libpthread.so.0
#17 0xb6c52ff4 in ?? () from /lib/tls/i686/cmov/libpthread.so.0
#18 0x00000000 in ?? ()

Thread 7 (process 30514):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb6c485c6 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb76ad441 in Glib::Cond::wait (this=0x8ad0680, mutex=@0xb7f7be00) at libs/glibmm2/glibmm/thread.cc:362
#3  0xb7edd78b in peak_thread_work () at libs/ardour/source_factory.cc:65
#4  0x0875c663 in sigc::pointer_functor0<void>::operator() (this=0x8adc25c) at libs/sigc++2/sigc++/functors/ptr_fun.h:77
#5  0x0875c67a in sigc::adaptor_functor<sigc::pointer_functor0<void> >::operator() (this=0x8adc258) at libs/sigc++2/sigc++/adaptors/adaptor_trait.h:251
#6  0x0875c696 in sigc::internal::slot_call0<sigc::pointer_functor0<void>, void>::call_it (rep=0x8adc240) at libs/sigc++2/sigc++/functors/slot.h:103
#7  0x083fc888 in sigc::slot0<void>::operator() (this=0x8adc230) at libs/sigc++2/sigc++/functors/slot.h:440
#8  0xb76ade9f in call_thread_entry_slot (data=0x8adc230) at libs/glibmm2/glibmm/thread.cc:43
#9  0xb7728b7f in ?? () from /usr/lib/libglib-2.0.so.0
#10 0x08adc230 in ?? ()
#11 0x08adc268 in ?? ()
#12 0x00000000 in ?? ()

Thread 6 (process 30515):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb6c485c6 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb76ad441 in Glib::Cond::wait (this=0x8adc048, mutex=@0xb7f7b928) at libs/glibmm2/glibmm/thread.cc:362
#3  0xb7cfdf49 in ARDOUR::Analyser::work () at libs/ardour/analyser.cc:85
#4  0xb7cfe095 in analyser_work () at libs/ardour/analyser.cc:49
#5  0x0875c663 in sigc::pointer_functor0<void>::operator() (this=0x8adc2f4) at libs/sigc++2/sigc++/functors/ptr_fun.h:77
#6  0x0875c67a in sigc::adaptor_functor<sigc::pointer_functor0<void> >::operator() (this=0x8adc2f0) at libs/sigc++2/sigc++/adaptors/adaptor_trait.h:251
#7  0x0875c696 in sigc::internal::slot_call0<sigc::pointer_functor0<void>, void>::call_it (rep=0x8adc2d8) at libs/sigc++2/sigc++/functors/slot.h:103
#8  0x083fc888 in sigc::slot0<void>::operator() (this=0x8adc2c8) at libs/sigc++2/sigc++/functors/slot.h:440
#9  0xb76ade9f in call_thread_entry_slot (data=0x8adc2c8) at libs/glibmm2/glibmm/thread.cc:43
#10 0xb7728b7f in ?? () from /usr/lib/libglib-2.0.so.0
#11 0x08adc2c8 in ?? ()
#12 0x08adc3c8 in ?? ()
#13 0xb6c3f000 in ?? ()
#14 0x00014084 in ?? ()
---Type <return> to continue, or q <return> to quit---
#15 0xb64bba18 in ?? () from /lib/tls/i686/cmov/libc.so.6
#16 0xb6c52ff4 in ?? () from /lib/tls/i686/cmov/libpthread.so.0
#17 0xb6c46440 in ?? () from /lib/tls/i686/cmov/libpthread.so.0
#18 0xb6c52ff4 in ?? () from /lib/tls/i686/cmov/libpthread.so.0
#19 0x00000000 in ?? ()

Thread 5 (process 30536):
#0  0xb7e317f0 in ARDOUR::Route::process_output_buffers (this=0x913b438, bufs=@0x90cbde8, nbufs=2, start_frame=0, end_frame=2048, nframes=2048, offset=0, 
    with_redirects=true, declick=0, meter=false) at libs/ardour/route.cc:393
#1  0xb7d56f10 in ARDOUR::AudioTrack::passthru_silence (this=0x913b438, start_frame=0, end_frame=2048, nframes=2048, offset=0, declick=0, meter=false)
    at libs/ardour/audio_track.cc:444
#2  0xb7d56811 in ARDOUR::AudioTrack::no_roll (this=0x913b438, nframes=2048, start_frame=0, end_frame=2048, offset=0, session_state_changing=false, 
    can_record=false, rec_monitors_input=false) at libs/ardour/audio_track.cc:518
#3  0xb7eaadc3 in ARDOUR::Session::no_roll (this=0x90cbc08, nframes=2048, offset=0) at libs/ardour/session_process.cc:103
#4  0xb7eac151 in ARDOUR::Session::process_with_events (this=0x90cbc08, nframes=2048) at libs/ardour/session_process.cc:310
#5  0xb7eac6ba in ARDOUR::Session::process (this=0x90cbc08, nframes=2048) at libs/ardour/session_process.cc:62
#6  0xb7d1f9f7 in ARDOUR::AudioEngine::process_callback (this=0x8e8e160, nframes=2048) at libs/ardour/audioengine.cc:302
#7  0xb7d1fcc2 in ARDOUR::AudioEngine::_process_callback (nframes=2048, arg=0x8e8e160) at libs/ardour/audioengine.cc:258
#8  0xb6c5d339 in jack_client_thread (arg=0x8e8ea10) at client.c:1601
#9  0xb6c611e1 in jack_thread_proxy (varg=0x90c0218) at thread.c:110
#10 0xb6c4431b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#11 0xb658357e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 4 (process 30537):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb6c4b986 in ?? () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb772ad72 in g_usleep () from /usr/lib/libglib-2.0.so.0
#3  0xb76bf191 in Glib::usleep (microseconds=10000) at libs/glibmm2/glibmm/timer.cc:68
#4  0xb7d1e5ec in ARDOUR::AudioEngine::meter_thread (this=0x8e8e160) at libs/ardour/audioengine.cc:430
#5  0xb7d22661 in sigc::bound_mem_functor0<void, ARDOUR::AudioEngine>::operator() (this=0x8d9969c) at libs/sigc++2/sigc++/functors/mem_fun.h:1787
#6  0xb7d22688 in sigc::adaptor_functor<sigc::bound_mem_functor0<void, ARDOUR::AudioEngine> >::operator() (this=0x8d99698)
    at libs/sigc++2/sigc++/adaptors/adaptor_trait.h:251
#7  0xb7d226b4 in sigc::internal::slot_call0<sigc::bound_mem_functor0<void, ARDOUR::AudioEngine>, void>::call_it (rep=0x8d99680)
    at libs/sigc++2/sigc++/functors/slot.h:103
#8  0x083fc888 in sigc::slot0<void>::operator() (this=0x90c14d8) at libs/sigc++2/sigc++/functors/slot.h:440
#9  0xb76ade9f in call_thread_entry_slot (data=0x90c14d8) at libs/glibmm2/glibmm/thread.cc:43
#10 0xb7728b7f in ?? () from /usr/lib/libglib-2.0.so.0
#11 0x090c14d8 in ?? ()
#12 0x08e7ee78 in ?? ()
#13 0x00000000 in ?? ()

Thread 3 (process 30538):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb6579893 in poll () from /lib/tls/i686/cmov/libc.so.6
#2  0xb7e43199 in ARDOUR::Session::butler_thread_work (this=0x90cbc08) at libs/ardour/session_butler.cc:179
#3  0xb7e43faf in ARDOUR::Session::_butler_thread_work (arg=0x90cbc08) at libs/ardour/session_butler.cc:159
#4  0xb6c4431b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0xb658357e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (process 30539):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb6579893 in poll () from /lib/tls/i686/cmov/libc.so.6
#2  0xb7ea2550 in ARDOUR::Session::midi_thread_work (this=0x90cbc08) at libs/ardour/session_midi.cc:1220
---Type <return> to continue, or q <return> to quit---
#3  0xb7ea2aa5 in ARDOUR::Session::_midi_thread_work (arg=0x90cbc08) at libs/ardour/session_midi.cc:1141
#4  0xb6c4431b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0xb658357e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (process 30510):
#0  0xb7e2e383 in ARDOUR::Route::_reset_plugin_counts (this=0x93027a8, err_streams=0x0) at libs/ardour/route.cc:1189
#1  0xb7e2f5ac in ARDOUR::Route::remove_redirect (this=0x93027a8, redirect=@0xbfe29d58, src=0xa453770, err_streams=0x0) at libs/ardour/route.cc:1087
#2  0x087542e8 in RedirectBox::idle_delete_redirect (this=0xa453770, weak_redirect=@0xbfe29d9c) at gtk2_ardour/redirect_box.cc:869
#3  0x0875db35 in sigc::bound_mem_functor1<int, RedirectBox, boost::weak_ptr<ARDOUR::Redirect> >::operator() (this=0xa46aa00, _A_a1=@0xa46aa10)
    at libs/sigc++2/sigc++/functors/mem_fun.h:1851
#4  0x0875db8b in sigc::adaptor_functor<sigc::bound_mem_functor1<int, RedirectBox, boost::weak_ptr<ARDOUR::Redirect> > >::operator()<boost::weak_ptr<ARDOUR::Redirect>&> (this=0xa46a9fc, _A_arg1=@0xa46aa10) at libs/sigc++2/sigc++/adaptors/adaptor_trait.h:84
#5  0x0875dbb4 in sigc::bind_functor<-1, sigc::bound_mem_functor1<int, RedirectBox, boost::weak_ptr<ARDOUR::Redirect> >, boost::weak_ptr<ARDOUR::Redirect>, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil>::operator() (this=0xa46a9f8) at libs/sigc++2/sigc++/adaptors/bind.h:1110
#6  0x0875dbd0 in sigc::internal::slot_call0<sigc::bind_functor<-1, sigc::bound_mem_functor1<int, RedirectBox, boost::weak_ptr<ARDOUR::Redirect> >, boost::weak_ptr<ARDOUR::Redirect>, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil>, bool>::call_it (rep=0xa46a9e0) at libs/sigc++2/sigc++/functors/slot.h:103
#7  0xb7ea544e in sigc::slot0<bool>::operator() (this=0xa9eb838) at libs/sigc++2/sigc++/functors/slot.h:440
#8  0xb76c1559 in glibmm_source_callback (data=0xa9eb838) at libs/glibmm2/glibmm/main.cc:195
#9  0xb7709091 in ?? () from /usr/lib/libglib-2.0.so.0
#10 0x0a9eb838 in ?? ()
#11 0x0ac7f258 in ?? ()
#12 0xbfe29e58 in ?? ()
#13 0xb7722fd2 in g_slist_prepend () from /usr/lib/libglib-2.0.so.0
#14 0xb770adf2 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#15 0xb770ddcf in ?? () from /usr/lib/libglib-2.0.so.0
#16 0x089a5b40 in ?? ()
#17 0x000000c8 in ?? ()
#18 0x08db3b80 in ?? ()
#19 0x00000005 in ?? ()
#20 0xb770e179 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#21 0xb7456044 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#22 0xb6f97c39 in Gtk::Main::run_impl (this=0x89926a0) at libs/gtkmm2/gtk/gtkmm/main.cc:503
#23 0xb6f97a46 in Gtk::Main::run () at libs/gtkmm2/gtk/gtkmm/main.cc:450
#24 0xb6ce803d in Gtkmm2ext::UI::run (this=0x898f7c0, old_receiver=@0x896b0b8) at libs/gtkmm2ext/gtk_ui.cc:222
#25 0x086bc332 in main (argc=1, argv=0xbfe2a0d4) at gtk2_ardour/main.cc:306
backtrace.txt (10,356 bytes)   

paul

2008-07-07 19:12

administrator   ~0005091

what revision of svn are you using for this? use svn info to determine this.

das

2008-07-07 19:36

reporter   ~0005092

This is with revision 3515.

das

2008-07-08 03:00

reporter   ~0005095

Another backtrace... different symptoms, but posting it here since it looks like it might be the same underlying issue. This happens when dragging a CAPS Plate Reverb (1 in, 2 outs) from a mono track to a stereo bus.

#0 0xb7dff75f in ARDOUR::Route::_reset_plugin_counts (this=0x9f9bdc8, err_streams=0x0) at libs/ardour/route.cc:1189
0000001 0xb7e00ea8 in ARDOUR::Route::add_redirects (this=0x9f9bdc8, others=@0xbfb8d9a4, src=0xa83c928, err_streams=0x0) at libs/ardour/route.cc:969
#2 0x0875224e in RedirectBox::paste_redirect_list (this=0xa83c928, redirects=@0xbfb8d9f4) at gtk2_ardour/redirect_box.cc:954
#3 0x08756f5d in RedirectBox::object_drop (this=0xa83c928, type=@0xbfb8da3c, cnt=1, ptr=0xa501800) at gtk2_ardour/redirect_box.cc:185
0000004 0x0875e024 in sigc::bound_mem_functor3<void, RedirectBox, std::string, unsigned int, boost::shared_ptr<ARDOUR::Redirect> const*>::operator() (this=0xa83e0cc,
    _A_a1=@0xbfb8db64, _A_a2=@0xa5017dc, _A_a3=@0xbfb8db60) at libs/sigc++2/sigc++/functors/mem_fun.h:1985
0000005 0x0875e081 in sigc::adaptor_functor<sigc::bound_mem_functor3<void, RedirectBox, std::string, unsigned int, boost::shared_ptr<ARDOUR::Redirect> const*> >::operator()<std::string const&, unsigned int const&, boost::shared_ptr<ARDOUR::Redirect> const* const&> (this=0xa83e0c8, _A_arg1=@0xbfb8db64, _A_arg2=@0xa5017dc,
    _A_arg3=@0xbfb8db60) at libs/sigc++2/sigc++/adaptors/adaptor_trait.h:123
#6 0x0875e0b3 in sigc::internal::slot_call3<sigc::bound_mem_functor3<void, RedirectBox, std::string, unsigned int, boost::shared_ptr<ARDOUR::Redirect> const*>, void, std::string, unsigned int, boost::shared_ptr<ARDOUR::Redirect> const*>::call_it (rep=0xa83e0b0, a_1=@0xbfb8db64, a_2=@0xa5017dc, a_3=@0xbfb8db60)
    at libs/sigc++2/sigc++/functors/slot.h:211
---Type <return> to continue, or q <return> to quit---
#7 0x087639ff in sigc::internal::signal_emit3<void, std::string, unsigned int, boost::shared_ptr<ARDOUR::Redirect> const*, sigc::nil>::emit (impl=0xa83e080,
    _A_a1=@0xbfb8db64, _A_a2=@0xa5017dc, _A_a3=@0xbfb8db60) at libs/sigc++2/sigc++/signal.h:1497
0000008 0x08763acf in sigc::signal3<void, std::string, unsigned int, boost::shared_ptr<ARDOUR::Redirect> const*, sigc::nil>::emit (this=0xa83c9fc, _A_a1=@0xbfb8db64,
    _A_a2=@0xa5017dc, _A_a3=@0xbfb8db60) at libs/sigc++2/sigc++/signal.h:2991
0000009 0x08763af8 in sigc::signal3<void, std::string, unsigned int, boost::shared_ptr<ARDOUR::Redirect> const*, sigc::nil>::operator() (this=0xa83c9fc,
    _A_a1=@0xbfb8db64, _A_a2=@0xa5017dc, _A_a3=@0xbfb8db60) at libs/sigc++2/sigc++/signal.h:2999
0000010 0x08763c6b in Gtkmm2ext::DnDTreeView<boost::shared_ptr<ARDOUR::Redirect> >::on_drag_data_received (this=0xa83c9e0, context=@0xbfb8dbb4, x=31, y=32,
    selection_data=@0xbfb8dbb0, info=0, time=12013952) at libs/gtkmm2ext/gtkmm2ext/dndtreeview.h:111
0000011 0xb6f61ffc in Gtk::Widget_Class::drag_data_received_callback (self=0xa7c3e08, p0=0xaf8f320, p1=31, p2=32, p3=0xbfb8e574, p4=0, p5=12013952)
    at libs/gtkmm2/gtk/gtkmm/widget.cc:4937
0000012 0xb7429dc9 in _gtk_marshal_VOID__OBJECT_INT_INT_BOXED_UINT_UINT () from /usr/lib/libgtk-x11-2.0.so.0
0000013 0xb7760e49 in ?? () from /usr/lib/libgobject-2.0.so.0
0000014 0x089c0c20 in ?? ()
#15 0x00000000 in ?? ()

paul

2008-07-08 12:51

administrator   ~0005096

fixed in rev 3521. thanks for the helpful backtraces.

system

2020-04-19 20:13

developer   ~0021770

Issue has been closed automatically, by Trigger Close Plugin.
Feel free to re-open with additional information if you think the issue is not resolved.

Issue History

Date Modified Username Field Change
2008-07-07 17:35 das New Issue
2008-07-07 17:35 das File Added: backtrace.txt
2008-07-07 19:12 paul Note Added: 0005091
2008-07-07 19:36 das Note Added: 0005092
2008-07-08 03:00 das Note Added: 0005095
2008-07-08 12:51 paul cost => 0.00
2008-07-08 12:51 paul Status new => resolved
2008-07-08 12:51 paul Resolution open => fixed
2008-07-08 12:51 paul Assigned To => paul
2008-07-08 12:51 paul Note Added: 0005096
2010-04-24 10:28 cth103 Category bugs => bugs2
2010-04-24 10:32 cth103 Category bugs2 => bugs
2020-04-19 20:13 system Note Added: 0021770
2020-04-19 20:13 system Status resolved => closed