[ardour-dev] Ardour crashing on user preset selection of LADSPA plugin

Paul Symons ardour at affronted.org
Sat Oct 23 11:45:28 PDT 2004


Not sure if this is an Ardour problem, or a plugin problem, but here's the
details anyway.

Ardour version: Ardour/GTK 0.534.0 running with libardour 0.835.0
Plugin: Tape Delay Simulation, from Steve Harris's 0.4.7 release of
plugins (compiled from the gentoo 0.4.7 ebuild)

To reproduce, I do the following

1. Load up a session in Ardour
2. Add the Tape Delay Simulation plugin (pre-fader) to a mono channel
track 3. Edit the plugin settings, and save the preset.
4. Close the plugin edit window
5. Edit the plugin settings and select the user preset created 2 steps back

At this point, Ardour crashes. Here is the result of "thread all apply bt"
in gdb:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 32432)]
0x085cf3fe in ARDOUR::LadspaPlugin::port_descriptor(unsigned long) const (
    this=0x8cdef28, i=3084996548) at ladspa_plugin.h:107
107     ladspa_plugin.h: No such file or directory.
        in ladspa_plugin.h
(gdb) thread apply all bt

Thread 11 (Thread 147466 (LWP 32471)):
#0  0xb7bfe69b in read () from /lib/libpthread.so.0
#1  0xb6e24d60 in ?? () from /usr/lib/wine/lib/wine/ntdll.dll.so

Thread 10 (Thread 131081 (LWP 32446)):
#0  0xb7846048 in poll () from /lib/libc.so.6
#1  0x086382c6 in ARDOUR::Session::feedback_thread_work() (this=0x8b69c98)
    at session_feedback.cc:137
#2  0x0863822d in ARDOUR::Session::_feedback_thread_work(void*)
(arg=0x8b69c98)
    at session_feedback.cc:112
#3  0xb7bf8ee0 in pthread_start_thread () from /lib/libpthread.so.0 #4 
0xb7bf8fe2 in pthread_start_thread_event () from /lib/libpthread.so.0 #5 
0xb784e5ba in clone () from /lib/libc.so.6

Thread 9 (Thread 114696 (LWP 32445)):
#0  0xb7846048 in poll () from /lib/libc.so.6
#1  0x0863c795 in ARDOUR::Session::midi_thread_work() (this=0x8b69c98)
    at session_midi.cc:1224
#2  0x0863c59b in ARDOUR::Session::_midi_thread_work(void*)
(arg=0x8b69c98)
    at session_midi.cc:1156
#3  0xb7bf8ee0 in pthread_start_thread () from /lib/libpthread.so.0 #4 
0xb7bf8fe2 in pthread_start_thread_event () from /lib/libpthread.so.0
---Type <return> to continue, or q <return> to quit---
#5  0xb784e5ba in clone () from /lib/libc.so.6

Thread 8 (Thread 98311 (LWP 32444)):
#0  0xb7846048 in poll () from /lib/libc.so.6
#1  0x08611c66 in ARDOUR::Session::butler_thread_work() (this=0x8b69c98)
    at session_butler.cc:189
#2  0x08611bf4 in ARDOUR::Session::_butler_thread_work(void*)
(arg=0x8b69c98)
    at session_butler.cc:165
#3  0xb7bf8ee0 in pthread_start_thread () from /lib/libpthread.so.0 #4 
0xb7bf8fe2 in pthread_start_thread_event () from /lib/libpthread.so.0 #5 
0xb784e5ba in clone () from /lib/libc.so.6

Thread 7 (Thread 81926 (LWP 32442)):
#0  0xb7846048 in poll () from /lib/libc.so.6
#1  0xb7d330a3 in jack_port_type_size () from /usr/lib/libjack.so.0 #2 
0x0886a2a8 in ?? ()
#3  0x00000002 in ?? ()

Thread 6 (Thread 65541 (LWP 32441)):
#0  0xb7846048 in poll () from /lib/libc.so.6
#1  0x08663f53 in ARDOUR::Source::peak_thread_work(void*) (arg=0x0)
    at source.cc:160
#2  0xb7bf8ee0 in pthread_start_thread () from /lib/libpthread.so.0
---Type <return> to continue, or q <return> to quit---
#3  0xb7bf8fe2 in pthread_start_thread_event () from /lib/libpthread.so.0
#4  0xb784e5ba in clone () from /lib/libc.so.6

Thread 5 (Thread 49156 (LWP 32440)):
#0  0xb7bfe69b in read () from /lib/libpthread.so.0
#1  0xb6e24d60 in ?? () from /usr/lib/wine/lib/wine/ntdll.dll.so
Thread 4 (Thread 32771 (LWP 32439)):
#0  0xb7bfe69b in read () from /lib/libpthread.so.0
#1  0xb7b394bc in __JCR_LIST__ () from /usr/local/lib/libfst.so

Thread 3 (Thread 16386 (LWP 32436)):
#0  0xb77a39a9 in sigsuspend () from /lib/libc.so.6
#1  0xb7bfbc0e in sigwait () from /lib/libpthread.so.0
#2  0x00000001 in ?? ()
#3  0xb76f980c in ?? ()

Thread 2 (Thread 32769 (LWP 32435)):
#0  0xb7846048 in poll () from /lib/libc.so.6
#1  0xb7bf8af0 in __pthread_manager () from /lib/libpthread.so.0
#2  0xb7bf8d3a in __pthread_manager_event () from /lib/libpthread.so.0 #3 
0xb784e5ba in clone () from /lib/libc.so.6

---Type <return> to continue, or q <return> to quit---
Thread 1 (Thread 16384 (LWP 32432)):
#0  0x085cf3fe in ARDOUR::LadspaPlugin::port_descriptor(unsigned long)
const (
    this=0x8cdef28, i=3084996548) at ladspa_plugin.h:107
#1  0x085cef84 in ARDOUR::LadspaPlugin::parameter_is_input(unsigned long)
const
    (this=0x8cdef28, param=3084996548) at ladspa_plugin.cc:648
#2  0x085ef2d8 in ARDOUR::Plugin::load_preset(std::string)
(this=0x8cdef28,
    preset_label=
        {static npos = 4294967295, _M_dataplus = {<allocator<char>> = {<No
data                                      fields>}, _M_p = 0x5
""}, static _S_empty_rep_storage = {0, 0, 0, 0}})
    at plugin.cc:298
#3  0x0843bd7e in PlugUIBase::setting_selected(_GdkEventAny*)
(this=0x8b5af48,
    ignored=0x8b50368) at plugin_ui.cc:886
#4  0x0843f8e3 in SigC::ObjectSlot1_<int, _GdkEventAny*,
PlugUIBase>::callback(v                                     oid*,
_GdkEventAny*) (d=0x8b55af4, p1=0x8b50368) at object_slot.h:153
#5  0x082458c4 in SigC::Callback1<int, _GdkEventAny*>::call(_GdkEventAny*
const&                                     ) (this=0x8b55af4,
p1=@0xbfffe6c4) at slot.h:358
#6  0x083111ff in Gtk::ProxySignal1<int, _GdkEventAny*, Gtk::Widget,
_GtkWidget,
30>::gtk_callback(_GtkObject*, _GdkEventAny*, void*) (p1=0x8b50368,
    d=0x9214ba0) at proxy.h:203
#7  0x0854814d in gtkmm_marshal_INT__POINTER(_GtkObject*, void (*)(),
void*, _Gt                                     kArg*) (object=0x8a705d8,
    func=0x83111d8 <Gtk::ProxySignal1<int, _GdkEventAny*, Gtk::Widget,
_GtkWidge                                     t,
30>::gtk_callback(_GtkObject*, _GdkEventAny*, void*)>,
func_data=0x8a705d8,
---Type <return> to continue, or q <return> to quit---
    args=0xdf853f10) at marshal.cc:240
#8  0xb7f634f5 in gtk_handlers_run () from /usr/lib/libgtk-1.2.so.0 #9 
0xb7f628dd in gtk_signal_real_emit () from /usr/lib/libgtk-1.2.so.0 #10
0xb7f602f1 in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0 #11
0xb7f9dcff in gtk_widget_event () from /usr/lib/libgtk-1.2.so.0 #12
0xb7f2d0c4 in gtk_main_do_event () from /usr/lib/libgtk-1.2.so.0 #13
0xb7e707e3 in gdk_event_dispatch () from /usr/lib/libgdk-1.2.so.0 #14
0xb7e41a3e in g_main_dispatch () from /usr/lib/libglib-1.2.so.0 #15
0xb7e41f0b in g_main_iterate () from /usr/lib/libglib-1.2.so.0 #16
0xb7e42194 in g_main_run () from /usr/lib/libglib-1.2.so.0
#17 0xb7f2c957 in gtk_main () from /usr/lib/libgtk-1.2.so.0
#18 0x0824b3fa in Gtk::Main::run() () at main.h:168
#19 0x084de399 in Gtkmmext::UI::run(Receiver&) (this=0x87f9a50,
    old_receiver=@0x87e8bc0) at gtk_ui.cc:168
#20 0x083cbf1a in main (argc=1, argv=0xbfffed74) at main.cc:409
(gdb)









More information about the Ardour-Dev mailing list