View Issue Details

IDProjectCategoryView StatusLast Update
0005761ardourbugspublic2015-09-22 18:07
Reportercolinf Assigned To 
PrioritynormalSeveritycrashReproducibilitysometimes
Status newResolutionopen 
Summary0005761: 'Insert time' misbehaves when length to insert is given in 'Bars:Beats'
Description'Insert Time' sometimes fails in one of several ways when the the clock in the insert time dialogue is set to Bars:Beats.

Either no time is inserted at all, or Ardour crashes with:

ardour-3.5.78: ../libs/ardour/tempo.cc:992: void ARDOUR::TempoMap::_extend_map(ARDOUR::TempoSection*, ARDOUR::MeterSection*, std::list<ARDOUR::MetricSection*>::iterator, Timecode::BBT_Time, ARDOUR::framepos_t, ARDOUR::framepos_t): Assertion `current.beats == 1' failed.

TagsNo tags attached.

Activities

colinf

2013-11-08 18:31

updater   ~0015479

Hmm, this is tricky to reproduce now, but it's also quite easy to provoke a crash simply by setting the number of bars to add to a large value, when something like this happens:

ardour-3.5.78: ../libs/ardour/tempo.cc:1198: ARDOUR::framecnt_t ARDOUR::TempoMap::bbt_duration_at_unlocked(const Timecode::BBT_Time&, const Timecode::BBT_Time&, int): Assertion `wi != _map.end()' failed.

Backtrace (insert-time-dialog-crash) coming in a moment...

2013-11-08 18:32

 

insert-time-dialog-crash (19,987 bytes)   
(gdb) core-file core-ardour-3.5.78-4115-1000 
[New LWP 4115]
[New LWP 4146]
[New LWP 4120]
[New LWP 4143]
[New LWP 4121]
[New LWP 4122]
[New LWP 4134]
[New LWP 4144]
[New LWP 4145]
[New LWP 4148]
[New LWP 4119]
warning: Can't read pathname for load map: Input/output error.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `./../build/gtk2_ardour/ardour-3.5.78'.
Program terminated with signal 6, Aborted.
#0  0x00007f91e2087475 in *__GI_raise (sig=<optimized out>)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
64	../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) thread apply all bt

Thread 11 (Thread 0x7f91da93d700 (LWP 4119)):
#0  0x00007f91e2100bdd in nanosleep () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f91e2129c94 in usleep (useconds=<optimized out>)
    at ../sysdeps/unix/sysv/linux/usleep.c:33
#2  0x00000000017e69fc in gui_event_loop (ptr=0x0)
    at ../gtk2_ardour/linux_vst_gui_support.cc:380
#3  0x00007f91e467fb50 in start_thread (arg=<optimized out>)
    at pthread_create.c:304
#4  0x00007f91e212fa7d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7f91c8143700 (LWP 4148)):
#0  0x00007f91e2100bdd in nanosleep () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f91e2129c94 in usleep (useconds=<optimized out>)
    at ../sysdeps/unix/sysv/linux/usleep.c:33
#2  0x00007f91ecd04a5d in ARDOUR::AutomationWatch::thread (this=0x132a2690)
    at ../libs/ardour/automation_watch.cc:137
#3  0x00007f91ecd081cf in boost::_mfi::mf0<void, ARDOUR::AutomationWatch>::operator() (this=0x1329e580, p=0x132a2690)
    at /usr/include/boost/bind/mem_fn_template.hpp:49
#4  0x00007f91ecd07e2a in boost::_bi::list1<boost::_bi::value<ARDOUR::Automation---Type <return> to continue, or q <return> to quit---
Watch*> >::operator()<boost::_mfi::mf0<void, ARDOUR::AutomationWatch>, boost::_bi::list0> (this=0x1329e590, f=..., a=...)
    at /usr/include/boost/bind/bind.hpp:253
#5  0x00007f91ecd079d5 in boost::_bi::bind_t<void, boost::_mfi::mf0<void, ARDOUR::AutomationWatch>, boost::_bi::list1<boost::_bi::value<ARDOUR::AutomationWatch*> > >::operator() (this=0x1329e580)
    at /usr/include/boost/bind/bind_template.hpp:20
#6  0x00007f91ecd07960 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=0x1329e580)
    at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:251
#7  0x00007f91ecd074b0 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=0x1329e550)
    at /usr/include/sigc++-2.0/sigc++/functors/slot.h:103
#8  0x00007f91e9c2187d in ?? ()
   from /usr/lib/x86_64-linux-gnu/libglibmm-2.4.so.1
#9  0x00007f91e94faf45 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007f91e467fb50 in start_thread (arg=<optimized out>)
    at pthread_create.c:304
#11 0x00007f91e212fa7d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()
---Type <return> to continue, or q <return> to quit---

Thread 9 (Thread 0x7f91d408f820 (LWP 4145)):
#0  0x00007f91e2124e33 in *__GI___poll (fds=<optimized out>, 
    nfds=<optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f91ecd183ad in ARDOUR::Butler::thread_work (this=0x321ce70)
    at ../libs/ardour/butler.cc:150
#2  0x00007f91ecd18303 in ARDOUR::Butler::_thread_work (arg=0x321ce70)
    at ../libs/ardour/butler.cc:134
#3  0x00007f91eb5ad4de in fake_thread_start (arg=0x8ccf960)
    at ../libs/pbd/pthread_utils.cc:85
#4  0x00007f91e467fb50 in start_thread (arg=<optimized out>)
    at pthread_create.c:304
#5  0x00007f91e212fa7d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f91ca147700 (LWP 4144)):
#0  0x00007f91e46878ad in nanosleep () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f91e94fc542 in g_usleep ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f91eccbdf8c in ARDOUR::AudioEngine::meter_thread (this=0x27fc960)
    at ../libs/ardour/audioengine.cc:382
#3  0x00007f91eccc9281 in boost::_mfi::mf0<void, ARDOUR::AudioEngine>::operator(---Type <return> to continue, or q <return> to quit---
) (this=0x2c8af40, p=0x27fc960)
    at /usr/include/boost/bind/mem_fn_template.hpp:49
#4  0x00007f91eccc8e8c in boost::_bi::list1<boost::_bi::value<ARDOUR::AudioEngine*> >::operator()<boost::_mfi::mf0<void, ARDOUR::AudioEngine>, boost::_bi::list0> (this=0x2c8af50, f=..., a=...) at /usr/include/boost/bind/bind.hpp:253
#5  0x00007f91eccc87bd in boost::_bi::bind_t<void, boost::_mfi::mf0<void, ARDOUR::AudioEngine>, boost::_bi::list1<boost::_bi::value<ARDOUR::AudioEngine*> > >::operator() (this=0x2c8af40) at /usr/include/boost/bind/bind_template.hpp:20
#6  0x00007f91eccc7f80 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=0x2c8af40)
    at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:251
#7  0x00007f91eccc70b8 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=0x2c8af10)
    at /usr/include/sigc++-2.0/sigc++/functors/slot.h:103
#8  0x00007f91e9c2187d in ?? ()
   from /usr/lib/x86_64-linux-gnu/libglibmm-2.4.so.1
#9  0x00007f91e94faf45 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007f91e467fb50 in start_thread (arg=<optimized out>)
    at pthread_create.c:304
#11 0x00007f91e212fa7d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
---Type <return> to continue, or q <return> to quit---
#12 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f91c7942700 (LWP 4134)):
#0  pthread_cond_wait@@GLIBC_2.3.2 ()
    at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f91e3cbd82b in mb_thread_func ()
   from /usr/lib/x86_64-linux-gnu/libjack.so.0
#2  0x00007f91e467fb50 in start_thread (arg=<optimized out>)
    at pthread_create.c:304
#3  0x00007f91e212fa7d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f91d913a700 (LWP 4122)):
#0  pthread_cond_wait@@GLIBC_2.3.2 ()
    at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f91e951469f in g_cond_wait ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f91ecc72fb1 in ARDOUR::Analyser::work ()
    at ../libs/ardour/analyser.cc:81
#3  0x00007f91ecc72d99 in analyser_work () at ../libs/ardour/analyser.cc:46
#4  0x0000000001525087 in sigc::pointer_functor0<void>::operator() (
    this=0x27333c8) at /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h:77
---Type <return> to continue, or q <return> to quit---
#5  0x00000000015226ec in sigc::adaptor_functor<sigc::pointer_functor0<void> >::operator() (this=0x27333c0)
    at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:251
#6  0x000000000151ef1d in sigc::internal::slot_call0<sigc::pointer_functor0<void>, void>::call_it (rep=0x2733390)
    at /usr/include/sigc++-2.0/sigc++/functors/slot.h:103
#7  0x00007f91e9c2187d in ?? ()
   from /usr/lib/x86_64-linux-gnu/libglibmm-2.4.so.1
#8  0x00007f91e94faf45 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007f91e467fb50 in start_thread (arg=<optimized out>)
    at pthread_create.c:304
#10 0x00007f91e212fa7d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f91d993b700 (LWP 4121)):
#0  pthread_cond_wait@@GLIBC_2.3.2 ()
    at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f91e951469f in g_cond_wait ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f91ed08ac7e in peak_thread_work ()
    at ../libs/ardour/source_factory.cc:68
#3  0x0000000001525087 in sigc::pointer_functor0<void>::operator() (
---Type <return> to continue, or q <return> to quit---
    this=0x2733318) at /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h:77
#4  0x00000000015226ec in sigc::adaptor_functor<sigc::pointer_functor0<void> >::operator() (this=0x2733310)
    at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:251
#5  0x000000000151ef1d in sigc::internal::slot_call0<sigc::pointer_functor0<void>, void>::call_it (rep=0x27332e0)
    at /usr/include/sigc++-2.0/sigc++/functors/slot.h:103
#6  0x00007f91e9c2187d in ?? ()
   from /usr/lib/x86_64-linux-gnu/libglibmm-2.4.so.1
#7  0x00007f91e94faf45 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007f91e467fb50 in start_thread (arg=<optimized out>)
    at pthread_create.c:304
#9  0x00007f91e212fa7d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f91d6e04700 (LWP 4143)):
#0  0x00007f91e2124e33 in *__GI___poll (fds=<optimized out>, 
    nfds=<optimized out>, timeout=1000) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f91e3cbc0b6 in jack_cycle_wait ()
   from /usr/lib/x86_64-linux-gnu/libjack.so.0
#2  0x00007f91d8070e02 in ARDOUR::JACKAudioBackend::process_thread (
    this=0x2a47640) at ../libs/backends/jack/jack_audiobackend.cc:925
---Type <return> to continue, or q <return> to quit---
#3  0x00007f91d8070db2 in ARDOUR::JACKAudioBackend::_process_thread (
    arg=0x2a47640) at ../libs/backends/jack/jack_audiobackend.cc:911
#4  0x00007f91e3cbc428 in jack_process_thread_work ()
   from /usr/lib/x86_64-linux-gnu/libjack.so.0
#5  0x00007f91e467fb50 in start_thread (arg=<optimized out>)
    at pthread_create.c:304
#6  0x00007f91e212fa7d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f91da13c700 (LWP 4120)):
#0  pthread_cond_wait@@GLIBC_2.3.2 ()
    at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f91e951469f in g_cond_wait ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f91ed08ac7e in peak_thread_work ()
    at ../libs/ardour/source_factory.cc:68
#3  0x0000000001525087 in sigc::pointer_functor0<void>::operator() (
    this=0x2667618) at /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h:77
#4  0x00000000015226ec in sigc::adaptor_functor<sigc::pointer_functor0<void> >::operator() (this=0x2667610)
    at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:251
#5  0x000000000151ef1d in sigc::internal::slot_call0<sigc::pointer_functor0<void---Type <return> to continue, or q <return> to quit---
>, void>::call_it (rep=0x26675e0)
    at /usr/include/sigc++-2.0/sigc++/functors/slot.h:103
#6  0x00007f91e9c2187d in ?? ()
   from /usr/lib/x86_64-linux-gnu/libglibmm-2.4.so.1
#7  0x00007f91e94faf45 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007f91e467fb50 in start_thread (arg=<optimized out>)
    at pthread_create.c:304
#9  0x00007f91e212fa7d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f91c8944700 (LWP 4146)):
#0  0x00007f91e2124e33 in *__GI___poll (fds=<optimized out>, 
    nfds=<optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f91e94d8624 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f91e94d8a82 in g_main_loop_run ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f91eb5852ca in BaseUI::main_thread (this=0x8ccfb20)
    at ../libs/pbd/base_ui.cc:80
#4  0x00007f91eb588aba in sigc::bound_mem_functor0<void, BaseUI>::operator() (
    this=0x7f91d0009e68)
    at /usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:1787
#5  0x00007f91eb5887fa in sigc::adaptor_functor<sigc::bound_mem_functor0<void, B---Type <return> to continue, or q <return> to quit---
aseUI> >::operator() (this=0x7f91d0009e60)
    at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:251
#6  0x00007f91eb5881c3 in sigc::internal::slot_call0<sigc::bound_mem_functor0<void, BaseUI>, void>::call_it (rep=0x7f91d0009e30)
    at /usr/include/sigc++-2.0/sigc++/functors/slot.h:103
#7  0x00007f91e9c2187d in ?? ()
   from /usr/lib/x86_64-linux-gnu/libglibmm-2.4.so.1
#8  0x00007f91e94faf45 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007f91e467fb50 in start_thread (arg=<optimized out>)
    at pthread_create.c:304
#10 0x00007f91e212fa7d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f91ed8639a0 (LWP 4115)):
#0  0x00007f91e2087475 in *__GI_raise (sig=<optimized out>)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1  0x00007f91e208a6f0 in *__GI_abort () at abort.c:92
#2  0x00007f91e2080621 in *__GI___assert_fail (
    assertion=0x7f91ed12996c "wi != _map.end()", file=<optimized out>, 
    line=1198, 
    function=0x7f91ed12a2e0 "ARDOUR::framecnt_t ARDOUR::TempoMap::bbt_duration_at_unlocked(const Timecode::BBT_Time&, const Timecode::BBT_Time&, int)")
---Type <return> to continue, or q <return> to quit---
    at assert.c:81
#3  0x00007f91ed09b457 in ARDOUR::TempoMap::bbt_duration_at_unlocked (
    this=0x7f91d02fac60, when=..., bbt=...) at ../libs/ardour/tempo.cc:1198
#4  0x00007f91ed09b248 in ARDOUR::TempoMap::bbt_duration_at (
    this=0x7f91d02fac60, pos=0, bbt=..., dir=1) at ../libs/ardour/tempo.cc:1173
#5  0x0000000000fd1431 in AudioClock::frame_duration_from_bbt_string (
    this=0x7fff7b878ae0, pos=0, str=...) at ../gtk2_ardour/audio_clock.cc:2026
#6  0x0000000000fcb3f3 in AudioClock::end_edit (this=0x7fff7b878ae0, 
    modify=true) at ../gtk2_ardour/audio_clock.cc:644
#7  0x0000000000fcf48c in AudioClock::on_key_press_event (this=0x7fff7b878ae0, 
    ev=0x13ddcd80) at ../gtk2_ardour/audio_clock.cc:1354
#8  0x00007f91e6747ae3 in Gtk::Widget_Class::key_press_event_callback(_GtkWidget*, _GdkEventKey*) () from /usr/lib/libgtkmm-2.4.so.1
#9  0x00007f91e8b84099 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#10 0x00007f91e999c61e in g_closure_invoke ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#11 0x00007f91e99ad4d0 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#12 0x00007f91e99b52db in g_signal_emit_valist ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#13 0x00007f91e99b5852 in g_signal_emit ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#14 0x00007f91e8c9b93e in ?? ()
   from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#15 0x00007f91e8cb021b in gtk_window_propagate_key_event ()
   from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#16 0x000000000177d88f in key_press_focus_accelerator_handler (window=..., 
    ev=0x13ddcd80) at ../gtk2_ardour/utils.cc:569
#17 0x000000000177cecc in relay_key_press (ev=0x13ddcd80, win=0x7fff7b878840)
    at ../gtk2_ardour/utils.cc:369
#18 0x0000000000f4fa2b in ArdourDialog::on_key_press_event (
    this=0x7fff7b878840, ev=0x13ddcd80) at ../gtk2_ardour/ardour_dialog.cc:68
#19 0x00007f91e6747ae3 in Gtk::Widget_Class::key_press_event_callback(_GtkWidget*, _GdkEventKey*) () from /usr/lib/libgtkmm-2.4.so.1
#20 0x00007f91e8b84099 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#21 0x00007f91e999c6e0 in g_closure_invoke ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#22 0x00007f91e99ad4d0 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#23 0x00007f91e99b52db in g_signal_emit_valist ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#24 0x00007f91e99b5852 in g_signal_emit ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#25 0x00007f91e8c9b93e in ?? ()
---Type <return> to continue, or q <return> to quit---
   from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#26 0x00007f91e8b82507 in gtk_propagate_event ()
   from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#27 0x00007f91e8b8278b in gtk_main_do_event ()
   from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#28 0x00007f91e87ef7ac in ?? ()
   from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#29 0x00007f91e94d8355 in g_main_context_dispatch ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007f91e94d8688 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007f91e94d8a82 in g_main_loop_run ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007f91e8b09c02 in gtk_dialog_run ()
   from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#33 0x00000000011b1881 in Editor::do_insert_time (this=0x7dd2c40)
    at ../gtk2_ardour/editor_ops.cc:6545
#34 0x00000000010e295a in sigc::bound_mem_functor0<void, Editor>::operator() (
    this=0x7eeaf48) at /usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:1787
#35 0x00000000010da816 in sigc::adaptor_functor<sigc::bound_mem_functor0<void, Editor> >::operator() (this=0x7eeaf40)
    at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:251
#36 0x00000000010d395f in sigc::internal::slot_call0<sigc::bound_mem_functor0<void, Editor>, void>::call_it (rep=0x7eeaf10)
---Type <return> to continue, or q <return> to quit---
    at /usr/include/sigc++-2.0/sigc++/functors/slot.h:103
#37 0x00007f91e9c2c748 in Glib::SignalProxyNormal::slot0_void_callback(_GObject*, void*) () from /usr/lib/x86_64-linux-gnu/libglibmm-2.4.so.1
#38 0x00007f91e999c6e0 in g_closure_invoke ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#39 0x00007f91e99ad966 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#40 0x00007f91e99b56bc in g_signal_emit_valist ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#41 0x00007f91e99b5852 in g_signal_emit ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#42 0x00007f91e8ac3423 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#43 0x00007f91e999c9a7 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#44 0x00007f91e99b5006 in g_signal_emit_valist ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#45 0x00007f91e99b5852 in g_signal_emit ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#46 0x00007f91e8c9ab6c in gtk_widget_activate ()
   from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#47 0x00007f91e8b96dbd in gtk_menu_shell_activate_item ()
   from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#48 0x00007f91e8b9715c in ?? ()
   from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#49 0x00007f91e8b84099 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#50 0x00007f91e999c6e0 in g_closure_invoke ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#51 0x00007f91e99ad4d0 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#52 0x00007f91e99b52db in g_signal_emit_valist ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#53 0x00007f91e99b5852 in g_signal_emit ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#54 0x00007f91e8c9b93e in ?? ()
   from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#55 0x00007f91e8b82434 in gtk_propagate_event ()
   from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#56 0x00007f91e8b8278b in gtk_main_do_event ()
   from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#57 0x00007f91e87ef7ac in ?? ()
   from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#58 0x00007f91e94d8355 in g_main_context_dispatch ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#59 0x00007f91e94d8688 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#60 0x00007f91e94d8a82 in g_main_loop_run ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#61 0x00007f91e8b81797 in gtk_main ()
   from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#62 0x00007f91eb988935 in Gtkmm2ext::UI::run (this=0x27ffd10, old_receiver=...)
    at ../libs/gtkmm2ext/gtk_ui.cc:273
#63 0x000000000133daaa in main (argc=1, argv=0x7fff7b87a108)
    at ../gtk2_ardour/main.cc:519
(gdb) 

insert-time-dialog-crash (19,987 bytes)   

SadKo

2014-06-23 18:36

reporter   ~0015840

Does 'Insert time' actually work? I tried it many times but it took no effect. Do I correctly understand that I can insert some bars/beats into track and all markers and regions will automatically move?
If it's right, that takes no effect now.

thorwil

2015-09-22 08:53

reporter   ~0017335

With revision 4.2-405-gcb0b22c, Insert Time does not cause a segfault ... or anything else.

colinf

2015-09-22 16:52

updater   ~0017336

I can still crash 'Insert time' by entering a large number of bars as the amount of time to insert, but other than this it mostly works for me here.

There are a few things that must be true for 'Insert time' to have any effect:
 * there must be a track (or tracks) selected
 * there should be regions on the selected tracks after the edit point
 * 'Time to insert' must be set to a positive time

I should probably write a page for the manual describing how it's supposed to work.

thorwil

2015-09-22 18:07

reporter   ~0017337

As we found out on IRC, given regions anchored to beats & bars (MIDI region default), the "Move glued regions" checkbox must be enabled.

Issue History

Date Modified Username Field Change
2013-11-08 14:47 colinf New Issue
2013-11-08 18:31 colinf Note Added: 0015479
2013-11-08 18:32 colinf File Added: insert-time-dialog-crash
2014-06-23 18:36 SadKo Note Added: 0015840
2015-09-22 08:53 thorwil Note Added: 0017335
2015-09-22 16:52 colinf Note Added: 0017336
2015-09-22 18:07 thorwil Note Added: 0017337