View Issue Details

IDProjectCategoryView StatusLast Update
0001442ardourbugspublic2008-11-21 00:04
Reporterdrf Assigned Topaul  
PrioritynormalSeveritycrashReproducibilitysometimes
Status closedResolutionfixed 
Summary0001442: Ardour crashes when pressing stop button
DescriptionUsing Jack and qjackctl, I made Ardour playing a single track while I was playing a bit around jack. When I found the right configuration, I went back to Ardour and pressed the stop button... and it crashed.

Output from Jack:

**** alsa_pcm: xrun of at least 6.923 msecs
 subgraph starting at qjackctl-6304 timed out (subgraph_wait_fd=12, status = 0, state = Finished)
 **** alsa_pcm: xrun of at least 477.850 msecs
 cannot read event response from client [ardour] (Connection reset by peer)
 **** alsa_pcm: xrun of at least 424.247 msecs

Ardour's Out: Segmentation fault (core dumped)

I'm not able to reproduce this when I want, but I noticed this happens when having xruns or when working hard on jack.
It could probably be a jack issue, but I noticed Ardour is the only program that crashes this way.
TagsNo tags attached.

Activities

paul

2007-01-31 15:57

administrator   ~0003134

Please read http://ardour.org/debugging_ardour. I'd like a stacktrace please.

drf

2007-01-31 16:13

reporter   ~0003136

Ok, I'm recompiling ardour with DEBUG=1. If I'll be able to reproduce and stacktrace it i'll post stacktrace here.

drf

2007-02-11 11:10

reporter   ~0003203

I'm still waiting to reproduce this... since I started running ardour from gdb I wasn't able to reproduce it.

paul

2007-03-05 14:44

administrator   ~0003508

believed fixed as part of a change to handling GUI requests from other threads. plus reporter cannot reproduce.

paul

2007-12-07 14:18

administrator   ~0004587

reopening for user with a new backtrace

2007-12-07 14:21

 

ardour_backtrace.txt (4,790 bytes)   
Thread 7 (Thread 1092561504 (LWP 29851)):
#0  0x00002abb46c578c6 in poll () from /lib/libc.so.6
#1  0x00002abb3f757145 in ARDOUR::Session::midi_thread_work () from libs/ardour/libardour.so
#2  0x00002abb3f757921 in ARDOUR::Session::_midi_thread_work () from libs/ardour/libardour.so
#3  0x00002abb4697c2a5 in start_thread () from /lib/libpthread.so.0
#4  0x00002abb46c6061d in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 6 (Thread 1092057696 (LWP 29850)):
#0  0x00002abb46c089ae in memset () from /lib/libc.so.6
#1  0x00002abb46c0277a in calloc () from /lib/libc.so.6
#2  0x00002aaabfe2b8eb in activate_Echo () from /usr/lib64/ladspa/tap_echo.so
#3  0x00002abb3f6af556 in ARDOUR::LadspaPlugin::activate () from libs/ardour/libardour.so
#4  0x00002abb3f68e205 in ARDOUR::PluginInsert::activate () from libs/ardour/libardour.so
#5  0x00002abb3f6f252e in ARDOUR::Route::handle_transport_stopped () from libs/ardour/libardour.so
#6  0x00002abb3f77cc42 in ARDOUR::Session::update_latency_compensation () from libs/ardour/libardour.so
#7  0x00002abb3f77d7e8 in ARDOUR::Session::non_realtime_stop () from libs/ardour/libardour.so
#8  0x00002abb3f77e41a in ARDOUR::Session::butler_transport_work () from libs/ardour/libardour.so
#9  0x00002abb3f73c38e in ARDOUR::Session::butler_thread_work () from libs/ardour/libardour.so
#10 0x00002abb3f73d18f in ARDOUR::Session::_butler_thread_work () from libs/ardour/libardour.so
#11 0x00002abb4697c2a5 in start_thread () from /lib/libpthread.so.0
#12 0x00002abb46c6061d in clone () from /lib/libc.so.6
#13 0x0000000000000000 in ?? ()

Thread 5 (Thread 1091557696 (LWP 29849)):
#0  0x00002aaabfe2c891 in run_Echo () from /usr/lib64/ladspa/tap_echo.so
#1  0x00002abb3f6acf1f in ARDOUR::LadspaPlugin::connect_and_run () from libs/ardour/libardour.so
#2  0x00002abb3f68d8fc in ARDOUR::PluginInsert::silence () from libs/ardour/libardour.so
#3  0x00002abb3f6f3c30 in ARDOUR::Route::silence () from libs/ardour/libardour.so
#4  0x00002abb3f6f3b5c in ARDOUR::Route::no_roll () from libs/ardour/libardour.so
#5  0x00002abb3f7598cf in ARDOUR::Session::no_roll () from libs/ardour/libardour.so
#6  0x00002abb3f75ad0d in ARDOUR::Session::process_with_events () from libs/ardour/libardour.so
#7  0x00002abb3f7595af in ARDOUR::Session::process () from libs/ardour/libardour.so
#8  0x00002abb3f619616 in ARDOUR::AudioEngine::process_callback () from libs/ardour/libardour.so
#9  0x00002abb4624fee1 in ?? () from /usr/lib/libjack-0.100.0.so.0
#10 0x00002abb4625339e in ?? () from /usr/lib/libjack-0.100.0.so.0
#11 0x00002abb4697c2a5 in start_thread () from /lib/libpthread.so.0
#12 0x00002abb46c6061d in clone () from /lib/libc.so.6
#13 0x0000000000000000 in ?? ()

Thread 4 (Thread 1091025504 (LWP 29848)):
#0  0x00002abb46983881 in ?? () from /lib/libpthread.so.0
#1  0x00002abb4137bd38 in g_usleep () from /usr/lib/libglib-2.0.so.0
#2  0x00002abb3f618bbf in ARDOUR::AudioEngine::meter_thread () from libs/ardour/libardour.so
#3  0x00002abb44c4375f in call_thread_entry_slot () from libs/glibmm2/libglibmm2.so
#4  0x00002abb41379b74 in ?? () from /usr/lib/libglib-2.0.so.0
#5  0x00002abb4697c2a5 in start_thread () from /lib/libpthread.so.0
#6  0x00002abb46c6061d in clone () from /lib/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 3 (Thread 1090525504 (LWP 29847)):
#0  0x00002abb46980796 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00002abb3f78bedc in peak_thread_work () from libs/ardour/libardour.so
#2  0x00002abb44c4375f in call_thread_entry_slot () from libs/glibmm2/libglibmm2.so
#3  0x00002abb41379b74 in ?? () from /usr/lib/libglib-2.0.so.0
#4  0x00002abb4697c2a5 in start_thread () from /lib/libpthread.so.0
#5  0x00002abb46c6061d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 2 (Thread 1082132800 (LWP 29846)):
#0  0x00002abb46980796 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00002abb3f78bedc in peak_thread_work () from libs/ardour/libardour.so
#2  0x00002abb44c4375f in call_thread_entry_slot () from libs/glibmm2/libglibmm2.so
#3  0x00002abb41379b74 in ?? () from /usr/lib/libglib-2.0.so.0
#4  0x00002abb4697c2a5 in start_thread () from /lib/libpthread.so.0
#5  0x00002abb46c6061d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 46983880608320 (LWP 29839)):
#0  0x00002abb46c578c6 in poll () from /lib/libc.so.6
#1  0x00002abb413606ae in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00002abb41360b6a in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#3  0x00002abb41c87023 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#4  0x00002abb3fc7fbdd in Gtkmm2ext::UI::run () from libs/gtkmm2ext/libgtkmm2ext.so
#5  0x0000000000701b0a in main ()
#0  0x00002aaabfe2c891 in run_Echo () from /usr/lib64/ladspa/tap_echo.so
ardour_backtrace.txt (4,790 bytes)   

2007-12-07 14:59

 

ardour_backtrace_DEBUG.txt (8,201 bytes)   
Thread 7 (Thread 1092561504 (LWP 6184)):
#0  0x00002b31aab258c6 in poll () from /lib/libc.so.6
#1  0x00002b31a33981fd in ARDOUR::Session::midi_thread_work (this=0x1a19400) at libs/ardour/session_midi.cc:1220
#2  0x00002b31a3398727 in ARDOUR::Session::_midi_thread_work (arg=0x1a19400) at libs/ardour/session_midi.cc:1141
#3  0x00002b31aa84a2a5 in start_thread () from /lib/libpthread.so.0
#4  0x00002b31aab2e61d in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 6 (Thread 1092057696 (LWP 6183)):
#0  0x00002aaab1bda6bb in ?? () from /usr/lib64/ladspa/tape_delay_1211.so
#1  0x00002b31a32efcbf in ARDOUR::LadspaPlugin::activate (this=0x2d24060) at libs/ardour/ardour/ladspa_plugin.h:72
#2  0x00002b31a32ce21c in ARDOUR::PluginInsert::activate (this=0x2d31b20) at libs/ardour/insert.cc:255
#3  0x00002b31a332cdcd in ARDOUR::Route::handle_transport_stopped (this=0x2d3a010, abort_ignored=false, did_locate=false, can_flush_redirects=true)
    at libs/ardour/route.cc:2189
#4  0x00002b31a33c0aa6 in ARDOUR::Session::update_latency_compensation (this=0x1a19400, with_stop=true, abort=false) at libs/ardour/session_transport.cc:1231
#5  0x00002b31a33c26b2 in ARDOUR::Session::non_realtime_stop (this=0x1a19400, abort=false, on_entry=1, finished=@0x41176fff) at libs/ardour/session_transport.cc:371
#6  0x00002b31a33c3224 in ARDOUR::Session::butler_transport_work (this=0x1a19400) at libs/ardour/session_transport.cc:238
#7  0x00002b31a337c22c in ARDOUR::Session::butler_thread_work (this=0x1a19400) at libs/ardour/session_butler.cc:241
#8  0x00002b31a337cbeb in ARDOUR::Session::_butler_thread_work (arg=0x1a19400) at libs/ardour/session_butler.cc:157
#9  0x00002b31aa84a2a5 in start_thread () from /lib/libpthread.so.0
#10 0x00002b31aab2e61d in clone () from /lib/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 5 (Thread 1091557696 (LWP 6182)):
#0  0x00002aaabbe0e891 in run_Echo () from /usr/lib64/ladspa/tap_echo.so
#1  0x00002b31a32ed844 in ARDOUR::LadspaPlugin::run (this=0x41ab350, nframes=256) at libs/ardour/ladspa_plugin.cc:585
#2  0x00002b31a32edc57 in ARDOUR::LadspaPlugin::connect_and_run (this=0x41ab350, bufs=@0x1a19748, nbufs=2, in_index=@0x410fa8c8, out_index=@0x410fa8c4, nframes=256,
    offset=0) at libs/ardour/ladspa_plugin.cc:534
#3  0x00002b31a32d0fea in ARDOUR::PluginInsert::silence (this=0x2de1740, nframes=256, offset=0) at libs/ardour/insert.cc:350
#4  0x00002b31a332de74 in ARDOUR::Route::silence (this=0x2deabe0, nframes=256, offset=0) at libs/ardour/route.cc:1943
#5  0x00002b31a3333efb in ARDOUR::Route::no_roll (this=0x2deabe0, nframes=256, start_frame=6340554, end_frame=6340810, offset=0, session_state_changing=true,
    can_record=false, rec_monitors_input=false) at libs/ardour/route.cc:2240
#6  0x00002b31a339ff99 in ARDOUR::Session::no_roll (this=0x1a19400, nframes=256, offset=0) at libs/ardour/session_process.cc:101
#7  0x00002b31a33a119b in ARDOUR::Session::process_with_events (this=0x1a19400, nframes=256) at libs/ardour/session_process.cc:281
#8  0x00002b31a33a1829 in ARDOUR::Session::process (this=0x1a19400, nframes=256) at libs/ardour/session_process.cc:60
#9  0x00002b31a3259a91 in ARDOUR::AudioEngine::process_callback (this=0x161cb00, nframes=256) at libs/ardour/audioengine.cc:303
#10 0x00002b31a3259c2d in ARDOUR::AudioEngine::_process_callback (nframes=256, arg=0x161cb00) at libs/ardour/audioengine.cc:257
#11 0x00002b31aa11dee1 in ?? () from /usr/lib/libjack-0.100.0.so.0
#12 0x00002b31aa12139e in ?? () from /usr/lib/libjack-0.100.0.so.0
#13 0x00002b31aa84a2a5 in start_thread () from /lib/libpthread.so.0
#14 0x00002b31aab2e61d in clone () from /lib/libc.so.6
#15 0x0000000000000000 in ?? ()

Thread 4 (Thread 1091025504 (LWP 6181)):
#0  0x00002b31aa851881 in ?? () from /lib/libpthread.so.0
#1  0x00002b31a51b0d38 in g_usleep () from /usr/lib/libglib-2.0.so.0
#2  0x00002b31a8ac010d in Glib::usleep (microseconds=10000) at libs/glibmm2/glibmm/timer.cc:68
#3  0x00002b31a32594ea in ARDOUR::AudioEngine::meter_thread (this=0x161cb00) at libs/ardour/audioengine.cc:413
#4  0x00002b31a325c3bf in sigc::bound_mem_functor0<void, ARDOUR::AudioEngine>::operator() (this=0x161d778) at libs/sigc++2/sigc++/functors/mem_fun.h:1781
#5  0x00002b31a325c3db in sigc::adaptor_functor<sigc::bound_mem_functor0<void, ARDOUR::AudioEngine> >::operator() (this=0x161d770)
    at libs/sigc++2/sigc++/adaptors/adaptor_trait.h:251
#6  0x00002b31a325c3ff in sigc::internal::slot_call0<sigc::bound_mem_functor0<void, ARDOUR::AudioEngine>, void>::call_it (rep=0x161d740)
    at libs/sigc++2/sigc++/functors/slot.h:103
#7  0x000000000079615b in sigc::slot0<void>::operator() (this=0x16084e0) at libs/sigc++2/sigc++/functors/slot.h:440
#8  0x00002b31a8abe7f0 in call_thread_entry_slot (data=0x16084e0) at libs/glibmm2/glibmm/thread.cc:43
#9  0x00002b31a51aeb74 in ?? () from /usr/lib/libglib-2.0.so.0
#10 0x00002b31aa84a2a5 in start_thread () from /lib/libpthread.so.0
#11 0x00002b31aab2e61d in clone () from /lib/libc.so.6
#12 0x0000000000000000 in ?? ()

Thread 3 (Thread 1090525504 (LWP 6180)):
#0  0x00002b31aa84e796 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00002b31a8abdee2 in Glib::Cond::wait (this=0x12a9c40, mutex=@0x2b31a36a5d80) at libs/glibmm2/glibmm/thread.cc:362
#2  0x00002b31a33cfb07 in peak_thread_work () at libs/ardour/source_factory.cc:61
#3  0x0000000000ab4671 in sigc::pointer_functor0<void>::operator() (this=0x12a9f88) at libs/sigc++2/sigc++/functors/ptr_fun.h:77
#4  0x0000000000ab468d in sigc::adaptor_functor<sigc::pointer_functor0<void> >::operator() (this=0x12a9f80) at libs/sigc++2/sigc++/adaptors/adaptor_trait.h:251
#5  0x0000000000ab46b1 in sigc::internal::slot_call0<sigc::pointer_functor0<void>, void>::call_it (rep=0x12a9f50) at libs/sigc++2/sigc++/functors/slot.h:103
#6  0x000000000079615b in sigc::slot0<void>::operator() (this=0x12a9f30) at libs/sigc++2/sigc++/functors/slot.h:440
#7  0x00002b31a8abe7f0 in call_thread_entry_slot (data=0x12a9f30) at libs/glibmm2/glibmm/thread.cc:43
#8  0x00002b31a51aeb74 in ?? () from /usr/lib/libglib-2.0.so.0
#9  0x00002b31aa84a2a5 in start_thread () from /lib/libpthread.so.0
#10 0x00002b31aab2e61d in clone () from /lib/libc.so.6
#11 0x0000000000000000 in ?? ()
Thread 2 (Thread 1082132800 (LWP 6179)):
#0  0x00002b31aa84e796 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00002b31a8abdee2 in Glib::Cond::wait (this=0x12a9c40, mutex=@0x2b31a36a5d80) at libs/glibmm2/glibmm/thread.cc:362
#2  0x00002b31a33cfb07 in peak_thread_work () at libs/ardour/source_factory.cc:61
#3  0x0000000000ab4671 in sigc::pointer_functor0<void>::operator() (this=0x12a9da8) at libs/sigc++2/sigc++/functors/ptr_fun.h:77
#4  0x0000000000ab468d in sigc::adaptor_functor<sigc::pointer_functor0<void> >::operator() (this=0x12a9da0) at libs/sigc++2/sigc++/adaptors/adaptor_trait.h:251
#5  0x0000000000ab46b1 in sigc::internal::slot_call0<sigc::pointer_functor0<void>, void>::call_it (rep=0x12a9d70) at libs/sigc++2/sigc++/functors/slot.h:103
#6  0x000000000079615b in sigc::slot0<void>::operator() (this=0x12a9d50) at libs/sigc++2/sigc++/functors/slot.h:440
#7  0x00002b31a8abe7f0 in call_thread_entry_slot (data=0x12a9d50) at libs/glibmm2/glibmm/thread.cc:43
#8  0x00002b31a51aeb74 in ?? () from /usr/lib/libglib-2.0.so.0
#9  0x00002b31aa84a2a5 in start_thread () from /lib/libpthread.so.0
#10 0x00002b31aab2e61d in clone () from /lib/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 47492363217536 (LWP 6171)):
#0  0x00002b31aab258c6 in poll () from /lib/libc.so.6
#1  0x00002b31a51956ae in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00002b31a5195b6a in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#3  0x00002b31a5abc023 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#4  0x00002b31a436b75b in Gtk::Main::run_impl (this=0xf6a210) at libs/gtkmm2/gtk/gtkmm/main.cc:503
#5  0x00002b31a436b5e8 in Gtk::Main::run () at libs/gtkmm2/gtk/gtkmm/main.cc:450
#6  0x00002b31a3974f79 in Gtkmm2ext::UI::run (this=0xf64360, old_receiver=@0xf29de0) at libs/gtkmm2ext/gtk_ui.cc:223
#7  0x0000000000a14fb3 in main (argc=1, argv=0x7fff07c94048) at gtk2_ardour/main.cc:266
#0  0x00002aaabbe0e891 in run_Echo () from /usr/lib64/ladspa/tap_echo.so

ardour_backtrace_DEBUG.txt (8,201 bytes)   

nbd

2008-01-03 12:25

reporter   ~0004619

I guess this issue status should be set to RESOLVED now.

paul

2008-01-10 21:49

administrator   ~0004635

see notes.

Issue History

Date Modified Username Field Change
2007-01-31 12:02 drf New Issue
2007-01-31 15:57 paul Note Added: 0003134
2007-01-31 15:57 paul Status new => feedback
2007-01-31 16:13 drf Note Added: 0003136
2007-02-11 11:10 drf Note Added: 0003203
2007-03-05 14:44 paul Status feedback => resolved
2007-03-05 14:44 paul Resolution open => fixed
2007-03-05 14:44 paul Assigned To => paul
2007-03-05 14:44 paul Note Added: 0003508
2007-12-07 14:18 paul Note Added: 0004587
2007-12-07 14:18 paul Status resolved => confirmed
2007-12-07 14:21 nbd File Added: ardour_backtrace.txt
2007-12-07 14:59 nbd File Added: ardour_backtrace_DEBUG.txt
2008-01-03 12:25 nbd Note Added: 0004619
2008-01-10 21:49 paul Status confirmed => resolved
2008-01-10 21:49 paul Note Added: 0004635
2008-11-21 00:04 seablade Status resolved => closed