View Issue Details

IDProjectCategoryView StatusLast Update
0002198ardourbugspublic2008-06-17 14:03
Reporterdas Assigned To 
PrioritynormalSeveritycrashReproducibilityrandom
Status acknowledgedResolutionopen 
Product VersionSVN/2.0-ongoing 
Summary0002198: Ardour crashes when activating LADSPA plugin during playback
DescriptionI added a new plugin, and Ardour crashed the first time I activated it (while playback was running). This seems to happen pretty much randomly. Backtrace is below.
Additional Information(gdb) thread apply all bt

Thread 8 (process 4438):
#0 0x083b110f in std::_List_const_iterator<sigc::slot_base>::operator-> (this=0x9002ea0) at stl_list.h:215
0000001 0xb7d7b2a2 in sigc::internal::signal_emit1<void, ARDOUR::AutomationList*, sigc::nil_>::emit (impl=0x9002ea0,
    _A_a1=@0xbf9e437c) at signal.h:644
#2 0xb7d7b3b1 in sigc::signal1<void, ARDOUR::AutomationList*, sigc::nil_>::emit (this=0xb7f8598c, _A_a1=@0xbf9e437c)
    at signal.h:1694
#3 0xb7d7b3dc in sigc::signal1<void, ARDOUR::AutomationList*, sigc::nil_>::operator() (this=0xb7f8598c, _A_a1=@0xbf9e437c)
    at signal.h:1698
0000004 0xb7d76029 in AutomationList (this=0xa876bb8, defval=0) at libs/ardour/automation_event.cc:72
0000005 0xb7e30d22 in ARDOUR::Redirect::automation_list (this=0xa884c00, parameter=5) at libs/ardour/redirect.cc:409
#6 0xb7dd52a0 in ARDOUR::PluginInsert::get_port_automation_state (this=0xa884c00, port=5) at libs/ardour/insert.cc:487
#7 0x086073b7 in GenericPluginUI::automation_state_changed (this=0xa875600, cui=0xa855538)
    at gtk2_ardour/generic_pluginui.cc:333
0000008 0x0860b3a1 in GenericPluginUI::build_control_ui (this=0xa875600, port_index=5, mcontrol=0xa855450)
    at gtk2_ardour/generic_pluginui.cc:524
0000009 0x0860c466 in GenericPluginUI::build (this=0xa875600) at gtk2_ardour/generic_pluginui.cc:207
0000010 0x0860d2a1 in GenericPluginUI (this=0xa875600, pi=@0xbf9e4d40, scrollable=false) at gtk2_ardour/generic_pluginui.cc:112
0000011 0x086f5905 in PluginUIWindow (this=0xa6ca8c8, win=0x8f027f0, insert=@0xbf9e4ef4, scrollable=false)
    at gtk2_ardour/plugin_ui.cc:99
0000012 0x08702b06 in RedirectBox::edit_redirect (this=0x9aa8a9c, redirect=@0xbf9e5050) at gtk2_ardour/redirect_box.cc:1099
0000013 0x0870360e in RedirectBox::redirect_button_press_event (this=0x9aa8a9c, ev=0xa76c780) at gtk2_ardour/redirect_box.cc:302
0000014 0x0870d269 in sigc::bound_mem_functor1<bool, RedirectBox, _GdkEventButton*>::operator() (this=0x9aab74c,
    _A_a1=@0xbf9e5124) at mem_fun.h:1838
#15 0x0870d289 in sigc::adaptor_functor<sigc::bound_mem_functor1<bool, RedirectBox, _GdkEventButton*> >::operator()<_GdkEventButton* const&> (this=0x9aab748, _A_arg1=@0xbf9e5124) at adaptor_trait.h:84
0000016 0x0870d2af in sigc::internal::slot_call1<sigc::bound_mem_functor1<bool, RedirectBox, _GdkEventButton*>, bool, _GdkEventButton*>::call_it (rep=0x9aab730, a_1=@0xbf9e5124) at slot.h:137
#17 0xb71902f1 in sigc::slot1<bool, _GdkEventButton*>::operator() (this=0x9aab71c, _A_a1=@0xbf9e5124) at slot.h:512
0000018 0xb7181f8a in (anonymous namespace)::Widget_signal_button_press_event_callback (self=0x9a7c550, p0=0xa76c780,
    data=0x9aab718) at libs/gtkmm2/gtk/gtkmm/widget.cc:1071
0000019 0xb75d235c in _gtk_marshal_BOOLEAN__BOXED (closure=0x9aab778, return_value=0xbf9e52a0, n_param_values=2,
    param_values=0xbf9e539c, invocation_hint=0xbf9e528c, marshal_data=0xb7181f3c) at gtkmarshalers.c:84
0000020 0xb7851e3f in IA__g_closure_invoke (closure=0x9aab778, return_value=0xbf9e42dc, n_param_values=3214820060,
    param_values=0xbf9e42dc, invocation_hint=0xbf9e42dc) at gclosure.c:490
0000021 0xb7860aea in signal_emit_unlocked_R (node=0x89779c8, detail=0, instance=0x9a7c550, emission_return=0xbf9e555c,
    instance_and_params=0xbf9e539c) at gsignal.c:2440
0000022 0xb7862086 in IA__g_signal_emit_valist (instance=0x9a7c550, signal_id=28, detail=0,
    var_args=0xbf9e55e0 "øU\236¿\200Çv\nPŧ\tN¼m·Pŧ\t@Z\226\b") at gsignal.c:2209
0000023 0xb7862689 in IA__g_signal_emit (instance=0xbf9e42dc, signal_id=3214820060, detail=3214820060) at gsignal.c:2243
#24 0xb76dba77 in gtk_widget_event_internal (widget=0x9a7c550, event=0xa76c780) at gtkwidget.c:3915
0000025 0xb75d0ad8 in IA__gtk_propagate_event (widget=0x9a7c550, event=0xa76c780) at gtkmain.c:2341
0000026 0xb75d0ee7 in IA__gtk_main_do_event (event=0xa76c780) at gtkmain.c:1575
0000027 0xb7471d5f in gdk_event_dispatch (source=0xbf9e42dc, callback=0, user_data=0x0) at gdkevents-x11.c:2318
0000028 0xb78aaf6d in IA__g_main_context_dispatch (context=0x8960b30) at gmain.c:2045
0000029 0xb78ae046 in g_main_context_iterate (context=0x8960b30, block=1, dispatch=1, self=0x892eda0) at gmain.c:2677
0000030 0xb78ae368 in IA__g_main_loop_run (loop=0x98444b8) at gmain.c:2881
0000031 0xb75d01e2 in IA__gtk_main () at gtkmain.c:1154
0000032 0xb7107785 in Gtk::Main::run_impl (this=0x893b6c0) at libs/gtkmm2/gtk/gtkmm/main.cc:503
---Type <return> to continue, or q <return> to quit---
0000033 0xb7107640 in Gtk::Main::run () at libs/gtkmm2/gtk/gtkmm/main.cc:450
0000034 0xb6f087f1 in Gtkmm2ext::UI::run (this=0x8938878, old_receiver=@0x891abec) at libs/gtkmm2ext/gtk_ui.cc:223
0000035 0x086685d6 in main (argc=1, argv=0xbf9e5934) at gtk2_ardour/main.cc:306

Thread 7 (process 4440):
#0 0xb7f89410 in ?? ()
0000001 0xb6453348 in ?? ()
#2 0x00000175 in ?? ()
#3 0x00000000 in ?? ()

Thread 6 (process 4441):
#0 0xb7f89410 in ?? ()
0000001 0xb5c52348 in ?? ()
#2 0x00000176 in ?? ()
#3 0x00000000 in ?? ()

Thread 5 (process 4442):
#0 0xb7f89410 in ?? ()
0000001 0xb5451328 in ?? ()
#2 0x00000001 in ?? ()
#3 0xb6e6bc76 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
0000004 0xb7829c2f in Glib::Cond::wait (this=0x0, mutex=@0x0) at libs/glibmm2/glibmm/thread.cc:362
Previous frame inner to this frame (corrupt stack?)

Thread 4 (process 4446):
#0 0xb7f89410 in ?? ()
0000001 0xb3985498 in ?? ()
#2 0xb790f1f0 in ?? () from /usr/local/gtk+2.10/lib/libglib-2.0.so.0
#3 0xb398547c in ?? ()
0000004 0xb6e6ed56 in __nanosleep_nocancel () from /lib/tls/i686/cmov/libpthread.so.0
0000005 0xb78c9945 in IA__g_usleep (microseconds=3013104764) at gtimer.c:170
#6 0xb780fcf5 in Glib::usleep (microseconds=10000) at libs/glibmm2/glibmm/timer.cc:68
#7 0xb7d2ed6c in ARDOUR::AudioEngine::meter_thread (this=0x8def8f0) at libs/ardour/audioengine.cc:433
0000008 0xb7d37000 in sigc::bound_mem_functor0<void, ARDOUR::AudioEngine>::operator() (this=0x8ff5d84) at mem_fun.h:1781
0000009 0xb7d37022 in sigc::adaptor_functor<sigc::bound_mem_functor0<void, ARDOUR::AudioEngine> >::operator() (this=0x8ff5d80)
    at adaptor_trait.h:251
0000010 0xb7d3704e in sigc::internal::slot_call0<sigc::bound_mem_functor0<void, ARDOUR::AudioEngine>, void>::call_it (
    rep=0x8ff5d68) at slot.h:103
0000011 0x083a1084 in sigc::slot0<void>::operator() (this=0x8ff5d58) at slot.h:440
0000012 0xb78292b5 in call_thread_entry_slot (data=0x8ff5d58) at libs/glibmm2/glibmm/thread.cc:43
0000013 0xb78c7467 in g_thread_create_proxy (data=0x8ff5998) at gthread.c:591
0000014 0xb6e69341 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#15 0xb69c44ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 3 (process 4447):
#0 0xb7f89410 in ?? ()
0000001 0xb36b2408 in ?? ()
#2 0xffffffff in ?? ()
#3 0x00000001 in ?? ()
0000004 0xb7f77524 in ?? () from /usr/local/lib/ardour2/libardour.so
---Type <return> to continue, or q <return> to quit---
0000005 0x00000000 in ?? ()

Thread 2 (process 4448):
#0 0xb7f89410 in ?? ()
0000001 0xb3637458 in ?? ()
#2 0xffffffff in ?? ()
#3 0x00000002 in ?? ()
0000004 0xb7f77524 in ?? () from /usr/local/lib/ardour2/libardour.so
0000005 0x00000000 in ?? ()

Thread 1 (process 4445):
#0 0x08459217 in std::list<ARDOUR::ControlEvent*, boost::fast_pool_allocator<ARDOUR::ControlEvent*, boost::default_user_allocator_new_delete, boost::details::pool::null_mutex, 8192u> >::begin (this=0x3c) at stl_list.h:590
0000001 0x0845924f in ARDOUR::AutomationList::const_begin (this=0x0) at automation_event.h:158
#2 0xb7e2ee7b in ARDOUR::Redirect::find_next_event (this=0xa884c00, now=9814760, end=9816808, next_event=@0xb3a3bfbc)
    at libs/ardour/redirect.cc:458
#3 0xb7dd64e7 in ARDOUR::PluginInsert::automation_run (this=0xa884c00, bufs=@0x9003784, nbufs=1, nframes=2048, offset=0)
    at libs/ardour/insert.cc:427
0000004 0xb7dd6944 in ARDOUR::PluginInsert::run (this=0xa884c00, bufs=@0x9003784, nbufs=1, nframes=2048, offset=0)
    at libs/ardour/insert.cc:376
0000005 0xb7e3e783 in ARDOUR::Route::process_output_buffers (this=0x96c9ee8, bufs=@0x9003784, nbufs=1, start_frame=9814760,
    end_frame=9816808, nframes=2048, offset=0, with_redirects=true, declick=0, meter=true) at libs/ardour/route.cc:416
#6 0xb7d69cee in ARDOUR::AudioTrack::roll (this=0x96c9ee8, nframes=2048, start_frame=9814760, end_frame=9816808, offset=0,
    declick=0, can_record=false, rec_monitors_input=false) at libs/ardour/audio_track.cc:635
#7 0xb7eb960d in ARDOUR::Session::process_routes (this=0x90035b0, nframes=2048, offset=0)
    at libs/ardour/session_process.cc:139
0000008 0xb7ebb15a in ARDOUR::Session::process_with_events (this=0x90035b0, nframes=2048) at libs/ardour/session_process.cc:355
0000009 0xb7eb9883 in ARDOUR::Session::process (this=0x90035b0, nframes=2048) at libs/ardour/session_process.cc:62
0000010 0xb7d30f52 in ARDOUR::AudioEngine::process_callback (this=0x8def8f0, nframes=2048) at libs/ardour/audioengine.cc:305
0000011 0xb7d31218 in ARDOUR::AudioEngine::_process_callback (nframes=2048, arg=0x8def8f0) at libs/ardour/audioengine.cc:259
0000012 0xb6e7c7f7 in jack_client_thread (arg=0x8df1650) at client.c:1601
0000013 0xb6e80050 in jack_thread_proxy (varg=0x8ff5968) at thread.c:110
0000014 0xb6e69341 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#15 0xb69c44ee in clone () from /lib/tls/i686/cmov/libc.so.6
(gdb)
TagsNo tags attached.

Activities

paul

2008-04-17 06:45

administrator   ~0004873

This is a pretty serious bug. Thanks for discovering it. Its not trivial to fix, but it will be a high priority for release 2.5.

paul

2008-06-17 14:03

administrator   ~0005031

fixed in rev 3465, or believed to be fixed. i wouldn't recommend updating immediately, because of some other pending work on the GTK GUI, but this fix will be in 2.5 now.

Issue History

Date Modified Username Field Change
2008-04-13 23:15 das New Issue
2008-04-17 06:45 paul Note Added: 0004873
2008-04-17 06:46 paul Status new => acknowledged
2008-06-17 14:03 paul Note Added: 0005031