View Issue Details

IDProjectCategoryView StatusLast Update
0002359ardourbugspublic2010-04-24 10:32
Reporterprofittlich Assigned To 
PrioritynormalSeveritycrashReproducibilitysometimes
Status newResolutionopen 
Summary0002359: Ardour crashes when freezing a track with an active insert
DescriptionWhen I try to freeze a track with an active insert, Ardour often crashes with a segfault. It does not matter what the insert is connected to, or if it is at all connected to another jack client. Jack also crashes at the same time.

When the insert is inactive, freeze works as expected.

When there is no segfault, the result of the freeze is also not as it should be. The resulting file is a broken version of the unprocessed source file with gaps.
Additional InformationArdour version: 2.5
Jack version: 0.109.2
OS: UbuntuStudio Hardy
Machine: Thinkpad T61, C2D T7500
Sound device: M-Audio Ozone, Intel HDA onboard
TagsNo tags attached.

Activities

2008-07-26 16:04

 

ardour_backtrace.txt (12,900 bytes)   
(gdb) thread apply all bt

Thread 10 (process 2086):
#0  0xb643120b in _XReply () from /usr/lib/libX11.so.6
#1  0xb6426984 in XTranslateCoordinates () from /usr/lib/libX11.so.6
#2  0xb726c516 in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#3  0xb726c65b in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#4  0xb726ca6f in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#5  0xb76ccbf8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#6  0xb76cfe5e in ?? () from /usr/lib/libglib-2.0.so.0
#7  0xb76d03ac in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#8  0xb73f40d4 in gtk_main_iteration () from /usr/lib/libgtk-x11-2.0.so.0
#9  0x085d37cf in Editor::freeze_route (this=0x9040f98) at gtk2_ardour/editor_ops.cc:3608
#10 0x085012f3 in sigc::bound_mem_functor0<void, Editor>::operator() (this=0xb1872f4c) at libs/sigc++2/sigc++/functors/mem_fun.h:1787
#11 0x0850130a in sigc::adaptor_functor<sigc::bound_mem_functor0<void, Editor> >::operator() (this=0xb1872f48)
    at libs/sigc++2/sigc++/adaptors/adaptor_trait.h:251
#12 0x08501326 in sigc::internal::slot_call0<sigc::bound_mem_functor0<void, Editor>, void>::call_it (rep=0xb1872f30)
    at libs/sigc++2/sigc++/functors/slot.h:103
#13 0x083f39d2 in sigc::slot0<void>::operator() (this=0xb1872f1c) at libs/sigc++2/sigc++/functors/slot.h:440
#14 0xb7668871 in Glib::SignalProxyNormal::slot0_void_callback (self=0xb18711e8, data=0xb1872f18) at libs/glibmm2/glibmm/signalproxy.cc:95
#15 0xb7774a4f in g_cclosure_marshal_VOID__VOID () from /usr/lib/libgobject-2.0.so.0
#16 0xb7767759 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#17 0xb777c0a3 in ?? () from /usr/lib/libgobject-2.0.so.0
#18 0xb777d916 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#19 0xb777dc59 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#20 0xb751d278 in gtk_widget_activate () from /usr/lib/libgtk-x11-2.0.so.0
#21 0xb7406bc2 in gtk_menu_shell_activate_item () from /usr/lib/libgtk-x11-2.0.so.0
#22 0xb7408708 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#23 0xb73ff914 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#24 0xb702db24 in Gtk::Widget_Class::button_release_event_callback (self=0x8da3538, p0=0x95ef4f8) at libs/gtkmm2/gtk/gtkmm/widget.cc:3805
#25 0xb73f98d4 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#26 0xb7766079 in ?? () from /usr/lib/libgobject-2.0.so.0
#27 0xb7767759 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#28 0xb777bea0 in ?? () from /usr/lib/libgobject-2.0.so.0
#29 0xb777d64e in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#30 0xb777dc59 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#31 0xb7518667 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#32 0xb73f2b21 in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
#33 0xb73f3d88 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#34 0xb726ca9a in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#35 0xb76ccbf8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#36 0xb76cfe5e in ?? () from /usr/lib/libglib-2.0.so.0
#37 0xb76d01e7 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#38 0xb73f4264 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#39 0xb6fc4f3b in Gtk::Main::run_impl (this=0x89b6368) at libs/gtkmm2/gtk/gtkmm/main.cc:503
#40 0xb6fc4c30 in Gtk::Main::run () at libs/gtkmm2/gtk/gtkmm/main.cc:450
#41 0xb6dc63ef in Gtkmm2ext::UI::run (this=0x89b3488, old_receiver=@0x898be48) at libs/gtkmm2ext/gtk_ui.cc:222
#42 0x086b499b in main (argc=1, argv=0xbf974414) at gtk2_ardour/main.cc:306

Thread 9 (process 2089):
#0  0xb7f33410 in __kernel_vsyscall ()
#1  0xb6d24aa5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb766b515 in Glib::Cond::wait (this=0x8bcf0f0, mutex=@0xb7f2fbe0) at libs/glibmm2/glibmm/thread.cc:362
#3  0xb7e7ddcb in peak_thread_work () at libs/ardour/source_factory.cc:65
#4  0x08755a77 in sigc::pointer_functor0<void>::operator() (this=0x8bdabd4) at libs/sigc++2/sigc++/functors/ptr_fun.h:77
#5  0x08755a8e in sigc::adaptor_functor<sigc::pointer_functor0<void> >::operator() (this=0x8bdabd0) at libs/sigc++2/sigc++/adaptors/adaptor_trait.h:251
#6  0x08755aaa in sigc::internal::slot_call0<sigc::pointer_functor0<void>, void>::call_it (rep=0x8bdabb8) at libs/sigc++2/sigc++/functors/slot.h:103
#7  0x083f39d2 in sigc::slot0<void>::operator() (this=0x8bdaba8) at libs/sigc++2/sigc++/functors/slot.h:440
#8  0xb766c0a9 in call_thread_entry_slot (data=0x8bdaba8) at libs/glibmm2/glibmm/thread.cc:43
#9  0xb76f4a6f in ?? () from /usr/lib/libglib-2.0.so.0
#10 0xb6d204fb in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#11 0xb6670e5e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 8 (process 2090):
#0  0xb7f33410 in __kernel_vsyscall ()
#1  0xb6d24aa5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb766b515 in Glib::Cond::wait (this=0x8bcf0f0, mutex=@0xb7f2fbe0) at libs/glibmm2/glibmm/thread.cc:362
#3  0xb7e7ddcb in peak_thread_work () at libs/ardour/source_factory.cc:65
#4  0x08755a77 in sigc::pointer_functor0<void>::operator() (this=0x8bdacdc) at libs/sigc++2/sigc++/functors/ptr_fun.h:77
#5  0x08755a8e in sigc::adaptor_functor<sigc::pointer_functor0<void> >::operator() (this=0x8bdacd8) at libs/sigc++2/sigc++/adaptors/adaptor_trait.h:251
#6  0x08755aaa in sigc::internal::slot_call0<sigc::pointer_functor0<void>, void>::call_it (rep=0x8bdacc0) at libs/sigc++2/sigc++/functors/slot.h:103
#7  0x083f39d2 in sigc::slot0<void>::operator() (this=0x8bdacb0) at libs/sigc++2/sigc++/functors/slot.h:440
#8  0xb766c0a9 in call_thread_entry_slot (data=0x8bdacb0) at libs/glibmm2/glibmm/thread.cc:43
#9  0xb76f4a6f in ?? () from /usr/lib/libglib-2.0.so.0
#10 0xb6d204fb in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#11 0xb6670e5e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 7 (process 2091):
#0  0xb7f33410 in __kernel_vsyscall ()
#1  0xb6d24aa5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb766b515 in Glib::Cond::wait (this=0x8bdaad8, mutex=@0xb7f2f708) at libs/glibmm2/glibmm/thread.cc:362
---Type <return> to continue, or q <return> to quit---
#3  0xb7ca165f in ARDOUR::Analyser::work () at libs/ardour/analyser.cc:85
#4  0xb7ca17ab in analyser_work () at libs/ardour/analyser.cc:49
#5  0x08755a77 in sigc::pointer_functor0<void>::operator() (this=0x8be172c) at libs/sigc++2/sigc++/functors/ptr_fun.h:77
#6  0x08755a8e in sigc::adaptor_functor<sigc::pointer_functor0<void> >::operator() (this=0x8be1728) at libs/sigc++2/sigc++/adaptors/adaptor_trait.h:251
#7  0x08755aaa in sigc::internal::slot_call0<sigc::pointer_functor0<void>, void>::call_it (rep=0x8be1710) at libs/sigc++2/sigc++/functors/slot.h:103
#8  0x083f39d2 in sigc::slot0<void>::operator() (this=0x8be1700) at libs/sigc++2/sigc++/functors/slot.h:440
#9  0xb766c0a9 in call_thread_entry_slot (data=0x8be1700) at libs/glibmm2/glibmm/thread.cc:43
#10 0xb76f4a6f in ?? () from /usr/lib/libglib-2.0.so.0
#11 0xb6d204fb in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#12 0xb6670e5e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 6 (process 2093):
#0  0xb7f33410 in __kernel_vsyscall ()
#1  0xb6d24dd2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb7751077 in ?? () from /usr/lib/libgthread-2.0.so.0
#3  0xb76a7e31 in ?? () from /usr/lib/libglib-2.0.so.0
#4  0xb76a7f66 in g_async_queue_timed_pop () from /usr/lib/libglib-2.0.so.0
#5  0xb76f65ba in ?? () from /usr/lib/libglib-2.0.so.0
#6  0xb76f4a6f in ?? () from /usr/lib/libglib-2.0.so.0
#7  0xb6d204fb in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#8  0xb6670e5e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 5 (process 2099):
#0  0xb7f33410 in __kernel_vsyscall ()
#1  0xb6666c07 in poll () from /lib/tls/i686/cmov/libc.so.6
#2  0xb6d3a6b7 in ?? () from /usr/lib/libjack.so.0
#3  0xb6d3acda in jack_thread_wait () from /usr/lib/libjack.so.0
#4  0xb6d3b0de in ?? () from /usr/lib/libjack.so.0
#5  0xb6d3ef3f in ?? () from /usr/lib/libjack.so.0
#6  0xb6d204fb in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0xb6670e5e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 4 (process 2100):
#0  0xb7f33410 in __kernel_vsyscall ()
#1  0xb6d28196 in nanosleep () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb76f71b2 in g_usleep () from /usr/lib/libglib-2.0.so.0
#3  0xb7672ee5 in Glib::usleep (microseconds=10000) at libs/glibmm2/glibmm/timer.cc:68
#4  0xb7cc1138 in ARDOUR::AudioEngine::meter_thread (this=0x8aff4a0) at libs/ardour/audioengine.cc:430
#5  0xb7cc4fe9 in sigc::bound_mem_functor0<void, ARDOUR::AudioEngine>::operator() (this=0x926d8d4) at libs/sigc++2/sigc++/functors/mem_fun.h:1787
#6  0xb7cc5010 in sigc::adaptor_functor<sigc::bound_mem_functor0<void, ARDOUR::AudioEngine> >::operator() (this=0x926d8d0)
---Type <return> to continue, or q <return> to quit---
    at libs/sigc++2/sigc++/adaptors/adaptor_trait.h:251
#7  0xb7cc503c in sigc::internal::slot_call0<sigc::bound_mem_functor0<void, ARDOUR::AudioEngine>, void>::call_it (rep=0x926d8b8)
    at libs/sigc++2/sigc++/functors/slot.h:103
#8  0x083f39d2 in sigc::slot0<void>::operator() (this=0x926ee40) at libs/sigc++2/sigc++/functors/slot.h:440
#9  0xb766c0a9 in call_thread_entry_slot (data=0x926ee40) at libs/glibmm2/glibmm/thread.cc:43
#10 0xb76f4a6f in ?? () from /usr/lib/libglib-2.0.so.0
#11 0xb6d204fb in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#12 0xb6670e5e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 3 (process 2101):
#0  0xb7f33410 in __kernel_vsyscall ()
#1  0xb6666c07 in poll () from /lib/tls/i686/cmov/libc.so.6
#2  0xb7de3f29 in ARDOUR::Session::butler_thread_work (this=0x92815d8) at libs/ardour/session_butler.cc:179
#3  0xb7de4d4f in ARDOUR::Session::_butler_thread_work (arg=0x92815d8) at libs/ardour/session_butler.cc:159
#4  0xb6d204fb in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0xb6670e5e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (process 2102):
#0  0xb7f33410 in __kernel_vsyscall ()
#1  0xb6666c07 in poll () from /lib/tls/i686/cmov/libc.so.6
#2  0xb7e4245e in ARDOUR::Session::midi_thread_work (this=0x92815d8) at libs/ardour/session_midi.cc:1220
#3  0xb7e429cf in ARDOUR::Session::_midi_thread_work (arg=0x92815d8) at libs/ardour/session_midi.cc:1141
#4  0xb6d204fb in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0xb6670e5e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (process 2109):
#0  0x3908a000 in ?? ()
#1  0xb6d3875f in jack_recompute_total_latencies () from /usr/lib/libjack.so.0
#2  0xb7cbecd8 in ARDOUR::AudioEngine::update_total_latencies (this=0x8aff4a0) at libs/ardour/audioengine.cc:1275
#3  0xb7e6cc96 in ARDOUR::Session::update_latency_compensation (this=0x92815d8, with_stop=false, abort=false) at libs/ardour/session_transport.cc:1316
#4  0xb7dcc490 in ARDOUR::Route::redirect_active_proxy (this=0x9295da8, ignored=0x92e86a8, ignored_src=0x9295da8) at libs/ardour/route.cc:2528
#5  0xb7ddb919 in sigc::bound_mem_functor2<void, ARDOUR::Route, ARDOUR::Redirect*, void*>::operator() (this=0x92e98bc, _A_a1=@0xb013a290, _A_a2=@0xb013a2a8)
    at libs/sigc++2/sigc++/functors/mem_fun.h:1917
#6  0xb7ddb94e in sigc::adaptor_functor<sigc::bound_mem_functor2<void, ARDOUR::Route, ARDOUR::Redirect*, void*> >::operator()<ARDOUR::Redirect* const&, void* const&> (this=0x92e98b8, _A_arg1=@0xb013a290, _A_arg2=@0xb013a2a8) at libs/sigc++2/sigc++/adaptors/adaptor_trait.h:103
#7  0xb7ddb988 in sigc::internal::slot_call2<sigc::bound_mem_functor2<void, ARDOUR::Route, ARDOUR::Redirect*, void*>, void, ARDOUR::Redirect*, void*>::call_it (rep=0x92e98a0, a_1=@0xb013a290, a_2=@0xb013a2a8) at libs/sigc++2/sigc++/functors/slot.h:173
#8  0xb7dc3599 in sigc::internal::signal_emit2<void, ARDOUR::Redirect*, void*, sigc::nil>::emit (impl=0x92e9870, _A_a1=@0xb013a290, _A_a2=@0xb013a2a8)
    at libs/sigc++2/sigc++/signal.h:1248
#9  0xb7dc366a in sigc::signal2<void, ARDOUR::Redirect*, void*, sigc::nil>::emit (this=0x92e88a4, _A_a1=@0xb013a290, _A_a2=@0xb013a2a8)
---Type <return> to continue, or q <return> to quit---
    at libs/sigc++2/sigc++/signal.h:2881
#10 0xb7dc369b in sigc::signal2<void, ARDOUR::Redirect*, void*, sigc::nil>::operator() (this=0x92e88a4, _A_a1=@0xb013a290, _A_a2=@0xb013a2a8)
    at libs/sigc++2/sigc++/signal.h:2889
#11 0xb7dbf0c2 in ARDOUR::Redirect::set_active (this=0x92e86a8, yn=false, src=0x9295da8) at libs/ardour/redirect.cc:492
#12 0xb7cf779a in ARDOUR::AudioTrack::freeze (this=0x9295da8, itt=@0xbf973400) at libs/ardour/audio_track.cc:846
#13 0x085c9f6a in Editor::freeze_thread (this=0x9040f98) at gtk2_ardour/editor_ops.cc:3556
#14 0x085cadbd in Editor::_freeze_thread (arg=0x9040f98) at gtk2_ardour/editor_ops.cc:3550
#15 0xb6d204fb in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#16 0xb6670e5e in clone () from /lib/tls/i686/cmov/libc.so.6

ardour_backtrace.txt (12,900 bytes)   

2008-07-26 16:05

 

foo.ardour (7,355 bytes)

Issue History

Date Modified Username Field Change
2008-07-26 16:04 profittlich New Issue
2008-07-26 16:04 profittlich File Added: ardour_backtrace.txt
2008-07-26 16:05 profittlich File Added: foo.ardour
2010-04-24 10:28 cth103 Category bugs => bugs2
2010-04-24 10:32 cth103 Category bugs2 => bugs