View Issue Details

IDProjectCategoryView StatusLast Update
0005660ardourbugspublic2013-08-15 16:58
Reportercolinf Assigned To 
PrioritynormalSeveritycrashReproducibilitysometimes
Status newResolutionopen 
Summary0005660: Crash on zooming with <Ctrl>+scroll wheel
DescriptionRepeated zooming in & out with <Ctrl>+scroll wheel occasionally provokes a crash in Editor::compute_bbt_ruler_scale().
Additional InformationBacktrace attached.
TagsNo tags attached.

Activities

2013-08-15 16:58

 

scroll-zoom-bt (14,382 bytes)   
(gdb) core-file core
[New LWP 31181]
[New LWP 31203]
[New LWP 31214]
[New LWP 31189]
[New LWP 31190]
[New LWP 31219]
[New LWP 31213]
[New LWP 31215]
[New LWP 31191]
[New LWP 31188]
[New LWP 31216]
[New LWP 31212]
warning: Can't read pathname for load map: Input/output error.
thread apply all bt
[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.3'.
Program terminated with signal 11, Segmentation fault.
#0  0x00000000008f36ec in Editor::compute_bbt_ruler_scale (this=0x6182080, lower=436371826, upper=3190371825, begin=..., end=...) at ../gtk2_ardour/editor_rulers.cc:1314
1314		if ((*i).beat >= (*begin).beat) {
(gdb) thread apply all bt

Thread 12 (Thread 0x7f3e00540700 (LWP 31212)):
#0  0x00007f3e161ede33 in *__GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=1000) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f3e18406a56 in jack_cycle_wait () from /usr/lib/x86_64-linux-gnu/libjack.so.0
#2  0x00007f3e20d9c40e in ARDOUR::AudioEngine::process_thread (this=0x3536d50) at ../libs/ardour/audioengine.cc:446
#3  0x00007f3e20d9bbee in ARDOUR::AudioEngine::_process_thread (arg=0x3536d50) at ../libs/ardour/audioengine.cc:337
#4  0x00007f3e18406dd7 in ?? () from /usr/lib/x86_64-linux-gnu/libjack.so.0
#5  0x00007f3e18dc6b50 in start_thread (arg=<optimized out>) at pthread_create.c:304
#6  0x00007f3e161f8a7d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7f3dd706e700 (LWP 31216)):
#0  0x00007f3e18dce8ad in nanosleep () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f3e1d5c1542 in g_usleep () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f3e20d9d572 in ARDOUR::AudioEngine::meter_thread (this=0x3536d50) at ../libs/ardour/audioengine.cc:763
#3  0x00007f3e20dafe03 in boost::_mfi::mf0<void, ARDOUR::AudioEngine>::operator() (this=0x80bc340, p=0x3536d50) at /usr/include/boost/bind/mem_fn_template.hpp:49
#4  0x00007f3e20daf856 in boost::_bi::list1<boost::_bi::value<ARDOUR::AudioEngine*> >::operator()<boost::_mfi::mf0<void, ARDOUR::AudioEngine>, boost::_bi::list0> (this=0x80bc350, 
    f=..., a=...) at /usr/include/boost/bind/bind.hpp:253
#5  0x00007f3e20daed43 in boost::_bi::bind_t<void, boost::_mfi::mf0<void, ARDOUR::AudioEngine>, boost::_bi::list1<boost::_bi::value<ARDOUR::AudioEngine*> > >::operator() (
    this=0x80bc340) at /usr/include/boost/bind/bind_template.hpp:20
#6  0x00007f3e20dae056 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=0x80bc340) at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:251
#7  0x00007f3e20dac8fe 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=0x80bc310) at /usr/include/sigc++-2.0/sigc++/functors/slot.h:103
#8  0x00007f3e1dce687d in ?? () from /usr/lib/x86_64-linux-gnu/libglibmm-2.4.so.1
#9  0x00007f3e1d5bff45 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007f3e18dc6b50 in start_thread (arg=<optimized out>) at pthread_create.c:304
#11 0x00007f3e161f8a7d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7f3e0eb8a700 (LWP 31188)):
#0  0x00007f3e161c9bdd in nanosleep () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f3e161f2c94 in usleep (useconds=<optimized out>) at ../sysdeps/unix/sysv/linux/usleep.c:33
#2  0x0000000000ec698c in gui_event_loop (ptr=0x0) at ../gtk2_ardour/linux_vst_gui_support.cc:380
#3  0x00007f3e18dc6b50 in start_thread (arg=<optimized out>) at pthread_create.c:304
#4  0x00007f3e161f8a7d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7f3e0d387700 (LWP 31191)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f3e1d5d969f in g_cond_wait () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f3e20d52e31 in ARDOUR::Analyser::work () at ../libs/ardour/analyser.cc:81
#3  0x00007f3e20d52c19 in analyser_work () at ../libs/ardour/analyser.cc:46
#4  0x0000000000bfcdd3 in sigc::pointer_functor0<void>::operator() (this=0x31a7788) at /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h:77
#5  0x0000000000bfa52e in sigc::adaptor_functor<sigc::pointer_functor0<void> >::operator() (this=0x31a7780) at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:251
#6  0x0000000000bf6e2d in sigc::internal::slot_call0<sigc::pointer_functor0<void>, void>::call_it (rep=0x31a7750) at /usr/include/sigc++-2.0/sigc++/functors/slot.h:103
#7  0x00007f3e1dce687d in ?? () from /usr/lib/x86_64-linux-gnu/libglibmm-2.4.so.1
#8  0x00007f3e1d5bff45 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007f3e18dc6b50 in start_thread (arg=<optimized out>) at pthread_create.c:304
#10 0x00007f3e161f8a7d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f3dfed3d700 (LWP 31215)):
#0  sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:86
#1  0x00007f3e21190377 in PBD::Semaphore::wait (this=0x7f3e092e7e00) at /home/colinf/src/ardour2/ardour/libs/pbd/pbd/semaphore.h:178
#2  0x00007f3e211900b0 in ARDOUR::Worker::run (this=0x7f3e092e7de0) at ../libs/ardour/worker.cc:120
#3  0x00007f3e21190db8 in sigc::bound_mem_functor0<void, ARDOUR::Worker>::operator() (this=0x7f3e092f3f48) at /usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:1787
#4  0x00007f3e21190cfe in sigc::adaptor_functor<sigc::bound_mem_functor0<void, ARDOUR::Worker> >::operator() (this=0x7f3e092f3f40)
---Type <return> to continue, or q <return> to quit---
    at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:251
#5  0x00007f3e21190bc9 in sigc::internal::slot_call0<sigc::bound_mem_functor0<void, ARDOUR::Worker>, void>::call_it (rep=0x7f3e092f3f10)
    at /usr/include/sigc++-2.0/sigc++/functors/slot.h:103
#6  0x00007f3e1dce687d in ?? () from /usr/lib/x86_64-linux-gnu/libglibmm-2.4.so.1
#7  0x00007f3e1d5bff45 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007f3e18dc6b50 in start_thread (arg=<optimized out>) at pthread_create.c:304
#9  0x00007f3e161f8a7d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f3dfde74820 (LWP 31213)):
#0  0x00007f3e161ede33 in *__GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f3e20dfd0e1 in ARDOUR::Butler::thread_work (this=0x6aae5d0) at ../libs/ardour/butler.cc:150
#2  0x00007f3e20dfd037 in ARDOUR::Butler::_thread_work (arg=0x6aae5d0) at ../libs/ardour/butler.cc:134
#3  0x00007f3e1f672292 in fake_thread_start (arg=0x7600c80) at ../libs/pbd/pthread_utils.cc:80
#4  0x00007f3e18dc6b50 in start_thread (arg=<optimized out>) at pthread_create.c:304
#5  0x00007f3e161f8a7d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f3dff53e700 (LWP 31219)):
#0  0x00007f3e161c9bdd in nanosleep () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f3e161f2c94 in usleep (useconds=<optimized out>) at ../sysdeps/unix/sysv/linux/usleep.c:33
#2  0x00007f3e20de99f9 in ARDOUR::AutomationWatch::thread (this=0x85ab480) at ../libs/ardour/automation_watch.cc:137
#3  0x00007f3e20ded16b in boost::_mfi::mf0<void, ARDOUR::AutomationWatch>::operator() (this=0x8099cd0, p=0x85ab480) at /usr/include/boost/bind/mem_fn_template.hpp:49
#4  0x00007f3e20decdc6 in boost::_bi::list1<boost::_bi::value<ARDOUR::AutomationWatch*> >::operator()<boost::_mfi::mf0<void, ARDOUR::AutomationWatch>, boost::_bi::list0> (
    this=0x8099ce0, f=..., a=...) at /usr/include/boost/bind/bind.hpp:253
#5  0x00007f3e20dec971 in boost::_bi::bind_t<void, boost::_mfi::mf0<void, ARDOUR::AutomationWatch>, boost::_bi::list1<boost::_bi::value<ARDOUR::AutomationWatch*> > >::operator() (
    this=0x8099cd0) at /usr/include/boost/bind/bind_template.hpp:20
#6  0x00007f3e20dec8fc 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=0x8099cd0) at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:251
#7  0x00007f3e20dec44c 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=0x8099ca0) at /usr/include/sigc++-2.0/sigc++/functors/slot.h:103
#8  0x00007f3e1dce687d in ?? () from /usr/lib/x86_64-linux-gnu/libglibmm-2.4.so.1
#9  0x00007f3e1d5bff45 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007f3e18dc6b50 in start_thread (arg=<optimized out>) at pthread_create.c:304
#11 0x00007f3e161f8a7d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f3e0db88700 (LWP 31190)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f3e1d5d969f in g_cond_wait () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f3e21163226 in peak_thread_work () at ../libs/ardour/source_factory.cc:68
#3  0x0000000000bfcdd3 in sigc::pointer_functor0<void>::operator() (this=0x31a8078) at /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h:77
#4  0x0000000000bfa52e in sigc::adaptor_functor<sigc::pointer_functor0<void> >::operator() (this=0x31a8070) at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:251
#5  0x0000000000bf6e2d in sigc::internal::slot_call0<sigc::pointer_functor0<void>, void>::call_it (rep=0x31a8040) at /usr/include/sigc++-2.0/sigc++/functors/slot.h:103
#6  0x00007f3e1dce687d in ?? () from /usr/lib/x86_64-linux-gnu/libglibmm-2.4.so.1
#7  0x00007f3e1d5bff45 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007f3e18dc6b50 in start_thread (arg=<optimized out>) at pthread_create.c:304
#9  0x00007f3e161f8a7d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f3e0e389700 (LWP 31189)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f3e1d5d969f in g_cond_wait () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f3e21163226 in peak_thread_work () at ../libs/ardour/source_factory.cc:68
#3  0x0000000000bfcdd3 in sigc::pointer_functor0<void>::operator() (this=0x317ff68) at /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h:77
#4  0x0000000000bfa52e in sigc::adaptor_functor<sigc::pointer_functor0<void> >::operator() (this=0x317ff60) at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:251
#5  0x0000000000bf6e2d in sigc::internal::slot_call0<sigc::pointer_functor0<void>, void>::call_it (rep=0x317ff30) at /usr/include/sigc++-2.0/sigc++/functors/slot.h:103
#6  0x00007f3e1dce687d in ?? () from /usr/lib/x86_64-linux-gnu/libglibmm-2.4.so.1
---Type <return> to continue, or q <return> to quit---
#7  0x00007f3e1d5bff45 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007f3e18dc6b50 in start_thread (arg=<optimized out>) at pthread_create.c:304
#9  0x00007f3e161f8a7d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f3dffd3f700 (LWP 31214)):
#0  0x00007f3e161ede33 in *__GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f3e1d59d624 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f3e1d59da82 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f3e1f64a0ea in BaseUI::main_thread (this=0x7600e40) at ../libs/pbd/base_ui.cc:80
#4  0x00007f3e1f64d8da in sigc::bound_mem_functor0<void, BaseUI>::operator() (this=0x7f3df800dab8) at /usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:1787
#5  0x00007f3e1f64d61a in sigc::adaptor_functor<sigc::bound_mem_functor0<void, BaseUI> >::operator() (this=0x7f3df800dab0)
    at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:251
#6  0x00007f3e1f64cfe3 in sigc::internal::slot_call0<sigc::bound_mem_functor0<void, BaseUI>, void>::call_it (rep=0x7f3df800da80)
    at /usr/include/sigc++-2.0/sigc++/functors/slot.h:103
#7  0x00007f3e1dce687d in ?? () from /usr/lib/x86_64-linux-gnu/libglibmm-2.4.so.1
#8  0x00007f3e1d5bff45 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007f3e18dc6b50 in start_thread (arg=<optimized out>) at pthread_create.c:304
#10 0x00007f3e161f8a7d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

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

Thread 1 (Thread 0x7f3e219379a0 (LWP 31181)):
#0  0x00000000008f36ec in Editor::compute_bbt_ruler_scale (this=0x6182080, lower=436371826, upper=3190371825, begin=..., end=...) at ../gtk2_ardour/editor_rulers.cc:1314
#1  0x00000000008f1f91 in Editor::update_tempo_based_rulers (this=0x6182080, begin=..., end=...) at ../gtk2_ardour/editor_rulers.cc:920
#2  0x0000000000799ddb in Editor::idle_visual_changer (this=0x6182080) at ../gtk2_ardour/editor.cc:4330
#3  0x0000000000799c76 in Editor::_idle_visual_changer (arg=0x6182080) at ../gtk2_ardour/editor.cc:4294
#4  0x00007f3e1d59d355 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f3e1d59d688 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f3e1d59da82 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007f3e1cc46797 in gtk_main () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#8  0x00007f3e1fa4d75a in Gtkmm2ext::UI::run (this=0x2fd7210, old_receiver=...) at ../libs/gtkmm2ext/gtk_ui.cc:270
#9  0x0000000000a14600 in main (argc=1, argv=0x7fffce458b48) at ../gtk2_ardour/main.cc:529
(gdb) 
(gdb) 

scroll-zoom-bt (14,382 bytes)   

Issue History

Date Modified Username Field Change
2013-08-15 16:58 colinf New Issue
2013-08-15 16:58 colinf File Added: scroll-zoom-bt