View Issue Details

IDCategoryLast Update
0007033bugs2020-04-19 20:18
ReportertimbyrAssigned Tox42 
Reproducibilityalways 
Status closedResolutionfixed 
Product Version5.3 
Fixed in Version 
Summary0007033: Crash when exiting after opening second session
DescriptionReproduced using 5.3 and 5.3.122 nightly build

Ardour exits normally after having a single Session open, but if more than a single Session has been opened then I always get a Segmentation fault/crash when closing the application

This issue is only really noticeable when launching ardour from the terminal and as it happens at exit and doesn't seem to affect anything it is probably low-priority.
TagsNo tags attached.

Activities

timbyr

2016-09-18 00:49

developer  

ardour-5.3.122-bug7033-crash-on-exit-second-session.txt (32,301 bytes)
Program received signal SIGSEGV, Segmentation fault.
0x08240683 in Glib::RefPtr<Gtk::Action>::RefPtr (this=0x91dc8c8, src=...) at /home/ardour/linux-i386/gtk/inst/include/glibmm-2.4/glibmm/refptr.h:220
220	/home/ardour/linux-i386/gtk/inst/include/glibmm-2.4/glibmm/refptr.h: No such file or directory.
Missing separate debuginfos, use: debuginfo-install libicu-52.1-6.fc21.i686 lv2-sorcer-1.1-4.1.20131104git18e6891.fc21.i686 lv2-synthv1-0.6.1-1.fc21.i686 qt-4.8.6-30.fc21.i686
(gdb) t a a bt

Thread 62 (Thread 0xa2e8eb40 (LWP 31431)):
#0  0xb7fdbbe0 in __kernel_vsyscall ()
#1  0xb5339616 in nanosleep () at ../sysdeps/unix/syscall-template.S:81
#2  0xb6361192 in g_usleep () from /opt/Ardour-5.3.122-dbg/lib/libglib-2.0.so.0
#3  0xb64b1dbd in Glib::usleep(unsigned long) () from /opt/Ardour-5.3.122-dbg/lib/libglibmm-2.4.so.1
#4  0xb720141c in ARDOUR::AutomationWatch::thread (this=0xb4552c0) at ../libs/ardour/automation_watch.cc:153
#5  0xb72044ef in boost::_mfi::mf0<void, ARDOUR::AutomationWatch>::operator() (this=0xb494bd8, p=0xb4552c0) at /home/ardour/linux-i386/gtk/inst/include/boost/bind/mem_fn_template.hpp:49
#6  0xb72041ac in boost::_bi::list1<boost::_bi::value<ARDOUR::AutomationWatch*> >::operator()<boost::_mfi::mf0<void, ARDOUR::AutomationWatch>, boost::_bi::list0> (this=0xb494be0, f=..., a=...)
    at /home/ardour/linux-i386/gtk/inst/include/boost/bind/bind.hpp:253
#7  0xb7203dd8 in boost::_bi::bind_t<void, boost::_mfi::mf0<void, ARDOUR::AutomationWatch>, boost::_bi::list1<boost::_bi::value<ARDOUR::AutomationWatch*> > >::operator() (this=0xb494bd8)
    at /home/ardour/linux-i386/gtk/inst/include/boost/bind/bind_template.hpp:20
#8  0xb7203d55 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=0xb494bd8)
    at /home/ardour/linux-i386/gtk/inst/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:251
#9  0xb7203941 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=0xb494bc0) at /home/ardour/linux-i386/gtk/inst/include/sigc++-2.0/sigc++/functors/slot.h:103
#10 0xb649b422 in ?? () from /opt/Ardour-5.3.122-dbg/lib/libglibmm-2.4.so.1
#11 0xb635f5d2 in ?? () from /opt/Ardour-5.3.122-dbg/lib/libglib-2.0.so.0
#12 0xb5331313 in start_thread (arg=0xa2e8eb40) at pthread_create.c:310
#13 0xb49d4f2e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:122

Thread 61 (Thread 0xabae6b40 (LWP 31430)):
#0  0xb7fdbbe0 in __kernel_vsyscall ()
#1  0xb5335e9c in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:187
#2  0xb76b25b7 in ARDOUR::Session::auto_connect_thread_run (this=0xd02fd68) at ../libs/ardour/session.cc:7060
#3  0xb76b22cd in ARDOUR::Session::auto_connect_thread (arg=0xd02fd68) at ../libs/ardour/session.cc:7014
#4  0xb5331313 in start_thread (arg=0xabae6b40) at pthread_create.c:310
#5  0xb49d4f2e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:122

Thread 60 (Thread 0xa9f71b40 (LWP 31429)):
#0  0xb7fdbbe0 in __kernel_vsyscall ()
#1  0xb5335e9c in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:187
#2  0xb7728e84 in ARDOUR::Session::emit_thread_run (this=0xd02fd68) at ../libs/ardour/session_process.cc:1316
#3  0xb7728e2b in ARDOUR::Session::emit_thread (arg=0xd02fd68) at ../libs/ardour/session_process.cc:1305
#4  0xb5331313 in start_thread (arg=0xa9f71b40) at pthread_create.c:310
#5  0xb49d4f2e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:122

Thread 59 (Thread 0xae2fdb40 (LWP 31428)):
#0  0xb7fdbbe0 in __kernel_vsyscall ()
#1  0xb49c829b in poll () at ../sysdeps/unix/syscall-template.S:81
#2  0xb63440db in g_poll () from /opt/Ardour-5.3.122-dbg/lib/libglib-2.0.so.0
#3  0xb63332cc in ?? () from /opt/Ardour-5.3.122-dbg/lib/libglib-2.0.so.0
#4  0xb63333ff in g_main_loop_run () from /opt/Ardour-5.3.122-dbg/lib/libglib-2.0.so.0
#5  0xb64a7e05 in Glib::MainLoop::run() () from /opt/Ardour-5.3.122-dbg/lib/libglibmm-2.4.so.1
#6  0xb6696bbe in BaseUI::main_thread (this=0xb94a4c0) at ../libs/pbd/base_ui.cc:86
#7  0xb669a826 in sigc::bound_mem_functor0<void, BaseUI>::operator() (this=0x95832bc) at /home/ardour/linux-i386/gtk/inst/include/sigc++-2.0/sigc++/functors/mem_fun.h:1787
#8  0xb669a588 in sigc::adaptor_functor<sigc::bound_mem_functor0<void, BaseUI> >::operator() (this=0x95832b8) at /home/ardour/linux-i386/gtk/inst/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:251
#9  0xb669a0cc in sigc::internal::slot_call0<sigc::bound_mem_functor0<void, BaseUI>, void>::call_it (rep=0x95832a0) at /home/ardour/linux-i386/gtk/inst/include/sigc++-2.0/sigc++/functors/slot.h:103
#10 0xb649b422 in ?? () from /opt/Ardour-5.3.122-dbg/lib/libglibmm-2.4.so.1
#11 0xb635f5d2 in ?? () from /opt/Ardour-5.3.122-dbg/lib/libglib-2.0.so.0
#12 0xb5331313 in start_thread (arg=0xae2fdb40) at pthread_create.c:310
#13 0xb49d4f2e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:122

---Type <return> to continue, or q <return> to quit---
Thread 58 (Thread 0xaa070c40 (LWP 31427)):
#0  0xb7fdbbe0 in __kernel_vsyscall ()
#1  0xb49c829b in poll () at ../sysdeps/unix/syscall-template.S:81
#2  0xb66ac86f in CrossThreadChannel::poll_for_request (this=0x9933100) at ../libs/pbd/crossthread.posix.cc:75
#3  0xb66ac8dd in CrossThreadChannel::receive (this=0x9933100, msg=@0xaa06ffd7: 0 '\000', wait=true) at ../libs/pbd/crossthread.posix.cc:96
#4  0xb7215370 in ARDOUR::Butler::thread_work (this=0x9933098) at ../libs/ardour/butler.cc:175
#5  0xb721505d in ARDOUR::Butler::_thread_work (arg=0x9933098) at ../libs/ardour/butler.cc:156
#6  0xb66cdfb1 in fake_thread_start (arg=0xcac8c00) at ../libs/pbd/pthread_utils.cc:101
#7  0xb5331313 in start_thread (arg=0xaa070c40) at pthread_create.c:310
#8  0xb49d4f2e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:122

Thread 57 (Thread 0xaaab21c0 (LWP 31426)):
#0  0xb7fdbbe0 in __kernel_vsyscall ()
#1  0xb53381d5 in sem_wait@@GLIBC_2.1 () at ../sysdeps/unix/sysv/linux/i386/i486/sem_wait.S:79
#2  0xb730b63d in PBD::Semaphore::wait (this=0xa9496b0) at /home/ardour/linux-i386/ardour/libs/pbd/pbd/semutils.h:61
#3  0xb730988e in ARDOUR::Graph::run_one (this=0xa949650) at ../libs/ardour/graph.cc:387
#4  0xb7309bae in ARDOUR::Graph::helper_thread (this=0xa949650) at ../libs/ardour/graph.cc:418
#5  0xb730f7e1 in boost::_mfi::mf0<void, ARDOUR::Graph>::operator() (this=0xaaab18c0, p=0xa949650) at /home/ardour/linux-i386/gtk/inst/include/boost/bind/mem_fn_template.hpp:49
#6  0xb730f0f0 in boost::_bi::list1<boost::_bi::value<ARDOUR::Graph*> >::operator()<boost::_mfi::mf0<void, ARDOUR::Graph>, boost::_bi::list0> (this=0xaaab18c8, f=..., a=...)
    at /home/ardour/linux-i386/gtk/inst/include/boost/bind/bind.hpp:253
#7  0xb730e7e4 in boost::_bi::bind_t<void, boost::_mfi::mf0<void, ARDOUR::Graph>, boost::_bi::list1<boost::_bi::value<ARDOUR::Graph*> > >::operator() (this=0xaaab18c0)
    at /home/ardour/linux-i386/gtk/inst/include/boost/bind/bind_template.hpp:20
#8  0xb730e19e in boost::detail::function::void_function_obj_invoker0<boost::_bi::bind_t<void, boost::_mfi::mf0<void, ARDOUR::Graph>, boost::_bi::list1<boost::_bi::value<ARDOUR::Graph*> > >, void>::invoke (
    function_obj_ptr=...) at /home/ardour/linux-i386/gtk/inst/include/boost/function/function_template.hpp:153
#9  0x08285fe5 in boost::function0<void>::operator() (this=0xaaab18bc) at /home/ardour/linux-i386/gtk/inst/include/boost/function/function_template.hpp:760
#10 0xb0126bc7 in ARDOUR::AlsaAudioBackend::alsa_process_thread (arg=0xb509260) at ../libs/backends/alsa/alsa_audiobackend.cc:1109
#11 0xb5331313 in start_thread (arg=0xaaab21c0) at pthread_create.c:310
#12 0xb49d4f2e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:122

Thread 56 (Thread 0xaaacb1c0 (LWP 31425)):
#0  0xb7fdbbe0 in __kernel_vsyscall ()
#1  0xb53381d5 in sem_wait@@GLIBC_2.1 () at ../sysdeps/unix/sysv/linux/i386/i486/sem_wait.S:79
#2  0xb730b63d in PBD::Semaphore::wait (this=0xa9496b0) at /home/ardour/linux-i386/ardour/libs/pbd/pbd/semutils.h:61
#3  0xb730988e in ARDOUR::Graph::run_one (this=0xa949650) at ../libs/ardour/graph.cc:387
#4  0xb7309bae in ARDOUR::Graph::helper_thread (this=0xa949650) at ../libs/ardour/graph.cc:418
#5  0xb730f7e1 in boost::_mfi::mf0<void, ARDOUR::Graph>::operator() (this=0xaaaca8c0, p=0xa949650) at /home/ardour/linux-i386/gtk/inst/include/boost/bind/mem_fn_template.hpp:49
#6  0xb730f0f0 in boost::_bi::list1<boost::_bi::value<ARDOUR::Graph*> >::operator()<boost::_mfi::mf0<void, ARDOUR::Graph>, boost::_bi::list0> (this=0xaaaca8c8, f=..., a=...)
    at /home/ardour/linux-i386/gtk/inst/include/boost/bind/bind.hpp:253
#7  0xb730e7e4 in boost::_bi::bind_t<void, boost::_mfi::mf0<void, ARDOUR::Graph>, boost::_bi::list1<boost::_bi::value<ARDOUR::Graph*> > >::operator() (this=0xaaaca8c0)
    at /home/ardour/linux-i386/gtk/inst/include/boost/bind/bind_template.hpp:20
#8  0xb730e19e in boost::detail::function::void_function_obj_invoker0<boost::_bi::bind_t<void, boost::_mfi::mf0<void, ARDOUR::Graph>, boost::_bi::list1<boost::_bi::value<ARDOUR::Graph*> > >, void>::invoke (
    function_obj_ptr=...) at /home/ardour/linux-i386/gtk/inst/include/boost/function/function_template.hpp:153
#9  0x08285fe5 in boost::function0<void>::operator() (this=0xaaaca8bc) at /home/ardour/linux-i386/gtk/inst/include/boost/function/function_template.hpp:760
#10 0xb0126bc7 in ARDOUR::AlsaAudioBackend::alsa_process_thread (arg=0xb509260) at ../libs/backends/alsa/alsa_audiobackend.cc:1109
#11 0xb5331313 in start_thread (arg=0xaaacb1c0) at pthread_create.c:310
#12 0xb49d4f2e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:122

Thread 55 (Thread 0xaaae41c0 (LWP 31424)):
#0  0xb7fdbbe0 in __kernel_vsyscall ()
#1  0xb53381d5 in sem_wait@@GLIBC_2.1 () at ../sysdeps/unix/sysv/linux/i386/i486/sem_wait.S:79
#2  0xb730b63d in PBD::Semaphore::wait (this=0xa9496c0) at /home/ardour/linux-i386/ardour/libs/pbd/pbd/semutils.h:61
#3  0xb7308db5 in ARDOUR::Graph::restart_cycle (this=0xa949650) at ../libs/ardour/graph.cc:261
#4  0xb7308d7e in ARDOUR::Graph::dec_ref (this=0xa949650) at ../libs/ardour/graph.cc:248
---Type <return> to continue, or q <return> to quit---
#5  0xb7310294 in ARDOUR::GraphNode::finish (this=0xd196dec, chain=0) at ../libs/ardour/graphnode.cc:71
#6  0xb7309a34 in ARDOUR::Graph::run_one (this=0xa949650) at ../libs/ardour/graph.cc:401
#7  0xb7309edd in ARDOUR::Graph::main_thread (this=0xa949650) at ../libs/ardour/graph.cc:457
#8  0xb730f7e1 in boost::_mfi::mf0<void, ARDOUR::Graph>::operator() (this=0xaaae38c0, p=0xa949650) at /home/ardour/linux-i386/gtk/inst/include/boost/bind/mem_fn_template.hpp:49
#9  0xb730f0f0 in boost::_bi::list1<boost::_bi::value<ARDOUR::Graph*> >::operator()<boost::_mfi::mf0<void, ARDOUR::Graph>, boost::_bi::list0> (this=0xaaae38c8, f=..., a=...)
    at /home/ardour/linux-i386/gtk/inst/include/boost/bind/bind.hpp:253
#10 0xb730e7e4 in boost::_bi::bind_t<void, boost::_mfi::mf0<void, ARDOUR::Graph>, boost::_bi::list1<boost::_bi::value<ARDOUR::Graph*> > >::operator() (this=0xaaae38c0)
    at /home/ardour/linux-i386/gtk/inst/include/boost/bind/bind_template.hpp:20
#11 0xb730e19e in boost::detail::function::void_function_obj_invoker0<boost::_bi::bind_t<void, boost::_mfi::mf0<void, ARDOUR::Graph>, boost::_bi::list1<boost::_bi::value<ARDOUR::Graph*> > >, void>::invoke (
    function_obj_ptr=...) at /home/ardour/linux-i386/gtk/inst/include/boost/function/function_template.hpp:153
#12 0x08285fe5 in boost::function0<void>::operator() (this=0xaaae38bc) at /home/ardour/linux-i386/gtk/inst/include/boost/function/function_template.hpp:760
#13 0xb0126bc7 in ARDOUR::AlsaAudioBackend::alsa_process_thread (arg=0xb509260) at ../libs/backends/alsa/alsa_audiobackend.cc:1109
#14 0xb5331313 in start_thread (arg=0xaaae41c0) at pthread_create.c:310
#15 0xb49d4f2e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:122

Thread 52 (Thread 0xa0e8ab40 (LWP 31421)):
#0  0xb7fdbbe0 in __kernel_vsyscall ()
#1  0xb5336266 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:245
#2  0xb6382183 in g_cond_wait_until () from /opt/Ardour-5.3.122-dbg/lib/libglib-2.0.so.0
#3  0xb6300471 in ?? () from /opt/Ardour-5.3.122-dbg/lib/libglib-2.0.so.0
#4  0xb630075b in g_async_queue_timeout_pop () from /opt/Ardour-5.3.122-dbg/lib/libglib-2.0.so.0
#5  0xb63603c7 in ?? () from /opt/Ardour-5.3.122-dbg/lib/libglib-2.0.so.0
#6  0xb635f5d2 in ?? () from /opt/Ardour-5.3.122-dbg/lib/libglib-2.0.so.0
#7  0xb5331313 in start_thread (arg=0xa0e8ab40) at pthread_create.c:310
#8  0xb49d4f2e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:122

Thread 34 (Thread 0xad2fbb40 (LWP 31402)):
#0  0xb7fdbbe0 in __kernel_vsyscall ()
#1  0xb5335e9c in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:187
#2  0xb6382262 in g_cond_wait () from /opt/Ardour-5.3.122-dbg/lib/libglib-2.0.so.0
#3  0xb649ad04 in Glib::Threads::Cond::wait(Glib::Threads::Mutex&) () from /opt/Ardour-5.3.122-dbg/lib/libglibmm-2.4.so.1
#4  0xb7f400be in ArdourCanvas::WaveView::drawing_thread () at ../libs/canvas/wave_view.cc:1565
#5  0x0893a8fb in sigc::pointer_functor0<void>::operator() (this=0xb3b1354) at /home/ardour/linux-i386/gtk/inst/include/sigc++-2.0/sigc++/functors/ptr_fun.h:77
#6  0x089383c8 in sigc::adaptor_functor<sigc::pointer_functor0<void> >::operator() (this=0xb3b1350) at /home/ardour/linux-i386/gtk/inst/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:251
#7  0x08935066 in sigc::internal::slot_call0<sigc::pointer_functor0<void>, void>::call_it (rep=0xb3b1338) at /home/ardour/linux-i386/gtk/inst/include/sigc++-2.0/sigc++/functors/slot.h:103
#8  0xb649b422 in ?? () from /opt/Ardour-5.3.122-dbg/lib/libglibmm-2.4.so.1
#9  0xb635f5d2 in ?? () from /opt/Ardour-5.3.122-dbg/lib/libglib-2.0.so.0
#10 0xb5331313 in start_thread (arg=0xad2fbb40) at pthread_create.c:310
#11 0xb49d4f2e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:122

Thread 17 (Thread 0xafec81c0 (LWP 31383)):
#0  0xb7fdbbe0 in __kernel_vsyscall ()
#1  0xb49c8372 in __GI_ppoll (fds=0x99d4b00, nfds=2, timeout=0xafec76e8, sigmask=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:56
#2  0xb014c51e in Alsa_pcmi::pcm_wait (this=0x99d4aa0) at ../libs/backends/alsa/zita-alsa-pcmi.cc:178
#3  0xb012a46a in ARDOUR::AlsaAudioBackend::main_process_thread (this=0x942c200) at ../libs/backends/alsa/alsa_audiobackend.cc:1890
#4  0xb0125583 in pthread_process (arg=0x942c200) at ../libs/backends/alsa/alsa_audiobackend.cc:794
#5  0xb5331313 in start_thread (arg=0xafec81c0) at pthread_create.c:310
#6  0xb49d4f2e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:122

Thread 16 (Thread 0xaf2ffb40 (LWP 31382)):
#0  0xb7fdbbe0 in __kernel_vsyscall ()
#1  0xb49cafb1 in select () at ../sysdeps/unix/syscall-template.S:81
#2  0xb66e0f7e in PBD::SystemExec::output_interposer (this=0x9943300) at ../libs/pbd/system_exec.cc:926
---Type <return> to continue, or q <return> to quit---
#3  0xb66e032e in interposer_thread (arg=0x9943300) at ../libs/pbd/system_exec.cc:333
#4  0xb5331313 in start_thread (arg=0xaf2ffb40) at pthread_create.c:310
#5  0xb49d4f2e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:122

Thread 9 (Thread 0xafcffb40 (LWP 31374)):
#0  0xb7fdbbe0 in __kernel_vsyscall ()
#1  0xb49c829b in poll () at ../sysdeps/unix/syscall-template.S:81
#2  0xb63440db in g_poll () from /opt/Ardour-5.3.122-dbg/lib/libglib-2.0.so.0
#3  0xb63332cc in ?? () from /opt/Ardour-5.3.122-dbg/lib/libglib-2.0.so.0
#4  0xb6333533 in g_main_context_iteration () from /opt/Ardour-5.3.122-dbg/lib/libglib-2.0.so.0
#5  0xb6333596 in ?? () from /opt/Ardour-5.3.122-dbg/lib/libglib-2.0.so.0
#6  0xb635f5d2 in ?? () from /opt/Ardour-5.3.122-dbg/lib/libglib-2.0.so.0
#7  0xb5331313 in start_thread (arg=0xafcffb40) at pthread_create.c:310
#8  0xb49d4f2e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:122

Thread 7 (Thread 0xb0ceab40 (LWP 31372)):
#0  0xb7fdbbe0 in __kernel_vsyscall ()
#1  0xb5335e9c in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:187
#2  0xb6382262 in g_cond_wait () from /opt/Ardour-5.3.122-dbg/lib/libglib-2.0.so.0
#3  0xb649ad04 in Glib::Threads::Cond::wait(Glib::Threads::Mutex&) () from /opt/Ardour-5.3.122-dbg/lib/libglibmm-2.4.so.1
#4  0xb71aa0d5 in ARDOUR::AudioEngine::do_devicelist_update (this=0x92f3c40) at ../libs/ardour/audioengine.cc:560
#5  0xb71b4ec9 in boost::_mfi::mf0<void, ARDOUR::AudioEngine>::operator() (this=0x92f43f0, p=0x92f3c40) at /home/ardour/linux-i386/gtk/inst/include/boost/bind/mem_fn_template.hpp:49
#6  0xb71b4ba4 in boost::_bi::list1<boost::_bi::value<ARDOUR::AudioEngine*> >::operator()<boost::_mfi::mf0<void, ARDOUR::AudioEngine>, boost::_bi::list0> (this=0x92f43f8, f=..., a=...)
    at /home/ardour/linux-i386/gtk/inst/include/boost/bind/bind.hpp:253
#7  0xb71b4674 in boost::_bi::bind_t<void, boost::_mfi::mf0<void, ARDOUR::AudioEngine>, boost::_bi::list1<boost::_bi::value<ARDOUR::AudioEngine*> > >::operator() (this=0x92f43f0)
    at /home/ardour/linux-i386/gtk/inst/include/boost/bind/bind_template.hpp:20
#8  0xb71b40a9 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=0x92f43f0)
    at /home/ardour/linux-i386/gtk/inst/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:251
#9  0xb71b35e1 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=0x92f43d8)
    at /home/ardour/linux-i386/gtk/inst/include/sigc++-2.0/sigc++/functors/slot.h:103
#10 0xb649b422 in ?? () from /opt/Ardour-5.3.122-dbg/lib/libglibmm-2.4.so.1
#11 0xb635f5d2 in ?? () from /opt/Ardour-5.3.122-dbg/lib/libglib-2.0.so.0
#12 0xb5331313 in start_thread (arg=0xb0ceab40) at pthread_create.c:310
#13 0xb49d4f2e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:122

Thread 6 (Thread 0xb14ebb40 (LWP 31371)):
#0  0xb7fdbbe0 in __kernel_vsyscall ()
#1  0xb5335e9c in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:187
#2  0xb6382262 in g_cond_wait () from /opt/Ardour-5.3.122-dbg/lib/libglib-2.0.so.0
#3  0xb649ad04 in Glib::Threads::Cond::wait(Glib::Threads::Mutex&) () from /opt/Ardour-5.3.122-dbg/lib/libglibmm-2.4.so.1
#4  0xb71a9eb0 in ARDOUR::AudioEngine::do_reset_backend (this=0x92f3c40) at ../libs/ardour/audioengine.cc:525
#5  0xb71b4ec9 in boost::_mfi::mf0<void, ARDOUR::AudioEngine>::operator() (this=0x92f4278, p=0x92f3c40) at /home/ardour/linux-i386/gtk/inst/include/boost/bind/mem_fn_template.hpp:49
#6  0xb71b4ba4 in boost::_bi::list1<boost::_bi::value<ARDOUR::AudioEngine*> >::operator()<boost::_mfi::mf0<void, ARDOUR::AudioEngine>, boost::_bi::list0> (this=0x92f4280, f=..., a=...)
    at /home/ardour/linux-i386/gtk/inst/include/boost/bind/bind.hpp:253
#7  0xb71b4674 in boost::_bi::bind_t<void, boost::_mfi::mf0<void, ARDOUR::AudioEngine>, boost::_bi::list1<boost::_bi::value<ARDOUR::AudioEngine*> > >::operator() (this=0x92f4278)
    at /home/ardour/linux-i386/gtk/inst/include/boost/bind/bind_template.hpp:20
#8  0xb71b40a9 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=0x92f4278)
    at /home/ardour/linux-i386/gtk/inst/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:251
#9  0xb71b35e1 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=0x92f4260)
    at /home/ardour/linux-i386/gtk/inst/include/sigc++-2.0/sigc++/functors/slot.h:103
#10 0xb649b422 in ?? () from /opt/Ardour-5.3.122-dbg/lib/libglibmm-2.4.so.1
#11 0xb635f5d2 in ?? () from /opt/Ardour-5.3.122-dbg/lib/libglib-2.0.so.0
#12 0xb5331313 in start_thread (arg=0xb14ebb40) at pthread_create.c:310
---Type <return> to continue, or q <return> to quit---
#13 0xb49d4f2e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:122

Thread 5 (Thread 0xb25ffb40 (LWP 31370)):
#0  0xb7fdbbe0 in __kernel_vsyscall ()
#1  0xb5335e9c in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:187
#2  0xb6382262 in g_cond_wait () from /opt/Ardour-5.3.122-dbg/lib/libglib-2.0.so.0
#3  0xb649ad04 in Glib::Threads::Cond::wait(Glib::Threads::Mutex&) () from /opt/Ardour-5.3.122-dbg/lib/libglibmm-2.4.so.1
#4  0xb7140421 in ARDOUR::Analyser::work () at ../libs/ardour/analyser.cc:87
#5  0xb71401b2 in analyser_work () at ../libs/ardour/analyser.cc:52
#6  0x0893a8fb in sigc::pointer_functor0<void>::operator() (this=0x91fd694) at /home/ardour/linux-i386/gtk/inst/include/sigc++-2.0/sigc++/functors/ptr_fun.h:77
#7  0x089383c8 in sigc::adaptor_functor<sigc::pointer_functor0<void> >::operator() (this=0x91fd690) at /home/ardour/linux-i386/gtk/inst/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:251
#8  0x08935066 in sigc::internal::slot_call0<sigc::pointer_functor0<void>, void>::call_it (rep=0x91fd678) at /home/ardour/linux-i386/gtk/inst/include/sigc++-2.0/sigc++/functors/slot.h:103
#9  0xb649b422 in ?? () from /opt/Ardour-5.3.122-dbg/lib/libglibmm-2.4.so.1
#10 0xb635f5d2 in ?? () from /opt/Ardour-5.3.122-dbg/lib/libglib-2.0.so.0
#11 0xb5331313 in start_thread (arg=0xb25ffb40) at pthread_create.c:310
#12 0xb49d4f2e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:122

Thread 4 (Thread 0xb2fd7b40 (LWP 31369)):
#0  0xb7fdbbe0 in __kernel_vsyscall ()
#1  0xb5335e9c in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:187
#2  0xb6382262 in g_cond_wait () from /opt/Ardour-5.3.122-dbg/lib/libglib-2.0.so.0
#3  0xb649ad04 in Glib::Threads::Cond::wait(Glib::Threads::Mutex&) () from /opt/Ardour-5.3.122-dbg/lib/libglibmm-2.4.so.1
#4  0xb77a205b in peak_thread_work () at ../libs/ardour/source_factory.cc:71
#5  0x0893a8fb in sigc::pointer_functor0<void>::operator() (this=0x91fd66c) at /home/ardour/linux-i386/gtk/inst/include/sigc++-2.0/sigc++/functors/ptr_fun.h:77
#6  0x089383c8 in sigc::adaptor_functor<sigc::pointer_functor0<void> >::operator() (this=0x91fd668) at /home/ardour/linux-i386/gtk/inst/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:251
#7  0x08935066 in sigc::internal::slot_call0<sigc::pointer_functor0<void>, void>::call_it (rep=0x91fd650) at /home/ardour/linux-i386/gtk/inst/include/sigc++-2.0/sigc++/functors/slot.h:103
#8  0xb649b422 in ?? () from /opt/Ardour-5.3.122-dbg/lib/libglibmm-2.4.so.1
#9  0xb635f5d2 in ?? () from /opt/Ardour-5.3.122-dbg/lib/libglib-2.0.so.0
#10 0xb5331313 in start_thread (arg=0xb2fd7b40) at pthread_create.c:310
#11 0xb49d4f2e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:122

Thread 3 (Thread 0xb37d8b40 (LWP 31368)):
#0  0xb7fdbbe0 in __kernel_vsyscall ()
#1  0xb5335e9c in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:187
#2  0xb6382262 in g_cond_wait () from /opt/Ardour-5.3.122-dbg/lib/libglib-2.0.so.0
#3  0xb649ad04 in Glib::Threads::Cond::wait(Glib::Threads::Mutex&) () from /opt/Ardour-5.3.122-dbg/lib/libglibmm-2.4.so.1
#4  0xb77a205b in peak_thread_work () at ../libs/ardour/source_factory.cc:71
#5  0x0893a8fb in sigc::pointer_functor0<void>::operator() (this=0x91d00b4) at /home/ardour/linux-i386/gtk/inst/include/sigc++-2.0/sigc++/functors/ptr_fun.h:77
#6  0x089383c8 in sigc::adaptor_functor<sigc::pointer_functor0<void> >::operator() (this=0x91d00b0) at /home/ardour/linux-i386/gtk/inst/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:251
#7  0x08935066 in sigc::internal::slot_call0<sigc::pointer_functor0<void>, void>::call_it (rep=0x91d0098) at /home/ardour/linux-i386/gtk/inst/include/sigc++-2.0/sigc++/functors/slot.h:103
#8  0xb649b422 in ?? () from /opt/Ardour-5.3.122-dbg/lib/libglibmm-2.4.so.1
#9  0xb635f5d2 in ?? () from /opt/Ardour-5.3.122-dbg/lib/libglib-2.0.so.0
#10 0xb5331313 in start_thread (arg=0xb37d8b40) at pthread_create.c:310
#11 0xb49d4f2e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:122

Thread 2 (Thread 0xb3fd9b40 (LWP 31367)):
#0  0xb7fdbbe0 in __kernel_vsyscall ()
#1  0xb5339616 in nanosleep () at ../sysdeps/unix/syscall-template.S:81
#2  0xb6361192 in g_usleep () from /opt/Ardour-5.3.122-dbg/lib/libglib-2.0.so.0
#3  0xb64b1dbd in Glib::usleep(unsigned long) () from /opt/Ardour-5.3.122-dbg/lib/libglibmm-2.4.so.1
#4  0x08c20865 in gui_event_loop (ptr=0x0) at ../gtk2_ardour/linux_vst_gui_support.cc:475
#5  0xb5331313 in start_thread (arg=0xb3fd9b40) at pthread_create.c:310
#6  0xb49d4f2e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:122
---Type <return> to continue, or q <return> to quit---

Thread 1 (Thread 0xb4229b00 (LWP 31366)):
#0  0x08240683 in Glib::RefPtr<Gtk::Action>::RefPtr (this=0x91dc8c8, src=...) at /home/ardour/linux-i386/gtk/inst/include/glibmm-2.4/glibmm/refptr.h:220
#1  0x082ebabf in __gnu_cxx::new_allocator<Glib::RefPtr<Gtk::Action> >::construct (this=0xbfffcac0, __p=0x91dc8c8, __val=...) at /usr/include/c++/4.4/ext/new_allocator.h:105
#2  0x082ebc41 in std::vector<Glib::RefPtr<Gtk::Action>, std::allocator<Glib::RefPtr<Gtk::Action> > >::_M_insert_aux (this=0xbfffcac0, __position=<error reading variable: Cannot access memory at address 0x0>, 
    __x=...) at /usr/include/c++/4.4/bits/vector.tcc:330
#3  0x082eb14f in std::vector<Glib::RefPtr<Gtk::Action>, std::allocator<Glib::RefPtr<Gtk::Action> > >::push_back (this=0xbfffcac0, __x=...) at /usr/include/c++/4.4/bits/stl_vector.h:741
#4  0xb7d9e373 in Gtkmm2ext::ActionMap::get_actions (this=0xbf1f968, acts=std::vector of length 0, capacity 0) at ../libs/gtkmm2ext/bindings.cc:1136
#5  0xb7d9da54 in Gtkmm2ext::Bindings::get_all_actions (this=0xa197df8, paths=std::vector of length 0, capacity 0, labels=std::vector of length 0, capacity 0, tooltips=std::vector of length 0, capacity 0, 
    keys=std::vector of length 0, capacity 0, actions=std::vector of length 0, capacity 0) at ../libs/gtkmm2ext/bindings.cc:1021
#6  0x08686e8b in KeyEditor::Tab::populate (this=0xc988dc0) at ../gtk2_ardour/keyeditor.cc:343
#7  0x086859b7 in KeyEditor::Tab::Tab (this=0xc988dc0, ke=..., str="Monitor Section", b=0xa197df8, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../gtk2_ardour/keyeditor.cc:219
#8  0x086847ba in KeyEditor::add_tab (this=0xd133d38, name="Monitor Section", bindings=...) at ../gtk2_ardour/keyeditor.cc:131
#9  0x082d0763 in ARDOUR_UI::create_key_editor (this=0x9382188) at ../gtk2_ardour/ardour_ui_dialogs.cc:838
#10 0x082b4f25 in boost::_mfi::mf0<KeyEditor*, ARDOUR_UI>::operator() (this=0x938597c, p=0x9382188) at /home/ardour/linux-i386/gtk/inst/include/boost/bind/mem_fn_template.hpp:49
#11 0x082ae068 in boost::_bi::list1<boost::_bi::value<ARDOUR_UI*> >::operator()<KeyEditor*, boost::_mfi::mf0<KeyEditor*, ARDOUR_UI>, boost::_bi::list0> (this=0x9385984, f=..., a=...)
    at /home/ardour/linux-i386/gtk/inst/include/boost/bind/bind.hpp:243
#12 0x082a5832 in boost::_bi::bind_t<KeyEditor*, boost::_mfi::mf0<KeyEditor*, ARDOUR_UI>, boost::_bi::list1<boost::_bi::value<ARDOUR_UI*> > >::operator() (this=0x938597c)
    at /home/ardour/linux-i386/gtk/inst/include/boost/bind/bind_template.hpp:20
#13 0x0829f713 in boost::detail::function::function_obj_invoker0<boost::_bi::bind_t<KeyEditor*, boost::_mfi::mf0<KeyEditor*, ARDOUR_UI>, boost::_bi::list1<boost::_bi::value<ARDOUR_UI*> > >, KeyEditor*>::invoke
    (function_obj_ptr=...) at /home/ardour/linux-i386/gtk/inst/include/boost/function/function_template.hpp:132
#14 0x0829c439 in boost::function0<KeyEditor*>::operator() (this=0x9385978) at /home/ardour/linux-i386/gtk/inst/include/boost/function/function_template.hpp:760
#15 0x08292f37 in WM::ProxyWithConstructor<KeyEditor>::get (this=0x9385854, create=true) at ../gtk2_ardour/window_manager.h:130
#16 0x0828ac68 in WM::ProxyWithConstructor<KeyEditor>::operator-> (this=0x9385854) at ../gtk2_ardour/window_manager.h:141
#17 0x08267519 in ARDOUR_UI::finish (this=0x9382188) at ../gtk2_ardour/ardour_ui.cc:1327
#18 0x082b209e in sigc::bound_mem_functor0<void, ARDOUR_UI>::operator() (this=0x9fc37e0) at /home/ardour/linux-i386/gtk/inst/include/sigc++-2.0/sigc++/functors/mem_fun.h:1787
#19 0x082aa57e in sigc::adaptor_functor<sigc::bound_mem_functor0<void, ARDOUR_UI> >::operator() (this=0x9fc37dc) at /home/ardour/linux-i386/gtk/inst/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:251
#20 0x082ef7a2 in sigc::retype_return_functor<void, sigc::bound_mem_functor0<void, ARDOUR_UI> >::operator() (this=0x9fc37d8)
    at /home/ardour/linux-i386/gtk/inst/include/sigc++-2.0/sigc++/adaptors/retype_return.h:265
#21 0x082ee44c in sigc::internal::slot_call0<sigc::retype_return_functor<void, sigc::bound_mem_functor0<void, ARDOUR_UI> >, void>::call_it (rep=0x9fc37c0)
    at /home/ardour/linux-i386/gtk/inst/include/sigc++-2.0/sigc++/functors/slot.h:103
#22 0xb64afe0b in Glib::SignalProxyNormal::slot0_void_callback(_GObject*, void*) () from /opt/Ardour-5.3.122-dbg/lib/libglibmm-2.4.so.1
#23 0xb642593c in g_cclosure_marshal_VOID__VOID () from /opt/Ardour-5.3.122-dbg/lib/libgobject-2.0.so.0
#24 0xb6423492 in g_closure_invoke () from /opt/Ardour-5.3.122-dbg/lib/libgobject-2.0.so.0
#25 0xb643a975 in ?? () from /opt/Ardour-5.3.122-dbg/lib/libgobject-2.0.so.0
#26 0xb643bc41 in g_signal_emit_valist () from /opt/Ardour-5.3.122-dbg/lib/libgobject-2.0.so.0
#27 0xb643bfa2 in g_signal_emit () from /opt/Ardour-5.3.122-dbg/lib/libgobject-2.0.so.0
#28 0xb5eaaabd in ?? () from /opt/Ardour-5.3.122-dbg/lib/libgtk-x11-2.0.so.0
#29 0xb5eadf39 in gtk_action_activate () from /opt/Ardour-5.3.122-dbg/lib/libgtk-x11-2.0.so.0
#30 0xb6424251 in g_cclosure_marshal_VOID__VOIDv () from /opt/Ardour-5.3.122-dbg/lib/libgobject-2.0.so.0
#31 0xb6420f53 in ?? () from /opt/Ardour-5.3.122-dbg/lib/libgobject-2.0.so.0
#32 0xb6423281 in ?? () from /opt/Ardour-5.3.122-dbg/lib/libgobject-2.0.so.0
#33 0xb643b2df in g_signal_emit_valist () from /opt/Ardour-5.3.122-dbg/lib/libgobject-2.0.so.0
#34 0xb643bfa2 in g_signal_emit () from /opt/Ardour-5.3.122-dbg/lib/libgobject-2.0.so.0
#35 0xb612af85 in gtk_widget_activate () from /opt/Ardour-5.3.122-dbg/lib/libgtk-x11-2.0.so.0
#36 0xb5fce348 in gtk_menu_shell_activate_item () from /opt/Ardour-5.3.122-dbg/lib/libgtk-x11-2.0.so.0
#37 0xb5fcf079 in ?? () from /opt/Ardour-5.3.122-dbg/lib/libgtk-x11-2.0.so.0
#38 0xb5fbdcad in ?? () from /opt/Ardour-5.3.122-dbg/lib/libgtk-x11-2.0.so.0
#39 0xb5fb8bc4 in ?? () from /opt/Ardour-5.3.122-dbg/lib/libgtk-x11-2.0.so.0
#40 0xb6421e87 in ?? () from /opt/Ardour-5.3.122-dbg/lib/libgobject-2.0.so.0
#41 0xb6423492 in g_closure_invoke () from /opt/Ardour-5.3.122-dbg/lib/libgobject-2.0.so.0
#42 0xb643ac0e in ?? () from /opt/Ardour-5.3.122-dbg/lib/libgobject-2.0.so.0
#43 0xb643b830 in g_signal_emit_valist () from /opt/Ardour-5.3.122-dbg/lib/libgobject-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#44 0xb643bfa2 in g_signal_emit () from /opt/Ardour-5.3.122-dbg/lib/libgobject-2.0.so.0
#45 0xb612a406 in ?? () from /opt/Ardour-5.3.122-dbg/lib/libgtk-x11-2.0.so.0
#46 0xb5fb0ecd in gtk_propagate_event () from /opt/Ardour-5.3.122-dbg/lib/libgtk-x11-2.0.so.0
#47 0xb5fb2eaf in gtk_main_do_event () from /opt/Ardour-5.3.122-dbg/lib/libgtk-x11-2.0.so.0
#48 0xb5e0010a in ?? () from /opt/Ardour-5.3.122-dbg/lib/libgdk-x11-2.0.so.0
#49 0xb6331429 in g_main_context_dispatch () from /opt/Ardour-5.3.122-dbg/lib/libglib-2.0.so.0
#50 0xb6333348 in ?? () from /opt/Ardour-5.3.122-dbg/lib/libglib-2.0.so.0
#51 0xb63333ff in g_main_loop_run () from /opt/Ardour-5.3.122-dbg/lib/libglib-2.0.so.0
#52 0xb5fb2889 in gtk_main () from /opt/Ardour-5.3.122-dbg/lib/libgtk-x11-2.0.so.0
#53 0xb58720a7 in Gtk::Main::run_impl() () from /opt/Ardour-5.3.122-dbg/lib/libgtkmm-2.4.so.1
#54 0xb5871ea2 in Gtk::Main::run() () from /opt/Ardour-5.3.122-dbg/lib/libgtkmm-2.4.so.1
#55 0xb7dc8628 in Gtkmm2ext::UI::run (this=0x9382188, old_receiver=...) at ../libs/gtkmm2ext/gtk_ui.cc:286
#56 0x086ff770 in main (argc=1, argv=0xbfffe2a4) at ../gtk2_ardour/main.cc:408
(gdb)

timbyr

2016-09-18 00:51

developer   ~0018676

I've uploaded a backtrace when reproducing the issue using 5.3.122 nightly build(32-bit linux build)

x42

2016-09-18 08:04

administrator   ~0018677

should be fixed in Ardour 5.3-130-g7fe91a7

system

2020-04-19 20:18

developer   ~0023654

Issue has been closed automatically, by Trigger Close Plugin.
Feel free to re-open with additional information if you think the issue is not resolved.

Issue History

Date Modified Username Field Change
2016-09-18 00:47 timbyr New Issue
2016-09-18 00:49 timbyr File Added: ardour-5.3.122-bug7033-crash-on-exit-second-session.txt
2016-09-18 00:51 timbyr Note Added: 0018676
2016-09-18 00:51 timbyr Severity minor => crash
2016-09-18 08:04 x42 Note Added: 0018677
2016-09-18 08:04 x42 Status new => resolved
2016-09-18 08:04 x42 Resolution open => fixed
2016-09-18 08:04 x42 Assigned To => x42
2020-04-19 20:18 system Note Added: 0023654
2020-04-19 20:18 system Status resolved => closed