View Issue Details

IDProjectCategoryView StatusLast Update
0002937ardourbugspublic2010-04-26 11:40
Reporteroofus Assigned Tocth103  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
PlatformDell D830 core2duo T9300 2.5GHzOSMandrivaOS Version2009.1
Summary0002937: [CRASH] saving the session when quiting Ardour causes a crash
Description[CRASH] saving the session when quiting Ardour causes a crash
Additional Information
Program received signal SIGSEGV, Segmentation fault.
0xb7175a8c in ARDOUR::BufferSet::ensure_buffers (this=0x9ad53c0, type={static num_types = 2, _symbol = ARDOUR::DataType::AUDIO}, num_buffers=2, buffer_capacity=8192) at ../libs/ardour/buffer_set.cc:122
122 if (bufs.size() < num_buffers
(gdb) thread apply all bt

Thread 11 (Thread 0xadbfcb70 (LWP 13875)):
#0 0xffffe424 in __kernel_vsyscall ()
0000001 0xb54fd246 in poll () from /lib/i686/libc.so.6
#2 0xb737adc7 in ARDOUR::Session::midi_thread_work (this=0x9b6c538) at ../libs/ardour/session_midi.cc:1190
#3 0xb737a929 in ARDOUR::Session::_midi_thread_work (arg=0x9b6c538) at ../libs/ardour/session_midi.cc:1104
0000004 0xb67fa885 in start_thread () from /lib/i686/libpthread.so.0
0000005 0xb550857e in clone () from /lib/i686/libc.so.6

Thread 9 (Thread 0xae6cfc90 (LWP 13873)):
#0 0xffffe424 in __kernel_vsyscall ()
0000001 0xb68021d6 in nanosleep () from /lib/i686/libpthread.so.0
#2 0xb678ab8e in g_usleep () from /usr/lib/libglib-2.0.so.0
#3 0xb65812cb in Glib::usleep () from /usr/lib/libglibmm-2.4.so.1
0000004 0xb7147076 in ARDOUR::AudioEngine::meter_thread (this=0x9794868) at ../libs/ardour/audioengine.cc:538
0000005 0xb714e444 in sigc::bound_mem_functor0<void, ARDOUR::AudioEngine>::operator() (this=0x9b4a11c) at /usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:1787
#6 0xb714e232 in sigc::adaptor_functor<sigc::bound_mem_functor0<void, ARDOUR::AudioEngine> >::operator() (this=0x9b4a118) at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:251
#7 0xb714dc28 in sigc::internal::slot_call0<sigc::bound_mem_functor0<void, ARDOUR::AudioEngine>, void>::call_it (rep=0x9b4a100) at /usr/include/sigc++-2.0/sigc++/functors/slot.h:103
0000008 0xb65749e2 in ?? () from /usr/lib/libglibmm-2.4.so.1
0000009 0xb67887a4 in ?? () from /usr/lib/libglib-2.0.so.0
0000010 0xb67fa885 in start_thread () from /lib/i686/libpthread.so.0
0000011 0xb550857e in clone () from /lib/i686/libc.so.6

Thread 8 (Thread 0xae786b70 (LWP 13872)):
#0 0xffffe424 in __kernel_vsyscall ()
0000001 0xb54fd246 in poll () from /lib/i686/libc.so.6
#2 0xb68166af in jack_client_core_wait () from /usr/lib/libjack.so.0
#3 0x00000000 in ?? ()

Thread 7 (Thread 0xafa6db70 (LWP 13869)):
#0 0xffffe424 in __kernel_vsyscall ()
---Type <return> to continue, or q <return> to quit---
0000001 0xb67fe9e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/libpthread.so.0
#2 0xb6818014 in mb_thread_func () from /usr/lib/libjack.so.0
#3 0xb558d270 in ?? ()
0000004 0xafa6d334 in ?? ()
0000005 0xb6817fd9 in mb_thread_func () from /usr/lib/libjack.so.0
#6 0xb67fa885 in start_thread () from /lib/i686/libpthread.so.0
#7 0xb550857e in clone () from /lib/i686/libc.so.6

Thread 4 (Thread 0xb370bb70 (LWP 13859)):
#0 0xffffe424 in __kernel_vsyscall ()
0000001 0xb67fe9e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/libpthread.so.0
#2 0xb6573ff7 in Glib::Cond::wait () from /usr/lib/libglibmm-2.4.so.1
#3 0xb70fc8c9 in ARDOUR::Analyser::work () at ../libs/ardour/analyser.cc:85
0000004 0xb70fc57e in analyser_work () at ../libs/ardour/analyser.cc:49
0000005 0x085e31ad in sigc::pointer_functor0<void>::operator() (this=0x94bf4bc) at /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h:77
#6 0x085e1dd6 in sigc::adaptor_functor<sigc::pointer_functor0<void> >::operator() (this=0x94bf4b8) at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:251
#7 0x085dfdda in sigc::internal::slot_call0<sigc::pointer_functor0<void>, void>::call_it (rep=0x94bf4a0) at /usr/include/sigc++-2.0/sigc++/functors/slot.h:103
0000008 0xb65749e2 in ?? () from /usr/lib/libglibmm-2.4.so.1
0000009 0xb67887a4 in ?? () from /usr/lib/libglib-2.0.so.0
0000010 0xb67fa885 in start_thread () from /lib/i686/libpthread.so.0
0000011 0xb550857e in clone () from /lib/i686/libc.so.6

Thread 3 (Thread 0xb3f0cb70 (LWP 13858)):
#0 0xffffe424 in __kernel_vsyscall ()
0000001 0xb67fe9e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/libpthread.so.0
#2 0xb6573ff7 in Glib::Cond::wait () from /usr/lib/libglibmm-2.4.so.1
#3 0xb73b75b3 in peak_thread_work () at ../libs/ardour/source_factory.cc:69
0000004 0x085e31ad in sigc::pointer_functor0<void>::operator() (this=0x94bafdc) at /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h:77
0000005 0x085e1dd6 in sigc::adaptor_functor<sigc::pointer_functor0<void> >::operator() (this=0x94bafd8) at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:251
#6 0x085dfdda in sigc::internal::slot_call0<sigc::pointer_functor0<void>, void>::call_it (rep=0x94bafc0) at /usr/include/sigc++-2.0/sigc++/functors/slot.h:103
#7 0xb65749e2 in ?? () from /usr/lib/libglibmm-2.4.so.1
---Type <return> to continue, or q <return> to quit---
0000008 0xb67887a4 in ?? () from /usr/lib/libglib-2.0.so.0
0000009 0xb67fa885 in start_thread () from /lib/i686/libpthread.so.0
0000010 0xb550857e in clone () from /lib/i686/libc.so.6

Thread 2 (Thread 0xb470db70 (LWP 13857)):
#0 0xffffe424 in __kernel_vsyscall ()
0000001 0xb67fe9e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/libpthread.so.0
#2 0xb6573ff7 in Glib::Cond::wait () from /usr/lib/libglibmm-2.4.so.1
#3 0xb73b75b3 in peak_thread_work () at ../libs/ardour/source_factory.cc:69
0000004 0x085e31ad in sigc::pointer_functor0<void>::operator() (this=0x94b8a9c) at /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h:77
0000005 0x085e1dd6 in sigc::adaptor_functor<sigc::pointer_functor0<void> >::operator() (this=0x94b8a98) at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:251
#6 0x085dfdda in sigc::internal::slot_call0<sigc::pointer_functor0<void>, void>::call_it (rep=0x94b8a80) at /usr/include/sigc++-2.0/sigc++/functors/slot.h:103
#7 0xb65749e2 in ?? () from /usr/lib/libglibmm-2.4.so.1
0000008 0xb67887a4 in ?? () from /usr/lib/libglib-2.0.so.0
0000009 0xb67fa885 in start_thread () from /lib/i686/libpthread.so.0
0000010 0xb550857e in clone () from /lib/i686/libc.so.6

Thread 1 (Thread 0xb4adc720 (LWP 13847)):
#0 0xb7175a8c in ARDOUR::BufferSet::ensure_buffers (this=0x9ad53c0, type={static num_types = 2, _symbol = ARDOUR::DataType::AUDIO}, num_buffers=2, buffer_capacity=8192) at ../libs/ardour/buffer_set.cc:122
0000001 0xb7327715 in ARDOUR::Session::ensure_buffers (this=0x9b6c538, howmany=
        {static INFINITE = {static INFINITE = <same as static member of an already seen type>, static ZERO = {static INFINITE = <same as static member of an already seen type>, static ZERO = <same as static member of an already seen type>, _counts = {0, 0}}, _counts = {4294967295, 4294967295}}, static ZERO = <same as static member of an already seen type>, _counts = {2, 0}}) at ../libs/ardour/session.cc:3908
#2 0xb72ede3f in ARDOUR::Route::configure_processors_unlocked (this=0xa383ca8, err=0xbfa051dc) at ../libs/ardour/route.cc:1484
#3 0xb72ec7f9 in ARDOUR::Route::clear_processors (this=0xa383ca8, p=ARDOUR::PreFader) at ../libs/ardour/route.cc:1217
0000004 0xb72e69e9 in ~Route (this=0xa383ca8, __vtt_parm=0xb751b248) at ../libs/ardour/route.cc:166
0000005 0xb73cba3c in ~Track (this=0xa383ca8, __vtt_parm=0xb751b244) at ../libs/ardour/track.cc:65
#6 0xb7135ac2 in ~AudioTrack (this=0xa383ca8) at ../libs/ardour/audio_track.cc:68
#7 0xb733dd7c in boost::checked_delete<ARDOUR::AudioTrack> (x=0xa383ca8) at /usr/include/boost/checked_delete.hpp:34
0000008 0xb734aa7a in boost::detail::sp_counted_impl_p<ARDOUR::AudioTrack>::dispose (this=0xa387348) at /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:78
0000009 0x0819fcee in boost::detail::sp_counted_base::release (this=0xa387348) at /usr/include/boost/smart_ptr/detail/sp_counted_base_gcc_x86.hpp:145
0000010 0x0819fd80 in ~shared_count (this=0x97cca1c) at /usr/include/boost/smart_ptr/detail/shared_count.hpp:217
---Type <return> to continue, or q <return> to quit---
0000011 0x081aeb98 in ~shared_ptr (this=0x97cca18) at /usr/include/boost/smart_ptr/shared_ptr.hpp:160
0000012 0x081dc7d3 in __gnu_cxx::new_allocator<boost::shared_ptr<ARDOUR::Route> >::destroy (this=0xbfa05397, __p=0x97cca18) at /usr/lib/gcc/i586-manbo-linux-gnu/4.4.1/../../../../include/c++/4.4.1/ext/new_allocator.h:115
0000013 0x081d8bc8 in std::_List_base<boost::shared_ptr<ARDOUR::Route>, std::allocator<boost::shared_ptr<ARDOUR::Route> > >::_M_clear (this=0x93e5bf0) at /usr/lib/gcc/i586-manbo-linux-gnu/4.4.1/../../../../include/c++/4.4.1/bits/list.tcc:76
0000014 0x081d60f3 in ~_List_base (this=0x93e5bf0) at /usr/lib/gcc/i586-manbo-linux-gnu/4.4.1/../../../../include/c++/4.4.1/bits/stl_list.h:360
#15 0x081d465b in ~list (this=0x93e5bf0) at /usr/lib/gcc/i586-manbo-linux-gnu/4.4.1/../../../../include/c++/4.4.1/bits/stl_list.h:418
0000016 0x085dda26 in boost::checked_delete<std::list<boost::shared_ptr<ARDOUR::Route>, std::allocator<boost::shared_ptr<ARDOUR::Route> > > > (x=0x93e5bf0) at /usr/include/boost/checked_delete.hpp:34
#17 0x085e4956 in boost::detail::sp_counted_impl_p<std::list<boost::shared_ptr<ARDOUR::Route>, std::allocator<boost::shared_ptr<ARDOUR::Route> > > >::dispose (this=0xa4ff8c0) at /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:78
0000018 0x0819fcee in boost::detail::sp_counted_base::release (this=0xa4ff8c0) at /usr/include/boost/smart_ptr/detail/sp_counted_base_gcc_x86.hpp:145
0000019 0x0819fd80 in ~shared_count (this=0xa516554) at /usr/include/boost/smart_ptr/detail/shared_count.hpp:217
0000020 0x081e467a in ~shared_ptr (this=0xa516550) at /usr/include/boost/smart_ptr/shared_ptr.hpp:160
0000021 0xb733bbf3 in __gnu_cxx::new_allocator<boost::shared_ptr<std::list<boost::shared_ptr<ARDOUR::Route>, std::allocator<boost::shared_ptr<ARDOUR::Route> > > > >::destroy (this=0xbfa054e7, __p=0xa516550)
    at /usr/lib/gcc/i586-manbo-linux-gnu/4.4.1/../../../../include/c++/4.4.1/ext/new_allocator.h:115
0000022 0xb7334a50 in std::_List_base<boost::shared_ptr<std::list<boost::shared_ptr<ARDOUR::Route>, std::allocator<boost::shared_ptr<ARDOUR::Route> > > >, std::allocator<boost::shared_ptr<std::list<boost::shared_ptr<ARDOUR::Route>, std::allocator<boost::shared_ptr<ARDOUR::Route> > > > > >::_M_clear (this=0x9b6cbf4) at /usr/lib/gcc/i586-manbo-linux-gnu/4.4.1/../../../../include/c++/4.4.1/bits/list.tcc:76
0000023 0xb733607b in std::list<boost::shared_ptr<std::list<boost::shared_ptr<ARDOUR::Route>, std::allocator<boost::shared_ptr<ARDOUR::Route> > > >, std::allocator<boost::shared_ptr<std::list<boost::shared_ptr<ARDOUR::Route>, std::allocator<boost::shared_ptr<ARDOUR::Route> > > > > >::clear (this=0x9b6cbf4) at /usr/lib/gcc/i586-manbo-linux-gnu/4.4.1/../../../../include/c++/4.4.1/bits/stl_list.h:1132
#24 0xb732fe0b in SerializedRCUManager<std::list<boost::shared_ptr<ARDOUR::Route>, std::allocator<boost::shared_ptr<ARDOUR::Route> > > >::flush (this=0x9b6cbe4) at ../libs/pbd/pbd/rcu.h:191
0000025 0xb7312f0d in ARDOUR::Session::destroy (this=0x9b6c538) at ../libs/ardour/session.cc:455
0000026 0xb7310a88 in ~Session (this=0x9b6c538) at ../libs/ardour/session.cc:328
0000027 0x081c4c82 in ARDOUR_UI::finish (this=0x93243d8) at ../gtk2_ardour/ardour_ui.cc:779
0000028 0x081f3179 in ARDOUR_UI::exit_on_main_window_close (this=0x93243d8) at ../gtk2_ardour/ardour_ui_dependents.cc:136
0000029 0x0831126a in sigc::bound_mem_functor1<int, ARDOUR_UI, _GdkEventAny*>::operator() (this=0x98b664c, _A_a1=@0xbfa05934) at /usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:1851
0000030 0x0830cbf9 in sigc::adaptor_functor<sigc::bound_mem_functor1<int, ARDOUR_UI, _GdkEventAny*> >::operator()<_GdkEventAny* const&> (this=0x98b6648, _A_arg1=@0xbfa05934) at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:84
0000031 0x08307509 in sigc::internal::slot_call1<sigc::bound_mem_functor1<int, ARDOUR_UI, _GdkEventAny*>, bool, _GdkEventAny*>::call_it (rep=0x98b6630, a_1=@0xbfa05934) at /usr/include/sigc++-2.0/sigc++/functors/slot.h:137
0000032 0xb5b9e3b4 in ?? () from /usr/lib/libgtkmm-2.4.so.1
0000033 0xb6222fa4 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
0000034 0xb650c5e2 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
0000035 0xb6522825 in ?? () from /usr/lib/libgobject-2.0.so.0
0000036 0xb65233e0 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
0000037 0xb65239b7 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
0000038 0xb633f5ce in ?? () from /usr/lib/libgtk-x11-2.0.so.0
---Type <return> to continue, or q <return> to quit---
0000039 0xb621cc90 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
0000040 0xb60a118a in ?? () from /usr/lib/libgdk-x11-2.0.so.0
0000041 0xb675db92 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
0000042 0xb6761468 in ?? () from /usr/lib/libglib-2.0.so.0
0000043 0xb67618bf in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
0000044 0xb621cf49 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
0000045 0xb5b0c764 in Gtk::Main::run_impl () from /usr/lib/libgtkmm-2.4.so.1
0000046 0xb5b0c56f in Gtk::Main::run () from /usr/lib/libgtkmm-2.4.so.1
0000047 0xb6dc3947 in Gtkmm2ext::UI::run (this=0x93243d8, old_receiver=@0x89e59f8) at ../libs/gtkmm2ext/gtk_ui.cc:240
0000048 0x084ddd5f in main (argc=1, argv=0xbfa06064) at ../gtk2_ardour/main.cc:392
TagsNo tags attached.

Activities

cth103

2009-11-26 13:27

administrator   ~0007158

This should be fixed in current SVN. Could you verify?

oofus

2009-11-26 13:41

developer   ~0007159

Seems fixed. I was seeing a segfault every time I saved and quit, not seeing that now. Will monitor through a few more save and quits.

cth103

2009-12-01 00:24

administrator   ~0007205

Fixed, as far as I can tell :)

Issue History

Date Modified Username Field Change
2009-11-26 00:45 oofus New Issue
2009-11-26 13:27 cth103 Note Added: 0007158
2009-11-26 13:27 cth103 Status new => feedback
2009-11-26 13:41 oofus Note Added: 0007159
2009-12-01 00:24 cth103 cost => 0.00
2009-12-01 00:24 cth103 Note Added: 0007205
2009-12-01 00:24 cth103 Status feedback => resolved
2009-12-01 00:24 cth103 Resolution open => fixed
2009-12-01 00:24 cth103 Assigned To => cth103
2010-04-24 10:28 cth103 Category bugs => bugs2
2010-04-24 10:31 cth103 Category bugs2 => bugs
2010-04-26 11:06 oofus Status resolved => feedback
2010-04-26 11:06 oofus Resolution fixed => reopened
2010-04-26 11:40 oofus Status feedback => closed
2010-04-26 11:40 oofus Resolution reopened => fixed