View Issue Details

IDProjectCategoryView StatusLast Update
0008211ardourbugspublic2020-06-09 21:02
Reportermarkand Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
PlatformSome Other LinuxOSSome Other LinuxOS Versionunknown
Product Version6.0 
Summary0008211: Crash when exporting
DescriptionHi,

I'm running Ardour 6 on Alpine Linux 3.12 (built on musl). Everytime I try to export a session it crashes immediately, this is the backtrace when built with debug symbols:

Starting program: /usr/lib/ardour6/ardour-6.0.0
[New LWP 15214]
[New LWP 15215]
[New LWP 15216]
[New LWP 15217]
[New LWP 15242]
[LWP 15242 exited]
[New LWP 15243]
[New LWP 15244]
[New LWP 15245]
[New LWP 15246]
[New LWP 15247]
[LWP 15247 exited]
[New LWP 15248]
[New LWP 15249]
[New LWP 15250]
[New LWP 15251]
[LWP 15246 exited]
[LWP 15250 exited]
[LWP 15249 exited]
[LWP 15245 exited]
[Detaching after vfork from child process 15253]
[New LWP 15254]
[New LWP 15255]
[New LWP 15256]
[New LWP 15257]
[New LWP 15258]
[LWP 15251 exited]
[LWP 15258 exited]
[New LWP 15259]
[New LWP 15260]
[New LWP 15261]
[New LWP 15262]
[New LWP 15263]
[New LWP 15264]
[New LWP 15265]
[New LWP 15266]
[New LWP 15267]
[New LWP 15268]
[New LWP 15269]
[New LWP 15270]
[New LWP 15271]
[New LWP 15272]

Thread 1 "ArdourGUI" received signal SIGSEGV, Segmentation fault.
0x00007ffff3f54610 in getframeaddr () from /usr/lib/libexecinfo.so.1
#0 0x00007ffff3f54610 in getframeaddr () at /usr/lib/libexecinfo.so.1
0000001 0x00007ffff3f54921 in backtrace () at /usr/lib/libexecinfo.so.1
#2 0x00007ffff59b7350 in PBD::stacktrace(std::ostream&, int) (out=..., levels=30) at ../libs/pbd/stacktrace.cc:59
        array =
          {0x7ffff7880f44 <ARDOUR::Session::realtime_stop(bool, bool)+94>, 0x7ffff77fae10 <ARDOUR::Session::pre_export()+248>, 0x7ffff77fb0b0 <ARDOUR::Session::start_audio_export(long, bool, bool)+160>, 0x7ffff725ea78 <ARDOUR::ExportHandler::start_timespan()+1268>, 0x7ffff725e51f <ARDOUR::ExportHandler::do_export()+537>, 0x555555f7decf <ExportDialog::do_export()+649>, 0x555555f85231 <sigc::bound_mem_functor0<void, ExportDialog>::operator()() const+99>, 0x555555f848da <sigc::adaptor_functor<sigc::bound_mem_functor0<void, ExportDialog> >::operator()() const+28>, 0x555555f84a25 <sigc::internal::slot_call0<sigc::bound_mem_functor0<void, ExportDialog>, void>::call_it(sigc::internal::slot_rep*)+36>, 0x7ffff581dbb4 <Glib::SignalProxyNormal::slot0_void_callback(_GObject*, void*)+40>, 0x7ffff57875f9 <g_cclosure_marshal_VOID__VOID>, 0x555555bbc411 <boost::function1<void, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::swap(boost::function1<void, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >&)+123>, 0x55555ea93870, 0x7fffffffbae0, 0x7fffffffbaa0, 0x555555ba679c <boost::function1<void, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::~function1()+24>, 0x0, 0x7fffffffbae0, 0x7fffffffbac0, 0x555555ba3230 <boost::function<void (std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)>::~function()+24>, 0x7fffffffbbd0, 0x55555ea93808, 0x1, 0x55555ea93808, 0x7fffffffbaf0, 0x7fffffffbb00, 0x7fffffffbb10, 0x7ffff7f8be8c, 0x55555ea93560, 0x4a0, 0x2000000000, 0x20, 0x7fffffffbb30, 0x55555ea93f10, 0x1, 0xfffffffffffffffe, 0x7ffff7ffbd88, 0x55555ea93788, 0x1, 0x55555ea93788, 0x7fffffffbb70, 0x555555b7e8dc <boost::detail::sp_counted_base::add_ref_copy()+28>, 0x55555ea936e0, 0x55555ea93780, 0x7fffffffbb90, 0x555555b7e92f <boost::detail::shared_count::shared_count(boost::detail::shared_count const&)+57>, 0x7fffffffbd38, 0x55555ea93f38, 0x7fffffffbbb0, 0x7ffff5f755e3 <boost::shared_ptr<AudioGrapher::Sink<int> >::shared_ptr(boost::shared_ptr<AudioGrapher::Sink<int> > const&)+57>, 0x7fffffffbd30, 0x55555ea93f30, 0x7fffffffbbf0, 0x7ffff5f753e4 <__gnu_cxx::new_allocator<std::_List_node<boost::shared_ptr<AudioGrapher::Sink<int> > > >::construct<boost::shared_ptr<AudioGrapher::Sink<int> >, boost::shared_ptr<AudioGrapher::Sink<int> > const&>(boost::shared_ptr<AudioGrapher::Sink<int> >*, boost::shared_ptr<AudioGrapher::Sink<int> > const&)+64>, 0x55555ea937c0, 0x7fffffffbd30, 0x55555ea93f30, 0x55555ea93410, 0x7fffffffbc00, 0x7ffff7f8be8c, 0x7fffffffbc20, 0x460, 0x2000000000, 0x20, 0x0, 0x55555ea93f50, 0x1, 0x7ffff7f8be8c, 0x7ffff7ffbd88, 0x420, 0x2000000000, 0x20, 0x55555ea93410, 0x55555ea93f90, 0x1, 0xfffffffffffffffe, 0x7ffff7ffbd88, 0x55555ea93468, 0x1, 0x55555ea93468, 0x7fffffffbcb0, 0x555555b7e8dc <boost::detail::sp_counted_base::add_ref_copy()+28>, 0x55555ea93f70, 0x55555ea93460, 0x7fffffffbcd0, 0x555555b7e92f <boost::detail::shared_count::shared_count(boost::detail::shared_count const&)+57>, 0x7fffffffbe88, 0x55555ea93fb8, 0x7fffffffbcf0, 0x7ffff70c7c75 <boost::shared_ptr<AudioGrapher::Sink<float> >::shared_ptr(boost::shared_ptr<AudioGrapher::Sink<float> > const&)+57>, 0x7fffffffbe80, 0x7ffff7f8be8c, 0x7fffffffbd30, 0x3e0, 0x1e00000000, 0x1e, 0x55555ea93fb0, 0x55555ea93fd0, 0x1, 0x7ffff7f8be8c, 0x7ffff7ffbd88, 0x3a0, 0x1c00000000, 0x1c, 0x0, 0x55555ea94010, 0x1, 0xfffffffffffffffe, 0x7ffff7ffbd58, 0x55555ea905c8, 0x1, 0x55555ea905c8, 0x7fffffffbdb0, 0x555555b7e8dc <boost::detail::sp_counted_base::add_ref_copy()+28>, 0x55555ea93ff0, 0x55555ea905c0, 0x7fffffffbdd0, 0x555555b7e92f <boost::detail::shared_count::shared_count(boost::detail::shared_count const&)+57>, 0x7fffffffbf88, 0x7ffff7f8be8c, 0x7fffffffbdf0, 0x360, 0x1a00000000, 0x1a, 0x7fffffffbe30, 0x55555ea94050, 0x1, 0x7ffff7f8be8c, 0x7ffff7ffbd28, 0x320, 0x1800000000, 0x18, 0x7fffffffbe60, 0x55555ea94090, 0x1, 0xfffffffffffffffe, 0x7ffff7ffbcf8, 0x55555ea90408, 0x1, 0x55555ea90408, 0x7fffffffbe90, 0x555555b7e8dc <boost::detail::sp_counted_base::add_ref_copy()+28>, 0x55555ea94070, 0x55555ea90400, 0x7fffffffbeb0, 0x55555ea94168, 0x1, 0x55555dd25fc0, 0x7fffffffbed0, 0x7ffff712fb60 <__gnu_cxx::__aligned_membuf<std::pair<Evoral::Parameter const, boost::shared_ptr<Evoral::Control> > >::_M_ptr() const+24>, 0x7fffffffc060, 0x55555dd25fc0, 0x7fffffffbef0, 0x55555dd25fc0, 0x7fffffffbf00, 0x7ffff712fb60 <__gnu_cxx::__aligned_membuf<std::pair<Evoral::Parameter const, boost::shared_ptr<Evoral::Control> > >::_M_ptr() const+24>, 0x7fffffffbf20, 0x55555dd25fc0, 0x7fffffffbf20, 0x7ffff712e040 <std::_Rb_tree_node<std::pair<Evoral::Parameter const, boost::shared_ptr<Evoral::Control> > >::_M_valptr() const+28>, 0x55555dd25fc0, 0x7fffffffbf47, 0x7fffffffbf50, 0x7ffff45c6ca4, 0x0, 0x7ffff45c6e20 <__cxxabiv1::__vmi_class_type_info::__do_dyncast(long, __cxxabiv1::__class_type_info::__sub_kind, __cxxabiv1::__class_type_info const*, void const*, __cxxabiv1::__class_type_info const*, void const*, __cxxabiv1::__class_type_info::__dyncast_result&) const+144>, 0x7fffffffbf70, 0x55555dd123a0, 0x55555dd123a0, 0x65dd25fc0, 0x555556d26000 <typeinfo for ARDOUR::AutomationList>, 0x55555dd13108, 0x1, 0x55555dd13108, 0x7fffffffbfa0, 0x555555b7e8dc <boost::detail::sp_counted_base::add_ref_copy()+28>, 0x7fffffffbfc0, 0x3e19e11f055fd93b, 0x7fffffffbfc0, 0x55555dd123a0, 0x0, 0x555556d26000 <typeinfo for ARDOUR::AutomationList>, 0x555559a00670, 0x7fffffffc030, 0x7fffffffc000, 0x7ffff775fb3d <__gnu_cxx::operator!=<unsigned long const*, unsigned long*, std::vector<unsigned long, std::allocator<unsigned long> > >(__gnu_cxx::__normal_iterator<unsigned long const*, std::vector<unsigned long, std::allocator<unsigned long> > > const&, __gnu_cxx::__normal_iterator<unsigned long*, std::vector<unsigned long, std::allocator<unsigned long> > > const&)+44>, 0x7fffffffc030, 0x7fffffffc028, 0x55555d290b58, 0x555556e7f7e0, 0x7fffffffc050, 0x7ffff04fb463 <ARDOUR::AlsaAudioBackend::in_process_thread()+159>, 0x7fffffffc040, 0x555559a003a0, 0x7fffffffc040, 0x55555d290b58, 0x55555d290b58, 0x3e19e11f055fd93b, 0x7fffffffc060, 0x55555d268ab0}
        size = 140737488337472
        strings = 0x555555bc39cf <std::_Rb_tree<boost::shared_ptr<PBD::Connection>, std::pair<boost::shared_ptr<PBD::Connection> const, boost::function<void (std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)> >, std::_Select1st<std::pair<boost::shared_ptr<PBD::Connection> const, boost::function<void (std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)> > >, std::less<boost::shared_ptr<PBD::Connection> >, std::allocator<std::pair<boost::shared_ptr<PBD::Connection> const, boost::function<void (std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)> > > >::_M_get_insert_hint_unique_pos(std::_Rb_tree_const_iterator<std::pair<boost::shared_ptr<PBD::Connection> const, boost::function<void (std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)> > >, boost::shared_ptr<PBD::Connection> const&)+241>
        i = 93825148729080
#3 0x00007ffff7880f44 in ARDOUR::Session::realtime_stop(bool, bool) (this=0x55555d267fe0, abort=true, clear_state=true) at ../libs/ardour/session_transport.cc:97
        todo = (ARDOUR::Session::PostTransportStop | ARDOUR::Session::PostTransportRoll | ARDOUR::Session::PostTransportOverWrite | ARDOUR::Session::PostTransportReverse | ARDOUR::Session::PostTransportAdjustPlaybackBuffering | ARDOUR::Session::PostTransportLoopChanged | unknown: 20480)
        r = {px = 0x400000001, pn = {pi_ = 0x55555dd2a4c8}}
0000004 0x00007ffff77fae10 in ARDOUR::Session::pre_export() (this=0x55555d267fe0) at ../libs/ardour/session_export.cc:83
0000005 0x00007ffff77fb0b0 in ARDOUR::Session::start_audio_export(long, bool, bool) (this=0x55555d267fe0, position=0, realtime=false, region_export=false) at ../libs/ardour/session_export.cc:117
        __func__ = "start_audio_export"
        timeout = 4
#6 0x00007ffff725ea78 in ARDOUR::ExportHandler::start_timespan() (this=0x55555e924ea0) at ../libs/ardour/export_handler.cc:230
        realtime = false
        region_export = false
        __func__ = "start_timespan"
#7 0x00007ffff725e51f in ARDOUR::ExportHandler::do_export() (this=0x55555e924ea0) at ../libs/ardour/export_handler.cc:167
        timespan_set =
                {_M_t = {_M_impl = {<std::allocator<std::_Rb_tree_node<ARDOUR::ComparableSharedPtr<ARDOUR::ExportTimespan> > >> = {<__gnu_cxx::new_allocator<std::_Rb_tree_node<ARDOUR::ComparableSharedPtr<ARDOUR::ExportTimespan> > >> = {<No data fields>}, <No data fields>}, <std::_Rb_tree_key_compare<std::less<ARDOUR::ComparableSharedPtr<ARDOUR::ExportTimespan> > >> = {_M_key_compare = {<std::binary_function<ARDOUR::ComparableSharedPtr<ARDOUR::ExportTimespan>, ARDOUR::ComparableSharedPtr<ARDOUR::ExportTimespan>, bool>> = {<No data fields>}, <No data fields>}}, <std::_Rb_tree_header> = {_M_header = {_M_color = std::_S_red, _M_parent = 0x55555ea08f60, _M_left = 0x55555ea08f60, _M_right = 0x55555ea08f60}, _M_node_count = 1}, <No data fields>}}}
        l = {mutex_ = @0x55555e98fb40, locked_ = true}
0000008 0x0000555555f7decf in ExportDialog::do_export() (this=0x7fffffffd360) at ../gtk2_ardour/export_dialog.cc:365
0000009 0x0000555555f85231 in sigc::bound_mem_functor0<void, ExportDialog>::operator()() const (this=0x55555ea19898) at /usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:1991
0000010 0x0000555555f848da in sigc::adaptor_functor<sigc::bound_mem_functor0<void, ExportDialog> >::operator()() const (this=0x55555ea19890) at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:256
0000011 0x0000555555f84a25 in sigc::internal::slot_call0<sigc::bound_mem_functor0<void, ExportDialog>, void>::call_it(sigc::internal::slot_rep*) (rep=0x55555ea19860) at /usr/include/sigc++-2.0/sigc++/functors/slot.h:136
        typed_rep = 0x55555ea19860
0000012 0x00007ffff581dbb4 in Glib::SignalProxyNormal::slot0_void_callback(_GObject*, void*) () at /usr/lib/libglibmm-2.4.so.1
0000013 0x00007ffff5785de8 in g_closure_invoke () at /usr/lib/libgobject-2.0.so.0
0000014 0x00007ffff57936ca in () at /usr/lib/libgobject-2.0.so.0
#15 0x00007ffff5797578 in g_signal_emit_valist () at /usr/lib/libgobject-2.0.so.0
0000016 0x00007ffff5797800 in g_signal_emit () at /usr/lib/libgobject-2.0.so.0
#17 0x00007ffff5315091 in () at /usr/lib/libgtk-x11-2.0.so.0
0000018 0x00007ffff5785de8 in g_closure_invoke () at /usr/lib/libgobject-2.0.so.0
0000019 0x00007ffff57932e8 in () at /usr/lib/libgobject-2.0.so.0
0000020 0x00007ffff5797578 in g_signal_emit_valist () at /usr/lib/libgobject-2.0.so.0
0000021 0x00007ffff5797800 in g_signal_emit () at /usr/lib/libgobject-2.0.so.0
0000022 0x00007ffff5314245 in () at /usr/lib/libgtk-x11-2.0.so.0
0000023 0x00007ffff53a0518 in () at /usr/lib/libgtk-x11-2.0.so.0
#24 0x00007ffff5785de8 in g_closure_invoke () at /usr/lib/libgobject-2.0.so.0
0000025 0x00007ffff57935ea in () at /usr/lib/libgobject-2.0.so.0
0000026 0x00007ffff57975c6 in g_signal_emit_valist () at /usr/lib/libgobject-2.0.so.0
0000027 0x00007ffff5797800 in g_signal_emit () at /usr/lib/libgobject-2.0.so.0
0000028 0x00007ffff54841f0 in () at /usr/lib/libgtk-x11-2.0.so.0
0000029 0x00007ffff539edb1 in gtk_propagate_event () at /usr/lib/libgtk-x11-2.0.so.0
0000030 0x00007ffff539f1b3 in gtk_main_do_event () at /usr/lib/libgtk-x11-2.0.so.0
0000031 0x00007ffff523b47c in () at /usr/lib/libgdk-x11-2.0.so.0
0000032 0x00007ffff56b4b7e in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
0000033 0x00007ffff56b4de6 in () at /usr/lib/libglib-2.0.so.0
0000034 0x00007ffff56b512c in g_main_loop_run () at /usr/lib/libglib-2.0.so.0
0000035 0x00007ffff533ab5d in gtk_dialog_run () at /usr/lib/libgtk-x11-2.0.so.0
0000036 0x0000555555e34a19 in Editor::export_audio() (this=0x55555c27bae0) at ../gtk2_ardour/editor_export_audio.cc:72
        dialog =
          {<ArdourDialog> = {<Gtk::Dialog> = {<No data fields>}, <ARDOUR::SessionHandlePtr> = {_vptr.SessionHandlePtr = 0x555556d81488 <vtable for ExportDialog+752>, _session = 0x55555d267fe0, _session_connections = {<boost::noncopyable_::noncopyable> = {<boost::noncopyable_::base_token> = {<No data fields>}, <No data fields>}, _vptr.ScopedConnectionList = 0x7ffff5a17d40 <vtable for PBD::ScopedConnectionList+16>, _scoped_connection_lock = {gobject_ = {p = 0x7fff00000000, i = {0, 32767}}}, _scoped_connection_list = {<std::__cxx11::_List_base<PBD::ScopedConnection*, std::allocator<PBD::ScopedConnection*> >> = {_M_impl = {<std::allocator<std::_List_node<PBD::ScopedConnection*> >> = {<__gnu_cxx::new_allocator<std::_List_node<PBD::ScopedConnection*> >> = {<No data fields>}, <No data fields>}, _M_node = {<std::__detail::_List_node_base> = {_M_next = 0x55555e9923c0, _M_prev = 0x55555e9923c0}, _M_size = 1}}}, <No data fields>}}}, _sensitive = true, proxy = 0x55555e925aa0, _splash_pushed = false, static CloseAllDialogs = <optimized out>}, <PBD::ScopedConnectionList> = {<boost::noncopyable_::noncopyable> = {<boost::noncopyable_::base_token> = {<No data fields>}, <No data fields>}, _vptr.ScopedConnectionList = 0x555556d814c0 <vtable for ExportDialog+808>, _scoped_connection_lock = {gobject_ = {p = 0x555500000000, i = {0, 21845}}}, _scoped_connection_list = {<std::__cxx11::_List_base<PBD::ScopedConnection*, std::allocator<PBD::ScopedConnection*> >> = {_M_impl = {<std::allocator<std::_List_node<PBD::ScopedConnection*> >> = {<__gnu_cxx::new_allocator<std::_List_node<PBD::ScopedConnection*> >> = {<No data fields>}, <No data fields>}, _M_node = {<std::__detail::_List_node_base> = {_M_next = 0x55555ea40540, _M_prev = 0x55555ea21ec0}, _M_size = 2}}}, <No data fields>}}, type = ARDOUR::ExportProfileManager::RegularExport, handler = {px = 0x55555e924ea0, pn = {pi_ = 0x55555d736ea0}}, profile_manager = {px = 0x55555e925d20, pn = {pi_ = 0x55555e9ee1e0}}, preset_selector = {px = 0x55555e9df6e0}, timespan_selector = {px = 0x55555e9f0320}, channel_selector = {px = 0x55555e9faa40}, file_notebook = {px = 0x55555ea08880}, soundcloud_selector = {px = 0x55555ea043e0, pn = {pi_ = 0x55555ea05a20}}, warning_widget = <incomplete type>, progress_widget = <incomplete type>, export_notebook = <incomplete type>, editor = @0x55555c27bae0, status = {px = 0x55555e98fa60, pn = {pi_ = 0x55555cc9e3a0}}, warn_hbox = <incomplete type>, warn_label = <incomplete type>, warn_string = {static npos = 18446744073709551615, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x7fffffffd5f0 ""}, _M_string_length = 0, {_M_local_buf = "\000\302\002WUU\000\000\000\000\000\000\000\000\000", _M_allocated_capacity = 93825020379648}}, list_files_hbox = <incomplete type>, list_files_label = <incomplete type>, list_files_button = <incomplete type>, list_files_string = {static npos = 18446744073709551615, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x55555ea3f900 "/home/markand/ardour/empty/export/session.wav\n"}, _M_string_length = 53, {_M_local_buf = "5", '\000' <repeats 14 times>, _M_allocated_capacity = 53}}, progress_bar = <incomplete type>, progress_connection = {slot_ = 0x0}, previous_progress = 0, _initialized = true, cancel_button = 0x55555ea193c0, export_button = 0x55555ea19680}
0000037 0x0000555555c2164b in sigc::bound_mem_functor0<void, PublicEditor>::operator()() const (this=0x55555ca357d8) at /usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:1991
0000038 0x0000555555c2020c in sigc::adaptor_functor<sigc::bound_mem_functor0<void, PublicEditor> >::operator()() const (this=0x55555ca357d0) at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:256
0000039 0x0000555555c1e14e in sigc::internal::slot_call0<sigc::bound_mem_functor0<void, PublicEditor>, void>::call_it(sigc::internal::slot_rep*) (rep=0x55555ca357a0) at /usr/include/sigc++-2.0/sigc++/functors/slot.h:136
        typed_rep = 0x55555ca357a0
0000040 0x00007ffff581dbb4 in Glib::SignalProxyNormal::slot0_void_callback(_GObject*, void*) () at /usr/lib/libglibmm-2.4.so.1
0000041 0x00007ffff5785de8 in g_closure_invoke () at /usr/lib/libgobject-2.0.so.0
0000042 0x00007ffff57936ca in () at /usr/lib/libgobject-2.0.so.0
0000043 0x00007ffff5797578 in g_signal_emit_valist () at /usr/lib/libgobject-2.0.so.0
0000044 0x00007ffff5797800 in g_signal_emit () at /usr/lib/libgobject-2.0.so.0
0000045 0x00007ffff53002ea in () at /usr/lib/libgtk-x11-2.0.so.0
0000046 0x00007ffff5785de8 in g_closure_invoke () at /usr/lib/libgobject-2.0.so.0
0000047 0x00007ffff57932e8 in () at /usr/lib/libgobject-2.0.so.0
0000048 0x00007ffff5797578 in g_signal_emit_valist () at /usr/lib/libgobject-2.0.so.0
0000049 0x00007ffff5797800 in g_signal_emit () at /usr/lib/libgobject-2.0.so.0
0000050 0x00007ffff54831df in gtk_widget_activate () at /usr/lib/libgtk-x11-2.0.so.0
0000051 0x00007ffff53af8fc in gtk_menu_shell_activate_item () at /usr/lib/libgtk-x11-2.0.so.0
0000052 0x00007ffff53afa38 in () at /usr/lib/libgtk-x11-2.0.so.0
0000053 0x00007ffff53a0518 in () at /usr/lib/libgtk-x11-2.0.so.0
0000054 0x00007ffff5785de8 in g_closure_invoke () at /usr/lib/libgobject-2.0.so.0
0000055 0x00007ffff57935ea in () at /usr/lib/libgobject-2.0.so.0
0000056 0x00007ffff57975c6 in g_signal_emit_valist () at /usr/lib/libgobject-2.0.so.0
0000057 0x00007ffff5797800 in g_signal_emit () at /usr/lib/libgobject-2.0.so.0
0000058 0x00007ffff54841f0 in () at /usr/lib/libgtk-x11-2.0.so.0
0000059 0x00007ffff539edb1 in gtk_propagate_event () at /usr/lib/libgtk-x11-2.0.so.0
0000060 0x00007ffff539f1b3 in gtk_main_do_event () at /usr/lib/libgtk-x11-2.0.so.0
0000061 0x00007ffff523b47c in () at /usr/lib/libgdk-x11-2.0.so.0
0000062 0x00007ffff56b4b7e in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
0000063 0x00007ffff56b4de6 in () at /usr/lib/libglib-2.0.so.0
0000064 0x00007ffff56b512c in g_main_loop_run () at /usr/lib/libglib-2.0.so.0
0000065 0x00007ffff539e3ab in gtk_main () at /usr/lib/libgtk-x11-2.0.so.0
0000066 0x00007ffff5b6016f in Gtkmm2ext::UI::run(Receiver&) (this=0x5555571504a0, old_receiver=...) at ../libs/gtkmm2ext/gtk_ui.cc:293
0000067 0x000055555617e892 in main(int, char**) (argc=1, argv=0x7fffffffe828) at ../gtk2_ardour/main.cc:437
Steps To Reproduce1. Create a session
2. Add a dummy track
3. Try to export to audio file
Additional InformationArdour 5.12 worked fine, the bug only appeared in 6.0.0.

The track has no plugins, the session is almost empty.
TagsNo tags attached.

Activities

markand

2020-06-07 09:25

reporter   ~0024427

Output of `thread apply all bt` as recommended by someone on irc.
gdb.txt (13,312 bytes)   
Invalid thread ID: bt

Thread 33 (LWP 27256):
#0  0x00007ffff7f9d181 in syscall () at /lib/ld-musl-x86_64.so.1
#1  0x0000000000000022 in  ()
#2  0x00007fff00000030 in  ()
#3  0x00007fffea1ba170 in  ()
#4  0x00007fffea1ba130 in  ()
#5  0x00007fffea1ba180 in  ()
#6  0x000055555e8610a8 in  ()
#7  0x0000000000000080 in  ()
#8  0x0000000000000000 in  ()

Thread 32 (LWP 27255):
#0  0x00007ffff7f9d181 in syscall () at /lib/ld-musl-x86_64.so.1
#1  0x0000000000000022 in  ()
#2  0x00007fff00000030 in  ()
#3  0x00007fffea3c0170 in  ()
#4  0x00007fffea3c0130 in  ()
#5  0x00007fffea3c0180 in  ()
#6  0x000055555e8610a8 in  ()
#7  0x0000000000000080 in  ()
#8  0x0000000000000000 in  ()

Thread 31 (LWP 27254):
#0  0x00007ffff7f9d181 in syscall () at /lib/ld-musl-x86_64.so.1
#1  0x0000000000000022 in  ()
#2  0x00007fff00000030 in  ()
#3  0x00007fffea5c6170 in  ()
#4  0x00007fffea5c6130 in  ()
#5  0x00007fffea5c6180 in  ()
#6  0x000055555e8610a8 in  ()
#7  0x0000000000000080 in  ()
#8  0x0000000000000000 in  ()

Thread 30 (LWP 27253):
#0  0x00007ffff7fbc878 in  () at /lib/ld-musl-x86_64.so.1
#1  0x00007ffff7fb9c6d in  () at /lib/ld-musl-x86_64.so.1
#2  0x00007fffebb92b64 in  ()
#3  0x0000000000000000 in  ()

Thread 29 (LWP 27252):
#0  0x00007ffff7fbc878 in  () at /lib/ld-musl-x86_64.so.1
#1  0x00007ffff7fb9c6d in  () at /lib/ld-musl-x86_64.so.1
#2  0x00007fffebddbb64 in  ()
#3  0x0000000000000000 in  ()

Thread 28 (LWP 27251):
#0  0x00007ffff7fbc878 in  () at /lib/ld-musl-x86_64.so.1
#1  0x00007ffff7fb9c6d in  () at /lib/ld-musl-x86_64.so.1
#2  0x00007fffebfe1b64 in  ()
#3  0x0000000000000000 in  ()

Thread 27 (LWP 27250):
#0  0x00007ffff7fbc878 in  () at /lib/ld-musl-x86_64.so.1
#1  0x00007ffff7fb9c6d in  () at /lib/ld-musl-x86_64.so.1
#2  0x00007fffee2cab64 in  ()
#3  0x0000000000000000 in  ()

Thread 26 (LWP 27249):
#0  0x00007ffff7fbc878 in  () at /lib/ld-musl-x86_64.so.1
#1  0x00007ffff7fb9c6d in  () at /lib/ld-musl-x86_64.so.1
#2  0x00007fffee459b64 in  ()
#3  0x0000000000000000 in  ()

Thread 25 (LWP 27205):
#0  0x00007ffff7fbc878 in  () at /lib/ld-musl-x86_64.so.1
#1  0x00007ffff7fb9c6d in  () at /lib/ld-musl-x86_64.so.1
#2  0x00007fffef921b64 in  ()
#3  0x0000000000000000 in  ()

Thread 24 (LWP 27204):
#0  0x00007ffff7fbc878 in  () at /lib/ld-musl-x86_64.so.1
#1  0x00007ffff7fb9c6d in  () at /lib/ld-musl-x86_64.so.1
#2  0x00007fffef947b64 in  ()
#3  0x0000000000000000 in  ()

Thread 23 (LWP 27203):
#0  0x00007ffff7fbc878 in  () at /lib/ld-musl-x86_64.so.1
#1  0x00007ffff7fb9c6d in  () at /lib/ld-musl-x86_64.so.1
#2  0x00007fffef96db64 in  ()
#3  0x0000000000000000 in  ()

Thread 22 (LWP 27202):
#0  0x00007ffff7fbc878 in  () at /lib/ld-musl-x86_64.so.1
#1  0x00007ffff7fb9c6d in  () at /lib/ld-musl-x86_64.so.1
#2  0x00007fffef97bb64 in  ()
#3  0x0000000000000000 in  ()

Thread 21 (LWP 27201):
#0  0x00007ffff7fbc878 in  () at /lib/ld-musl-x86_64.so.1
#1  0x00007ffff7fb9c6d in  () at /lib/ld-musl-x86_64.so.1
#2  0x00007fffef989b64 in  ()
#3  0x0000000000000000 in  ()

Thread 20 (LWP 27200):
#0  0x00007ffff7fbc878 in  () at /lib/ld-musl-x86_64.so.1
#1  0x00007ffff7fb9c6d in  () at /lib/ld-musl-x86_64.so.1
#2  0x00007fffef997b64 in  ()
#3  0x0000000000000000 in  ()

Thread 19 (LWP 27199):
#0  0x00007ffff7f9d181 in syscall () at /lib/ld-musl-x86_64.so.1
#1  0x0000000000000001 in  ()
#2  0x00007fff00000030 in  ()
#3  0x00007fffef2bb220 in  ()
#4  0x00007fffef2bb1e0 in  ()
#5  0x0000555557c3b340 in  ()
#6  0x0000555557c3b350 in  ()
#7  0x0000000000000080 in  ()
#8  0x0000000000000002 in  ()
#9  0x00007fffef2bb238 in  ()
#10 0x00007fffef2bb230 in  ()
#11 0x0000555557c3b348 in  ()
#12 0x00007ffff56e4fe3 in g_cond_wait_until () at /usr/lib/libglib-2.0.so.0
#13 0x00007ffff5689398 in  () at /usr/lib/libglib-2.0.so.0
#14 0x00007ffff5689866 in g_async_queue_timeout_pop () at /usr/lib/libglib-2.0.so.0
#15 0x00007ffff56caa4e in  () at /usr/lib/libglib-2.0.so.0
#16 0x00007ffff56ca2f1 in  () at /usr/lib/libglib-2.0.so.0
#17 0x00007ffff7fba726 in  () at /lib/ld-musl-x86_64.so.1
#18 0x0000000000000000 in  ()

Thread 18 (LWP 27198):
#0  0x00007ffff7fbc878 in  () at /lib/ld-musl-x86_64.so.1
#1  0x00007ffff7fb9c6d in  () at /lib/ld-musl-x86_64.so.1
#2  0x00007fffef5d9b64 in  ()
#3  0x0000000000000000 in  ()

Thread 17 (LWP 27197):
#0  0x00007ffff7fbc878 in  () at /lib/ld-musl-x86_64.so.1
#1  0x00007ffff7fb9c6d in  () at /lib/ld-musl-x86_64.so.1
#2  0x00007fffef670b64 in  ()
#3  0x0000000000000000 in  ()

Thread 16 (LWP 27195):
#0  0x00007ffff7fbc878 in  () at /lib/ld-musl-x86_64.so.1
#1  0x00007ffff7fb9c6d in  () at /lib/ld-musl-x86_64.so.1
#2  0x00007fffefb9eb64 in  ()
#3  0x0000000000000000 in  ()

Thread 12 (LWP 27016):
#0  0x00007ffff7fbc878 in  () at /lib/ld-musl-x86_64.so.1
#1  0x00007ffff7fb9c6d in  () at /lib/ld-musl-x86_64.so.1
#2  0x00007fffefdc5b64 in  ()
#3  0x0000000000000000 in  ()

Thread 8 (LWP 27012):
#0  0x00007ffff7f9d181 in syscall () at /lib/ld-musl-x86_64.so.1
#1  0x0000000000206000 in  ()
#2  0x0000555500000030 in  ()
#3  0x00007ffff0abc180 in  ()
#4  0x00007ffff0abc140 in  ()
#5  0x00007ffff0abc360 in  ()
#6  0x0000555556fa5c50 in  ()
#7  0x0000000000000080 in  ()
#8  0x0000000000000000 in  ()

Thread 7 (LWP 27011):
#0  0x00007ffff7f9d181 in syscall () at /lib/ld-musl-x86_64.so.1
#1  0x0000000000206000 in  ()
#2  0x0000555500000030 in  ()
#3  0x00007ffff0d05180 in  ()
#4  0x00007ffff0d05140 in  ()
#5  0x00007ffff0d05360 in  ()
#6  0x0000555556fa5c20 in  ()
#7  0x0000000000000080 in  ()
#8  0x0000000000000000 in  ()

Thread 5 (LWP 26897):
#0  0x00007ffff7f9d181 in syscall () at /lib/ld-musl-x86_64.so.1
#1  0x0000555556eef5e0 in  ()
#2  0x0000000000000030 in  ()
#3  0x00007ffff29e21d0 in  ()
#4  0x00007ffff29e2190 in  ()
#5  0x00000040f29e21e0 in  ()
#6  0x00007ffff7e254e8 in ARDOUR::Analyser::SourcesToAnalyse () at /usr/lib/ardour6/libardour.so.3
#7  0x0000000000000080 in  ()
#8  0x0000000000000000 in  ()

Thread 4 (LWP 26896):
#0  0x00007ffff7f9d181 in syscall () at /lib/ld-musl-x86_64.so.1
#1  0x0000000000206000 in  ()
#2  0x0000555500000030 in  ()
#3  0x00007ffff2be8210 in  ()
#4  0x00007ffff2be81d0 in  ()
#5  0x00007ffff2be8360 in  ()
#6  0x00007ffff7e282f8 in ARDOUR::SourceFactory::PeaksToBuild () at /usr/lib/ardour6/libardour.so.3
#7  0x0000000000000080 in  ()
#8  0x0000000000000001 in  ()
#9  0x0000000000000000 in  ()

Thread 3 (LWP 26895):
#0  0x00007ffff7f9d181 in syscall () at /lib/ld-musl-x86_64.so.1
#1  0x0000000400000001 in  ()
#2  0x0000555500000030 in  ()
#3  0x00007ffff2dee210 in  ()
#4  0x00007ffff2dee1d0 in  ()
#5  0x000055555dae25a0 in  ()
#6  0x00007ffff7e282f8 in ARDOUR::SourceFactory::PeaksToBuild () at /usr/lib/ardour6/libardour.so.3
#7  0x0000000000000080 in  ()
#8  0x0000000000000001 in  ()
#9  0x0000000000000000 in  ()

Thread 2 (LWP 26894):
#0  0x00007ffff7fbc878 in  () at /lib/ld-musl-x86_64.so.1
#1  0x00007ffff7fb9c6d in  () at /lib/ld-musl-x86_64.so.1
#2  0x00007ffff2ff7b64 in  ()
#3  0x0000000000000000 in  ()

Thread 1 (LWP 26760):
#0  0x00007ffff3f4c610 in getframeaddr () at /usr/lib/libexecinfo.so.1
#1  0x00007ffff3f4c921 in backtrace () at /usr/lib/libexecinfo.so.1
#2  0x00007ffff59af350 in PBD::stacktrace(std::ostream&, int) (out=..., levels=30) at ../libs/pbd/stacktrace.cc:59
#3  0x00007ffff787f350 in ARDOUR::Session::realtime_stop(bool, bool) (this=0x55555d1d7120, abort=true, clear_state=true) at ../libs/ardour/session_transport.cc:97
#4  0x00007ffff77f9384 in ARDOUR::Session::pre_export() (this=0x55555d1d7120) at ../libs/ardour/session_export.cc:83
#5  0x00007ffff77f9624 in ARDOUR::Session::start_audio_export(long, bool, bool) (this=0x55555d1d7120, position=0, realtime=false, region_export=false) at ../libs/ardour/session_export.cc:117
#6  0x00007ffff725d7a6 in ARDOUR::ExportHandler::start_timespan() (this=0x55555e8d5960) at ../libs/ardour/export_handler.cc:230
#7  0x00007ffff725d24d in ARDOUR::ExportHandler::do_export() (this=0x55555e8d5960) at ../libs/ardour/export_handler.cc:167
#8  0x0000555555f7f48b in ExportDialog::do_export() (this=0x7fffffffd450) at ../gtk2_ardour/export_dialog.cc:370
#9  0x0000555555f86805 in sigc::bound_mem_functor0<void, ExportDialog>::operator()() const (this=0x55555e95dad8) at /usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:1991
#10 0x0000555555f85eae in sigc::adaptor_functor<sigc::bound_mem_functor0<void, ExportDialog> >::operator()() const (this=0x55555e95dad0) at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:256
#11 0x0000555555f85ff9 in sigc::internal::slot_call0<sigc::bound_mem_functor0<void, ExportDialog>, void>::call_it(sigc::internal::slot_rep*) (rep=0x55555e95daa0) at /usr/include/sigc++-2.0/sigc++/functors/slot.h:136
#12 0x00007ffff5815bb4 in Glib::SignalProxyNormal::slot0_void_callback(_GObject*, void*) () at /usr/lib/libglibmm-2.4.so.1
#13 0x00007ffff577dde8 in g_closure_invoke () at /usr/lib/libgobject-2.0.so.0
#14 0x00007ffff578b6ca in  () at /usr/lib/libgobject-2.0.so.0
#15 0x00007ffff578f578 in g_signal_emit_valist () at /usr/lib/libgobject-2.0.so.0
#16 0x00007ffff578f800 in g_signal_emit () at /usr/lib/libgobject-2.0.so.0
#17 0x00007ffff530d091 in  () at /usr/lib/libgtk-x11-2.0.so.0
#18 0x00007ffff577dde8 in g_closure_invoke () at /usr/lib/libgobject-2.0.so.0
#19 0x00007ffff578b2e8 in  () at /usr/lib/libgobject-2.0.so.0
#20 0x00007ffff578f578 in g_signal_emit_valist () at /usr/lib/libgobject-2.0.so.0
#21 0x00007ffff578f800 in g_signal_emit () at /usr/lib/libgobject-2.0.so.0
#22 0x00007ffff530c245 in  () at /usr/lib/libgtk-x11-2.0.so.0
#23 0x00007ffff5398518 in  () at /usr/lib/libgtk-x11-2.0.so.0
#24 0x00007ffff577dde8 in g_closure_invoke () at /usr/lib/libgobject-2.0.so.0
#25 0x00007ffff578b5ea in  () at /usr/lib/libgobject-2.0.so.0
#26 0x00007ffff578f5c6 in g_signal_emit_valist () at /usr/lib/libgobject-2.0.so.0
#27 0x00007ffff578f800 in g_signal_emit () at /usr/lib/libgobject-2.0.so.0
#28 0x00007ffff547c1f0 in  () at /usr/lib/libgtk-x11-2.0.so.0
#29 0x00007ffff5396db1 in gtk_propagate_event () at /usr/lib/libgtk-x11-2.0.so.0
#30 0x00007ffff53971b3 in gtk_main_do_event () at /usr/lib/libgtk-x11-2.0.so.0
#31 0x00007ffff523347c in  () at /usr/lib/libgdk-x11-2.0.so.0
#32 0x00007ffff56acb7e in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#33 0x00007ffff56acde6 in  () at /usr/lib/libglib-2.0.so.0
#34 0x00007ffff56ad12c in g_main_loop_run () at /usr/lib/libglib-2.0.so.0
#35 0x00007ffff5332b5d in gtk_dialog_run () at /usr/lib/libgtk-x11-2.0.so.0
#36 0x0000555555e35b03 in Editor::export_audio() (this=0x55555ca66860) at ../gtk2_ardour/editor_export_audio.cc:72
#37 0x0000555555c2267b in sigc::bound_mem_functor0<void, PublicEditor>::operator()() const (this=0x55555c9f9e18) at /usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:1991
#38 0x0000555555c2123c in sigc::adaptor_functor<sigc::bound_mem_functor0<void, PublicEditor> >::operator()() const (this=0x55555c9f9e10) at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:256
#39 0x0000555555c1f17e in sigc::internal::slot_call0<sigc::bound_mem_functor0<void, PublicEditor>, void>::call_it(sigc::internal::slot_rep*) (rep=0x55555c9f9de0) at /usr/include/sigc++-2.0/sigc++/functors/slot.h:136
#40 0x00007ffff5815bb4 in Glib::SignalProxyNormal::slot0_void_callback(_GObject*, void*) () at /usr/lib/libglibmm-2.4.so.1
#41 0x00007ffff577dde8 in g_closure_invoke () at /usr/lib/libgobject-2.0.so.0
#42 0x00007ffff578b6ca in  () at /usr/lib/libgobject-2.0.so.0
#43 0x00007ffff578f578 in g_signal_emit_valist () at /usr/lib/libgobject-2.0.so.0
#44 0x00007ffff578f800 in g_signal_emit () at /usr/lib/libgobject-2.0.so.0
#45 0x00007ffff52f82ea in  () at /usr/lib/libgtk-x11-2.0.so.0
#46 0x00007ffff577dde8 in g_closure_invoke () at /usr/lib/libgobject-2.0.so.0
#47 0x00007ffff578b2e8 in  () at /usr/lib/libgobject-2.0.so.0
#48 0x00007ffff578f578 in g_signal_emit_valist () at /usr/lib/libgobject-2.0.so.0
#49 0x00007ffff578f800 in g_signal_emit () at /usr/lib/libgobject-2.0.so.0
#50 0x00007ffff547b1df in gtk_widget_activate () at /usr/lib/libgtk-x11-2.0.so.0
#51 0x00007ffff53a78fc in gtk_menu_shell_activate_item () at /usr/lib/libgtk-x11-2.0.so.0
#52 0x00007ffff53a7a38 in  () at /usr/lib/libgtk-x11-2.0.so.0
#53 0x00007ffff5398518 in  () at /usr/lib/libgtk-x11-2.0.so.0
#54 0x00007ffff577dde8 in g_closure_invoke () at /usr/lib/libgobject-2.0.so.0
#55 0x00007ffff578b5ea in  () at /usr/lib/libgobject-2.0.so.0
#56 0x00007ffff578f5c6 in g_signal_emit_valist () at /usr/lib/libgobject-2.0.so.0
#57 0x00007ffff578f800 in g_signal_emit () at /usr/lib/libgobject-2.0.so.0
#58 0x00007ffff547c1f0 in  () at /usr/lib/libgtk-x11-2.0.so.0
#59 0x00007ffff5396db1 in gtk_propagate_event () at /usr/lib/libgtk-x11-2.0.so.0
#60 0x00007ffff53971b3 in gtk_main_do_event () at /usr/lib/libgtk-x11-2.0.so.0
#61 0x00007ffff523347c in  () at /usr/lib/libgdk-x11-2.0.so.0
#62 0x00007ffff56acb7e in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#63 0x00007ffff56acde6 in  () at /usr/lib/libglib-2.0.so.0
#64 0x00007ffff56ad12c in g_main_loop_run () at /usr/lib/libglib-2.0.so.0
#65 0x00007ffff53963ab in gtk_main () at /usr/lib/libgtk-x11-2.0.so.0
#66 0x00007ffff5b5816f in Gtkmm2ext::UI::run(Receiver&) (this=0x55555718f680, old_receiver=...) at ../libs/gtkmm2ext/gtk_ui.cc:293
#67 0x0000555556182662 in main(int, char**) (argc=1, argv=0x7fffffffe918) at ../gtk2_ardour/main.cc:437
gdb.txt (13,312 bytes)   

markand

2020-06-09 07:07

reporter   ~0024439

After some investigation with the Alpine team this looks like a crash with the backtrace system call that is provided through the libexecinfo external library as musl does not support it. Disabling the backtrace call in libs/pbd/stacktrace.cc fixes the problem.

However, at this point I'd like still to understand why it was called to determine the upstream issue rather than blindly disabling it for now.

x42

2020-06-09 21:02

administrator   ~0024444

Musl doss implement backtrace(), it would be nice if it would return zero in this case instead.

#0 0x00007ffff3f54610 in getframeaddr () at /usr/lib/libexecinfo.so.1
0000001 0x00007ffff3f54921 in backtrace () at /usr/lib/libexecinfo.so.1
#2 0x00007ffff59b7350 in PBD::stacktrace(std::ostream&, int) (out=..., levels=30) at ../libs/pbd/stacktrace.cc:59


PS. Optimized non-debug builds won't have this call (at least not in this case).

Issue History

Date Modified Username Field Change
2020-06-06 08:30 markand New Issue
2020-06-07 09:25 markand File Added: gdb.txt
2020-06-07 09:25 markand Note Added: 0024427
2020-06-09 07:07 markand Note Added: 0024439
2020-06-09 21:02 x42 Note Added: 0024444