View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000811 | ardour | bugs | public | 2004-12-26 19:08 | 2008-11-20 23:43 |
| Reporter | peppot | Assigned To | paul | ||
| Priority | normal | Severity | major | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Summary | 0000811: Reproducible crash when moving region to another track | ||||
| Description | I have a track with a few regions on track 1, 2, 3 and 4. There are a few crossfades, but none on this particular track/region. I move a region from track 2 to track 1. Ardour crashes. (Using daily CVS from dec 26 0000012:0000018:00 GMT+1) | ||||
| Additional Information | Trace: Thread 7 (process 11514): #0 0x403c079f in do_sigwait () from /lib/tls/libpthread.so.0 0000001 0x403c072c in sigwait () from /lib/tls/libpthread.so.0 #2 0x083d8749 in signal_thread (arg=0x0) at main.cc:128 #3 0x403bab63 in start_thread () from /lib/tls/libpthread.so.0 0000004 0x406d8c4a in clone () from /lib/tls/libc.so.6 Thread 6 (process 11515): #0 0x406cffe3 in poll () from /lib/tls/libc.so.6 0000001 0x08681ad7 in ARDOUR::Source::peak_thread_work (arg=0x0) at source.cc:160 #2 0x403bab63 in start_thread () from /lib/tls/libpthread.so.0 #3 0x406d8c4a in clone () from /lib/tls/libc.so.6 Thread 5 (process 11516): #0 0x406cffe3 in poll () from /lib/tls/libc.so.6 0000001 0x402b42f1 in jack_stop_freewheel () from /usr/lib/libjack-0.80.0.so.0 #2 0x403bab63 in start_thread () from /lib/tls/libpthread.so.0 #3 0x406d8c4a in clone () from /lib/tls/libc.so.6 Thread 4 (process 11615): #0 0x406cffe3 in poll () from /lib/tls/libc.so.6 0000001 0x0862b5aa in ARDOUR::Session::butler_thread_work (this=0x4675fdb0) ---Type <return> to continue, or q <return> to quit--- at session_butler.cc:189 #2 0x0862b538 in ARDOUR::Session::_butler_thread_work (arg=0x4675fdb0) at session_butler.cc:165 #3 0x403bab63 in start_thread () from /lib/tls/libpthread.so.0 0000004 0x406d8c4a in clone () from /lib/tls/libc.so.6 Thread 3 (process 11616): #0 0x406cffe3 in poll () from /lib/tls/libc.so.6 0000001 0x086572f7 in ARDOUR::Session::midi_thread_work (this=0x4675fdb0) at session_midi.cc:1228 #2 0x08657093 in ARDOUR::Session::_midi_thread_work (arg=0x4675fdb0) at session_midi.cc:1160 #3 0x403bab63 in start_thread () from /lib/tls/libpthread.so.0 0000004 0x406d8c4a in clone () from /lib/tls/libc.so.6 Thread 2 (process 11617): #0 0x406cffe3 in poll () from /lib/tls/libc.so.6 0000001 0x08652c86 in ARDOUR::Session::feedback_thread_work (this=0x4675fdb0) at session_feedback.cc:137 #2 0x08652bed in ARDOUR::Session::_feedback_thread_work (arg=0x4675fdb0) at session_feedback.cc:112 #3 0x403bab63 in start_thread () from /lib/tls/libpthread.so.0 0000004 0x406d8c4a in clone () from /lib/tls/libc.so.6 hread 1 (process 11513): #0 0x405d03e9 in __dynamic_cast () from /usr/lib/libstdc++.so.5 0000001 0x08606678 in ARDOUR::createRegion (region=@0x8002020) at playlist_factory.cc:38 #2 0x08345680 in Editor::region_drag_finished_callback (this=0x8a7c430, item=0x46a202d8, event=0xbffff090) at editor_mouse.cc:2729 #3 0x08340b8b in Editor::end_grab (this=0x8a7c430, item=0x46a202d8, event=0xbffff090) at editor_mouse.cc:1412 0000004 0x0833ee5d in Editor::button_release_handler (this=0x8a7c430, item=0x46a202d8, event=0xbffff090, item_type=RegionItem) at editor_mouse.cc:674 0000005 0x0832709b in Editor::canvas_region_view_event (this=0x8a7c430, item=0x46a202d8, event=0xbffff090, rv=0x46a20168) at editor_canvas_events.cc:359 #6 0x0832672a in Editor::_canvas_region_view_event (this=0x8a7c430, item=0x46a202d8, event=0xbffff090, data=0x46a20168) at editor_canvas_events.cc:96 #7 0x08448f07 in PublicEditor::canvas_region_view_event (item=0x46a202d8, event=0xbffff090, data=0x46a20168) at public_editor.cc:38 0000008 0x0850fdc6 in gtk_canvas_item_marshal_signal_1 (object=0x8002020, func=0x8448ed6 <PublicEditor::canvas_region_view_event(_GtkCanvasItem*, _GdkEvent*, void*)>, func_data=0x8002020, args=0x8002020) at gtk-canvas.c:543 0x401036d5 in gtk_signal_remove_emission_hook () from /usr/lib/libgtk-1.2.so.0 0000010 0x4010298b in gtk_signal_set_funcs () from /usr/lib/libgtk-1.2.so.0 0000011 0x40100134 in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0 0000012 0x08513dde in emit_event (canvas=0x8aa3f40, event=0xbffff08c) at gtk-canvas.c:2820 0000013 0x08514409 in gtk_canvas_button (widget=0x8aa3f40, event=0x8b09cf8) at gtk-canvas.c:3038 0000014 0x0855b0ad in gtkmm_marshal_INT__POINTER (object=0x8002020, func=0x85142d0 <gtk_canvas_button>, func_data=0x8002020, args=0x8002020) at marshal.cc:240 #15 0x401027ba in gtk_signal_set_funcs () from /usr/lib/libgtk-1.2.so.0 0000016 0x40100134 in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0 #17 0x40141748 in gtk_widget_event () from /usr/lib/libgtk-1.2.so.0 0000018 0x400caa0f in gtk_propagate_event () from /usr/lib/libgtk-1.2.so.0 0000019 0x400c97d4 in gtk_main_do_event () from /usr/lib/libgtk-1.2.so.0 0000020 0x40189fd5 in gdk_wm_protocols_filter () from /usr/lib/libgdk-1.2.so.0 0000021 0x08b09cf8 in ?? () 0000022 0x00000000 in ?? () 0000023 0xbffff598 in ?? () #24 0x401c5522 in g_slist_free_1 () from /usr/lib/libglib-1.2.so.0 0000025 0x401bd03d in g_get_current_time () from /usr/lib/libglib-1.2.so.0 0000026 0x401bd4f4 in g_get_current_time () from /usr/lib/libglib-1.2.so.0 ---Type <return> to continue, or q <return> to quit--- 0000027 0x401bd724 in g_main_run () from /usr/lib/libglib-1.2.so.0 0000028 0x400c925f in gtk_main () from /usr/lib/libgtk-1.2.so.0 0000029 0x08253ab8 in Gtk::Main::run () at main.h:168 0000030 0x084f043d in Gtkmmext::UI::run (this=0x8836d60, old_receiver=@0x880d700) at gtk_ui.cc:168 0000031 0x083d9f3d in main (argc=1, argv=0xbffff844) at main.cc:418 | ||||
| Tags | No tags attached. | ||||
|
|
fixed in paul's code. when moving between tracks, the old region was removed from one playlist, then a copy was made using the regionview we started with. but removing the region from the playlist caused this regionview to be deleted, thus causing memory-allocation-dependent crashing when we tried to create a new region using it. |