View Issue Details

IDProjectCategoryView StatusLast Update
0000863ardourbugspublic2008-11-20 23:42
Reportertimblech Assigned Topaul  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionfixed 
Summary0000863: loading ladspa preset crashes ardour
Descriptionwhen loading a preset for ladspa plugins, ardour segfaults (on beta 19, since above versions won't run on my machine atm)
Additional Informationbacktrace:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 26160)]
0x084d695e in ARDOUR::LadspaPlugin::parameter_is_input(unsigned long) const ()
(gdb) where
#0 0x084d695e in ARDOUR::LadspaPlugin::parameter_is_input(unsigned long) const
    ()
0000001 0x084f7c08 in ARDOUR::Plugin::load_preset(std::string) ()
#2 0x08343f58 in PlugUIBase::setting_selected(_GdkEventAny*) ()
#3 0x082219b7 in Gtk::ProxySignal1<int, _GdkEventAny*, Gtk::Widget, _GtkWidget, 30>::gtk_callback(_GtkObject*, _GdkEventAny*, void*) ()
0000004 0x0844e8fe in gtkmm_marshal_INT__POINTER(_GtkObject*, void (*)(), void*, _GtkArg*) ()
0000005 0xb7f5c302 in gtk_signal_remove_emission_hook ()
   from /usr/lib/libgtk-1.2.so.0
#6 0x08b34fa0 in ?? ()
#7 0x082219a0 in SigC::Slot0<void> SigC::bind<Editing::MouseMode, void>(SigC::Slot1<void, Editing::MouseMode> const&, Editing::MouseMode) ()
0000008 0x08b21758 in ?? ()
0000009 0xbffff0c0 in ?? ()
0000010 0x08b91140 in ?? ()
0000011 0x08760fa0 in ?? ()
0000012 0xb7f5c258 in gtk_signal_remove_emission_hook ()
   from /usr/lib/libgtk-1.2.so.0
0000013 0xb7fd2d14 in ?? () from /usr/lib/libgtk-1.2.so.0
0000014 0x08b34fa0 in ?? ()
#15 0x00000023 in ?? ()
0000016 0xbffff0c0 in ?? ()
---Type <return> to continue, or q <return> to quit---
#17 0xb7f5b66c in gtk_signal_set_funcs () from /usr/lib/libgtk-1.2.so.0
0000018 0x08b3c608 in ?? ()
0000019 0xbffff050 in ?? ()
0000020 0x08b34fa0 in ?? ()
0000021 0xbffff0c0 in ?? ()
TagsNo tags attached.

Activities

taybin

2005-01-22 12:46

administrator   ~0001910

Due to ardour's multi-threaded-ness, could you instead run "thread apply all bt" in gdb, and post that output when you get a crash? Also make sure that you've compiled ardour with ./configure --disable-optimize.

timblech

2005-01-22 13:00

reporter   ~0001913

here it goes:


Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 32723)]
0x084d695e in ARDOUR::LadspaPlugin::parameter_is_input(unsigned long) const ()
(gdb) thread apply all bt

Thread 7 (Thread 81926 (LWP 32747)):
#0 0xb7863046 in fts_open () from /lib/libc.so.6
0000001 0xb78630f7 in poll () from /lib/libc.so.6
#2 0x0854b1b7 in ARDOUR::Session::midi_thread_work() ()
#3 0x0854b9c3 in ARDOUR::Session::_midi_thread_work(void*) ()
0000004 0xb7b67fb5 in pthread_start_thread () from /lib/libpthread.so.0
0000005 0xb7b6803e in pthread_start_thread_event () from /lib/libpthread.so.0
#6 0xb786ba7a in clone () from /lib/libc.so.6

Thread 6 (Thread 65541 (LWP 32746)):
#0 0xb7b6b0ef in __pthread_sigsuspend () from /lib/libpthread.so.0
0000001 0xb7b6a73e in __pthread_wait_for_restart_signal ()
   from /lib/libpthread.so.0
#2 0xb7b67245 in pthread_cond_wait@GLIBC_2.0 () from /lib/libpthread.so.0
#3 0x085228aa in ARDOUR::Session::butler_thread_work() ()
0000004 0x08522a20 in ARDOUR::Session::_butler_thread_work(void*) ()
0000005 0xb7b67fb5 in pthread_start_thread () from /lib/libpthread.so.0
#6 0xb7b6803e in pthread_start_thread_event () from /lib/libpthread.so.0
#7 0xb786ba7a in clone () from /lib/libc.so.6


Thread 5 (Thread 49156 (LWP 32735)):
#0 0xb7863046 in fts_open () from /lib/libc.so.6
0000001 0xb78630f7 in poll () from /lib/libc.so.6
#2 0xb7d1366e in jack_client_close () from /usr/lib/libjack.so.0

Thread 4 (Thread 32771 (LWP 32734)):
#0 0xb7b6b0ef in __pthread_sigsuspend () from /lib/libpthread.so.0
0000001 0xb7b6a73e in __pthread_wait_for_restart_signal ()
   from /lib/libpthread.so.0
#2 0xb7b67245 in pthread_cond_wait@GLIBC_2.0 () from /lib/libpthread.so.0
#3 0x0857ec23 in ARDOUR::Source::peak_thread_work(void*) ()
0000004 0xb7b67fb5 in pthread_start_thread () from /lib/libpthread.so.0
0000005 0xb7b6803e in pthread_start_thread_event () from /lib/libpthread.so.0
#6 0xb786ba7a in clone () from /lib/libc.so.6
---Type <return> to continue, or q <return> to quit---

Thread 3 (Thread 16386 (LWP 32730)):
#0 0xb77de149 in sigpending () from /lib/libc.so.6
0000001 0xb77de201 in sigsuspend () from /lib/libc.so.6
#2 0xb7b6b5c1 in sigwait () from /lib/libpthread.so.0
#3 0x082d9e51 in which_ui_rcfile() ()
0000004 0xb7b67fb5 in pthread_start_thread () from /lib/libpthread.so.0
0000005 0xb7b6803e in pthread_start_thread_event () from /lib/libpthread.so.0
#6 0xb786ba7a in clone () from /lib/libc.so.6

Thread 2 (Thread 32769 (LWP 32729)):
#0 0xb7863046 in fts_open () from /lib/libc.so.6
0000001 0xb78630f7 in poll () from /lib/libc.so.6
#2 0xb7b6852c in __pthread_manager () from /lib/libpthread.so.0
#3 0xb7b68e4f in __pthread_manager_event () from /lib/libpthread.so.0
0000004 0xb786ba7a in clone () from /lib/libc.so.6



Thread 1 (Thread 16384 (LWP 32723)):
#0 0x084d695e in ARDOUR::LadspaPlugin::parameter_is_input(unsigned long) const
    ()
0000001 0x084f7c08 in ARDOUR::Plugin::load_preset(std::string) ()
#2 0x08343f58 in PlugUIBase::setting_selected(_GdkEventAny*) ()
#3 0x082219b7 in Gtk::ProxySignal1<int, _GdkEventAny*, Gtk::Widget, _GtkWidget, 30>::gtk_callback(_GtkObject*, _GdkEventAny*, void*) ()
0000004 0x0844e8fe in gtkmm_marshal_INT__POINTER(_GtkObject*, void (*)(), void*, _GtkArg*) ()
0000005 0xb7f5c302 in gtk_signal_remove_emission_hook ()
   from /usr/lib/libgtk-1.2.so.0
#6 0x08b14bb0 in ?? ()
#7 0x082219a0 in SigC::Slot0<void> SigC::bind<Editing::MouseMode, void>(SigC::Slot1<void, Editing::MouseMode> const&, Editing::MouseMode) ()
0000008 0x08b85768 in ?? ()
0000009 0xbffff0c0 in ?? ()
0000010 0x08b5ea18 in ?? ()
0000011 0x08760fa0 in ?? ()
---Type <return> to continue, or q <return> to quit---
0000012 0xb7f5c258 in gtk_signal_remove_emission_hook ()
   from /usr/lib/libgtk-1.2.so.0
0000013 0xb7fd2d14 in ?? () from /usr/lib/libgtk-1.2.so.0
0000014 0x08b14bb0 in ?? ()
#15 0x00000023 in ?? ()
0000016 0xbffff0c0 in ?? ()
#17 0xb7f5b66c in gtk_signal_set_funcs () from /usr/lib/libgtk-1.2.so.0
0000018 0x08ae7bb0 in ?? ()
0000019 0xbffff050 in ?? ()
0000020 0x08b14bb0 in ?? ()
0000021 0xbffff0c0 in ?? ()



hope this helps .... t

paul

2005-03-08 18:13

administrator   ~0002104

99.9% certain to be caused by a problem in liblrdf. version 0.4.0 of liblrdf should fix the problem, and has been reported to do so for similar cases.

Issue History

Date Modified Username Field Change
2005-01-22 09:44 timblech New Issue
2005-01-22 09:44 timblech E-mail => timblechmann@gmx.net
2005-01-22 09:44 timblech Name => tim
2005-01-22 12:46 taybin Note Added: 0001910
2005-01-22 13:00 timblech Note Added: 0001913
2005-03-08 18:13 paul Status new => resolved
2005-03-08 18:13 paul Resolution open => fixed
2005-03-08 18:13 paul Assigned To => paul
2005-03-08 18:13 paul Note Added: 0002104
2008-11-20 23:42 seablade Status resolved => closed