[ardour-dev] v0.99 crashes when dragging a region with right mouse button

Christophe Combelles ccomb at free.fr
Sat Oct 1 04:56:48 PDT 2005


It happens much more sooner in debug mode! I just had to drag 3 times to get this bt.
And I also noticed the crash is much easier to reproduce when dragging inside the same track (horizontally)

-----------------------------------------------------------
$ gdb ardour
GNU gdb 6.3-debian
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-linux"...Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so .1".

(gdb) r
Starting program: /usr/bin/ardour
[Thread debugging using libthread_db enabled]
[New Thread -1217503104 (LWP 7760)]
[New Thread -1219740752 (LWP 7763)]
Ardour/GTK 0.99
   (built using 0.604.3 with libardour 0.901.2 and GCC version 3.3.5 (Debian 1:3.3.5-13))
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/touf/.ardour/ardour.rc
ardour: [ERROR]: MIDI: no such port device
ardour: [ERROR]: MIDI: no such port device
ardour: [ERROR]: MIDI: no such port device
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 rather than Mod2
ardour: [ERROR]: KeyboardTarget: unknown action "toggle-recorder-window"
[New Thread -1234089040 (LWP 7764)]
[New Thread -1242702928 (LWP 7765)]
Loading session /mnt/dadafkas/touf/Musique/___TESTS MUSIQUE/alex tests using snapshot alex tests
[New Thread -1252160592 (LWP 7776)]
[New Thread -1260553296 (LWP 7777)]
[New Thread -1269478480 (LWP 7778)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1217503104 (LWP 7760)]
0xb7e77e83 in gtk_widget_set_sensitive () from /usr/lib/libgtk-1.2.so.0
(gdb) k
Kill the program being debugged? (y or n) y
(gdb) r
Starting program: /usr/bin/ardour
[Thread debugging using libthread_db enabled]
[New Thread -1217503104 (LWP 7779)]
[New Thread -1219740752 (LWP 7780)]
Ardour/GTK 0.99
   (built using 0.604.3 with libardour 0.901.2 and GCC version 3.3.5 (Debian 1:3.3.5-13))
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/touf/.ardour/ardour.rc
ardour: [ERROR]: MIDI: no such port device
ardour: [ERROR]: MIDI: no such port device
ardour: [ERROR]: MIDI: no such port device
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 rather than Mod2
ardour: [ERROR]: KeyboardTarget: unknown action "toggle-recorder-window"
[New Thread -1234089040 (LWP 7781)]
[New Thread -1242702928 (LWP 7782)]
Loading session /mnt/dadafkas/touf/Musique/___TESTS MUSIQUE/alex tests using snapshot alex tests
[New Thread -1252160592 (LWP 7783)]
[New Thread -1260553296 (LWP 7784)]
[New Thread -1269478480 (LWP 7785)]

Gtk-CRITICAL **: file gtkwidget.c: line 3310 (gtk_widget_set_sensitive): assertion `widget != NULL' failed.

Gtk-CRITICAL **: file gtkwidget.c: line 3311 (gtk_widget_set_sensitive): assertion `GTK_IS_WIDGET (widget)' f ailed.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1217503104 (LWP 7779)]
0xb7e77e83 in gtk_widget_set_sensitive () from /usr/lib/libgtk-1.2.so.0
(gdb) thread apply all bt

Thread 7 (Thread -1269478480 (LWP 7785)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb77b71fd in poll () from /lib/tls/i686/cmov/libc.so.6
#2  0x084176ce in ARDOUR::Session::feedback_thread_work (this=0x8a24620)
    at libs/ardour/session_feedback.cc:137
#3  0x084175a5 in ARDOUR::Session::_feedback_thread_work (arg=0x8a24620)
    at libs/ardour/session_feedback.cc:112
#4  0xb7b0dca3 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0xb77bff5a in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 6 (Thread -1260553296 (LWP 7784)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb77b71fd in poll () from /lib/tls/i686/cmov/libc.so.6
#2  0x0841c4c1 in ARDOUR::Session::midi_thread_work (this=0x8a24620) at libs/ardour/session_midi.cc:1336
#3  0x0841c05b in ARDOUR::Session::_midi_thread_work (arg=0x8a24620) at libs/ardour/session_midi.cc:1257
#4  0xb7b0dca3 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0xb77bff5a in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 5 (Thread -1252160592 (LWP 7783)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb77b71fd in poll () from /lib/tls/i686/cmov/libc.so.6
#2  0x0840fcbf in ARDOUR::Session::butler_thread_work (this=0x8a24620) at libs/ardour/session_butler.cc:183
#3  0x0840fc1c in ARDOUR::Session::_butler_thread_work (arg=0x8a24620) at libs/ardour/session_butler.cc:158
#4  0xb7b0dca3 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0xb77bff5a in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 4 (Thread -1242702928 (LWP 7782)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb77b71fd in poll () from /lib/tls/i686/cmov/libc.so.6
#2  0xb78e62f1 in jack_stop_freewheel () from /usr/lib/libjack-0.80.0.so.0
#3  0xb7b0dca3 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#4  0xb77bff5a in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 3 (Thread -1234089040 (LWP 7781)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb77b71fd in poll () from /lib/tls/i686/cmov/libc.so.6
#2  0x0844cc1c in ARDOUR::Source::peak_thread_work (arg=0x0) at libs/ardour/source.cc:161
#3  0xb7b0dca3 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#4  0xb77bff5a in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread -1219740752 (LWP 7780)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7b13cf4 in do_sigwait () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb7b13c7c in sigwait () from /lib/tls/i686/cmov/libpthread.so.0
#3  0x0823efbe in signal_thread (arg=0x0) at gtk_ardour/main.cc:156
#4  0xb7b0dca3 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0xb77bff5a in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread -1217503104 (LWP 7779)):
#0  0xb7e77e83 in gtk_widget_set_sensitive () from /usr/lib/libgtk-1.2.so.0
#1  0x084f1a8b in Gtk::Widget::set_sensitive (this=0x8c26648, sensitive=false)
    at libs/gtkmm/src/gtk--/widget.cc:382
#2  0x0812916f in Editor::popup_track_context_menu (this=0x89483d0, button=1, time=5109777,
    item_type=RegionItem, with_selection=false, frame=689179) at gtk_ardour/editor.cc:2067
#3  0x08178197 in Editor::button_release_handler (this=0x89483d0, item=0x8b1f3a8, event=0xbffff240,
    item_type=RegionItem) at gtk_ardour/editor_mouse.cc:859
#4  0x0815731e in Editor::canvas_region_view_event (this=0x89483d0, item=0x8b1f3a8, event=0xbffff240,
    rv=0x8bf3cb8) at gtk_ardour/editor_canvas_events.cc:378
#5  0x08156916 in Editor::_canvas_region_view_event (this=0x89483d0, item=0x8b1f3a8, event=0xbffff240,
    data=0x8bf3cb8) at gtk_ardour/editor_canvas_events.cc:100
#6  0x082c379f in PublicEditor::canvas_region_view_event (item=0x8b1f3a8, event=0xbffff240, data=0x8bf3cb8)
    at gtk_ardour/public_editor.cc:38
#7  0x08512cdb in gtk_canvas_item_marshal_signal_1 (object=0x8b1f3a8,
    func=0x82c376e <PublicEditor::canvas_region_view_event(_GtkCanvasItem*, _GdkEvent*, void*)>,
    func_data=0x8bf3cb8, args=0xbfffef50) at libs/gtk-canvas/gtk-canvas.c:542
#8  0xb7e386d5 in gtk_signal_remove_emission_hook () from /usr/lib/libgtk-1.2.so.0
#9  0xb7e3798b in gtk_signal_set_funcs () from /usr/lib/libgtk-1.2.so.0
#10 0xb7e35134 in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0
#11 0x08517e4d in emit_event (canvas=0x8989e28, event=0x89ff520) at libs/gtk-canvas/gtk-canvas.c:2819
#12 0x0851865e in gtk_canvas_button (widget=0x8989e28, event=0x89ff520) at libs/gtk-canvas/gtk-canvas.c:3037
#13 0x084ce40d in gtkmm_marshal_INT__POINTER (object=0x8989e28, func=0x851842b <gtk_canvas_button>,
    func_data=0x0, args=0xbffff3c0) at libs/gtkmm/src/gtk--/marshal.cc:240
#14 0xb7e377ba in gtk_signal_set_funcs () from /usr/lib/libgtk-1.2.so.0
#15 0xb7e35134 in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0
#16 0xb7e76748 in gtk_widget_event () from /usr/lib/libgtk-1.2.so.0
#17 0xb7dffa0f in gtk_propagate_event () from /usr/lib/libgtk-1.2.so.0
#18 0xb7dfe7d4 in gtk_main_do_event () from /usr/lib/libgtk-1.2.so.0
#19 0xb7d3efd5 in gdk_wm_protocols_filter () from /usr/lib/libgdk-1.2.so.0
#20 0x089ff520 in ?? ()
#21 0x00000000 in ?? ()
#22 0xbffff738 in ?? ()
#23 0xb7d19522 in g_slist_free_1 () from /usr/lib/libglib-1.2.so.0
#24 0xb7d1103d in g_get_current_time () from /usr/lib/libglib-1.2.so.0
#25 0xb7d114f4 in g_get_current_time () from /usr/lib/libglib-1.2.so.0
#26 0xb7d11724 in g_main_run () from /usr/lib/libglib-1.2.so.0
#27 0xb7dfe25f in gtk_main () from /usr/lib/libgtk-1.2.so.0
#28 0x084ccb4f in Gtk::Main::run_impl (this=0x870e2d0) at libs/gtkmm/src/gtk--/main.cc:11
#29 0x0806f7e6 in Gtk::Main::run () at main.h:168
#30 0x0846a4b9 in Gtkmmext::UI::run (this=0x870f950, old_receiver=@0x86da7a0) at libs/gtkmmext/gtk_ui.cc:171
#31 0x08240f01 in main (argc=1, argv=0xbffffa14) at gtk_ardour/main.cc:488
#32 0xb76fd970 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
#33 0x08062a11 in _start () at ../sysdeps/i386/elf/start.S:102
(gdb)





More information about the Ardour-Dev mailing list