View Issue Details

IDProjectCategoryView StatusLast Update
0005111ardourbugspublic2012-09-26 11:40
Reporternolaiz Assigned To 
PrioritynormalSeveritycrashReproducibilityalways
Status newResolutionopen 
Summary0005111: Ardour crashes (segfault) trying to do a multichannel export
DescriptionArdour crashed just clicking on "Export to audio file(s)" of a multichannel session from the main "Session" menu. Not happens when doing it from a (also multichannel) region.


Backtrace attached.
TagsNo tags attached.

Activities

2012-09-26 11:40

 

ardour3_crash_on_export.txt (16,781 bytes)   
Invalid channel cout for get_channel!
(ardour-3.0:26400): GLib-GObject-WARNING **: can't peek value table for type `(null)' which is not currently referenced
(ardour-3.0:26400): GLib-GObject-WARNING **: gvalue.c:192: cannot initialize GValue with type `(null)', this type has no GTypeValueTable implementation

Program received signal SIGSEGV, Segmentation fault.
0x000000000116e8dd in boost::weak_ptr<ARDOUR::AudioPort>::operator= (this=0x0)
    at /usr/include/boost/smart_ptr/weak_ptr.hpp:23
23      template<class T> class weak_ptr

(gdb) thread apply all bt

Thread 19 (Thread 0x7fffa6689700 (LWP 26424)):
#0  0x00007fffec9ab14e in pthread_cond_timedwait () from /lib64/libpthread.so.0
#1  0x00007ffff3f9a2bf in g_cond_wait_until () from /usr/lib64/libglib-2.0.so.0
#2  0x00007ffff3f2b3e3 in g_async_queue_pop_intern_unlocked () from /usr/lib64/libglib-2.0.so.0
#3  0x00007ffff3f2ba1a in g_async_queue_timeout_pop () from /usr/lib64/libglib-2.0.so.0
#4  0x00007ffff3f7d2a6 in g_thread_pool_thread_proxy () from /usr/lib64/libglib-2.0.so.0
#5  0x00007ffff3f7ca65 in g_thread_proxy () from /usr/lib64/libglib-2.0.so.0
#6  0x00007fffec9a6ec6 in start_thread () from /lib64/libpthread.so.0
#7  0x00007fffec6dfb8d in clone () from /lib64/libc.so.6

Thread 18 (Thread 0x7fffa6e8a700 (LWP 26423)):
#0  0x00007fffec6af65d in nanosleep () from /lib64/libc.so.6
#1  0x00007fffec6d9dd4 in usleep () from /lib64/libc.so.6
#2  0x00007ffff7376a0e in ARDOUR::AutomationWatch::thread (this=0xe640e60) at ../libs/ardour/automation_watch.cc:137
#3  0x00007ffff73793a6 in boost::_mfi::mf0<void, ARDOUR::AutomationWatch>::operator() (this=0xe3b7300, p=0xe640e60)
    at /usr/include/boost/bind/mem_fn_template.hpp:49
#4  0x00007ffff7379016 in boost::_bi::list1<boost::_bi::value<ARDOUR::AutomationWatch*> >::operator()<boost::_mfi::mf0<void, ARDOUR::AutomationWatch>, boost::_bi::list0> (this=0xe3b7310, f=..., a=...) at /usr/include/boost/bind/bind.hpp:253
#5  0x00007ffff7378c77 in boost::_bi::bind_t<void, boost::_mfi::mf0<void, ARDOUR::AutomationWatch>, boost::_bi::list1<boost::_bi::value<ARDOUR::AutomationWatch*> > >::operator() (this=0xe3b7300) at /usr/include/boost/bind/bind_template.hpp:20
#6  0x00007ffff7378c0c in sigc::adaptor_functor<boost::_bi::bind_t<void, boost::_mfi::mf0<void, ARDOUR::AutomationWatch>, boost::_bi::list1<boost::_bi::value<ARDOUR::AutomationWatch*> > > >::operator() (this=0xe3b7300)
    at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:251
#7  0x00007ffff73788d2 in sigc::internal::slot_call0<boost::_bi::bind_t<void, boost::_mfi::mf0<void, ARDOUR::AutomationWatch>, boost::_bi::list1<boost::_bi::value<ARDOUR::AutomationWatch*> > >, void>::call_it (rep=0xe3b72d0)
    at /usr/include/sigc++-2.0/sigc++/functors/slot.h:103
#8  0x00007ffff46d38ad in call_thread_entry_slot () from /usr/lib64/libglibmm-2.4.so.1
#9  0x00007ffff3f7ca65 in g_thread_proxy () from /usr/lib64/libglib-2.0.so.0
#10 0x00007fffec9a6ec6 in start_thread () from /lib64/libpthread.so.0
#11 0x00007fffec6dfb8d in clone () from /lib64/libc.so.6

Thread 17 (Thread 0x7fffc8931700 (LWP 26422)):
#0  0x00007fffec9ae44d in nanosleep () from /lib64/libpthread.so.0
#1  0x00007ffff3f7e352 in g_usleep () from /usr/lib64/libglib-2.0.so.0
#2  0x00007ffff73292ea in ARDOUR::AudioEngine::meter_thread (this=0x22fb430) at ../libs/ardour/audioengine.cc:758
#3  0x00007ffff733af4a in boost::_mfi::mf0<void, ARDOUR::AudioEngine>::operator() (this=0x2186390, p=0x22fb430)
    at /usr/include/boost/bind/mem_fn_template.hpp:49
#4  0x00007ffff733a99e in boost::_bi::list1<boost::_bi::value<ARDOUR::AudioEngine*> >::operator()<boost::_mfi::mf0<void, ARDOUR::AudioEngine>, boost::_bi::list0> (this=0x21863a0, f=..., a=...) at /usr/include/boost/bind/bind.hpp:253
#5  0x00007ffff7339e83 in boost::_bi::bind_t<void, boost::_mfi::mf0<void, ARDOUR::AudioEngine>, boost::_bi::list1<boost::_bi::value<ARDOUR::AudioEngine*> > >::operator() (this=0x2186390) at /usr/include/boost/bind/bind_template.hpp:20
#6  0x00007ffff73391ba in sigc::adaptor_functor<boost::_bi::bind_t<void, boost::_mfi::mf0<void, ARDOUR::AudioEngine>, boost::_bi::list1<boost::_bi::value<ARDOUR::AudioEngine*> > > >::operator() (this=0x2186390)
    at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:251
#7  0x00007ffff7337b0e in sigc::internal::slot_call0<boost::_bi::bind_t<void, boost::_mfi::mf0<void, ARDOUR::AudioEngine>, boost::_bi::list1<boost::_bi::value<ARDOUR::AudioEngine*> > >, void>::call_it (rep=0x2186360)
    at /usr/include/sigc++-2.0/sigc++/functors/slot.h:103
#8  0x00007ffff46d38ad in call_thread_entry_slot () from /usr/lib64/libglibmm-2.4.so.1
#9  0x00007ffff3f7ca65 in g_thread_proxy () from /usr/lib64/libglib-2.0.so.0
#10 0x00007fffec9a6ec6 in start_thread () from /lib64/libpthread.so.0
#11 0x00007fffec6dfb8d in clone () from /lib64/libc.so.6

Thread 16 (Thread 0x7fffc9132700 (LWP 26421)):
#0  0x00007fffec6d6ef3 in poll () from /lib64/libc.so.6
#1  0x00007ffff3f57cf5 in g_main_context_iterate.isra.23.part.24 () from /usr/lib64/libglib-2.0.so.0
#2  0x00007ffff3f5821a in g_main_loop_run () from /usr/lib64/libglib-2.0.so.0
#3  0x00007ffff5c3773e in BaseUI::main_thread (this=0x3297420) at ../libs/pbd/base_ui.cc:80
#4  0x00007ffff5c3ae8f in sigc::bound_mem_functor0<void, BaseUI>::operator() (this=0x3297bd8)
    at /usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:1787
#5  0x00007ffff5c3abd0 in sigc::adaptor_functor<sigc::bound_mem_functor0<void, BaseUI> >::operator() (this=0x3297bd0)
    at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:251
#6  0x00007ffff5c3a5b7 in sigc::internal::slot_call0<sigc::bound_mem_functor0<void, BaseUI>, void>::call_it (rep=0x3297ba0)
    at /usr/include/sigc++-2.0/sigc++/functors/slot.h:103
#7  0x00007ffff46d38ad in call_thread_entry_slot () from /usr/lib64/libglibmm-2.4.so.1
#8  0x00007ffff3f7ca65 in g_thread_proxy () from /usr/lib64/libglib-2.0.so.0
#9  0x00007fffec9a6ec6 in start_thread () from /lib64/libpthread.so.0
#10 0x00007fffec6dfb8d in clone () from /lib64/libc.so.6

Thread 15 (Thread 0x7fffa6f04800 (LWP 26420)):
#0  0x00007fffec6d6ef3 in poll () from /lib64/libc.so.6
#1  0x00007ffff73891f5 in ARDOUR::Butler::thread_work (this=0x31407f0) at ../libs/ardour/butler.cc:150
#2  0x00007ffff738914f in ARDOUR::Butler::_thread_work (arg=0x31407f0) at ../libs/ardour/butler.cc:134
#3  0x00007ffff5c5e068 in fake_thread_start (arg=0x3297240) at ../libs/pbd/pthread_utils.cc:80
#4  0x00007fffec9a6ec6 in start_thread () from /lib64/libpthread.so.0
#5  0x00007fffec6dfb8d in clone () from /lib64/libc.so.6

Thread 14 (Thread 0x7fffa6f86700 (LWP 26419)):
#0  0x00007fffec9ad061 in sem_timedwait () from /lib64/libpthread.so.0
#1  0x00007fffeeccf062 in Jack::JackPosixSemaphore::TimedWait(long) () from /usr/lib64/libjack.so.0
#2  0x00007fffeecb5939 in Jack::JackConnectionManager::SuspendRefNum(Jack::JackClientControl*, Jack::JackPosixSemaphore*, Jack::JackClientTiming*, long) () from /usr/lib64/libjack.so.0
#3  0x00007fffeecb44a7 in Jack::JackClient::CycleWait() () from /usr/lib64/libjack.so.0
#4  0x00007ffff732819a in ARDOUR::AudioEngine::process_thread (this=0x22fb430) at ../libs/ardour/audioengine.cc:437
#5  0x00007ffff7327b0c in ARDOUR::AudioEngine::_process_thread (arg=0x22fb430) at ../libs/ardour/audioengine.cc:335
#6  0x00007fffeecb2eb3 in Jack::JackClient::Execute() () from /usr/lib64/libjack.so.0
#7  0x00007fffeecce2b0 in Jack::JackPosixThread::ThreadHandler(void*) () from /usr/lib64/libjack.so.0
#8  0x00007fffec9a6ec6 in start_thread () from /lib64/libpthread.so.0
#9  0x00007fffec6dfb8d in clone () from /lib64/libc.so.6

Thread 13 (Thread 0x7fffc8130700 (LWP 26416)):
#0  0x00007fffec9add2d in read () from /lib64/libpthread.so.0
#1  0x00007fffeecd01bb in Jack::JackClientSocket::Read(void*, int) () from /usr/lib64/libjack.so.0
#2  0x00007fffeecd2e3d in Jack::JackSocketClientChannel::Execute() () from /usr/lib64/libjack.so.0
#3  0x00007fffeecce2b0 in Jack::JackPosixThread::ThreadHandler(void*) () from /usr/lib64/libjack.so.0
#4  0x00007fffec9a6ec6 in start_thread () from /lib64/libpthread.so.0
#5  0x00007fffec6dfb8d in clone () from /lib64/libc.so.6

Thread 12 (Thread 0x7fffdc0eb700 (LWP 26415)):
#0  0x00007fffec9aadcc in pthread_cond_wait () from /lib64/libpthread.so.0
#1  0x00007fffeeccf884 in Jack::JackPosixProcessSync::Wait() () from /usr/lib64/libjack.so.0
#2  0x00007fffeeccaec5 in Jack::JackMessageBuffer::Execute() () from /usr/lib64/libjack.so.0
#3  0x00007fffeecce2b0 in Jack::JackPosixThread::ThreadHandler(void*) () from /usr/lib64/libjack.so.0
#4  0x00007fffec9a6ec6 in start_thread () from /lib64/libpthread.so.0
#5  0x00007fffec6dfb8d in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7fffdd187700 (LWP 26406)):
#0  0x00007fffec9aadcc in pthread_cond_wait () from /lib64/libpthread.so.0
#1  0x00007ffff3f9a169 in g_cond_wait () from /usr/lib64/libglib-2.0.so.0
#2  0x00007ffff72dee73 in ARDOUR::Analyser::work () at ../libs/ardour/analyser.cc:81
#3  0x00007ffff72dec65 in analyser_work () at ../libs/ardour/analyser.cc:46
#4  0x00000000013cdfd7 in sigc::pointer_functor0<void>::operator() (this=0x207b318)
    at /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h:77
#5  0x00000000013cb7de in sigc::adaptor_functor<sigc::pointer_functor0<void> >::operator() (this=0x207b310)
    at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:251
#6  0x00000000013c82af in sigc::internal::slot_call0<sigc::pointer_functor0<void>, void>::call_it (rep=0x207b2e0)
    at /usr/include/sigc++-2.0/sigc++/functors/slot.h:103
#7  0x00007ffff46d38ad in call_thread_entry_slot () from /usr/lib64/libglibmm-2.4.so.1
#8  0x00007ffff3f7ca65 in g_thread_proxy () from /usr/lib64/libglib-2.0.so.0
#9  0x00007fffec9a6ec6 in start_thread () from /lib64/libpthread.so.0
#10 0x00007fffec6dfb8d in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7fffdd988700 (LWP 26405)):
#0  0x00007fffec9aadcc in pthread_cond_wait () from /lib64/libpthread.so.0
#1  0x00007ffff3f9a169 in g_cond_wait () from /usr/lib64/libglib-2.0.so.0
#2  0x00007ffff76b2437 in peak_thread_work () at ../libs/ardour/source_factory.cc:68
#3  0x00000000013cdfd7 in sigc::pointer_functor0<void>::operator() (this=0x207c028)
    at /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h:77
#4  0x00000000013cb7de in sigc::adaptor_functor<sigc::pointer_functor0<void> >::operator() (this=0x207c020)
    at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:251
#5  0x00000000013c82af in sigc::internal::slot_call0<sigc::pointer_functor0<void>, void>::call_it (rep=0x207bff0)
    at /usr/include/sigc++-2.0/sigc++/functors/slot.h:103
#6  0x00007ffff46d38ad in call_thread_entry_slot () from /usr/lib64/libglibmm-2.4.so.1
#7  0x00007ffff3f7ca65 in g_thread_proxy () from /usr/lib64/libglib-2.0.so.0
#8  0x00007fffec9a6ec6 in start_thread () from /lib64/libpthread.so.0
#9  0x00007fffec6dfb8d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7fffde189700 (LWP 26404)):
#0  0x00007fffec9aadcc in pthread_cond_wait () from /lib64/libpthread.so.0
#1  0x00007ffff3f9a169 in g_cond_wait () from /usr/lib64/libglib-2.0.so.0
#2  0x00007ffff76b2437 in peak_thread_work () at ../libs/ardour/source_factory.cc:68
#3  0x00000000013cdfd7 in sigc::pointer_functor0<void>::operator() (this=0x207bfd8)
    at /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h:77
#4  0x00000000013cb7de in sigc::adaptor_functor<sigc::pointer_functor0<void> >::operator() (this=0x207bfd0)
    at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:251
#5  0x00000000013c82af in sigc::internal::slot_call0<sigc::pointer_functor0<void>, void>::call_it (rep=0x207bfa0)
    at /usr/include/sigc++-2.0/sigc++/functors/slot.h:103
#6  0x00007ffff46d38ad in call_thread_entry_slot () from /usr/lib64/libglibmm-2.4.so.1
#7  0x00007ffff3f7ca65 in g_thread_proxy () from /usr/lib64/libglib-2.0.so.0
#8  0x00007fffec9a6ec6 in start_thread () from /lib64/libpthread.so.0
#9  0x00007fffec6dfb8d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7fffde98a700 (LWP 26403)):
#0  0x00007fffec6af65d in nanosleep () from /lib64/libc.so.6
#1  0x00007fffec6d9dd4 in usleep () from /lib64/libc.so.6
#2  0x00000000016226dd in gui_event_loop (ptr=0x0) at ../gtk2_ardour/linux_vst_gui_support.cc:363
#3  0x00007fffec9a6ec6 in start_thread () from /lib64/libpthread.so.0
#4  0x00007fffec6dfb8d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7ffff7fc7980 (LWP 26400)):
#0  0x000000000116e8dd in boost::weak_ptr<ARDOUR::AudioPort>::operator= (this=0x0)
    at /usr/include/boost/smart_ptr/weak_ptr.hpp:23
#1  0x000000000116e929 in Glib::Value<boost::weak_ptr<ARDOUR::AudioPort> >::set (this=0x7fffffffaeb0, data=...)
    at /usr/include/glibmm-2.4/glibmm/value_custom.h:237
#2  0x000000000116ce16 in Gtk::TreeRow::set_value<boost::weak_ptr<ARDOUR::AudioPort> > (this=0x7fffffffaf10, column=..., 
    data=...) at /usr/include/gtkmm-2.4/gtkmm/treeiter.h:454
#3  0x00000000011660cc in PortExportChannelSelector::ChannelTreeView::set_config (this=0xe9f2280, c=...)
    at ../gtk2_ardour/export_channel_selector.cc:253
#4  0x0000000001164adb in PortExportChannelSelector::sync_with_manager (this=0xe9f2000)
    at ../gtk2_ardour/export_channel_selector.cc:102
#5  0x0000000001164206 in PortExportChannelSelector::PortExportChannelSelector (this=0xe9f2000, session=0x313ac00, 
    manager=..., __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../gtk2_ardour/export_channel_selector.cc:81
#6  0x0000000001176f66 in ExportDialog::init_components (this=0x7fffffffb870) at ../gtk2_ardour/export_dialog.cc:212
#7  0x0000000001175e88 in ExportDialog::init (this=0x7fffffffb870) at ../gtk2_ardour/export_dialog.cc:104
#8  0x0000000001175878 in ExportDialog::set_session (this=0x7fffffffb870, s=0x313ac00) at ../gtk2_ardour/export_dialog.cc:68

#9  0x0000000001089693 in Editor::export_audio (this=0x29aaf70) at ../gtk2_ardour/editor_export_audio.cc:64
#10 0x0000000000ef179d in sigc::bound_mem_functor0<void, PublicEditor>::operator() (this=0x2e2a6c8)
    at /usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:1787
#11 0x0000000000eefe8c in sigc::adaptor_functor<sigc::bound_mem_functor0<void, PublicEditor> >::operator() (this=0x2e2a6c0)
    at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:251
#12 0x0000000000eee253 in sigc::internal::slot_call0<sigc::bound_mem_functor0<void, PublicEditor>, void>::call_it (
    rep=0x2e2a690) at /usr/include/sigc++-2.0/sigc++/functors/slot.h:103
#13 0x00007ffff46debd8 in Glib::SignalProxyNormal::slot0_void_callback(_GObject*, void*) ()
   from /usr/lib64/libglibmm-2.4.so.1
#14 0x00007ffff444e4f2 in g_closure_invoke () from /usr/lib64/libgobject-2.0.so.0
#15 0x00007ffff445f76d in signal_emit_unlocked_R () from /usr/lib64/libgobject-2.0.so.0
#16 0x00007ffff4467e62 in g_signal_emit_valist () from /usr/lib64/libgobject-2.0.so.0
#17 0x00007ffff4468002 in g_signal_emit () from /usr/lib64/libgobject-2.0.so.0
#18 0x00007ffff35454b3 in _gtk_action_emit_activate () from /usr/lib64/libgtk-x11-2.0.so.0
#19 0x00007ffff444e71d in _g_closure_invoke_va () from /usr/lib64/libgobject-2.0.so.0
#20 0x00007ffff44674e3 in g_signal_emit_valist () from /usr/lib64/libgobject-2.0.so.0
#21 0x00007ffff4468002 in g_signal_emit () from /usr/lib64/libgobject-2.0.so.0
#22 0x00007ffff371e5be in gtk_widget_activate () from /usr/lib64/libgtk-x11-2.0.so.0
#23 0x00007ffff361a05d in gtk_menu_shell_activate_item () from /usr/lib64/libgtk-x11-2.0.so.0
#24 0x00007ffff361a3f7 in gtk_menu_shell_button_release () from /usr/lib64/libgtk-x11-2.0.so.0
#25 0x00007ffff3606c08 in _gtk_marshal_BOOLEAN__BOXED () from /usr/lib64/libgtk-x11-2.0.so.0
#26 0x00007ffff444e4f2 in g_closure_invoke () from /usr/lib64/libgobject-2.0.so.0
#27 0x00007ffff445fac9 in signal_emit_unlocked_R () from /usr/lib64/libgobject-2.0.so.0
#28 0x00007ffff4467b4e in g_signal_emit_valist () from /usr/lib64/libgobject-2.0.so.0
#29 0x00007ffff4468002 in g_signal_emit () from /usr/lib64/libgobject-2.0.so.0
#30 0x00007ffff371f3c1 in gtk_widget_event_internal () from /usr/lib64/libgtk-x11-2.0.so.0
#31 0x00007ffff3604d93 in gtk_propagate_event () from /usr/lib64/libgtk-x11-2.0.so.0
#32 0x00007ffff36050f3 in gtk_main_do_event () from /usr/lib64/libgtk-x11-2.0.so.0
#33 0x00007ffff3274b3c in gdk_event_dispatch () from /usr/lib64/libgdk-x11-2.0.so.0
#34 0x00007ffff3f57a33 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#35 0x00007ffff3f57d38 in g_main_context_iterate.isra.23.part.24 () from /usr/lib64/libglib-2.0.so.0
#36 0x00007ffff3f5821a in g_main_loop_run () from /usr/lib64/libglib-2.0.so.0
#37 0x00007ffff3604147 in gtk_main () from /usr/lib64/libgtk-x11-2.0.so.0
#38 0x00007ffff60241ca in Gtkmm2ext::UI::run (this=0x1e14760, old_receiver=...) at ../libs/gtkmm2ext/gtk_ui.cc:268
#39 0x000000000123be49 in main (argc=1, argv=0x7fffffffcf48) at ../gtk2_ardour/main.cc:455

ardour3_crash_on_export.txt (16,781 bytes)   

Issue History

Date Modified Username Field Change
2012-09-26 11:40 nolaiz New Issue
2012-09-26 11:40 nolaiz File Added: ardour3_crash_on_export.txt