View Issue Details

IDProjectCategoryView StatusLast Update
0001871ardourbugspublic2008-11-21 00:04
Reporternowhiskey Assigned Topaul  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionfixed 
Product Version2.0 
Summary0001871: crash while dubble-clicking on a file name in the import dialog
Descriptionto reproduce:

-open new session
-open a import dialog
-navigate to the dir. containing audio
-leave the import setting as default or change sth, no matter
-dubble click on a file name
-crash.


here is the backtrace:

nowhiskey@murija2:~/software/ardour2/2.0-ongoing/gtk2_ardour$ ./ardbg
GNU gdb 6.4.90-debian
Copyright (C) 2006 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 "i486-linux-gnu"...Using host libthread_db
library "/lib/libthread_db.so.1".

(gdb) run /home/nowhiskey/core.6990
Starting program:
/home/nowhiskey/software/ardour2/2.0-ongoing/gtk2_ardour/ardour-2.0.5
/home/nowhiskey/core.6990
Failed to read a valid object file image from memory.
[Thread debugging using libthread_db enabled]
[New Thread -1237202448 (LWP 7041)]
Ardour/GTK 2.0.5
   (kompiliert mit Version 2234 und GCC Version4.2.1 (Debian 4.2.1-3))
Copyright (C) 1999-2007 Paul Davis
Einige Teile Copyright (C) Steve Harris, Ari Johnson, Brett Viren, Joel
Baker

Ardour wird Ihnen ohne jegliche GewÃ#hrleistung und ausdrÃ#cklich ohne die
Zusicherung
fÃ#r allgemeine oder spezielle Gebrauchstauglichkeit zur VerfÃ#gung
gestellt.
Dies ist freie Software und Sie dÃ#rfen sie gerne weiterverbreiten,
solange Sie sich an die Bedingungen, die in der Datei COPYING aufgefÃ#hrt
sind halten.
theme_init() called from internal clearlooks engine
loading default ui configuration file gtk2_ardour/ardour2_ui_default.conf
Configuration::pack_canvasvars () called, canvas_colors.size() = 82
ardour: [INFO]: Loading ui configuration file gtk2_ardour/ardour2_ui_dark.rc
lade System-Konfigurationsdatei /usr/local/etc/ardour2/ardour_system.rc
lade Benutzer-Konfigurationsdatei /home/nowhiskey/.ardour2/ardour.rc
ardour: [INFO]: Using SSE optimized routines
[New Thread -1238774896 (LWP 7048)]
[New Thread -1247163504 (LWP 7049)]
ardour: [INFO]: suche nach Controller-Protokollen in
/home/nowhiskey/.ardour2/surfaces/:/usr/local/lib/ardour2/surfaces/
ardour: [INFO]: Controller-Protokoll gefunden: "Generic MIDI"
ardour: [INFO]: Controller-Protokoll Tranzport ist nicht nutzbar
ardour: [INFO]: Controller-Protokoll gefunden: "Mackie"
Unable to open "/dev/input/event0": Keine Berechtigung
Unable to open "/dev/input/event1": Keine Berechtigung
Unable to open "/dev/input/event2": Keine Berechtigung
Unable to open "/dev/input/event3": Keine Berechtigung
Unable to open "/dev/input/event4": Datei oder Verzeichnis nicht gefunden
Unable to open "/dev/input/event5": Datei oder Verzeichnis nicht gefunden
Unable to open "/dev/input/event6": Datei oder Verzeichnis nicht gefunden
Unable to open "/dev/input/event7": Datei oder Verzeichnis nicht gefunden
Unable to open "/dev/input/event8": Datei oder Verzeichnis nicht gefunden
Unable to open "/dev/input/event9": Datei oder Verzeichnis nicht gefunden
Unable to open "/dev/input/event10": Datei oder Verzeichnis nicht gefunden
Unable to open "/dev/input/event11": Datei oder Verzeichnis nicht gefunden
Unable to open "/dev/input/event12": Datei oder Verzeichnis nicht gefunden
Unable to open "/dev/input/event13": Datei oder Verzeichnis nicht gefunden
Unable to open "/dev/input/event14": Datei oder Verzeichnis nicht gefunden
Unable to open "/dev/input/event15": Datei oder Verzeichnis nicht gefunden
powermate: Opening of powermate failed - Datei oder Verzeichnis nicht
gefunden
ardour: [INFO]: Controller-Protokoll powermate ist nicht nutzbar
Gtk-Message: (for origin information, set GTK_DEBUG): failed to retrieve
property `GtkWidget::cursor-color' of type `GdkColor' from rc file value
"((GString*) 0x8992ad0)" of type `GString'

.....

at this place a log window gets open with the content:

[ERROR]: Die Datei /home/nowhiskey/core.6990 ist kein Ardour-Schnappschuss
[ERROR]: Konnte das per Kommandozeile übergebene Projekt nicht laden: "/home/nowhiskey/core.6990"

and i have to click 'close' first and than 'ctrl+c' in the console for gdb to continue, and than finally:

Program received signal SIGINT, Interrupt.
[Switching to Thread -1237202448 (LWP 7041)]
0xb68ee45d in poll () from /lib/libc.so.6
(gdb) thread apply all bt

Thread 3 (Thread -1247163504 (LWP 7049)):
#0 0xb6a6c451 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib/libpthread.so.0
0000001 0xb6d7045d in Glib::Cond::wait (this=0x89fb8a8, mutex=@0xb7f86b6c) at
#libs/glibmm2/glibmm/thread.cc:362
#2 0xb7efa15d in peak_thread_work () at libs/ardour/source_factory.cc:59
#3 0x086981d3 in sigc::pointer_functor0<void>::operator() (this=0x8a073bc)
#at libs/sigc++2/sigc++/functors/ptr_fun.h:77
0000004 0x086981ea in sigc::adaptor_functor<sigc::pointer_functor0<void>
#>::operator() (this=0x8a073b8) at
#>libs/sigc++2/sigc++/adaptors/adaptor_trait.h:251
0000005 0x08698206 in sigc::internal::slot_call0<sigc::pointer_functor0<void>,
#void>::call_it (rep=0x8a073a0) at libs/sigc++2/sigc++/functors/slot.h:103
#6 0x083971bc in sigc::slot0<void>::operator() (this=0x8a07390) at
#libs/sigc++2/sigc++/functors/slot.h:440
#7 0xb6d70ff1 in call_thread_entry_slot (data=0x8a07390) at
#libs/glibmm2/glibmm/thread.cc:43
0000008 0xb76190af in g_thread_create_full () from
#/usr/share/qt4/lib/libglib-2.0.so.0
0000009 0xb6a682d3 in start_thread () from /lib/libpthread.so.0
0000010 0xb68f82fe in clone () from /lib/libc.so.6

Thread 2 (Thread -1238774896 (LWP 7048)):
#0 0xb6a6c451 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib/libpthread.so.0
0000001 0xb6d7045d in Glib::Cond::wait (this=0x89fb8a8, mutex=@0xb7f86b6c) at
#libs/glibmm2/glibmm/thread.cc:362
#2 0xb7efa15d in peak_thread_work () at libs/ardour/source_factory.cc:59
#3 0x086981d3 in sigc::pointer_functor0<void>::operator() (this=0x8a072c4)
#at libs/sigc++2/sigc++/functors/ptr_fun.h:77
0000004 0x086981ea in sigc::adaptor_functor<sigc::pointer_functor0<void>
#>::operator() (this=0x8a072c0) at
#>libs/sigc++2/sigc++/adaptors/adaptor_trait.h:251
0000005 0x08698206 in sigc::internal::slot_call0<sigc::pointer_functor0<void>,
#void>::call_it (rep=0x8a072a8) at libs/sigc++2/sigc++/functors/slot.h:103
#6 0x083971bc in sigc::slot0<void>::operator() (this=0x8a07298) at
#libs/sigc++2/sigc++/functors/slot.h:440
#7 0xb6d70ff1 in call_thread_entry_slot (data=0x8a07298) at
#libs/glibmm2/glibmm/thread.cc:43
0000008 0xb76190af in g_thread_create_full () from
#/usr/share/qt4/lib/libglib-2.0.so.0
0000009 0xb6a682d3 in start_thread () from /lib/libpthread.so.0
0000010 0xb68f82fe in clone () from /lib/libc.so.6

Thread 1 (Thread -1237202448 (LWP 7041)):
#0 0xb68ee45d in poll () from /lib/libc.so.6
0000001 0xb75f91d3 in g_main_context_check () from
#/usr/share/qt4/lib/libglib-2.0.so.0
#2 0xb75f9549 in g_main_loop_run () from
#/usr/share/qt4/lib/libglib-2.0.so.0
#3 0xb733b654 in gtk_main () from /usr/share/qt4/lib/libgtk-x11-2.0.so.0
0000004 0xb78b596f in Gtk::Main::run_impl (this=0x888fd98) at
#libs/gtkmm2/gtk/gtkmm/main.cc:503
0000005 0xb78b5664 in Gtk::Main::run () at libs/gtkmm2/gtk/gtkmm/main.cc:450
#6 0xb7b43bc1 in Gtkmm2ext::UI::run (this=0x888cb98,
#old_receiver=@0x886c8b0) at libs/gtkmm2ext/gtk_ui.cc:222
#7 0x086008f7 in main (argc=2, argv=0xbfd0c1a4) at gtk2_ardour/main.cc:266
(gdb)


cheers,
doc
TagsNo tags attached.

Activities

nowhiskey

2007-09-16 12:22

reporter   ~0004371

sorry, i forgot to mention that this is a report on rev2467-ongoing.

nowhiskey

2007-09-17 11:17

reporter   ~0004372

i am able to reproduce this crash by just opening the import dialog, marking an audio file and than clicking the 'play' button.

here is the backtrace, which is little different:

Thread 3 (Thread -1247446128 (LWP 4126)):
#0 0xb6a27451 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib/libpthread.so.0
0000001 0xb6d2b45d in Glib::Cond::wait (this=0x89fb8a8, mutex=@0xb7f41b6c) at
#libs/glibmm2/glibmm/thread.cc:362
#2 0xb7eb515d in peak_thread_work () at libs/ardour/source_factory.cc:59
#3 0x086981d3 in sigc::pointer_functor0<void>::operator() (this=0x8a073bc)
#at libs/sigc++2/sigc++/functors/ptr_fun.h:77
0000004 0x086981ea in sigc::adaptor_functor<sigc::pointer_functor0<void>
#>::operator() (this=0x8a073b8) at
#>libs/sigc++2/sigc++/adaptors/adaptor_trait.h:251
0000005 0x08698206 in sigc::internal::slot_call0<sigc::pointer_functor0<void>,
#void>::call_it (rep=0x8a073a0) at libs/sigc++2/sigc++/functors/slot.h:103
#6 0x083971bc in sigc::slot0<void>::operator() (this=0x8a07390) at
#libs/sigc++2/sigc++/functors/slot.h:440
#7 0xb6d2bff1 in call_thread_entry_slot (data=0x8a07390) at
#libs/glibmm2/glibmm/thread.cc:43
0000008 0xb75d40af in g_thread_create_full () from
#/usr/share/qt4/lib/libglib-2.0.so.0
0000009 0xb6a232d3 in start_thread () from /lib/libpthread.so.0
0000010 0xb68b32fe in clone () from /lib/libc.so.6

Thread 2 (Thread -1239057520 (LWP 4125)):
#0 0xb6a27451 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib/libpthread.so.0
0000001 0xb6d2b45d in Glib::Cond::wait (this=0x89fb8a8, mutex=@0xb7f41b6c) at
#libs/glibmm2/glibmm/thread.cc:362
#2 0xb7eb515d in peak_thread_work () at libs/ardour/source_factory.cc:59
#3 0x086981d3 in sigc::pointer_functor0<void>::operator() (this=0x8a072c4)
#at libs/sigc++2/sigc++/functors/ptr_fun.h:77
0000004 0x086981ea in sigc::adaptor_functor<sigc::pointer_functor0<void>
#>::operator() (this=0x8a072c0) at
#>libs/sigc++2/sigc++/adaptors/adaptor_trait.h:251
0000005 0x08698206 in sigc::internal::slot_call0<sigc::pointer_functor0<void>,
#void>::call_it (rep=0x8a072a8) at libs/sigc++2/sigc++/functors/slot.h:103
#6 0x083971bc in sigc::slot0<void>::operator() (this=0x8a07298) at
#libs/sigc++2/sigc++/functors/slot.h:440
#7 0xb6d2bff1 in call_thread_entry_slot (data=0x8a07298) at
#libs/glibmm2/glibmm/thread.cc:43
0000008 0xb75d40af in g_thread_create_full () from
#/usr/share/qt4/lib/libglib-2.0.so.0
0000009 0xb6a232d3 in start_thread () from /lib/libpthread.so.0
0000010 0xb68b32fe in clone () from /lib/libc.so.6

Thread 1 (Thread -1237485072 (LWP 4122)):
#0 0xb68a945d in poll () from /lib/libc.so.6
0000001 0xb75b41d3 in g_main_context_check () from
#/usr/share/qt4/lib/libglib-2.0.so.0
#2 0xb75b4549 in g_main_loop_run () from
#/usr/share/qt4/lib/libglib-2.0.so.0
#3 0xb72f6654 in gtk_main () from /usr/share/qt4/lib/libgtk-x11-2.0.so.0
0000004 0xb787096f in Gtk::Main::run_impl (this=0x888fd98) at
#libs/gtkmm2/gtk/gtkmm/main.cc:503
0000005 0xb7870664 in Gtk::Main::run () at libs/gtkmm2/gtk/gtkmm/main.cc:450
#6 0xb7afebc1 in Gtkmm2ext::UI::run (this=0x888cb98,
#old_receiver=@0x886c8b0) at libs/gtkmm2ext/gtk_ui.cc:222
#7 0x086008f7 in main (argc=2, argv=0xbff53994) at gtk2_ardour/main.cc:266
..........

another way for reproducing this is by activating 'auto play' and than clicking at the audio file.
backtrace:



backtrace:

Thread 3 (Thread -1247782000 (LWP 4174)):
#0 0xb69d5451 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
0000001 0xb6cd945d in Glib::Cond::wait (this=0x89fb8a8, mutex=@0xb7eefb6c) at libs/glibmm2/glibmm/thread.cc:362
#2 0xb7e6315d in peak_thread_work () at libs/ardour/source_factory.cc:59
#3 0x086981d3 in sigc::pointer_functor0<void>::operator() (this=0x8a073bc) at libs/sigc++2/sigc++/functors/ptr_fun.h:77
0000004 0x086981ea in sigc::adaptor_functor<sigc::pointer_functor0<void> >::operator() (this=0x8a073b8) at libs/sigc++2/sigc++/adaptors/adaptor_trait.h:251
0000005 0x08698206 in sigc::internal::slot_call0<sigc::pointer_functor0<void>, void>::call_it (rep=0x8a073a0) at libs/sigc++2/sigc++/functors/slot.h:103
#6 0x083971bc in sigc::slot0<void>::operator() (this=0x8a07390) at libs/sigc++2/sigc++/functors/slot.h:440
#7 0xb6cd9ff1 in call_thread_entry_slot (data=0x8a07390) at libs/glibmm2/glibmm/thread.cc:43
0000008 0xb75820af in g_thread_create_full () from /usr/share/qt4/lib/libglib-2.0.so.0
0000009 0xb69d12d3 in start_thread () from /lib/libpthread.so.0
0000010 0xb68612fe in clone () from /lib/libc.so.6

Thread 2 (Thread -1239393392 (LWP 4173)):
#0 0xb69d5451 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
0000001 0xb6cd945d in Glib::Cond::wait (this=0x89fb8a8, mutex=@0xb7eefb6c) at libs/glibmm2/glibmm/thread.cc:362
#2 0xb7e6315d in peak_thread_work () at libs/ardour/source_factory.cc:59
#3 0x086981d3 in sigc::pointer_functor0<void>::operator() (this=0x8a072c4) at libs/sigc++2/sigc++/functors/ptr_fun.h:77
0000004 0x086981ea in sigc::adaptor_functor<sigc::pointer_functor0<void> >::operator() (this=0x8a072c0) at libs/sigc++2/sigc++/adaptors/adaptor_trait.h:251
0000005 0x08698206 in sigc::internal::slot_call0<sigc::pointer_functor0<void>, void>::call_it (rep=0x8a072a8) at libs/sigc++2/sigc++/functors/slot.h:103
#6 0x083971bc in sigc::slot0<void>::operator() (this=0x8a07298) at libs/sigc++2/sigc++/functors/slot.h:440
#7 0xb6cd9ff1 in call_thread_entry_slot (data=0x8a07298) at libs/glibmm2/glibmm/thread.cc:43
0000008 0xb75820af in g_thread_create_full () from /usr/share/qt4/lib/libglib-2.0.so.0
0000009 0xb69d12d3 in start_thread () from /lib/libpthread.so.0
0000010 0xb68612fe in clone () from /lib/libc.so.6

Thread 1 (Thread -1237820944 (LWP 4169)):
#0 0xb685745d in poll () from /lib/libc.so.6
0000001 0xb75621d3 in g_main_context_check () from /usr/share/qt4/lib/libglib-2.0.so.0
#2 0xb7562549 in g_main_loop_run () from /usr/share/qt4/lib/libglib-2.0.so.0
#3 0xb72a4654 in gtk_main () from /usr/share/qt4/lib/libgtk-x11-2.0.so.0
0000004 0xb781e96f in Gtk::Main::run_impl (this=0x888fd98) at libs/gtkmm2/gtk/gtkmm/main.cc:503
0000005 0xb781e664 in Gtk::Main::run () at libs/gtkmm2/gtk/gtkmm/main.cc:450
#6 0xb7aacbc1 in Gtkmm2ext::UI::run (this=0x888cb98, old_receiver=@0x886c8b0) at libs/gtkmm2ext/gtk_ui.cc:222
#7 0x086008f7 in main (argc=2, argv=0xbf9b06a4) at gtk2_ardour/main.cc:266


cheers,
doc

paul

2007-09-17 15:14

administrator   ~0004373

fixed in svn.

paul forgot about pointer ownership issues with thread-private buffers.

Issue History

Date Modified Username Field Change
2007-09-16 12:16 nowhiskey New Issue
2007-09-16 12:22 nowhiskey Note Added: 0004371
2007-09-17 11:17 nowhiskey Note Added: 0004372
2007-09-17 15:14 paul Status new => resolved
2007-09-17 15:14 paul Resolution open => fixed
2007-09-17 15:14 paul Assigned To => paul
2007-09-17 15:14 paul Note Added: 0004373
2008-11-21 00:04 seablade Status resolved => closed