View Issue Details

IDProjectCategoryView StatusLast Update
0005903ardourbugspublic2014-04-06 21:14
Reporterjwm Assigned To 
PrioritynormalSeveritycrashReproducibilityalways
Status newResolutionopen 
Product Version3.0 
Summary0005903: Seg fault after auditioning region and dragging to another track.
DescriptionAfter closing the audition dialog for a region, when dragging the region to another track, Ardour crashes with SIGSEGV.



Steps to reproduce:

1) Create a new session with two audio tracks.
2) Import an audio file from freesound.org to region list.
3) Place audio onto first track
4) Double click audio region to bring up audition dialog
   (you may ommit auditioning the region or not)
5) Close audition dialog
6) Drag region to new track and release mouse button
7) *CRASH*

segmentation fault in Gnome::Canvas::Item::ungrab(unsigned int) () from /usr/lib/libgnomecanvasmm-2.6.so.1

Thread 1 (Thread 0x7f9386ceb940 (LWP 2047)):
#0 0x00007f937ee00c07 in Gnome::Canvas::Item::ungrab(unsigned int) () from /usr/lib/libgnomecanvasmm-2.6.so.1
0000001 0x00000000010a1196 in Drag::end_grab (this=0x38abdf0, event=0x13904120) at ../gtk2_ardour/editor_drag.cc:279
#2 0x00000000010a0b79 in DragManager::end_grab (this=0x813caf0, e=0x13904120) at ../gtk2_ardour/editor_drag.cc:146
#3 0x00000000010f17f4 in Editor::button_release_handler (this=0x810b3e0, item=0x138d6af0, event=0x13904120, item_type=RegionItem)
    at ../gtk2_ardour/editor_mouse.cc:1466
0000004 0x000000000109b9cb in Editor::canvas_region_view_event (this=0x810b3e0, event=0x13904120, item=0x138d6af0, rv=0x13a3b590)
    at ../gtk2_ardour/editor_canvas_events.cc:256

See attached file for full backtrace.
Additional InformationFor a workaround, once the audition dialog closed, simply re-select the region before dragging it to another track.

Dragging of the region within the same track is not affected.

ardour-3.5.357

Arch Linux 64bit
TagsNo tags attached.

Activities

2014-04-06 14:15

 

a3_drag_region_crash.txt (15,593 bytes)   
Core was generated by `/usr/local/lib/ardour3/ardour-3.5.357'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007f937ee00c07 in Gnome::Canvas::Item::ungrab(unsigned int) () from /usr/lib/libgnomecanvasmm-2.6.so.1
(gdb) thread apply all bt

Thread 14 (Thread 0x7f936b318700 (LWP 2061)):
#0  0x00007f937b84a75d in nanosleep () from /usr/lib/libc.so.6
#1  0x00007f937b8726f4 in usleep () from /usr/lib/libc.so.6
#2  0x000000000174eafe in gui_event_loop (ptr=0x0) at ../gtk2_ardour/linux_vst_gui_support.cc:380
#3  0x00007f937e1dd0a2 in start_thread () from /usr/lib/libpthread.so.0
#4  0x00007f937b878d1d in clone () from /usr/lib/libc.so.6

Thread 13 (Thread 0x7f935a386700 (LWP 2077)):
#0  0x00007f937e1e413d in nanosleep () from /usr/lib/libpthread.so.0
#1  0x00007f93827eb558 in g_usleep () from /usr/lib/libglib-2.0.so.0
#2  0x00007f9385fe670a in ARDOUR::AudioEngine::meter_thread (this=0x35f7790) at ../libs/ardour/audioengine.cc:382
#3  0x00007f9385ff18e9 in boost::_mfi::mf0<void, ARDOUR::AudioEngine>::operator() (this=0x3c47190, p=0x35f7790) at /usr/include/boost/bind/mem_fn_template.hpp:49
#4  0x00007f9385ff14f2 in boost::_bi::list1<boost::_bi::value<ARDOUR::AudioEngine*> >::operator()<boost::_mfi::mf0<void, ARDOUR::AudioEngine>, boost::_bi::list0> (
    this=0x3c471a0, f=..., a=...) at /usr/include/boost/bind/bind.hpp:253
#5  0x00007f9385ff0e21 in boost::_bi::bind_t<void, boost::_mfi::mf0<void, ARDOUR::AudioEngine>, boost::_bi::list1<boost::_bi::value<ARDOUR::AudioEngine*> > >::operator() (this=0x3c47190) at /usr/include/boost/bind/bind_template.hpp:20
#6  0x00007f9385ff05d0 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=0x3c47190) at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:251
#7  0x00007f9385fef6d8 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=0x3c47160) at /usr/include/sigc++-2.0/sigc++/functors/slot.h:103
#8  0x00007f9382d12a5d in ?? () from /usr/lib/libglibmm-2.4.so.1
#9  0x00007f93827e9fb5 in ?? () from /usr/lib/libglib-2.0.so.0
#10 0x00007f937e1dd0a2 in start_thread () from /usr/lib/libpthread.so.0
#11 0x00007f937b878d1d in clone () from /usr/lib/libc.so.6

Thread 12 (Thread 0x7f93217b1700 (LWP 2080)):
#0  0x00007f937b84a75d in nanosleep () from /usr/lib/libc.so.6
#1  0x00007f937b8726f4 in usleep () from /usr/lib/libc.so.6
#2  0x00007f9386031e59 in ARDOUR::AutomationWatch::thread (this=0x135ec510) at ../libs/ardour/automation_watch.cc:137
#3  0x00007f93860355f1 in boost::_mfi::mf0<void, ARDOUR::AutomationWatch>::operator() (this=0x13778a70, p=0x135ec510) at /usr/include/boost/bind/mem_fn_template.hpp:49
#4  0x00007f9386035254 in boost::_bi::list1<boost::_bi::value<ARDOUR::AutomationWatch*> >::operator()<boost::_mfi::mf0<void, ARDOUR::AutomationWatch>, boost::_bi::list0> (this=0x13778a80, f=..., a=...) at /usr/include/boost/bind/bind.hpp:253
#5  0x00007f9386034dd1 in boost::_bi::bind_t<void, boost::_mfi::mf0<void, ARDOUR::AutomationWatch>, boost::_bi::list1<boost::_bi::value<ARDOUR::AutomationWatch*> > >::operator() (this=0x13778a70) at /usr/include/boost/bind/bind_template.hpp:20
#6  0x00007f9386034d5c 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=0x13778a70) at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:251
#7  0x00007f9386034890 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=0x13778a40) at /usr/include/sigc++-2.0/sigc++/functors/slot.h:103
#8  0x00007f9382d12a5d in ?? () from /usr/lib/libglibmm-2.4.so.1
#9  0x00007f93827e9fb5 in ?? () from /usr/lib/libglib-2.0.so.0
#10 0x00007f937e1dd0a2 in start_thread () from /usr/lib/libpthread.so.0
#11 0x00007f937b878d1d in clone () from /usr/lib/libc.so.6

Thread 11 (Thread 0x7f936134b700 (LWP 2070)):
#0  0x00007f937b87035d in poll () from /usr/lib/libc.so.6
#1  0x00007f93827c5584 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007f93827c568c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007f93827c56d9 in ?? () from /usr/lib/libglib-2.0.so.0
#4  0x00007f93827e9fb5 in ?? () from /usr/lib/libglib-2.0.so.0
#5  0x00007f937e1dd0a2 in start_thread () from /usr/lib/libpthread.so.0
#6  0x00007f937b878d1d in clone () from /usr/lib/libc.so.6

Thread 10 (Thread 0x7f936a316700 (LWP 2063)):
#0  0x00007f937e1e104f in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007f93828054e7 in g_cond_wait () from /usr/lib/libglib-2.0.so.0
#2  0x00007f93863b5f02 in peak_thread_work () at ../libs/ardour/source_factory.cc:68
#3  0x000000000148f301 in sigc::pointer_functor0<void>::operator() (this=0x33fbee8) at /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h:77
#4  0x000000000148c6ea in sigc::adaptor_functor<sigc::pointer_functor0<void> >::operator() (this=0x33fbee0)
    at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:251
#5  0x0000000001489191 in sigc::internal::slot_call0<sigc::pointer_functor0<void>, void>::call_it (rep=0x33fbeb0) at /usr/include/sigc++-2.0/sigc++/functors/slot.h:103
#6  0x00007f9382d12a5d in ?? () from /usr/lib/libglibmm-2.4.so.1
#7  0x00007f93827e9fb5 in ?? () from /usr/lib/libglib-2.0.so.0
#8  0x00007f937e1dd0a2 in start_thread () from /usr/lib/libpthread.so.0
#9  0x00007f937b878d1d in clone () from /usr/lib/libc.so.6

Thread 9 (Thread 0x7f93621bc700 (LWP 2069)):
#0  0x00007f937b87035d in poll () from /usr/lib/libc.so.6
#1  0x00007f93827c5584 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007f93827c59ea in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#3  0x00007f9380e83176 in ?? () from /usr/lib/libgio-2.0.so.0
#4  0x00007f93827e9fb5 in ?? () from /usr/lib/libglib-2.0.so.0
#5  0x00007f937e1dd0a2 in start_thread () from /usr/lib/libpthread.so.0
#6  0x00007f937b878d1d in clone () from /usr/lib/libc.so.6

Thread 8 (Thread 0x7f93380e6800 (LWP 2078)):
#0  0x00007f937b87035d in poll () from /usr/lib/libc.so.6
#1  0x00007f93860453b4 in ARDOUR::Butler::thread_work (this=0x3b27a00) at ../libs/ardour/butler.cc:150
#2  0x00007f938604530d in ARDOUR::Butler::_thread_work (arg=0x3b27a00) at ../libs/ardour/butler.cc:134
#3  0x00007f938491f358 in fake_thread_start (arg=0x8b32de0) at ../libs/pbd/pthread_utils.cc:85
#4  0x00007f937e1dd0a2 in start_thread () from /usr/lib/libpthread.so.0
#5  0x00007f937b878d1d in clone () from /usr/lib/libc.so.6

Thread 7 (Thread 0x7f936ab17700 (LWP 2062)):
#0  0x00007f937e1e104f in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007f93828054e7 in g_cond_wait () from /usr/lib/libglib-2.0.so.0
#2  0x00007f93863b5f02 in peak_thread_work () at ../libs/ardour/source_factory.cc:68
#3  0x000000000148f301 in sigc::pointer_functor0<void>::operator() (this=0x33ebd88) at /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h:77
#4  0x000000000148c6ea in sigc::adaptor_functor<sigc::pointer_functor0<void> >::operator() (this=0x33ebd80)
    at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:251
#5  0x0000000001489191 in sigc::internal::slot_call0<sigc::pointer_functor0<void>, void>::call_it (rep=0x33ebd50) at /usr/include/sigc++-2.0/sigc++/functors/slot.h:103
#6  0x00007f9382d12a5d in ?? () from /usr/lib/libglibmm-2.4.so.1
#7  0x00007f93827e9fb5 in ?? () from /usr/lib/libglib-2.0.so.0
#8  0x00007f937e1dd0a2 in start_thread () from /usr/lib/libpthread.so.0
#9  0x00007f937b878d1d in clone () from /usr/lib/libc.so.6

Thread 6 (Thread 0x7f9362dcf700 (LWP 2071)):
#0  0x00007f937e1e13f8 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007f93828055d5 in g_cond_wait_until () from /usr/lib/libglib-2.0.so.0
#2  0x00007f938279bd51 in ?? () from /usr/lib/libglib-2.0.so.0
#3  0x00007f938279c2db in g_async_queue_timeout_pop () from /usr/lib/libglib-2.0.so.0
#4  0x00007f93827eaa46 in ?? () from /usr/lib/libglib-2.0.so.0
#5  0x00007f93827e9fb5 in ?? () from /usr/lib/libglib-2.0.so.0
#6  0x00007f937e1dd0a2 in start_thread () from /usr/lib/libpthread.so.0
#7  0x00007f937b878d1d in clone () from /usr/lib/libc.so.6

Thread 5 (Thread 0x7f9369b15700 (LWP 2064)):
#0  0x00007f937e1e104f in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007f93828054e7 in g_cond_wait () from /usr/lib/libglib-2.0.so.0
#2  0x00007f9385f9ba36 in ARDOUR::Analyser::work () at ../libs/ardour/analyser.cc:81
#3  0x00007f9385f9b81f in analyser_work () at ../libs/ardour/analyser.cc:46
#4  0x000000000148f301 in sigc::pointer_functor0<void>::operator() (this=0x33fbf98) at /usr/include/sigc++-2.0/sigc++/functors/ptr_fun.h:77
#5  0x000000000148c6ea in sigc::adaptor_functor<sigc::pointer_functor0<void> >::operator() (this=0x33fbf90)
    at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:251
#6  0x0000000001489191 in sigc::internal::slot_call0<sigc::pointer_functor0<void>, void>::call_it (rep=0x33fbf60) at /usr/include/sigc++-2.0/sigc++/functors/slot.h:103
#7  0x00007f9382d12a5d in ?? () from /usr/lib/libglibmm-2.4.so.1
#8  0x00007f93827e9fb5 in ?? () from /usr/lib/libglib-2.0.so.0
#9  0x00007f937e1dd0a2 in start_thread () from /usr/lib/libpthread.so.0
#10 0x00007f937b878d1d in clone () from /usr/lib/libc.so.6

Thread 4 (Thread 0x7f9359b85700 (LWP 2074)):
#0  0x00007f937e1e104f in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007f93685c4473 in ?? () from /usr/lib/libjack.so.0
#2  0x00007f937e1dd0a2 in start_thread () from /usr/lib/libpthread.so.0
#3  0x00007f937b878d1d in clone () from /usr/lib/libc.so.6

Thread 3 (Thread 0x7f93199b5700 (LWP 2079)):
#0  0x00007f937b87035d in poll () from /usr/lib/libc.so.6
#1  0x00007f93827c5584 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007f93827c59ea in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#3  0x00007f93848f746f in BaseUI::main_thread (this=0x8b32fc0) at ../libs/pbd/base_ui.cc:80
#4  0x00007f93848facd4 in sigc::bound_mem_functor0<void, BaseUI>::operator() (this=0x8b336c8) at /usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:1787
#5  0x00007f93848faa14 in sigc::adaptor_functor<sigc::bound_mem_functor0<void, BaseUI> >::operator() (this=0x8b336c0)
    at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:251
#6  0x00007f93848fa3d1 in sigc::internal::slot_call0<sigc::bound_mem_functor0<void, BaseUI>, void>::call_it (rep=0x8b33690)
    at /usr/include/sigc++-2.0/sigc++/functors/slot.h:103
#7  0x00007f9382d12a5d in ?? () from /usr/lib/libglibmm-2.4.so.1
#8  0x00007f93827e9fb5 in ?? () from /usr/lib/libglib-2.0.so.0
#9  0x00007f937e1dd0a2 in start_thread () from /usr/lib/libpthread.so.0
#10 0x00007f937b878d1d in clone () from /usr/lib/libc.so.6

Thread 2 (Thread 0x7f93600ef700 (LWP 2076)):
#0  0x00007f937b87035d in poll () from /usr/lib/libc.so.6
#1  0x00007f93685c2bf6 in jack_cycle_wait () from /usr/lib/libjack.so.0
#2  0x00007f9368829476 in ARDOUR::JACKAudioBackend::process_thread (this=0x388a780) at ../libs/backends/jack/jack_audiobackend.cc:935
#3  0x00007f9368829426 in ARDOUR::JACKAudioBackend::_process_thread (arg=0x388a780) at ../libs/backends/jack/jack_audiobackend.cc:921
#4  0x00007f93685c2f77 in ?? () from /usr/lib/libjack.so.0
#5  0x00007f937e1dd0a2 in start_thread () from /usr/lib/libpthread.so.0
#6  0x00007f937b878d1d in clone () from /usr/lib/libc.so.6

Thread 1 (Thread 0x7f9386ceb940 (LWP 2047)):
#0  0x00007f937ee00c07 in Gnome::Canvas::Item::ungrab(unsigned int) () from /usr/lib/libgnomecanvasmm-2.6.so.1
#1  0x00000000010a1196 in Drag::end_grab (this=0x38abdf0, event=0x13904120) at ../gtk2_ardour/editor_drag.cc:279
#2  0x00000000010a0b79 in DragManager::end_grab (this=0x813caf0, e=0x13904120) at ../gtk2_ardour/editor_drag.cc:146
#3  0x00000000010f17f4 in Editor::button_release_handler (this=0x810b3e0, item=0x138d6af0, event=0x13904120, item_type=RegionItem)
    at ../gtk2_ardour/editor_mouse.cc:1466
#4  0x000000000109b9cb in Editor::canvas_region_view_event (this=0x810b3e0, event=0x13904120, item=0x138d6af0, rv=0x13a3b590)
    at ../gtk2_ardour/editor_canvas_events.cc:256
#5  0x0000000000f6b4ca in sigc::bound_mem_functor3<bool, PublicEditor, _GdkEvent*, Gnome::Canvas::Item*, RegionView*>::operator() (this=0x13a3a7a0, 
    _A_a1=@0x7fffd74691b8: 0x13904120, _A_a2=@0x7fffd7469138: 0x138d6af0, _A_a3=@0x13a3a7c8: 0x13a3b590) at /usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:1985
#6  0x000000000152382d in sigc::adaptor_functor<sigc::bound_mem_functor3<bool, PublicEditor, _GdkEvent*, Gnome::Canvas::Item*, RegionView*> >::operator()<_GdkEvent* const&, Gnome::Canvas::Group*&, RegionView*&> (this=0x13a3a798, _A_arg1=@0x7fffd74691b8: 0x13904120, _A_arg2=@0x13a3a7c0: 0x138d6af0, _A_arg3=@0x13a3a7c8: 0x13a3b590)
    at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:123
#7  0x0000000001523210 in sigc::bind_functor<-1, sigc::bound_mem_functor3<bool, PublicEditor, _GdkEvent*, Gnome::Canvas::Item*, RegionView*>, Gnome::Canvas::Group*, RegionView*, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil>::operator()<_GdkEvent* const&> (this=0x13a3a790, _A_arg1=@0x7fffd74691b8: 0x13904120)
    at /usr/include/sigc++-2.0/sigc++/adaptors/bind.h:1336
#8  0x00000000015228e2 in sigc::internal::slot_call1<sigc::bind_functor<-1, sigc::bound_mem_functor3<bool, PublicEditor, _GdkEvent*, Gnome::Canvas::Item*, RegionView*>, Gnome::Canvas::Group*, RegionView*, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil>, bool, _GdkEvent*>::call_it (rep=0x13a3a760, a_1=@0x7fffd74691b8: 0x13904120)
    at /usr/include/sigc++-2.0/sigc++/functors/slot.h:137
#9  0x00007f937edff8d8 in ?? () from /usr/lib/libgnomecanvasmm-2.6.so.1
#10 0x00007f937ebbcc98 in gnome_canvas_marshal_BOOLEAN__BOXED () from /usr/lib/libgnomecanvas-2.so.0
#11 0x00007f9382a8d6a8 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#12 0x00007f9382a9f2d1 in ?? () from /usr/lib/libgobject-2.0.so.0
#13 0x00007f9382aa6a19 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#14 0x00007f9382aa7002 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#15 0x00007f937ebc21bd in ?? () from /usr/lib/libgnomecanvas-2.so.0
#16 0x00007f937ebc30ce in ?? () from /usr/lib/libgnomecanvas-2.so.0
#17 0x00007f9381e6ed85 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#18 0x00007f9382a8d6a8 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#19 0x00007f9382a9edfb in ?? () from /usr/lib/libgobject-2.0.so.0
#20 0x00007f9382aa6a19 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#21 0x00007f9382aa7002 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#22 0x00007f9381f7eab4 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#23 0x00007f9381e6d534 in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
#24 0x00007f9381e6d8eb in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#25 0x00007f9381ae8c3c in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#26 0x00007f93827c5296 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#27 0x00007f93827c55e8 in ?? () from /usr/lib/libglib-2.0.so.0
#28 0x00007f93827c59ea in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#29 0x00007f9381e6c9d7 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#30 0x00007f9384ce9d14 in Gtkmm2ext::UI::run (this=0x35fbcf0, old_receiver=...) at ../libs/gtkmm2ext/gtk_ui.cc:273
#31 0x00000000012a36e1 in main (argc=1, argv=0x7fffd7469f58) at ../gtk2_ardour/main.cc:519
a3_drag_region_crash.txt (15,593 bytes)   

jwm

2014-04-06 21:14

reporter   ~0015736

Step 5 can be ommitted.

Issue History

Date Modified Username Field Change
2014-04-06 14:15 jwm New Issue
2014-04-06 14:15 jwm File Added: a3_drag_region_crash.txt
2014-04-06 21:14 jwm Note Added: 0015736