View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0004614 | ardour | bugs | public | 2012-01-04 19:59 | 2020-04-19 20:16 |
| Reporter | jolson | Assigned To | cth103 | ||
| Priority | normal | Severity | crash | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Target Version | 3.0-beta3 | ||||
| Summary | 0004614: Failed assertion when opening session | ||||
| Description | When trying to open the attached session, Ardour crashes with the following message: ardour-3.0: ../libs/ardour/tempo.cc:1823: std::vector<ARDOUR::TempoMap::BBTPoint>::const_iterator ARDOUR::TempoMap::bbt_before_or_at(ARDOUR::framepos_t): Assertion "i != _map->begin()" false. (The words "Assertion" and "false" are my own translations of the Swedish message I actually get.) Backtrace: Thread 42 (Thread 0xad3d7c90 (LWP 11810)): #0 0x0012e416 in __kernel_vsyscall () 0000001 0x035fed46 in nanosleep () from /lib/i386-linux-gnu/libpthread.so.0 #2 0x0243da92 in g_usleep () from /lib/i386-linux-gnu/libglib-2.0.so.0 #3 0x02356a4d in Glib::usleep(unsigned long) () from /usr/lib/libglibmm-2.4.so.1 0000004 0x00e87220 in ARDOUR::AudioEngine::meter_thread (this=0xa05ca00) at ../libs/ardour/audioengine.cc:691 0000005 0x00ea7c27 in boost::_mfi::mf0<void, ARDOUR::AudioEngine>::operator() ( this=0xa9f0c48, p=0xa05ca00) at /usr/include/boost/bind/mem_fn_template.hpp:49 #6 0x00ea2ef6 in boost::_bi::list1<boost::_bi::value<ARDOUR::AudioEngine*> >::operator()<boost::_mfi::mf0<void, ARDOUR::AudioEngine>, boost::_bi::list0> ( this=0xa9f0c50, f=..., a=...) at /usr/include/boost/bind/bind.hpp:253 #7 0x00e9e462 in boost::_bi::bind_t<void, boost::_mfi::mf0<void, ARDOUR::AudioEngine>, boost::_bi::list1<boost::_bi::value<ARDOUR::AudioEngine*> > >::operator() (this=0xa9f0c48) at /usr/include/boost/bind/bind_template.hpp:20 0000008 0x00e993ed 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=0xa9f0c48) at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:251 0000009 0x00e94ceb 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=0xa9f0c30) at /usr/include/sigc++-2.0/sigc++/functors/slot.h:103 0000010 0x02346892 in ?? () from /usr/lib/libglibmm-2.4.so.1 0000011 0x0243a2df in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0 0000012 0x035f6e99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0 0000013 0x03bcd73e in clone () from /lib/i386-linux-gnu/libc.so.6 Thread 40 (Thread 0xb084fb70 (LWP 11808)): #0 0x0012e416 in __kernel_vsyscall () 0000001 0x035fb834 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0 #2 0x023c3f0e in ?? () from /usr/lib/i386-linux-gnu/libgthread-2.0.so.0 #3 0x023e442c in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0 0000004 0x023e4f6d in g_async_queue_timed_pop () from /lib/i386-linux-gnu/libglib-2.0.so.0 0000005 0x0243c980 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0 #6 0x0243a2df in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0 #7 0x035f6e99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0 0000008 0x03bcd73e in clone () from /lib/i386-linux-gnu/libc.so.6 Thread 36 (Thread 0xaff39b70 (LWP 11802)): #0 0x0012e416 in __kernel_vsyscall () 0000001 0x03bbef76 in poll () from /lib/i386-linux-gnu/libc.so.6 #2 0x0242184b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0 #3 0x024111af in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0 0000004 0x0241192b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0 0000005 0x0234fff5 in Glib::MainLoop::run() () from /usr/lib/libglibmm-2.4.so.1 #6 0x0204b4c1 in BaseUI::main_thread (this=0xb5220190) at ../libs/pbd/base_ui.cc:77 #7 0x0204c7f6 in sigc::bound_mem_functor0<void, BaseUI>::operator() ( this=0xb520457c) at /usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:1787 0000008 0x0204c666 in sigc::adaptor_functor<sigc::bound_mem_functor0<void, BaseUI> >::operator() (this=0xb5204578) at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:251 0000009 0x0204c3e2 in sigc::internal::slot_call0<sigc::bound_mem_functor0<void, BaseUI>, void>::call_it (rep=0xb5204560) at /usr/include/sigc++-2.0/sigc++/functors/slot.h:103 0000010 0x02346892 in ?? () from /usr/lib/libglibmm-2.4.so.1 0000011 0x0243a2df in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0 0000012 0x035f6e99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0 0000013 0x03bcd73e in clone () from /lib/i386-linux-gnu/libc.so.6 Thread 35 (Thread 0xb5383c90 (LWP 11801)): #0 0x0012e416 in __kernel_vsyscall () 0000001 0x03bbef76 in poll () from /lib/i386-linux-gnu/libc.so.6 #2 0x00f01cc7 in ARDOUR::Butler::thread_work (this=0xa52cb70) at ../libs/ardour/butler.cc:153 #3 0x00f01c32 in ARDOUR::Butler::_thread_work (arg=0xa52cb70) at ../libs/ardour/butler.cc:137 0000004 0x0207d616 in fake_thread_start (arg=0xa541e80) at ../libs/pbd/pthread_utils.cc:81 0000005 0x035f6e99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0 #6 0x03bcd73e in clone () from /lib/i386-linux-gnu/libc.so.6 Thread 34 (Thread 0xb1050b70 (LWP 11800)): #0 0x0012e416 in __kernel_vsyscall () 0000001 0x035fd7d5 in sem_wait@@GLIBC_2.1 () from /lib/i386-linux-gnu/libpthread.so.0 #2 0x00fdc743 in PBD::ProcessSemaphore::wait (this=0xa52d748) at /home/jolson/ardour-3.0/libs/pbd/pbd/semutils.h:41 #3 0x00fda22f in ARDOUR::Graph::restart_cycle (this=0xa52d6d0) at ../libs/ardour/graph.cc:263 0000004 0x00fda1f5 in ARDOUR::Graph::dec_ref (this=0xa52d6d0) at ../libs/ardour/graph.cc:250 0000005 0x00fe0f0e in ARDOUR::GraphNode::finish (this=0xa570a3c, chain=1) at ../libs/ardour/graphnode.cc:71 #6 0x00fdac6f in ARDOUR::Graph::run_one (this=0xa52d6d0) at ../libs/ardour/graph.cc:403 #7 0x00fdb0c2 in ARDOUR::Graph::main_thread (this=0xa52d6d0) at ../libs/ardour/graph.cc:458 0000008 0x00fe0919 in boost::_mfi::mf0<void, ARDOUR::Graph>::operator() ( this=0xb10501a0, p=0xa52d6d0) at /usr/include/boost/bind/mem_fn_template.hpp:49 0000009 0x00fe03c6 in boost::_bi::list1<boost::_bi::value<ARDOUR::Graph*> >::operator()<boost::_mfi::mf0<void, ARDOUR::Graph>, boost::_bi::list0> ( this=0xb10501a8, f=..., a=...) at /usr/include/boost/bind/bind.hpp:253 0000010 0x00fdff42 in boost::_bi::bind_t<void, boost::_mfi::mf0<void, ARDOUR::Graph>, boost::_bi::list1<boost::_bi::value<ARDOUR::Graph*> > >::operator() ( this=0xb10501a0) at /usr/include/boost/bind/bind_template.hpp:20 0000011 0x00fdf9e7 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 /usr/include/boost/function/function_template.hpp:153 0000012 0x08e81023 in boost::function0<void>::operator() (this=0xb105019c) at /usr/include/boost/function/function_template.hpp:1013 0000013 0x00e89fa4 in ARDOUR::AudioEngine::_start_process_thread (arg=0xa535940) at ../libs/ardour/audioengine.cc:1475 0000014 0x035f6e99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0 #15 0x03bcd73e in clone () from /lib/i386-linux-gnu/libc.so.6 Thread 33 (Thread 0xadf35b70 (LWP 11799)): #0 0x0012e416 in __kernel_vsyscall () 0000001 0x03bbef76 in poll () from /lib/i386-linux-gnu/libc.so.6 #2 0x035dd7f7 in ?? () from /usr/lib/libjack.so.0 #3 0x035ddbe1 in jack_cycle_wait () from /usr/lib/libjack.so.0 0000004 0x00e86495 in ARDOUR::AudioEngine::process_thread (this=0xa05ca00) at ../libs/ardour/audioengine.cc:441 0000005 0x00e85f55 in ARDOUR::AudioEngine::_process_thread (arg=0xa05ca00) at ../libs/ardour/audioengine.cc:352 #6 0x035ddb79 in ?? () from /usr/lib/libjack.so.0 #7 0x035f6e99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0 0000008 0x03bcd73e in clone () from /lib/i386-linux-gnu/libc.so.6 Thread 32 (Thread 0xae736b70 (LWP 11796)): #0 0x0012e416 in __kernel_vsyscall () 0000001 0x035fb48c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0 #2 0x035df4c4 in ?? () from /usr/lib/libjack.so.0 #3 0x035f6e99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0 0000004 0x03bcd73e in clone () from /lib/i386-linux-gnu/libc.so.6 Thread 7 (Thread 0xb51d0b70 (LWP 11768)): #0 0x0012e416 in __kernel_vsyscall () 0000001 0x03bbef76 in poll () from /lib/i386-linux-gnu/libc.so.6 #2 0x0242184b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0 #3 0x024111af in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0 0000004 0x0241192b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0 0000005 0x029ec304 in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0 #6 0x0243a2df in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0 #7 0x035f6e99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0 0000008 0x03bcd73e in clone () from /lib/i386-linux-gnu/libc.so.6 Thread 5 (Thread 0xb6312b70 (LWP 11765)): #0 0x0012e416 in __kernel_vsyscall () 0000001 0x035fb48c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0 #2 0x02347338 in Glib::Cond::wait(Glib::Mutex&) () from /usr/lib/libglibmm-2.4.so.1 #3 0x00e1b9cd in ARDOUR::Analyser::work () at ../libs/ardour/analyser.cc:85 0000004 0x00e1b756 in analyser_work () at ../libs/ardour/analyser.cc:49 0000005 0x0936ff03 in sigc::pointer_functor0<void>::operator() (this=0x9df7f74) at /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h:77 #6 0x0936dfac in sigc::adaptor_functor<sigc::pointer_functor0<void> >::operator() (this=0x9df7f70) at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:251 #7 0x0936ba08 in sigc::internal::slot_call0<sigc::pointer_functor0<void>, void>::call_it (rep=0x9df7f58) at /usr/include/sigc++-2.0/sigc++/functors/slot.h:103 0000008 0x02346892 in ?? () from /usr/lib/libglibmm-2.4.so.1 0000009 0x0243a2df in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0 0000010 0x035f6e99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0 0000011 0x03bcd73e in clone () from /lib/i386-linux-gnu/libc.so.6 Thread 4 (Thread 0xb6b13b70 (LWP 11764)): #0 0x0012e416 in __kernel_vsyscall () 0000001 0x035fb48c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0 #2 0x02347338 in Glib::Cond::wait(Glib::Mutex&) () from /usr/lib/libglibmm-2.4.so.1 #3 0x012ad3ea in peak_thread_work () at ../libs/ardour/source_factory.cc:68 0000004 0x0936ff03 in sigc::pointer_functor0<void>::operator() (this=0x9df814c) at /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h:77 0000005 0x0936dfac in sigc::adaptor_functor<sigc::pointer_functor0<void> >::operator() (this=0x9df8148) at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:251 #6 0x0936ba08 in sigc::internal::slot_call0<sigc::pointer_functor0<void>, void>::call_it (rep=0x9df8130) at /usr/include/sigc++-2.0/sigc++/functors/slot.h:103 #7 0x02346892 in ?? () from /usr/lib/libglibmm-2.4.so.1 0000008 0x0243a2df in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0 0000009 0x035f6e99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0 0000010 0x03bcd73e in clone () from /lib/i386-linux-gnu/libc.so.6 Thread 3 (Thread 0xb7314b70 (LWP 11763)): #0 0x0012e416 in __kernel_vsyscall () 0000001 0x035fb48c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0 #2 0x02347338 in Glib::Cond::wait(Glib::Mutex&) () from /usr/lib/libglibmm-2.4.so.1 #3 0x012ad3ea in peak_thread_work () at ../libs/ardour/source_factory.cc:68 0000004 0x0936ff03 in sigc::pointer_functor0<void>::operator() (this=0x9df828c) at /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h:77 0000005 0x0936dfac in sigc::adaptor_functor<sigc::pointer_functor0<void> >::operator() (this=0x9df8288) at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:251 #6 0x0936ba08 in sigc::internal::slot_call0<sigc::pointer_functor0<void>, void>::call_it (rep=0x9df8270) at /usr/include/sigc++-2.0/sigc++/functors/slot.h:103 #7 0x02346892 in ?? () from /usr/lib/libglibmm-2.4.so.1 0000008 0x0243a2df in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0 0000009 0x035f6e99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0 0000010 0x03bcd73e in clone () from /lib/i386-linux-gnu/libc.so.6 Thread 2 (Thread 0xb7b15b70 (LWP 11762)): #0 0x0012e416 in __kernel_vsyscall () 0000001 0x03b95fe6 in nanosleep () from /lib/i386-linux-gnu/libc.so.6 #2 0x03bc71ac in usleep () from /lib/i386-linux-gnu/libc.so.6 #3 0x0957fcc6 in gui_event_loop (ptr=0x0) at ../gtk2_ardour/linux_vst_gui_support.cc:363 0000004 0x035f6e99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0 0000005 0x03bcd73e in clone () from /lib/i386-linux-gnu/libc.so.6 Thread 1 (Thread 0xb7fcb8a0 (LWP 11761)): #0 0x0012e416 in __kernel_vsyscall () 0000001 0x03b27e71 in raise () from /lib/i386-linux-gnu/libc.so.6 #2 0x03b2b34e in abort () from /lib/i386-linux-gnu/libc.so.6 #3 0x03b20888 in __assert_fail () from /lib/i386-linux-gnu/libc.so.6 0000004 0x012c124e in ARDOUR::TempoMap::bbt_before_or_at (this=0xa5371b0, pos=-1) at ../libs/ardour/tempo.cc:1823 0000005 0x012bd14e in ARDOUR::TempoMap::bbt_time (this=0xa5371b0, frame=-1, bbt=...) at ../libs/ardour/tempo.cc:1083 #6 0x0129570c in ARDOUR::Session::bbt_time (this=0xa529dd8, when=-1, bbt=...) at ../libs/ardour/session_time.cc:52 #7 0x0911b91a in Editor::compute_current_bbt_points (this=0xa1da0c8, leftmost=-1, rightmost=1005552) at ../gtk2_ardour/editor_tempodisplay.cc:153 0000008 0x08fc237d in Editor::idle_visual_changer (this=0xa1da0c8) at ../gtk2_ardour/editor.cc:4321 0000009 0x08fc229d in Editor::_idle_visual_changer (arg=0xa1da0c8) at ../gtk2_ardour/editor.cc:4294 0000010 0x0240c311 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0 0000011 0x02410aa8 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0 0000012 0x02411270 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0 0000013 0x02411524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0 0000014 0x025d9eb4 in gtk_main_iteration () from /usr/lib/libgtk-x11-2.0.so.0 #15 0x01eb4149 in Gtkmm2ext::UI::flush_pending (this=0x9c41638) at ../libs/gtkmm2ext/gtk_ui.cc:681 0000016 0x08e8f359 in ARDOUR_UI::goto_editor_window (this=0x9c41638) at ../gtk2_ardour/ardour_ui_dependents.cc:105 #17 0x08e4d40d in ARDOUR_UI::load_session (this=0x9c41638, path=..., snap_name=..., mix_template=...) at ../gtk2_ardour/ardour_ui.cc:2869 0000018 0x08e4cc1a in ARDOUR_UI::get_session_parameters (this=0x9c41638, quit_on_cancel=true, should_be_new=false, load_template=...) at ../gtk2_ardour/ardour_ui.cc:2722 0000019 0x08e445a8 in ARDOUR_UI::startup (this=0x9c41638) at ../gtk2_ardour/ardour_ui.cc:720 0000020 0x08e6adce in sigc::bound_mem_functor0<void, ARDOUR_UI>::operator() ( this=0x9ed5b5c) at /usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:1787 0000021 0x08e65f0c in sigc::adaptor_functor<sigc::bound_mem_functor0<void, ARDOUR_UI> >::operator() (this=0x9ed5b58) at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:251 0000022 0x08e613a2 in sigc::internal::slot_call0<sigc::bound_mem_functor0<void, ARDOUR_UI>, void>::call_it (rep=0x9ed5b40) at /usr/include/sigc++-2.0/sigc++/functors/slot.h:103 0000023 0x08e323df in sigc::internal::signal_emit0<void, sigc::nil>::emit ( impl=0x9ed5b10) at /usr/include/sigc++-2.0/sigc++/signal.h:776 #24 0x08e33872 in sigc::signal0<void, sigc::nil>::emit (this=0x9c4169c) at /usr/include/sigc++-2.0/sigc++/signal.h:2671 0000025 0x08e32ff5 in sigc::signal0<void, sigc::nil>::operator() (this=0x9c4169c) at /usr/include/sigc++-2.0/sigc++/signal.h:2679 0000026 0x01eb2725 in Gtkmm2ext::UI::run (this=0x9c41638, old_receiver=...) at ../libs/gtkmm2ext/gtk_ui.cc:264 0000027 0x092045fd in main (argc=1, argv=0xbfffeaa4) at ../gtk2_ardour/main.cc:555 | ||||
| Tags | No tags attached. | ||||
|
2012-01-04 19:59
|
|
|
|
I should add some information: 1. The error first occurred, not when opening the session, but while working with it. I think it happened when I pressed "Home" on my keyboard to send the playhead back to the beginning. 2. The session won't cause a crash if one picks out the file "bas.ardour" and opens it out of context. 3. The session contains no tempo nor meter changes. All default. |
|
|
I am also having a problem with this assertion, for which I reported bug 4617. After rereading this, I can't make up my mind whether my bug is a duplicate of this one or not. For what it's worth, the attached project also caused Ardour to abort on my machine. |
|
|
Just tried the attached session in my up to date Ardour and it opens fine. I think the problem described here has been fixed, and I'm now 100% confident that my bug is a different one. |
|
|
Reporter says this is fixed. Thanks! |
|
|
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. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2012-01-04 19:59 | jolson | New Issue | |
| 2012-01-04 19:59 | jolson | File Added: bas.tar.gz | |
| 2012-01-04 20:27 | cth103 | cost | => 0.00 |
| 2012-01-04 20:27 | cth103 | Target Version | => 3.0-beta2 |
| 2012-01-05 10:02 | jolson | Note Added: 0012518 | |
| 2012-01-05 10:02 | jolson | Note Edited: 0012518 | |
| 2012-01-05 19:39 | jmb8710 | Note Added: 0012520 | |
| 2012-01-05 19:39 | jmb8710 | Note Edited: 0012520 | |
| 2012-01-09 22:05 | jmb8710 | Note Added: 0012528 | |
| 2012-01-10 00:48 | cth103 | Note Added: 0012529 | |
| 2012-01-10 00:48 | cth103 | Status | new => resolved |
| 2012-01-10 00:48 | cth103 | Resolution | open => fixed |
| 2012-01-10 00:48 | cth103 | Assigned To | => cth103 |
| 2012-01-10 20:45 | cth103 | Target Version | 3.0-beta2 => 3.0-beta3 |
| 2020-04-19 20:16 | system | Note Added: 0022921 | |
| 2020-04-19 20:16 | system | Status | resolved => closed |