[Ardour-Dev] Ardour3 hangs frequently when editing midi notes

Hans Baier hansfbaier at googlemail.com
Fri Feb 1 22:52:25 PST 2008


Ardour
hangs when I try to create new midi notes with the midi
note creation tool (pencil).

After it hung (endless loop, gui unresponsive)
I interrupted Ardour with Ctrl-C.

Here is the backtrace:
ack at audio-develop:~/src/ardour$
/home/jack/src/ardour/gtk2_ardour/ardbg
/home/jack/src/ardour/gtk2_ardour/ardour-3.0 TestProject/
Excess command line arguments ignored. (TestProject/)
GNU gdb 6.6-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/tls/i686/cmov/libthread_db.so.1".
"/home/jack/src/ardour/gtk2_ardour/ardour-3.0" is not a core dump:
File format not recognized
(gdb) run
Starting program: /home/jack/src/ardour/gtk2_ardour/ardour-3.0
[Thread debugging using libthread_db enabled]
[New Thread -1239836992 (LWP 23909)]
Ardour/GTK 3.0
   (kompiliert mit Version 2918 und GCC Version4.1.3 20070929
(prerelease) (Ubuntu 4.1.2-16ubuntu2))
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.
lade voreingestellte UI-Konfigurationsdatei gtk2_ardour/ardour3_ui_default.conf
lade benutzerdefinierte UI-Konfigurationsdatei
/home/jack/.ardour3/ardour3_ui.conf
Loading ui configuration file gtk2_ardour/ardour3_ui_dark.rc
theme_init() called from internal clearlooks engine
loading system configuration file ./ardour_system.rc
loading user configuration file /home/jack/.ardour3/ardour.rc
ardour: [INFO]: Using SSE optimized routines
[New Thread -1242879088 (LWP 23912)]
[New Thread -1251271792 (LWP 23913)]
ardour: [INFO]: looking for control protocols in
/home/jack/.ardour3/surfaces:/usr/local/lib/ardour3/surfaces
[New Thread -1280439408 (LWP 23914)]
[New Thread -1288832112 (LWP 23915)]
[New Thread -1297224816 (LWP 23916)]
[New Thread -1305617520 (LWP 23917)]
[New Thread -1314010224 (LWP 23918)]
[New Thread -1322402928 (LWP 23919)]
[New Thread -1330795632 (LWP 23920)]
[New Thread -1339188336 (LWP 23921)]
[New Thread -1347581040 (LWP 23922)]
[New Thread -1355973744 (LWP 23923)]
[Thread -1355973744 (LWP 23923) exited]
[Thread -1339188336 (LWP 23921) exited]
[Thread -1347581040 (LWP 23922) exited]
[Thread -1314010224 (LWP 23918) exited]
[Thread -1322402928 (LWP 23919) exited]
[Thread -1305617520 (LWP 23917) exited]
[Thread -1297224816 (LWP 23916) exited]
[Thread -1288832112 (LWP 23915) exited]
[Thread -1280439408 (LWP 23914) exited]
[Thread -1330795632 (LWP 23920) exited]
[New Thread -1330795632 (LWP 23926)]
[New Thread -1297224816 (LWP 23929)]
[New Thread -1280439408 (LWP 23930)]
[New Thread -1288832112 (LWP 23931)]
[New Thread -1305617520 (LWP 23932)]
[New Thread -1314010224 (LWP 23933)]
[New Thread -1322402928 (LWP 23934)]
[New Thread -1339188336 (LWP 23935)]
[New Thread -1347581040 (LWP 23936)]
[New Thread -1355973744 (LWP 23937)]
[Thread -1305617520 (LWP 23932) exited]
[Thread -1288832112 (LWP 23931) exited]
[Thread -1280439408 (LWP 23930) exited]
[Thread -1297224816 (LWP 23929) exited]
[Thread -1330795632 (LWP 23926) exited]
[Thread -1314010224 (LWP 23933) exited]
[Thread -1339188336 (LWP 23935) exited]
[Thread -1347581040 (LWP 23936) exited]
[Thread -1322402928 (LWP 23934) exited]
[Thread -1355973744 (LWP 23937) exited]
Gtk-Message: (for origin information, set GTK_DEBUG): failed to
retrieve property `GtkWidget::cursor-color' of type `GdkColor' from rc
file value "((GString*) 0x8dde1c0)" of type `GString'
[New Thread -1281368912 (LWP 23950)]

(ardour-3.0:23909): Gtk-WARNING **: Refusing to add non-unique action
'About' to action group 'Common'
loading bindings from gtk2_ardour/ardour.bindings

(ardour-3.0:23909): Gtk-WARNING **: DisableAllPlugins: missing action
DisableAllPlugins

(ardour-3.0:23909): Gtk-WARNING **: ABAllPlugins: missing action ABAllPlugins
[New Thread -1282983024 (LWP 23951)]
Loading session /home/jack/src/ardour/TestProject/ using snapshot
TestProject (1)
[New Thread -1286189904 (LWP 23952)]
Midi 1-1.mid loading model
Midi 1-1.mid reloading model 0x9136c90 (0 notes)

(ardour-3.0:23909): Gtk-CRITICAL **: gtk_box_pack_start: assertion
`child->parent == NULL' failed
Loading history from /home/jack/src/ardour/TestProject/TestProject.history
MDS: overwrite_existing_buffers() (does nothing)
cutting in object mode
have regions to cut
Checking whether Amplifier (GAIA) can support 2 inputs
config looks like Amplifier (GAIA) in = 2 out = 1
now applying for Amplifier (GAIA) in = 2 out = 1
PluginWindow shown
send show to 2 children of this plugin UI
        Send show to 0x96802a8
        Send show to 0x969f0c0
!! send done
PluginWindow hidden

MidiBuffer event out of range, 64


Program received signal SIGINT, Interrupt.
[Switching to Thread -1239836992 (LWP 23909)]
0xffffe410 in __kernel_vsyscall ()
(gdb) thread apply all bt

Thread 26 (Thread -1286189904 (LWP 23952)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb66af5e7 in poll () from /lib/tls/i686/cmov/libc.so.6
#2  0xb7e222c4 in ARDOUR::Session::butler_thread_work (this=0x9127c00)
at libs/ardour/session_butler.cc:176
#3  0xb7e23031 in ARDOUR::Session::_butler_thread_work (arg=0x9127c00)
at libs/ardour/session_butler.cc:157
#4  0xb693146b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0xb66b96de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 25 (Thread -1282983024 (LWP 23951)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb66af5e7 in poll () from /lib/tls/i686/cmov/libc.so.6
#2  0xb6cf48f7 in jack_client_core_wait (client=0x8e39800) at client.c:1400
#3  0xb6cf4f2a in jack_thread_wait (client=0x8e39800, status=0) at client.c:1554
#4  0xb6cf5348 in jack_client_thread (arg=0x8e39800) at client.c:1601
#5  0xb6cf91e1 in jack_thread_proxy (varg=0x8af97f8) at thread.c:110
#6  0xb693146b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0xb66b96de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 24 (Thread -1281368912 (LWP 23950)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb69389f6 in ?? () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb744b962 in g_usleep () from /usr/lib/libglib-2.0.so.0
#3  0xb6c01379 in Glib::usleep (microseconds=10000) at
libs/glibmm2/glib/glibmm/timer.cc:68
#4  0xb7ca2ee4 in ARDOUR::AudioEngine::meter_thread (this=0x8dc0028)
at libs/ardour/audioengine.cc:465
#5  0xb7ca5c50 in sigc::bound_mem_functor0<void,
ARDOUR::AudioEngine>::operator() (this=0x8dc0634) at
libs/sigc++2/sigc++/functors/mem_fun.h:1781
#6  0xb7ca5c72 in sigc::adaptor_functor<sigc::bound_mem_functor0<void,
ARDOUR::AudioEngine> >::operator() (this=0x8dc0630) at
libs/sigc++2/sigc++/adaptors/adaptor_trait.h:251
#7  0xb7ca5c9e in
sigc::internal::slot_call0<sigc::bound_mem_functor0<void,
ARDOUR::AudioEngine>, void>::call_it (rep=0x8dc0618) at
libs/sigc++2/sigc++/functors/slot.h:103
#8  0x083c121c in sigc::slot0<void>::operator() (this=0x8e383f0) at
libs/sigc++2/sigc++/functors/slot.h:440
#9  0xb6c1f557 in call_thread_entry_slot (data=0x8e383f0) at
libs/glibmm2/glib/glibmm/thread.cc:46
#10 0xb74495af in ?? () from /usr/lib/libglib-2.0.so.0
#11 0x08e383f0 in ?? ()
#12 0x08de2578 in ?? ()
#13 0x00000000 in ?? ()

Thread 3 (Thread -1251271792 (LWP 23913)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb6935676 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib/tls/i686/cmov/libpthread.so.0
#2  0xb6c1eaf9 in Glib::Cond::wait (this=0x8b8af30, mutex=@0xb7f46c74)
at libs/glibmm2/glib/glibmm/thread.cc:367
#3  0xb7e7e06f in peak_thread_work () at libs/ardour/source_factory.cc:57
#4  0x086fa34b in sigc::pointer_functor0<void>::operator()
(this=0x8b98274) at libs/sigc++2/sigc++/functors/ptr_fun.h:77
#5  0x086fa362 in sigc::adaptor_functor<sigc::pointer_functor0<void>
>::operator() (this=0x8b98270) at
libs/sigc++2/sigc++/adaptors/adaptor_trait.h:251
#6  0x086fa37e in
sigc::internal::slot_call0<sigc::pointer_functor0<void>,
void>::call_it (rep=0x8b98258) at
libs/sigc++2/sigc++/functors/slot.h:103
#7  0x083c121c in sigc::slot0<void>::operator() (this=0x8b96298) at
libs/sigc++2/sigc++/functors/slot.h:440
#8  0xb6c1f557 in call_thread_entry_slot (data=0x8b96298) at
libs/glibmm2/glib/glibmm/thread.cc:46
---Type <return> to continue, or q <return> to quit---[6
#9  0xb74495af in ?? () from /usr/lib/libglib-2.0.so.0
#10 0x08b96298 in ?? ()
#11 0x08b8ae58 in ?? ()
#12 0x00000000 in ?? ()

Thread 2 (Thread -1242879088 (LWP 23912)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb6935676 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib/tls/i686/cmov/libpthread.so.0
#2  0xb6c1eaf9 in Glib::Cond::wait (this=0x8b8af30, mutex=@0xb7f46c74)
at libs/glibmm2/glib/glibmm/thread.cc:367
#3  0xb7e7e06f in peak_thread_work () at libs/ardour/source_factory.cc:57
#4  0x086fa34b in sigc::pointer_functor0<void>::operator()
(this=0x8b981c4) at libs/sigc++2/sigc++/functors/ptr_fun.h:77
#5  0x086fa362 in sigc::adaptor_functor<sigc::pointer_functor0<void>
>::operator() (this=0x8b981c0) at
libs/sigc++2/sigc++/adaptors/adaptor_trait.h:251
#6  0x086fa37e in
sigc::internal::slot_call0<sigc::pointer_functor0<void>,
void>::call_it (rep=0x8b981a8) at
libs/sigc++2/sigc++/functors/slot.h:103
#7  0x083c121c in sigc::slot0<void>::operator() (this=0x8b96330) at
libs/sigc++2/sigc++/functors/slot.h:440
#8  0xb6c1f557 in call_thread_entry_slot (data=0x8b96330) at
libs/glibmm2/glib/glibmm/thread.cc:46
#9  0xb74495af in ?? () from /usr/lib/libglib-2.0.so.0
#10 0x08b96330 in ?? ()
#11 0x08b982a8 in ?? ()
#12 0xb692c000 in ?? ()
#13 0x00015084 in ?? ()
#14 0xb65eda6c in ?? () from /lib/tls/i686/cmov/libc.so.6
#15 0xb6940ff4 in ?? () from /lib/tls/i686/cmov/libpthread.so.0
#16 0xb6933530 in ?? () from /lib/tls/i686/cmov/libpthread.so.0
#17 0xb6940ff4 in ?? () from /lib/tls/i686/cmov/libpthread.so.0
#18 0x00000000 in ?? ()

Thread 1 (Thread -1239836992 (LWP 23909)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb6935676 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib/tls/i686/cmov/libpthread.so.0
#2  0xb744a587 in g_static_rw_lock_writer_lock () from /usr/lib/libglib-2.0.so.0
#3  0xb6c1f0e3 in Glib::StaticRWLock::writer_lock (this=0xb310248c) at
libs/glibmm2/glib/glibmm/thread.cc:301
#4  0xb7d6cfd8 in ARDOUR::MidiModel::write_lock (this=0xb3102400) at
libs/ardour/ardour/midi_model.h:57
#5  0xb7d65a30 in ARDOUR::MidiModel::DeltaCommand::operator()
(this=0x9629c48) at libs/ardour/midi_model.cc:560
#6  0xb7d638ff in ARDOUR::MidiModel::apply_command (this=0xb3102400,
cmd=0x9629c48) at libs/ardour/midi_model.cc:515
#7  0x0849d77f in MidiRegionView::apply_command (this=0x94ec0b0) at
gtk2_ardour/midi_region_view.h:124
#8  0x087160ba in MidiRegionView::note_dropped (this=0x94ec0b0,
ev=0x8e279f0, dt=-353, dnote=21 '\025') at
gtk2_ardour/midi_region_view.cc:778
#9  0x0849d393 in Gnome::Canvas::CanvasMidiEvent::on_event
(this=0x8e279f0, ev=0x96a3a38) at gtk2_ardour/canvas-midi-event.cc:205
#10 0x0871d219 in Gnome::Canvas::CanvasNote::on_event (this=0x8e279e8,
ev=0x96a3a38) at gtk2_ardour/canvas-note.h:50
#11 0xb6d3ed15 in Gnome::Canvas::Item_Class::event_callback
(self=0x9474d10, p0=0x96a3a38) at
libs/libgnomecanvasmm/libgnomecanvasmm/item.cc:603
#12 0xb73ecc10 in gnome_canvas_marshal_BOOLEAN__BOXED () from
/usr/lib/libgnomecanvas-2.so.0
#13 0xb74d3f89 in ?? () from /usr/lib/libgobject-2.0.so.0
#14 0x08e490c8 in ?? ()
#15 0xbfd078a0 in ?? ()
#16 0x00000002 in ?? ()
#17 0xbfd0788c in ?? ()
---Type <return> to continue, or q <return> to quit---
#18 0xb6d3ec66 in Gnome::Canvas::Item_Class::wrap_new (o=0x0) at
libs/libgnomecanvasmm/libgnomecanvasmm/item.cc:630
#19 0x09474d10 in ?? ()
#20 0x00000000 in ?? ()



More information about the Ardour-Dev mailing list