View Issue Details

IDProjectCategoryView StatusLast Update
0004617ardourbugspublic2020-04-19 20:16
Reporterjmb8710 Assigned Topaul  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Product Version3.0-beta1 
Target Version3.0 
Summary0004617: Ardour 3 tempo assertion fails when opening project
Descriptionardour-3.0: ../libs/ardour/tempo.cc:2450: Evoral::MusicalTime ARDOUR::TempoMap::framewalk_to_beats(ARDOUR::framepos_t, ARDOUR::framecnt_t) const: Assertion `tempo' failed.

This has only happened when I created, saved and tried to reopen a project that used 3/4 time. There's one audio and one MIDI track, with the MIDI in being my controller keyboard and the MIDI out going to my Korg Wavestation. 0004614 is showing another problem with this assertion.

Core dump is too huge to attach, it's here: http://30melons.co.uk/~james/core. Don't know how useful it is.
Tagstempo assertion

  Users sponsoring this issue
Sponsors List Total Sponsorship = US$ 25

2012-01-10 18:39: jmb8710 (US$ 25)
  Users sponsoring this issue (Total Sponsorship = US$ 25)

Activities

jmb8710

2012-01-05 19:33

reporter   ~0012519

After updating to current SVN (should probably have done that before reporting the bug) the message is now:

ardour-3.0: ../libs/ardour/tempo.cc:1912: std::vector<ARDOUR::TempoMap::BBTPoint>::const_iterator ARDOUR::TempoMap::bbt_before_or_at(ARDOUR::framepos_t): Assertion `i != _map.begin()' failed.

This appears to be the same as bug 4614, so this is now a duplicate. Sorry for wasting everyone's time.

jmb8710

2012-01-06 19:44

reporter   ~0012521

Last edited: 2012-01-06 19:44

Following some SVN updates today, the behaviour has changed and Ardour now segfaults instead of aborting when opening this project.

Up to date core dump will be at http://30melons.co.uk/~james/core - in the process of uploading it now. (Can a developer tell me if these core dumps are actually useful? Only they're too big to attach here and it takes ages to upload them to my web server.)

I imagine this is something that is being worked on (since tempo.cc has changed in every svn update I've done) but I'm reporting it anyway.

jmb8710

2012-01-06 20:15

reporter   ~0012522

And it seems this isn't a duplicate of the other bug after all, since the project attached to that one still causes my up-to-date Ardour to abort, rather than segfault.

jmb8710

2012-01-09 16:10

reporter   ~0012526

I finally read up on the correct procedure for working with Ardour core dumps (never been that good with GDB) so I can do something more useful than upload them.

The debugger's initial message is:

Program terminated with signal 11, Segmentation fault.
#0 0x00007f72c85235c6 in ARDOUR::Tempo::frames_per_beat (this=0x28, sr=44100) at ../libs/ardour/tempo.cc:51
51 return (60.0 * sr) / _beats_per_minute;

And the full backtrace:

Thread 14 (Thread 0x7f72b173e700 (LWP 3141)):
#0 0x00007f72c11c204c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
0000001 0x00007f72c5635d5f in g_cond_wait () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00007f72c85186ed in peak_thread_work () at ../libs/ardour/source_factory.cc:68
#3 0x00000000018f27d5 in sigc::pointer_functor0<void>::operator() (this=0x2a7c538) at /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h:77
0000004 0x00000000018eff3a in sigc::adaptor_functor<sigc::pointer_functor0<void> >::operator() (this=0x2a7c530) at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:251
0000005 0x00000000018ecfdd in sigc::internal::slot_call0<sigc::pointer_functor0<void>, void>::call_it (rep=0x2a7c500) at /usr/include/sigc++-2.0/sigc++/functors/slot.h:103
#6 0x00007f72c5d3645d in ?? () from /usr/lib/x86_64-linux-gnu/libglibmm-2.4.so.1
#7 0x00007f72c561bea5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
0000008 0x00007f72c11bdefc in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
0000009 0x00007f72c0ef892d in clone () from /lib/x86_64-linux-gnu/libc.so.6
0000010 0x0000000000000000 in ?? ()

Thread 13 (Thread 0x7f72ac199700 (LWP 3159)):
#0 0x00007f72c11c50dd in read () from /lib/x86_64-linux-gnu/libpthread.so.0
0000001 0x00007f72c2112fca in ?? () from /usr/lib/x86_64-linux-gnu/libjack.so.0
#2 0x00007f72c2115906 in ?? () from /usr/lib/x86_64-linux-gnu/libjack.so.0
#3 0x00007f72c2111300 in ?? () from /usr/lib/x86_64-linux-gnu/libjack.so.0
0000004 0x00007f72c11bdefc in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
0000005 0x00007f72c0ef892d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#6 0x0000000000000000 in ?? ()

Thread 12 (Thread 0x7f72acb2d700 (LWP 3146)):
#0 0x00007f72c11c23cb in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
0000001 0x00007f72c5635e55 in g_cond_wait_until () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00007f72c55d0f5e in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3 0x00007f72c55d156e in g_async_queue_timed_pop () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
0000004 0x00007f72c561c637 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
0000005 0x00007f72c561bea5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6 0x00007f72c11bdefc in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#7 0x00007f72c0ef892d in clone () from /lib/x86_64-linux-gnu/libc.so.6
0000008 0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7f729f7fe700 (LWP 3164)):
#0 0x00007f72c0eec803 in poll () from /lib/x86_64-linux-gnu/libc.so.6
0000001 0x00007f72c55fa8e6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00007f72c55fad4a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3 0x00007f72c628a05f in BaseUI::main_thread (this=0x7f72a0029080) at ../libs/pbd/base_ui.cc:77
0000004 0x00007f72c628b403 in sigc::bound_mem_functor0<void, BaseUI>::operator() (this=0x7f72a0008c38) at /usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:1787
0000005 0x00007f72c628b268 in sigc::adaptor_functor<sigc::bound_mem_functor0<void, BaseUI> >::operator() (this=0x7f72a0008c30) at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:251
#6 0x00007f72c628afd9 in sigc::internal::slot_call0<sigc::bound_mem_functor0<void, BaseUI>, void>::call_it (rep=0x7f72a0008c00) at /usr/include/sigc++-2.0/sigc++/functors/slot.h:103
#7 0x00007f72c5d3645d in ?? () from /usr/lib/x86_64-linux-gnu/libglibmm-2.4.so.1
0000008 0x00007f72c561bea5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
0000009 0x00007f72c11bdefc in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
0000010 0x00007f72c0ef892d in clone () from /lib/x86_64-linux-gnu/libc.so.6
0000011 0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7f72b1f3f700 (LWP 3140)):
#0 0x00007f72c0ec457d in nanosleep () from /lib/x86_64-linux-gnu/libc.so.6
0000001 0x00007f72c0ef21e4 in usleep () from /lib/x86_64-linux-gnu/libc.so.6
#2 0x0000000001b4bd17 in gui_event_loop (ptr=0x0) at ../gtk2_ardour/linux_vst_gui_support.cc:363
#3 0x00007f72c11bdefc in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
0000004 0x00007f72c0ef892d in clone () from /lib/x86_64-linux-gnu/libc.so.6
0000005 0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7f728e9ec820 (LWP 3163)):
#0 0x00007f72c0eec803 in poll () from /lib/x86_64-linux-gnu/libc.so.6
0000001 0x00007f72c815b7cf in ARDOUR::Butler::thread_work (this=0x39bad00) at ../libs/ardour/butler.cc:153
#2 0x00007f72c815b729 in ARDOUR::Butler::_thread_work (arg=0x39bad00) at ../libs/ardour/butler.cc:137
#3 0x00007f72c62c12b8 in fake_thread_start (arg=0x35eda20) at ../libs/pbd/pthread_utils.cc:81
0000004 0x00007f72c11bdefc in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
0000005 0x00007f72c0ef892d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#6 0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f72ac0b0700 (LWP 3160)):
#0 0x00007f72c11c43f1 in sem_timedwait () from /lib/x86_64-linux-gnu/libpthread.so.0
0000001 0x00007f72c2111ce2 in ?? () from /usr/lib/x86_64-linux-gnu/libjack.so.0
#2 0x00007f72c2100d89 in ?? () from /usr/lib/x86_64-linux-gnu/libjack.so.0
#3 0x00007f72c20ff8e7 in ?? () from /usr/lib/x86_64-linux-gnu/libjack.so.0
0000004 0x00007f72c80dd3ba in ARDOUR::AudioEngine::process_thread (this=0x2cf8d30) at ../libs/ardour/audioengine.cc:441
0000005 0x00007f72c80dcdf4 in ARDOUR::AudioEngine::_process_thread (arg=0x2cf8d30) at ../libs/ardour/audioengine.cc:352
#6 0x00007f72c20fe387 in ?? () from /usr/lib/x86_64-linux-gnu/libjack.so.0
#7 0x00007f72c2111300 in ?? () from /usr/lib/x86_64-linux-gnu/libjack.so.0
0000008 0x00007f72c11bdefc in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
0000009 0x00007f72c0ef892d in clone () from /lib/x86_64-linux-gnu/libc.so.6
0000010 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f72a408e700 (LWP 3162)):
#0 0x00007f72c11c4300 in sem_wait () from /lib/x86_64-linux-gnu/libpthread.so.0
0000001 0x00007f72c823ad0e in PBD::ProcessSemaphore::wait (this=0x3a306f8) at /usr/local/src/3.0/libs/pbd/pbd/semutils.h:41
#2 0x00007f72c8239283 in ARDOUR::Graph::run_one (this=0x3a30630) at ../libs/ardour/graph.cc:389
#3 0x00007f72c82395e3 in ARDOUR::Graph::helper_thread (this=0x3a30630) at ../libs/ardour/graph.cc:420
0000004 0x00007f72c823ee90 in boost::_mfi::mf0<void, ARDOUR::Graph>::operator() (this=0x7f72a408dbc8, p=0x3a30630) at /usr/include/boost/bind/mem_fn_template.hpp:49
0000005 0x00007f72c823e89c in boost::_bi::list1<boost::_bi::value<ARDOUR::Graph*> >::operator()<boost::_mfi::mf0<void, ARDOUR::Graph>, boost::_bi::list0> (this=0x7f72a408dbd8, f=..., a=...)
    at /usr/include/boost/bind/bind.hpp:253
#6 0x00007f72c823e447 in boost::_bi::bind_t<void, boost::_mfi::mf0<void, ARDOUR::Graph>, boost::_bi::list1<boost::_bi::value<ARDOUR::Graph*> > >::operator() (this=0x7f72a408dbc8)
    at /usr/include/boost/bind/bind_template.hpp:20
#7 0x00007f72c823df1b 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
0000008 0x00000000013468ec in boost::function0<void>::operator() (this=0x7f72a408dbc0) at /usr/include/boost/function/function_template.hpp:1013
0000009 0x00007f72c80e0f41 in ARDOUR::AudioEngine::_start_process_thread (arg=0x37db710) at ../libs/ardour/audioengine.cc:1475
0000010 0x00007f72c11bdefc in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
0000011 0x00007f72c0ef892d in clone () from /lib/x86_64-linux-gnu/libc.so.6
0000012 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f72ac32c700 (LWP 3151)):
#0 0x00007f72c11c204c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
0000001 0x00007f72c21128e1 in ?? () from /usr/lib/x86_64-linux-gnu/libjack.so.0
#2 0x00007f72c210e1c5 in ?? () from /usr/lib/x86_64-linux-gnu/libjack.so.0
#3 0x00007f72c2111300 in ?? () from /usr/lib/x86_64-linux-gnu/libjack.so.0
0000004 0x00007f72c11bdefc in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
0000005 0x00007f72c0ef892d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#6 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f72ae9c8700 (LWP 3145)):
#0 0x00007f72c0eec803 in poll () from /lib/x86_64-linux-gnu/libc.so.6
0000001 0x00007f72c55fa8e6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00007f72c55fad4a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3 0x00007f72bdc4ec16 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
0000004 0x00007f72c561bea5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
0000005 0x00007f72c11bdefc in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#6 0x00007f72c0ef892d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#7 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f72a410f700 (LWP 3161)):
#0 0x00007f72c11c4300 in sem_wait () from /lib/x86_64-linux-gnu/libpthread.so.0
0000001 0x00007f72c823ad0e in PBD::ProcessSemaphore::wait (this=0x3a30718) at /usr/local/src/3.0/libs/pbd/pbd/semutils.h:41
#2 0x00007f72c823965d in ARDOUR::Graph::main_thread (this=0x3a30630) at ../libs/ardour/graph.cc:439
#3 0x00007f72c823ee90 in boost::_mfi::mf0<void, ARDOUR::Graph>::operator() (this=0x7f72a410ebc8, p=0x3a30630) at /usr/include/boost/bind/mem_fn_template.hpp:49
0000004 0x00007f72c823e89c in boost::_bi::list1<boost::_bi::value<ARDOUR::Graph*> >::operator()<boost::_mfi::mf0<void, ARDOUR::Graph>, boost::_bi::list0> (this=0x7f72a410ebd8, f=..., a=...)
    at /usr/include/boost/bind/bind.hpp:253
0000005 0x00007f72c823e447 in boost::_bi::bind_t<void, boost::_mfi::mf0<void, ARDOUR::Graph>, boost::_bi::list1<boost::_bi::value<ARDOUR::Graph*> > >::operator() (this=0x7f72a410ebc8)
    at /usr/include/boost/bind/bind_template.hpp:20
#6 0x00007f72c823df1b 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
#7 0x00000000013468ec in boost::function0<void>::operator() (this=0x7f72a410ebc0) at /usr/include/boost/function/function_template.hpp:1013
0000008 0x00007f72c80e0f41 in ARDOUR::AudioEngine::_start_process_thread (arg=0x37db710) at ../libs/ardour/audioengine.cc:1475
0000009 0x00007f72c11bdefc in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
0000010 0x00007f72c0ef892d in clone () from /lib/x86_64-linux-gnu/libc.so.6
0000011 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f72b073c700 (LWP 3143)):
#0 0x00007f72c11c204c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
0000001 0x00007f72c5635d5f in g_cond_wait () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00007f72c806f7f1 in ARDOUR::Analyser::work () at ../libs/ardour/analyser.cc:85
#3 0x00007f72c806f589 in analyser_work () at ../libs/ardour/analyser.cc:49
0000004 0x00000000018f27d5 in sigc::pointer_functor0<void>::operator() (this=0x2a65388) at /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h:77
0000005 0x00000000018eff3a in sigc::adaptor_functor<sigc::pointer_functor0<void> >::operator() (this=0x2a65380) at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:251
#6 0x00000000018ecfdd in sigc::internal::slot_call0<sigc::pointer_functor0<void>, void>::call_it (rep=0x2a65350) at /usr/include/sigc++-2.0/sigc++/functors/slot.h:103
#7 0x00007f72c5d3645d in ?? () from /usr/lib/x86_64-linux-gnu/libglibmm-2.4.so.1
0000008 0x00007f72c561bea5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
0000009 0x00007f72c11bdefc in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
0000010 0x00007f72c0ef892d in clone () from /lib/x86_64-linux-gnu/libc.so.6
0000011 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f72b0f3d700 (LWP 3142)):
#0 0x00007f72c11c204c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
0000001 0x00007f72c5635d5f in g_cond_wait () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00007f72c85186ed in peak_thread_work () at ../libs/ardour/source_factory.cc:68
#3 0x00000000018f27d5 in sigc::pointer_functor0<void>::operator() (this=0x2a7c338) at /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h:77
0000004 0x00000000018eff3a in sigc::adaptor_functor<sigc::pointer_functor0<void> >::operator() (this=0x2a7c330) at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:251
0000005 0x00000000018ecfdd in sigc::internal::slot_call0<sigc::pointer_functor0<void>, void>::call_it (rep=0x2a7c300) at /usr/include/sigc++-2.0/sigc++/functors/slot.h:103
#6 0x00007f72c5d3645d in ?? () from /usr/lib/x86_64-linux-gnu/libglibmm-2.4.so.1
#7 0x00007f72c561bea5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
0000008 0x00007f72c11bdefc in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
0000009 0x00007f72c0ef892d in clone () from /lib/x86_64-linux-gnu/libc.so.6
0000010 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f72c92b59e0 (LWP 3124)):
#0 0x00007f72c85235c6 in ARDOUR::Tempo::frames_per_beat (this=0x28, sr=44100) at ../libs/ardour/tempo.cc:51
0000001 0x00007f72c852ddc3 in ARDOUR::TempoMap::framewalk_to_beats (this=0x3a47980, pos=0, distance=0) at ../libs/ardour/tempo.cc:2181
#2 0x00007f72c8148505 in ARDOUR::BeatsFramesConverter::from (this=0x7fff49002360, frames=158760) at ../libs/ardour/beats_frames_converter.cc:46
#3 0x00007f72c82d6813 in ARDOUR::MidiRegion::set_start_beats_from_start_frames (this=0x7f72a003d370) at ../libs/ardour/midi_region.cc:169
0000004 0x00007f72c82d678d in ARDOUR::MidiRegion::post_set (this=0x7f72a003d370, pc=...) at ../libs/ardour/midi_region.cc:161
0000005 0x00007f72c62ce200 in PBD::Stateful::set_values (this=0x7f72a003d390, node=...) at ../libs/pbd/stateful.cc:211
#6 0x00007f72c83b0b23 in ARDOUR::Region::_set_state (this=0x7f72a003d370, node=..., what_changed=..., send=true) at ../libs/ardour/region.cc:1224
#7 0x00007f72c83b0a7d in ARDOUR::Region::set_state (this=0x7f72a003d370, node=..., version=3000) at ../libs/ardour/region.cc:1214
0000008 0x00007f72c82d6ef9 in ARDOUR::MidiRegion::set_state (this=0x7f72a003d370, node=..., version=3000) at ../libs/ardour/midi_region.cc:293
0000009 0x00007f72c83a0827 in ARDOUR::RegionFactory::create (srcs=..., node=...) at ../libs/ardour/region_factory.cc:293
0000010 0x00007f72c84b2ad0 in ARDOUR::Session::XMLMidiRegionFactory (this=0x3a31800, node=...) at ../libs/ardour/session_state.cc:1889
0000011 0x00007f72c84b1438 in ARDOUR::Session::XMLRegionFactory (this=0x3a31800, node=..., full=true) at ../libs/ardour/session_state.cc:1720
0000012 0x00007f72c83a0691 in ARDOUR::RegionFactory::create (session=..., node=..., yn=true) at ../libs/ardour/region_factory.cc:270
0000013 0x00007f72c833944d in ARDOUR::Playlist::set_state (this=0x7f72a003b4f0, node=..., version=3000) at ../libs/ardour/playlist.cc:2182
0000014 0x00007f72c82cefe8 in ARDOUR::MidiPlaylist::set_state (this=0x7f72a003b4f0, node=..., version=3000) at ../libs/ardour/midi_playlist.cc:345
#15 0x00007f72c82cc8e5 in ARDOUR::MidiPlaylist::MidiPlaylist (this=0x7f72a003b4f0, session=..., node=..., hidden=false) at ../libs/ardour/midi_playlist.cc:56
0000016 0x00007f72c8355b9a in ARDOUR::PlaylistFactory::create (s=..., node=..., hidden=false, unused=false) at ../libs/ardour/playlist_factory.cc:47
#17 0x00007f72c84976fe in ARDOUR::SessionPlaylists::XMLPlaylistFactory (this=0x3a47380, session=..., node=...) at ../libs/ardour/session_playlists.cc:406
0000018 0x00007f72c8497302 in ARDOUR::SessionPlaylists::load (this=0x3a47380, session=..., node=...) at ../libs/ardour/session_playlists.cc:370
0000019 0x00007f72c84ae839 in ARDOUR::Session::set_state (this=0x3a31800, node=..., version=3000) at ../libs/ardour/session_state.cc:1338
0000020 0x00007f72c84a76f4 in ARDOUR::Session::second_stage_init (this=0x3a31800) at ../libs/ardour/session_state.cc:320
0000021 0x00007f72c840c345 in ARDOUR::Session::Session (this=0x3a31800, eng=..., fullpath=..., snapshot_name=..., bus_profile=0x0, mix_template=...) at ../libs/ardour/session.cc:194
0000022 0x0000000001309292 in ARDOUR_UI::load_session (this=0x2801800, path=..., snap_name=..., mix_template=...) at ../gtk2_ardour/ardour_ui.cc:2787
0000023 0x0000000001308c3a in ARDOUR_UI::get_session_parameters (this=0x2801800, quit_on_cancel=true, should_be_new=false, load_template=...) at ../gtk2_ardour/ardour_ui.cc:2722
#24 0x00000000012ffb4f in ARDOUR_UI::startup (this=0x2801800) at ../gtk2_ardour/ardour_ui.cc:720
0000025 0x000000000132c4eb in sigc::bound_mem_functor0<void, ARDOUR_UI>::operator() (this=0x2a904d8) at /usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:1787
0000026 0x00000000013269d4 in sigc::adaptor_functor<sigc::bound_mem_functor0<void, ARDOUR_UI> >::operator() (this=0x2a904d0) at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:251
0000027 0x0000000001320d73 in sigc::internal::slot_call0<sigc::bound_mem_functor0<void, ARDOUR_UI>, void>::call_it (rep=0x2a904a0) at /usr/include/sigc++-2.0/sigc++/functors/slot.h:103
0000028 0x00000000012e8043 in sigc::internal::signal_emit0<void, sigc::nil>::emit (impl=0x2a45df0) at /usr/include/sigc++-2.0/sigc++/signal.h:776
0000029 0x00000000012e9eba in sigc::signal0<void, sigc::nil>::emit (this=0x28018c0) at /usr/include/sigc++-2.0/sigc++/signal.h:2673
0000030 0x00000000012e9272 in sigc::signal0<void, sigc::nil>::operator() (this=0x28018c0) at /usr/include/sigc++-2.0/sigc++/signal.h:2681
0000031 0x00007f72c671f998 in Gtkmm2ext::UI::run (this=0x2801800, old_receiver=...) at ../libs/gtkmm2ext/gtk_ui.cc:264
0000032 0x000000000174b7ed in main (argc=1, argv=0x7fff49003d28) at ../gtk2_ardour/main.cc:555

So, the problem doesn't seem to be the original problem (a failed assertion). It now seems to be an issue with the return value of the frames_per_beat() function. Could this really be related to the fact that the project I've created uses 3/4 time? It's just that so few people ever use a meter other than 4/4 that it might not be as well tested.

Will keep on updating my SVN. Thanks developers for your continued work.

jmb8710

2012-01-10 18:43

reporter   ~0012539

Just recreated the session that segfaulted Ardour bit by bit. Everything worked up until I recorded an audio clip of the MIDI track playing my hardware and saved. Totally bizarre. Backtrace was as above.

I'm offering an extra $25 donation, on top of the $25 I put in on Jan 6, to pay for the fixing of this bug.

paul

2012-02-14 17:23

administrator   ~0012798

is this still an issue with beta3?

jmb8710

2012-02-14 17:26

reporter   ~0012800

It's fixed. Thanks Paul. $5 it is to Ardour.

jmb8710

2012-02-14 17:28

reporter   ~0012801

Or $25 even (not cheaping out on you!) Me and my typing...

paul

2012-02-14 17:33

administrator   ~0012802

i don't feel good accepting money for fixing my own coding errors. so feel free to donate, but not for this fix, please :)

paul

2012-02-14 17:33

administrator   ~0012803

see notes.

system

2020-04-19 20:16

developer   ~0022923

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
2012-01-05 19:00 jmb8710 New Issue
2012-01-05 19:02 jmb8710 Tag Attached: tempo assertion
2012-01-05 19:33 jmb8710 Note Added: 0012519
2012-01-05 20:26 cth103 cost => 0.00
2012-01-05 20:26 cth103 Target Version => 3.0-beta2
2012-01-06 19:44 jmb8710 Note Added: 0012521
2012-01-06 19:44 jmb8710 Note Edited: 0012521
2012-01-06 20:15 jmb8710 Note Added: 0012522
2012-01-09 16:10 jmb8710 Note Added: 0012526
2012-01-10 18:39 jmb8710 Sponsorship Added jmb8710: US$ 25
2012-01-10 18:39 jmb8710 Sponsorship Total 0 => 25
2012-01-10 18:43 jmb8710 Note Added: 0012539
2012-01-10 20:45 cth103 Target Version 3.0-beta2 => 3.0-beta3
2012-02-14 17:20 paul Target Version 3.0-beta3 => 3.0 beta4
2012-02-14 17:23 paul Note Added: 0012798
2012-02-14 17:23 paul Status new => feedback
2012-02-14 17:26 jmb8710 Note Added: 0012800
2012-02-14 17:28 jmb8710 Note Added: 0012801
2012-02-14 17:33 paul Note Added: 0012802
2012-02-14 17:33 paul Note Added: 0012803
2012-02-14 17:33 paul Status feedback => resolved
2012-02-14 17:33 paul Resolution open => fixed
2012-02-14 17:33 paul Assigned To => paul
2012-05-23 15:09 cth103 Target Version 3.0 beta4 => 3.0
2020-04-19 20:16 system Note Added: 0022923
2020-04-19 20:16 system Status resolved => closed