View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0002321 | ardour | bugs | public | 2008-06-21 13:03 | 2020-04-19 20:13 |
| Reporter | nowhiskey | Assigned To | seablade | ||
| Priority | normal | Severity | crash | Reproducibility | random |
| Status | closed | Resolution | fixed | ||
| Product Version | SVN/2.0-ongoing | ||||
| Summary | 0002321: crash when copying a region | ||||
| Description | ongoing@3484 this one is not easy to explain, cause i am not 100% sure what exactly i clicked when the crash happened. i wanted to copy a region with the 'ctrl+middle click' so that i end up with two regions in two tracks, which are at the same position in the time line. but the shortcut did not worked the way i expected (for what ever reason). so than i was thinking that i am using a wrong short cut, and i tried several others, like ctrl+leftclick, shift+leftclick, shift+middleclick, searching for the right short cut. doing this, at one point ardour crashed. i am 99% sure that at that moment a was clicking either ctrl+leftclick or ctrl+middleclick. backtrace: nowhiskey@murija2:~/software/ardour2/2.0-ongoing/gtk2_ardour$ LANG=en_US.UTF-8 ./ardbg GNU gdb 6.7.1-debian Copyright (C) 2007 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i486-linux-gnu"... Using host libthread_db library "/lib/libthread_db.so.1". (gdb) run Starting program: /home/nowhiskey/software/ardour2/2.0-ongoing/gtk2_ardour/ardour-2.4.1 [Thread debugging using libthread_db enabled] (process:3132): Gdk-WARNING **: locale not supported by C library Ardour/GTK 2.4.1 (built using 3343 and GCC version 4.2.4 (Debian 4.2.4-2+b1)) Copyright (C) 1999-2008 Paul Davis Some portions Copyright (C) Steve Harris, Ari Johnson, Brett Viren, Joel Baker Ardour comes with ABSOLUTELY NO WARRANTY not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. This is free software, and you are welcome to redistribute it under certain conditions; see the source for copying conditions. (ardour-2.4.1:3132): Gtk-WARNING **: Locale not supported by C library. Using the fallback 'C' locale. [New Thread 0xb5efb740 (LWP 3132)] theme_init() called from internal clearlooks engine /usr/share/themes/Clearlooks/gtk-2.0/gtkrc:67: error: unexpected identifier `colorize_scrollbar', expected character `}' loading default ui configuration file gtk2_ardour/ardour2_ui_default.conf loading user ui configuration file /home/nowhiskey/.ardour2/ardour2_ui.conf Loading ui configuration file gtk2_ardour/ardour2_ui_dark.rc theme_init() called from internal clearlooks engine ardour: [INFO]: Ardour will be limited to 1024 open files loading system configuration file ./ardour_system.rc loading user configuration file /home/nowhiskey/.ardour2/ardour.rc ardour: [INFO]: Using SSE optimized routines [New Thread 0xb5e29b90 (LWP 3135)] [New Thread 0xb5629b90 (LWP 3136)] [New Thread 0xb4e29b90 (LWP 3137)] RemoteVSTClient: all cache files are up-to-date, not running scanner ardour: [INFO]: looking for control protocols in /home/nowhiskey/.ardour2/surfaces/:/usr/local/lib/ardour2/surfaces/ ardour: [INFO]: Control surface protocol discovered: "Generic MIDI" [New Thread 0xb4004b90 (LWP 3139)] SSE2 detected [Thread 0xb4004b90 (LWP 3139) exited] [New Thread 0xb4004b90 (LWP 3141)] SSE2 detected loading bindings from /home/nowhiskey/.ardour2/ardour.bindings [New Thread 0xb25efb90 (LWP 3143)] [New Thread 0xb2539cb0 (LWP 3144)] Loading session /home/nowhiskey/Ardour2/rockets/sree using snapshot sree (1) [New Thread 0xb243ccb0 (LWP 3145)] [New Thread 0xb23c1cb0 (LWP 3146)] Loading history from '/home/nowhiskey/Ardour2/rockets/sree/sree.history'. Adding with 1 in and 2out Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xb5efb740 (LWP 3132)] 0x0881df8a in Gtk::Widget::gobj (this=0xc18fc00) at libs/gtkmm2/gtk/gtkmm/widget.h:321 321 GtkWidget* gobj() { return reinterpret_cast<GtkWidget*>(gobject_); } (gdb) thread apply all bt Thread 10 (Thread 0xb23c1cb0 (LWP 3146)): #0 0xb66bc62d in poll () from /lib/libc.so.6 0000001 0xb7e75c92 in ARDOUR::Session::midi_thread_work (this=0x8faef30) at #libs/ardour/session_midi.cc:1220 #2 0xb7e761e5 in ARDOUR::Session::_midi_thread_work (arg=0x8faef30) at #libs/ardour/session_midi.cc:1141 #3 0xb6d72fd3 in start_thread () from /lib/libpthread.so.0 0000004 0xb66c5a8e in clone () from /lib/libc.so.6 Thread 9 (Thread 0xb243ccb0 (LWP 3145)): #0 0xb66bc62d in poll () from /lib/libc.so.6 0000001 0xb7e184a4 in ARDOUR::Session::butler_thread_work (this=0x8faef30) at #libs/ardour/session_butler.cc:179 #2 0xb7e19323 in ARDOUR::Session::_butler_thread_work (arg=0x8faef30) at #libs/ardour/session_butler.cc:159 #3 0xb6d72fd3 in start_thread () from /lib/libpthread.so.0 0000004 0xb66c5a8e in clone () from /lib/libc.so.6 Thread 8 (Thread 0xb2539cb0 (LWP 3144)): #0 0xb6d7a81c in nanosleep () from /lib/libpthread.so.0 0000001 0xb772fc42 in g_usleep () from /usr/share/qt4/lib/libglib-2.0.so.0 #2 0xb7698055 in Glib::usleep (microseconds=10000) at #libs/glibmm2/glibmm/timer.cc:68 #3 0xb7cf50a4 in ARDOUR::AudioEngine::meter_thread (this=0x8e01388) at #libs/ardour/audioengine.cc:430 0000004 0xb7cf8f21 in sigc::bound_mem_functor0<void, #ARDOUR::AudioEngine>::operator() (this=0x8f9fddc) at #libs/sigc++2/sigc++/functors/mem_fun.h:1787 0000005 0xb7cf8f48 in sigc::adaptor_functor<sigc::bound_mem_functor0<void, #ARDOUR::AudioEngine> >::operator() (this=0x8f9fdd8) at libs/sigc++2/sigc++/adaptors/adaptor_trait.h:251 #6 0xb7cf8f74 in sigc::internal::slot_call0<sigc::bound_mem_functor0<void, ARDOUR::AudioEngine>, void>::call_it (rep=0x8f9fdc0) at libs/sigc++2/sigc++/functors/slot.h:103 #7 0x083f2f8c in sigc::slot0<void>::operator() (this=0x8fa0358) at libs/sigc++2/sigc++/functors/slot.h:440 0000008 0xb76b6521 in call_thread_entry_slot (data=0x8fa0358) at libs/glibmm2/glibmm/thread.cc:43 0000009 0xb772d4ff in ?? () from /usr/share/qt4/lib/libglib-2.0.so.0 0000010 0x08fa0358 in ?? () 0000011 0x08f9fcc0 in ?? () 0000012 0x00000000 in ?? () Thread 7 (Thread 0xb25efb90 (LWP 3143)): #0 0xb66bc62d in poll () from /lib/libc.so.6 0000001 0xb6d8c9a8 in jack_client_core_wait (client=0x8ded470) at client.c:1439 #2 0xb6d8cfad in jack_thread_wait (client=0x8ded470, status=0) at #client.c:1593 #3 0xb6d8dea7 in jack_client_thread (arg=0x8ded470) at client.c:1708 0000004 0xb6d92bd0 in jack_thread_proxy (varg=0x8a194b0) at thread.c:110 0000005 0xb6d72fd3 in start_thread () from /lib/libpthread.so.0 #6 0xb66c5a8e in clone () from /lib/libc.so.6 Thread 6 (Thread 0xb4004b90 (LWP 3141)): #0 0xb6d77550 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 0000001 0xb6d8e642 in mb_thread_func (arg=0x0) at messagebuffer.c:70 #2 0xb6d72fd3 in start_thread () from /lib/libpthread.so.0 #3 0xb66c5a8e in clone () from /lib/libc.so.6 Thread 4 (Thread 0xb4e29b90 (LWP 3137)): #0 0xb6d77550 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 0000001 0xb76b598d in Glib::Cond::wait (this=0x8aebcb0, mutex=@0xb7f507a8) at #libs/glibmm2/glibmm/thread.cc:362 #2 0xb7cd553f in ARDOUR::Analyser::work () at libs/ardour/analyser.cc:85 #3 0xb7cd568b in analyser_work () at libs/ardour/analyser.cc:49 0000004 0x08758033 in sigc::pointer_functor0<void>::operator() (this=0x8af26e4) #at libs/sigc++2/sigc++/functors/ptr_fun.h:77 0000005 0x0875804a in sigc::adaptor_functor<sigc::pointer_functor0<void> #>::operator() (this=0x8af26e0) at #>libs/sigc++2/sigc++/adaptors/adaptor_trait.h:251 #6 0x08758066 in sigc::internal::slot_call0<sigc::pointer_functor0<void>, #void>::call_it (rep=0x8af26c8) at libs/sigc++2/sigc++/functors/slot.h:103 #7 0x083f2f8c in sigc::slot0<void>::operator() (this=0x8af26b8) at #libs/sigc++2/sigc++/functors/slot.h:440 0000008 0xb76b6521 in call_thread_entry_slot (data=0x8af26b8) at #libs/glibmm2/glibmm/thread.cc:43 0000009 0xb772d4ff in ?? () from /usr/share/qt4/lib/libglib-2.0.so.0 0000010 0x08af26b8 in ?? () 0000011 0x08af26f0 in ?? () 0000012 0x00000000 in ?? ()Thread 3 (Thread 0xb5629b90 (LWP 3136)): #0 0xb6d77550 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 0000001 0xb76b598d in Glib::Cond::wait (this=0x8ae0068, mutex=@0xb7f50c80) at #libs/glibmm2/glibmm/thread.cc:362 #2 0xb7eb080b in peak_thread_work () at libs/ardour/source_factory.cc:65 #3 0x08758033 in sigc::pointer_functor0<void>::operator() (this=0x8aebd24) #at libs/sigc++2/sigc++/functors/ptr_fun.h:77 0000004 0x0875804a in sigc::adaptor_functor<sigc::pointer_functor0<void> #>::operator() (this=0x8aebd20) at #>libs/sigc++2/sigc++/adaptors/adaptor_trait.h:251 0000005 0x08758066 in sigc::internal::slot_call0<sigc::pointer_functor0<void>, #void>::call_it (rep=0x8aebd08) at libs/sigc++2/sigc++/functors/slot.h:103 #6 0x083f2f8c in sigc::slot0<void>::operator() (this=0x8aebcf8) at #libs/sigc++2/sigc++/functors/slot.h:440 #7 0xb76b6521 in call_thread_entry_slot (data=0x8aebcf8) at #libs/glibmm2/glibmm/thread.cc:43 0000008 0xb772d4ff in ?? () from /usr/share/qt4/lib/libglib-2.0.so.0 0000009 0x08aebcf8 in ?? () 0000010 0x08aebd30 in ?? () 0000011 0x00000000 in ?? () Thread 2 (Thread 0xb5e29b90 (LWP 3135)): #0 0xb6d77550 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 0000001 0xb76b598d in Glib::Cond::wait (this=0x8ae0068, mutex=@0xb7f50c80) at #libs/glibmm2/glibmm/thread.cc:362 #2 0xb7eb080b in peak_thread_work () at libs/ardour/source_factory.cc:65 #3 0x08758033 in sigc::pointer_functor0<void>::operator() (this=0x8aebaa4) #at libs/sigc++2/sigc++/functors/ptr_fun.h:77 0000004 0x0875804a in sigc::adaptor_functor<sigc::pointer_functor0<void> #>::operator() (this=0x8aebaa0) at #>libs/sigc++2/sigc++/adaptors/adaptor_trait.h:251 0000005 0x08758066 in sigc::internal::slot_call0<sigc::pointer_functor0<void>, #void>::call_it (rep=0x8aeba88) at libs/sigc++2/sigc++/functors/slot.h:103 #6 0x083f2f8c in sigc::slot0<void>::operator() (this=0x8aeba78) at #libs/sigc++2/sigc++/functors/slot.h:440 #7 0xb76b6521 in call_thread_entry_slot (data=0x8aeba78) at #libs/glibmm2/glibmm/thread.cc:43 0000008 0xb772d4ff in ?? () from /usr/share/qt4/lib/libglib-2.0.so.0 0000009 0x08aeba78 in ?? () 0000010 0x08aebba0 in ?? () 0000011 0x00014080 in ?? () 0000012 0x00000005 in ?? () 0000013 0xb6609b9c in ?? () from /lib/libc.so.6 0000014 0xb6d81ff4 in ?? () from /lib/libpthread.so.0 #15 0xb6d75140 in ?? () from /lib/libpthread.so.0 0000016 0xb6d81ff4 in ?? () from /lib/libpthread.so.0 #17 0x00000000 in ?? () Thread 1 (Thread 0xb5efb740 (LWP 3132)): #0 0x0881df8a in Gtk::Widget::gobj (this=0xc18fc00) at #0 0x0881df8a in Gtk::Widget::gobj (this=0xc18fc00) at libs/gtkmm2/gtk/gtkmm/widget.h:321 0000001 0xb7099125 in Gtk::Widget::hide_all (this=0xc18fc00) at libs/gtkmm2/gtk/gtkmm/widget.cc:5090 #2 0x087642f2 in RegionView::hide_region_editor (this=0xcb25bf8) at gtk2_ardour/region_view.cc:409 #3 0x085b011f in Editor::region_drag_finished_callback (this=0x8e05e00, item=0xcb25da0, event=0xaafcc00) at gtk2_ardour/editor_mouse.cc:3869 0000004 0x085ad3f4 in Editor::end_grab (this=0x8e05e00, item=0xcb25da0, event=0xaafcc00) at gtk2_ardour/editor_mouse.cc:1920 0000005 0x085b6f52 in Editor::button_release_handler (this=0x8e05e00, item=0xcb25da0, event=0xaafcc00, item_type=RegionItem) at #gtk2_ardour/editor_mouse.cc:878 #6 0x0852385d in Editor::canvas_region_view_event (this=0x8e05e00, #event=0xaafcc00, item=0xcb25da0, rv=0xcb25bf8) at #gtk2_ardour/editor_canvas_events.cc:315 #7 0x08767055 in sigc::bound_mem_functor3<bool, PublicEditor, _GdkEvent*, #Gnome::Canvas::Item*, RegionView*>::operator() (this=0xcb0e7e0, #_A_a1=@0xbfe6c264, _A_a2=@0xbfe6c1c4, _A_a3=@0xcb0e7f4) at #libs/sigc++2/sigc++/functors/mem_fun.h:1985 0000008 0x08767137 in sigc::adaptor_functor<sigc::bound_mem_functor3<bool, #PublicEditor, _GdkEvent*, Gnome::Canvas::Item*, RegionView*> #>::operator()<_GdkEvent* const&, Gnome::Canvas::Group*&, RegionView*&> #>(this=0xcb0e7dc, _A_arg1=@0xbfe6c264, _A_arg2=@0xcb0e7f0, #>_A_arg3=@0xcb0e7f4) at libs/sigc++2/sigc++/adaptors/adaptor_trait.h:123 0000009 0x0876717e 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=0xcb0e7d8, #_A_arg1=@0xbfe6c264) at libs/sigc++2/sigc++/adaptors/bind.h:1336 0000010 0x087671a9 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=0xcb0e7c0, a_1=@0xbfe6c264) at libs/sigc++2/sigc++/functors/slot.h:137 0000011 0xb7078f13 in sigc::slot1<bool, _GdkEvent*>::operator() (this=0xbf9062c, _A_a1=@0xbfe6c264) at libs/sigc++2/sigc++/functors/slot.h:515 0000012 0xb6d0d41c in Item_signal_event_callback (self=0xaf911ab0, p0=0xaafcc00, data=0xbf90628) at libs/libgnomecanvasmm/libgnomecanvasmm/item.cc:138 0000013 0xb6d639f6 in gnome_canvas_marshal_BOOLEAN__BOXED () from /usr/share/qt4/lib/libgnomecanvas-2.so.0 0000014 0xb779e6f9 in g_closure_invoke () from #/usr/share/qt4/lib/libgobject-2.0.so.0 #15 0xb77b2fc3 in ?? () from /usr/share/qt4/lib/libgobject-2.0.so.0 0000016 0x0b98e200 in ?? () #17 0xbfe6c480 in ?? () 0000018 0x00000002 in ?? () 0000019 0xbfe6c564 in ?? () 0000020 0xbfe6c46c in ?? () 0000021 0xbfe6c384 in ?? () 0000022 0x00000000 in ?? () ....... cheers, doc | ||||
| Tags | No tags attached. | ||||
|
|
rev 3486 has a fix for this crash, i believe. it seems to be quite an old problem. whenever a RegionView object was copied, it copied the editor pointer, which could point to a real, live widget (or not). this was the wrong thing to do. |
|
|
Setting status to resolved as I am unable to reproduce here and such a long time has gone since feedback was requested. Seablade |
|
|
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 |
|---|---|---|---|
| 2008-06-21 13:03 | nowhiskey | New Issue | |
| 2008-06-23 16:05 | paul | Note Added: 0005074 | |
| 2008-06-23 16:05 | paul | Status | new => feedback |
| 2008-12-03 06:23 | seablade | cost | => 0.00 |
| 2008-12-03 06:23 | seablade | Status | feedback => resolved |
| 2008-12-03 06:23 | seablade | Resolution | open => fixed |
| 2008-12-03 06:23 | seablade | Assigned To | => seablade |
| 2008-12-03 06:23 | seablade | Note Added: 0005463 | |
| 2010-04-24 10:28 | cth103 | Category | bugs => bugs2 |
| 2010-04-24 10:32 | cth103 | Category | bugs2 => bugs |
| 2020-04-19 20:13 | system | Note Added: 0021765 | |
| 2020-04-19 20:13 | system | Status | resolved => closed |