View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0003301 | ardour | bugs | public | 2010-07-04 08:28 | 2020-04-19 20:14 |
| Reporter | lincoln | Assigned To | cth103 | ||
| Priority | normal | Severity | crash | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Target Version | 3.0-beta1 | ||||
| Summary | 0003301: Crash on playback following a Jack re-connect | ||||
| Description | Ardour crashes if you disconnect from Jack then reconnect and start playback. | ||||
| Additional Information | [New Thread 0x7fffdb1b2710 (LWP 12580)] [New Thread 0x7fffe407a830 (LWP 12581)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7fffdb1b2710 (LWP 12580)] 0x00007ffff4a580c8 in jack_port_get_buffer () from /usr/lib/libjack.so.0 (gdb) thread apply all bt Thread 21 (Thread 0x7fffe407a830 (LWP 12581)): #0 0x00007fffee5477dd in nanosleep () at ../sysdeps/unix/syscall-template.S:82 0000001 0x00007ffff47da2a8 in g_usleep () from /lib/libglib-2.0.so.0 #2 0x00007ffff700a6fa in ARDOUR::AudioEngine::meter_thread() () from ./gtk2_ardour/../build/default/libs/ardour/libardour.so.3 #3 0x00007ffff3ba9632 in ?? () from /usr/lib/libglibmm-2.4.so.1 0000004 0x00007ffff47d76e4 in ?? () from /lib/libglib-2.0.so.0 0000005 0x00007fffee53f8ba in start_thread (arg=<value optimized out>) at pthread_create.c:300 #6 0x00007fffee2a701d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #7 0x0000000000000000 in ?? () Thread 20 (Thread 0x7fffdb1b2710 (LWP 12580)): #0 0x00007ffff4a580c8 in jack_port_get_buffer () from /usr/lib/libjack.so.0 0000001 0x00007ffff79397c8 in MIDI::JACK_MidiPort::write(unsigned char*, unsigned long, unsigned int) () from ./gtk2_ardour/../build/default/libs/midi++2/libmidipp.so.4 #2 0x00007ffff7923d6f in MIDI::MachineControl::send_immediately(MIDI::MachineControlCommand const&) () from ./gtk2_ardour/../build/default/libs/midi++2/libmidipp.so.4 #3 0x00007ffff72ae7ba in ARDOUR::Session::start_transport() () from ./gtk2_ardour/../build/default/libs/ardour/libardour.so.3 0000004 0x00007ffff72aed58 in ARDOUR::Session::set_transport_speed(double, bool, bool) () from ./gtk2_ardour/../build/default/libs/ardour/libardour.so.3 0000005 0x00007ffff726c75c in ARDOUR::Session::process_event(ARDOUR::SessionEvent*) () from ./gtk2_ardour/../build/default/libs/ardour/libardour.so.3 #6 0x00007ffff726d530 in ARDOUR::Session::process_with_events(unsigned int) () from ./gtk2_ardour/../build/default/libs/ardour/libardour.so.3 #7 0x00007ffff726d876 in ARDOUR::Session::process(unsigned int) () from ./gtk2_ardour/../build/default/libs/ardour/libardour.so.3 0000008 0x00007ffff700b365 in ARDOUR::AudioEngine::process_callback(unsigned int) () from ./gtk2_ardour/../build/default/libs/ardour/libardour.so.3 0000009 0x00007ffff700b65c in ARDOUR::AudioEngine::process_thread() () from ./gtk2_ardour/../build/default/libs/ardour/libardour.so.3 0000010 0x00007ffff4a56232 in jack_client_thread () from /usr/lib/libjack.so.0 0000011 0x00007fffee53f8ba in start_thread (arg=<value optimized out>) at pthread_create.c:300 ---Type <return> to continue, or q <return> to quit--- 0000012 0x00007fffee2a701d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 0000013 0x0000000000000000 in ?? () Thread 19 (Thread 0x7fffc281e710 (LWP 12578)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 0000001 0x00007ffff4a5747b in mb_thread_func () from /usr/lib/libjack.so.0 #2 0x00007fffee53f8ba in start_thread (arg=<value optimized out>) at pthread_create.c:300 #3 0x00007fffee2a701d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 0000004 0x0000000000000000 in ?? () Thread 16 (Thread 0x7fffdc9b5710 (LWP 12575)): #0 0x00007fffee29c103 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87 0000001 0x00007ffff47b2299 in ?? () from /lib/libglib-2.0.so.0 #2 0x00007ffff47b2a45 in g_main_loop_run () from /lib/libglib-2.0.so.0 #3 0x00007ffff3ba9632 in ?? () from /usr/lib/libglibmm-2.4.so.1 0000004 0x00007ffff47d76e4 in ?? () from /lib/libglib-2.0.so.0 0000005 0x00007fffee53f8ba in start_thread (arg=<value optimized out>) at pthread_create.c:300 #6 0x00007fffee2a701d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #7 0x0000000000000000 in ?? () Thread 15 (Thread 0x7fffe40f5830 (LWP 12574)): #0 0x00007fffee29c103 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87 0000001 0x00007ffff704fbf7 in ARDOUR::Butler::thread_work() () from ./gtk2_ardour/../build/default/libs/ardour/libardour.so.3 #2 0x00007ffff7050bff in ARDOUR::Butler::_thread_work(void*) () from ./gtk2_ardour/../build/default/libs/ardour/libardour.so.3 ---Type <return> to continue, or q <return> to quit--- #3 0x00007ffff7bb35e4 in fake_thread_start(void*) () from ./gtk2_ardour/../build/default/libs/pbd/libpbd.so.4 0000004 0x00007fffee53f8ba in start_thread (arg=<value optimized out>) at pthread_create.c:300 0000005 0x00007fffee2a701d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #6 0x0000000000000000 in ?? () Thread 14 (Thread 0x7fffdb9b3710 (LWP 12573)): #0 sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:86 0000001 0x00007ffff70f3638 in ARDOUR::Graph::restart_cycle() () from ./gtk2_ardour/../build/default/libs/ardour/libardour.so.3 #2 0x00007ffff70f30a5 in ARDOUR::Graph::run_one() () from ./gtk2_ardour/../build/default/libs/ardour/libardour.so.3 #3 0x00007ffff70f35d8 in ARDOUR::Graph::main_thread() () from ./gtk2_ardour/../build/default/libs/ardour/libardour.so.3 0000004 0x00007ffff7004e27 in ARDOUR::AudioEngine::_start_process_thread(void*) () from ./gtk2_ardour/../build/default/libs/ardour/libardour.so.3 0000005 0x00007fffee53f8ba in start_thread (arg=<value optimized out>) at pthread_create.c:300 #6 0x00007fffee2a701d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #7 0x0000000000000000 in ?? () Thread 11 (Thread 0x7fffda1b0710 (LWP 12569)): #0 0x00007fffee29c103 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87 0000001 0x00007fffd979badf in ?? () from /usr/lib/libpulse.so.0 #2 0x00007fffd978bb76 in pa_mainloop_poll () from /usr/lib/libpulse.so.0 #3 0x00007fffd978cf59 in pa_mainloop_iterate () from /usr/lib/libpulse.so.0 0000004 0x00007fffd978d010 in pa_mainloop_run () from /usr/lib/libpulse.so.0 0000005 0x00007fffd979b8eb in ?? () from /usr/lib/libpulse.so.0 #6 0x00007fffd8f30710 in ?? () from /usr/lib/libpulsecommon-0.9.21.so #7 0x00007fffee53f8ba in start_thread (arg=<value optimized out>) at pthread_create.c:300 ---Type <return> to continue, or q <return> to quit--- 0000008 0x00007fffee2a701d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 0000009 0x0000000000000000 in ?? () Thread 4 (Thread 0x7fffe5934710 (LWP 12561)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 0000001 0x00007ffff6fc4c4b in ARDOUR::Analyser::work() () from ./gtk2_ardour/../build/default/libs/ardour/libardour.so.3 #2 0x00007ffff3ba9632 in ?? () from /usr/lib/libglibmm-2.4.so.1 #3 0x00007ffff47d76e4 in ?? () from /lib/libglib-2.0.so.0 0000004 0x00007fffee53f8ba in start_thread (arg=<value optimized out>) at pthread_create.c:300 0000005 0x00007fffee2a701d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #6 0x0000000000000000 in ?? () Thread 3 (Thread 0x7fffe6135710 (LWP 12560)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 0000001 0x00007ffff72c2983 in peak_thread_work() () from ./gtk2_ardour/../build/default/libs/ardour/libardour.so.3 #2 0x00007ffff3ba9632 in ?? () from /usr/lib/libglibmm-2.4.so.1 #3 0x00007ffff47d76e4 in ?? () from /lib/libglib-2.0.so.0 0000004 0x00007fffee53f8ba in start_thread (arg=<value optimized out>) at pthread_create.c:300 0000005 0x00007fffee2a701d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #6 0x0000000000000000 in ?? () Thread 2 (Thread 0x7fffe6936710 (LWP 12559)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 0000001 0x00007ffff72c2983 in peak_thread_work() () from ./gtk2_ardour/../build/default/libs/ardour/libardour.so.3 ---Type <return> to continue, or q <return> to quit--- #2 0x00007ffff3ba9632 in ?? () from /usr/lib/libglibmm-2.4.so.1 #3 0x00007ffff47d76e4 in ?? () from /lib/libglib-2.0.so.0 0000004 0x00007fffee53f8ba in start_thread (arg=<value optimized out>) at pthread_create.c:300 0000005 0x00007fffee2a701d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #6 0x0000000000000000 in ?? () Thread 1 (Thread 0x7ffff7f9f820 (LWP 12556)): #0 0x00007fffee29c103 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=22) at ../sysdeps/unix/sysv/linux/poll.c:87 0000001 0x00007ffff47b2299 in ?? () from /lib/libglib-2.0.so.0 #2 0x00007ffff47b2a45 in g_main_loop_run () from /lib/libglib-2.0.so.0 #3 0x00007ffff3039647 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0 0000004 0x00007ffff68d59e2 in Gtkmm2ext::UI::run(Receiver&) () from ./gtk2_ardour/../build/default/libs/gtkmm2ext/libgtkmm2ext.so.0 0000005 0x00000000008b9c98 in main () (gdb) (gdb) | ||||
| Tags | No tags attached. | ||||
|
|
Sorry, that'll be my fault. Will fix. |
|
|
This is improved a bit in SVN: it won't crash any more, but MMC won't be sent after a JACK reconnect. I can't see a mechanism for JACK_MidiPorts to reestablish their JACK ports after they have been disconnected by jack_halted. |
|
|
All fixed in SVN. |
|
|
Issue has been closed automatically, by Trigger Close Plugin. Feel free to re-open with additional information if you think the issue is not resolved. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2010-07-04 08:28 | lincoln | New Issue | |
| 2010-07-04 11:09 | cth103 | Status | new => assigned |
| 2010-07-04 11:09 | cth103 | Assigned To | => cth103 |
| 2010-07-04 11:09 | cth103 | Note Added: 0008380 | |
| 2010-07-04 11:09 | cth103 | cost | => 0.00 |
| 2010-07-04 11:09 | cth103 | Target Version | => 3.0-beta1 |
| 2010-07-05 01:14 | cth103 | Note Added: 0008390 | |
| 2010-07-05 01:27 | cth103 | Note Edited: 0008390 | |
| 2010-07-06 11:40 | cth103 | Note Added: 0008401 | |
| 2010-07-06 11:40 | cth103 | Status | assigned => resolved |
| 2010-07-06 11:40 | cth103 | Resolution | open => fixed |
| 2020-04-19 20:14 | system | Note Added: 0022152 | |
| 2020-04-19 20:14 | system | Status | resolved => closed |