View Issue Details

IDProjectCategoryView StatusLast Update
0001621ardourbugspublic2008-11-21 00:00
Reporternowhiskey Assigned Topaul  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionfixed 
Summary0001621: rc1 still crashing while reconnecting to jack
Descriptionif i try to debug with the 'ulimit -c unlimited' method, after the crash ardour does not write the core file (don't know why, think i am doing right).
but if i start ardour from /gtk2_ardour/ardbd, let him crash and than 'thread apply all bt' i get a backtrace.
to reproduce the bug:
-start new session (all default -sync internal/timemaster)
-hit play (with or without having audio in it)
-stop qjackctl/jackd
-ardour hits the message about disconnecting (sometimes information window, sometimes ardour-log window sometimes both. i don't find the logic of it)
-start jackd again
-reconnect ardour
-ardour crashes
-sometimes i have to do this twice in order to crash ardour.

last week i could not get any backtrace out of it, but just realized that i can again.

might be related to 1565 and 1616

cheers,
doc
Additional Informationbacktrace:

Loading session /home/nowhiskey/Ardour2/034 using snapshot 034 (2)
actually writing state to /home/nowhiskey/Ardour2/034/034.ardour
actually writing state to /home/nowhiskey/Ardour2/034/034.ardour
[New Thread -1255166768 (LWP 6852)]
[New Thread -1255670576 (LWP 6853)]
Loading history from '/home/nowhiskey/Ardour2/034/034.history'.
[Thread -1251447888 (zombie) exited]
JACK tmpdir identified as [/dev/shm/]
SSE2 detected
[New Thread -1251447888 (LWP 6882)]
Can't attach LWP 6882: Die Operation ist nicht erlaubt
(gdb) q
The program is running. Exit anyway? (y or n) n
Not confirmed.
(gdb) thread apply all bt

Thread 6 (Thread -1251447888 (LWP 6882)):
#0 0xb680b9d8 in clone () from /lib/tls/libc.so.6
0000001 0x007d0f00 in ?? ()
#2 0x00000000 in ?? ()

Thread 5 (Thread -1255670576 (LWP 6853)):
#0 0xb6801ef9 in poll () from /lib/tls/libc.so.6
0000001 0xb7dfa74b in ARDOUR::Session::midi_thread_work (this=0x8db8848) at
#libs/ardour/session_midi.cc:1207
#2 0xb7dfacb5 in ARDOUR::Session::_midi_thread_work (arg=0x8db8848) at
#libs/ardour/session_midi.cc:1128
#3 0xb6a4d0bd in start_thread () from /lib/tls/libpthread.so.0
0000004 0xb680b9ee in clone () from /lib/tls/libc.so.6

Thread 4 (Thread -1255166768 (LWP 6852)):
#0 0xb67bed31 in gettimeofday () from /lib/tls/libc.so.6
0000001 0xb7ddbe51 in ARDOUR::Session::butler_thread_work (this=0x8db8848) at
#libs/ardour/session_butler.cc:334
#2 0xb7ddc08b in ARDOUR::Session::_butler_thread_work (arg=0x8db8848) at
#libs/ardour/session_butler.cc:157
#3 0xb6a4d0bd in start_thread () from /lib/tls/libpthread.so.0
0000004 0xb680b9ee in clone () from /lib/tls/libc.so.6

Thread 2 (Thread -1250894640 (LWP 6834)):
#0 0xb6a52b3c in __nanosleep_nocancel () from /lib/tls/libpthread.so.0
0000001 0xb75a6292 in g_usleep () from /usr/share/qt4/lib/libglib-2.0.so.0
#2 0xb6d29a35 in Glib::usleep (microseconds=10000) at
#libs/glibmm2/glibmm/timer.cc:68
#3 0xb7cac67e in ARDOUR::AudioEngine::meter_thread (this=0x8b104d8) at
#libs/ardour/audioengine.cc:412
0000004 0xb7caf380 in sigc::bound_mem_functor0<void,
#ARDOUR::AudioEngine>::operator() (this=0x8a89f7c) at
#libs/sigc++2/sigc++/functors/mem_fun.h:1781
0000005 0xb7caf3a2 in sigc::adaptor_functor<sigc::bound_mem_functor0<void,
#ARDOUR::AudioEngine> >::operator() (this=0x8a89f78)
    at libs/sigc++2/sigc++/adaptors/adaptor_trait.h:251
#6 0xb7caf3ce in sigc::internal::slot_call0<sigc::bound_mem_functor0<void,
ARDOUR::AudioEngine>, void>::call_it (rep=0x8a89f60)
    at libs/sigc++2/sigc++/functors/slot.h:103
#7 0x08364f62 in sigc::slot0<void>::operator() (this=0x8a8bf48) at
libs/sigc++2/sigc++/functors/slot.h:440
0000008 0xb6d4424f in call_thread_entry_slot (data=0x8a8bf48) at
libs/glibmm2/glibmm/thread.cc:43
0000009 0xb75a42cf in g_thread_create_full () from
/usr/share/qt4/lib/libglib-2.0.so.0
0000010 0xb6a4d0bd in start_thread () from /lib/tls/libpthread.so.0
0000011 0xb680b9ee in clone () from /lib/tls/libc.so.6

Thread 1 (Thread -1239259456 (LWP 6806)):
#0 0xb6a4c7d1 in __nptl_create_event () from /lib/tls/libpthread.so.0
0000001 0xb6a4daaa in pthread_create@@GLIBC_2.1 () from /lib/tls/libpthread.so.0
#2 0xb6a678a9 in jack_client_create_thread (client=0x8b105f8,
#thread=0x8b10634, priority=69, realtime=1, start_routine=0xb6a613e0
#<jack_client_thread>, arg=0x8b105f8)
    at thread.c:176
#3 0xb6a60791 in jack_activate (client=0x8b105f8) at client.c:1735
0000004 0xb7caa74b in ARDOUR::AudioEngine::reconnect_to_jack (this=0x8b104d8) at
#libs/ardour/audioengine.cc:1158
0000005 0x08375d07 in ARDOUR_UI::reconnect_to_jack (this=0x8854a48) at
#gtk2_ardour/ardour_ui.cc:2490
#6 0x08387128 in sigc::bound_mem_functor0<void, ARDOUR_UI>::operator()
#(this=0x8cb0e44) at libs/sigc++2/sigc++/functors/mem_fun.h:1781
#7 0x0838713e in sigc::adaptor_functor<sigc::bound_mem_functor0<void,
#ARDOUR_UI> >::operator() (this=0x8cb0e40) at
#libs/sigc++2/sigc++/adaptors/adaptor_trait.h:251
0000008 0x0838715a in sigc::internal::slot_call0<sigc::bound_mem_functor0<void,
#ARDOUR_UI>, void>::call_it (rep=0x8cb0e28) at
#libs/sigc++2/sigc++/functors/slot.h:103
0000009 0x08364f62 in sigc::slot0<void>::operator() (this=0x8cb004c) at
#libs/sigc++2/sigc++/functors/slot.h:440
0000010 0xb6d456d5 in Glib::SignalProxyNormal::slot0_void_callback
#(self=0x8caf408, data=0x8cb0048) at libs/glibmm2/glibmm/signalproxy.cc:95
0000011 0xb760fe1b in g_cclosure_marshal_VOID__VOID () from
#/usr/share/qt4/lib/libgobject-2.0.so.0
0000012 0xb760298b in g_closure_invoke () from
#/usr/share/qt4/lib/libgobject-2.0.so.0
0000013 0xb7613213 in g_signal_chain_from_overridden () from
#/usr/share/qt4/lib/libgobject-2.0.so.0
0000014 0xb7614429 in g_signal_emit_valist () from
#/usr/share/qt4/lib/libgobject-2.0.so.0
#15 0xb76145d9 in g_signal_emit () from
#/usr/share/qt4/lib/libgobject-2.0.so.0
0000016 0xb7256ca3 in _gtk_action_emit_activate () from
#/usr/share/qt4/lib/libgtk-x11-2.0.so.0
#17 0xb7257b38 in gtk_action_activate () from
#/usr/share/qt4/lib/libgtk-x11-2.0.so.0
0000018 0xb760fe1b in g_cclosure_marshal_VOID__VOID () from
#/usr/share/qt4/lib/libgobject-2.0.so.0
0000019 0xb760298b in g_closure_invoke () from
#/usr/share/qt4/lib/libgobject-2.0.so.0
0000020 0xb7612f2d in g_signal_chain_from_overridden () from
#/usr/share/qt4/lib/libgobject-2.0.so.0
0000021 0xb7614429 in g_signal_emit_valist () from
#/usr/share/qt4/lib/libgobject-2.0.so.0
0000022 0xb76145d9 in g_signal_emit () from
#/usr/share/qt4/lib/libgobject-2.0.so.0
0000023 0xb7420042 in gtk_widget_activate () from
#/usr/share/qt4/lib/libgtk-x11-2.0.so.0
#24 0xb733e262 in gtk_menu_shell_activate_item () from
#/usr/share/qt4/lib/libgtk-x11-2.0.so.0
0000025 0xb733f810 in gtk_menu_shell_append () from
#/usr/share/qt4/lib/libgtk-x11-2.0.so.0
0000026 0xb7333d3f in gtk_menu_attach () from
#/usr/share/qt4/lib/libgtk-x11-2.0.so.0
0000027 0xb7332250 in _gtk_marshal_BOOLEAN__BOXED () from
#/usr/share/qt4/lib/libgtk-x11-2.0.so.0
0000028 0xb7600f49 in g_value_set_boxed () from
#/usr/share/qt4/lib/libgobject-2.0.so.0
0000029 0xb760298b in g_closure_invoke () from
#/usr/share/qt4/lib/libgobject-2.0.so.0
0000030 0xb761356f in g_signal_chain_from_overridden () from
#/usr/share/qt4/lib/libgobject-2.0.so.0
0000031 0xb7614208 in g_signal_emit_valist () from
#/usr/share/qt4/lib/libgobject-2.0.so.0
0000032 0xb76145d9 in g_signal_emit () from
#/usr/share/qt4/lib/libgobject-2.0.so.0
0000033 0xb741bf64 in gtk_widget_get_default_style () from
#/usr/share/qt4/lib/libgtk-x11-2.0.so.0
0000034 0xb732bbd3 in gtk_propagate_event () from
#/usr/share/qt4/lib/libgtk-x11-2.0.so.0
0000035 0xb732ce07 in gtk_main_do_event () from
#/usr/share/qt4/lib/libgtk-x11-2.0.so.0
0000036 0xb71c5eea in _gdk_events_init () from
#/usr/share/qt4/lib/libgdk-x11-2.0.so.0
0000037 0xb7586731 in g_main_context_dispatch () from
#/usr/share/qt4/lib/libglib-2.0.so.0
0000038 0xb75897a6 in g_main_context_check () from
#/usr/share/qt4/lib/libglib-2.0.so.0
0000039 0xb7589b67 in g_main_loop_run () from
#/usr/share/qt4/lib/libglib-2.0.so.0
0000040 0xb732d281 in gtk_main () from /usr/share/qt4/lib/libgtk-x11-2.0.so.0
0000041 0xb7809b49 in Gtk::Main::run_impl (this=0x88579e8) at
#libs/gtkmm2/gtk/gtkmm/main.cc:503
0000042 0xb7809956 in Gtk::Main::run () at libs/gtkmm2/gtk/gtkmm/main.cc:450
0000043 0xb7a8d207 in Gtkmm2ext::UI::run (this=0x8854a48,
#old_receiver=@0x88343c8) at libs/gtkmm2ext/gtk_ui.cc:216
0000044 0x085bbfbd in main (argc=1, argv=0xbfd31ac4) at gtk2_ardour/main.cc:296
Speicherzugriffsfehler
nowhiskey@murija2:~/software/ardour2-nonVST/ardour2/ardour2/gtk2_ardour$
TagsNo tags attached.

Activities

nowhiskey

2007-05-02 13:01

reporter   ~0003870

hi, it seems that with ardour2 i cannot reproduce this anymore.
i just tried several times with internal-sync as well as with jack-sync, but ardour always reconnected to jack smoothly.

cheers,
doc

paul

2007-05-09 04:24

administrator   ~0003897

see notes

Issue History

Date Modified Username Field Change
2007-04-20 23:27 nowhiskey New Issue
2007-05-02 13:01 nowhiskey Note Added: 0003870
2007-05-09 04:24 paul Status new => resolved
2007-05-09 04:24 paul Resolution open => fixed
2007-05-09 04:24 paul Assigned To => paul
2007-05-09 04:24 paul Note Added: 0003897
2008-11-21 00:00 seablade Status resolved => closed