[ardour-users] Ardour-beta30 - a repeatable crash here doing copy/paste

Mark Knecht markknecht at gmail.com
Wed Sep 14 19:22:08 PDT 2005


On 9/14/05, Mark Knecht <markknecht at gmail.com> wrote:
> On 9/14/05, Mark Knecht <markknecht at gmail.com> wrote:
> > On 9/13/05, Geoff Beasley <songshop at bizmedia.com.au> wrote:
> > > On Tue, 2005-09-13 at 17:46 -0700, Mark Knecht wrote:
> > > > Hi,
> > > >    This happens on my machine:
> > > >
> > > > 1) Create a track and record 16 bars
> > > > 2) Select the recorded region and shorten the region from the front so
> > > > that you are left with only the last 4 bars.
> > > > 3) Slide the new, short sub-region back to bar 0
> > > > 4) Right click the region and choose Edit->Copy
> > > > 5) Move your mouse to the end of the sub-region, right click and
> > > > choose Edit->paste at mouse position. A new copy is placed but more to
> > > > the right than it should have been.
> > > > 6) Slide the second region so that it comes after the first.
> > > > 7) Move your mouse to the end of the second sub-region so that you see
> > > > a hand and a box in the upper right corner of the second sub-region.
> > > > 8) Right click the mouse.
> > > >
> > > > Ardour is completely gone.
> > > >
> > > not for me mate. works fine. the region is offset tho as you report, but
> > > no crash.
> > >
> > > cheers,
> > >
> > > Geoff.
> > >
> >
> > Thanks Geoff.
> >
> > AMD64 issue maybe? It's repeatable here in two sessions with different
> > recorded regions.
> >
> > Cheers,
> > Mark
> >
> 
> I built Ardour with DEBUG=yes. It still crashes for me when doing
> operations on the right side of a region where I try to call the menu
> up. Unfortunately, so far I cannot make it crash while I run gdb. I
> did catch this running Ardour in a terminal:
> 
> mark at lightning ~ $ ardour
> Ardour/GTK 0.9beta30
>    (built using 0.603.2 with libardour 0.900.3 and GCC version 3.4.4
> (Gentoo 3.4 .4-r1, ssp-3.4.4-1.0, pie-8.7.8))
> Copyright (C) 1999-2005 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.
> Loading UI configuration file /etc/ardour/ardour_ui.rc
> Loading system configuration file /etc/ardour/ardour_system.rc
> Loading user configuration file /home/mark/.ardour/ardour.rc
> ardour: [INFO]: No H/W specific optimizations in use
> ardour: [WARNING]: Your system generates "Mod2" when the NumLock key
> is pressed.  This can cause problems when editing so Ardour will use
> Mod3 to mean Meta rathe r than Mod2
> 
> Gdk-WARNING **: Missing charsets in FontSet creation
> 
> 
> Gdk-WARNING **:     ISO8859-1
> 
> 
> Gdk-WARNING **: Missing charsets in FontSet creation
> 
> 
> Gdk-WARNING **:     ISO8859-1
> 
> Loading session /home/mark/Audio/audio2/Ardour/Test6 using snapshot Test6
> 
> Gtk-CRITICAL **: file gtkwidget.c: line 3310
> (gtk_widget_set_sensitive): asserti on `widget != NULL' failed.
> Segmentation fault
> mark at lightning ~ $
> 
> I will continue to try and get a back trace, or at least find the
> exact thing I do in the GUI that causes this.
> 
> - Mark
> 

OK, I caught it I think:

[New Thread 1098918240 (LWP 10370)]
Loading session /home/mark/Audio/audio2/Ardour/Test6 using snapshot Test6
[New Thread 1107310944 (LWP 10371)]
[New Thread 1115703648 (LWP 10372)]
[New Thread 1124096352 (LWP 10373)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 46912529263712 (LWP 10365)]
0x00002aaaab2283ca in gtk_widget_set_sensitive () from /usr/lib/libgtk-1.2.so.0
(gdb) bt
#0  0x00002aaaab2283ca in gtk_widget_set_sensitive () from
/usr/lib/libgtk-1.2.so.0
#1  0x00000000008d0585 in Gtk::Widget::set_sensitive
(this=0x2aaab52ea640, sensitive=true)
    at widget.cc:382
#2  0x00000000004e95b2 in Editor::popup_track_context_menu
(this=0xfb7c90, button=1,
    time=24833849, item_type=Editor::RegionItem, with_selection=false,
frame=352036)
    at editor.cc:2063
#3  0x0000000000538fae in Editor::button_release_handler
(this=0xfb7c90, item=0x2aaab529cab0,
    event=0x7fffffcaf1a0, item_type=Editor::RegionItem) at editor_mouse.cc:859
#4  0x0000000000517c17 in Editor::canvas_region_view_event (this=0xfb7c90,
    item=0x2aaab529cab0, event=0x7fffffcaf1a0, rv=0x2aaab529c870)
    at editor_canvas_events.cc:378
#5  0x000000000051716f in Editor::_canvas_region_view_event (this=0xfb7c90,
    item=0x2aaab529cab0, event=0x7fffffcaf1a0, data=0x2aaab529c870)
    at editor_canvas_events.cc:100
#6  0x00000000006863ca in PublicEditor::canvas_region_view_event
(item=0x2aaab529cab0,
    event=0x7fffffcaf1a0, data=0x2aaab529c870) at public_editor.cc:38
#7  0x00000000008f47fd in gtk_canvas_item_marshal_signal_1
(object=0x2aaab529cab0,
    func=0x686394
<PublicEditor::canvas_region_view_event(_GtkCanvasItem*, _GdkEvent*,
void*)>,  func_data=0x2aaab529c870, args=0x7fffffcaeb50) at
gtk-canvas.c:542
#8  0x00002aaaab1ed4e3 in gtk_signal_connect_while_alive () from
/usr/lib/libgtk-1.2.so.0
#9  0x00002aaaab1ee177 in gtk_signal_emit_stop_by_name () from
/usr/lib/libgtk-1.2.so.0
#10 0x00002aaaab1ef16b in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0
#11 0x00000000008f9f23 in emit_event (canvas=0x1026fb0,
event=0x10c88e0) at gtk-canvas.c:2819
#12 0x00000000008faaaa in gtk_canvas_button (widget=0x1026fb0, event=0x10c88e0)
    at gtk-canvas.c:3037
#13 0x00000000008a8a77 in gtkmm_marshal_INT__POINTER (object=0x1026fb0,
    func=0x8fa88a <gtk_canvas_button>, func_data=0x0,
args=0x7fffffcaf360) at marshal.cc:240
#14 0x00002aaaab1ee272 in gtk_signal_emit_stop_by_name () from
/usr/lib/libgtk-1.2.so.0
#15 0x00002aaaab1ef16b in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0
#16 0x00002aaaab228a9c in gtk_widget_event () from /usr/lib/libgtk-1.2.so.0
#17 0x00002aaaab1bbfc3 in gtk_propagate_event () from /usr/lib/libgtk-1.2.so.0
#18 0x00002aaaab1bc2bf in gtk_main_do_event () from /usr/lib/libgtk-1.2.so.0
#19 0x00002aaaab39d902 in gdk_event_get () from /usr/lib/libgdk-1.2.so.0
#20 0x00002aaaab5d5c82 in g_get_current_time () from /usr/lib/libglib-1.2.so.0
#21 0x00002aaaab5d6896 in g_main_add_poll () from /usr/lib/libglib-1.2.so.0
#22 0x00002aaaab5d69cf in g_main_run () from /usr/lib/libglib-1.2.so.0
#23 0x00002aaaab1bb75e in gtk_main () from /usr/lib/libgtk-1.2.so.0
#24 0x00000000008a70ab in Gtk::Main::run_impl (this=0xd02780) at main.cc:11
#25 0x000000000042d570 in Gtk::Main::run () at main.h:168
#26 0x000000000083c3f9 in Gtkmmext::UI::run (this=0xd04b70,
old_receiver=@0xce5c80)
    at gtk_ui.cc:171
#27 0x000000000060413d in main (argc=1, argv=0x7fffffcafe28) at main.cc:488
(gdb)



More information about the Ardour-Users mailing list