Re: how to precisely align the audio output of a Jack MIDI client in Ardour?
Markus Grabner <[email protected]> Fri, 10 Nov 2017 19:19:14 +0100
| Newsgroups | gmane.comp.audio.ardour.devel |
|---|---|
| Message-ID | <2098942.OQCEfCQgBK@mark> |
This is a multi-part message in MIME format. --nextPart8515030.ANsYyoEN3s Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Am Freitag, 10. November 2017, 16:37:59 CET schrieb Robin Gareus: > On 11/10/2017 06:18 AM, Markus Grabner wrote: > > Am Freitag, 10. November 2017, 01:03:00 CET schrieb Markus Grabner: > > > > Ardour 5.12 crashes on startup with a segmentation fault, so I can't test > > this right now. > > Would you mind to investigate this and get backtrace > (https://ardour.org/debugging_ardour)?! > Also try with a new empty session to rule out any plugin issues. After I first experienced the crash, I downgraded to Ardour-5.11, now I just installed 5.12 again to produce the backtrace, and interestingly its gets a bit further this time. The application starts and opens the dialog which lets me choose one of the recently open sessions. However, immediately after selecting one, it crashes again. The backtrace is attached, I hope it contains all the information you need. Kind regards, Markus --nextPart8515030.ANsYyoEN3s Content-Disposition: attachment; filename="ardour_backtrace.txt" Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="UTF-8"; name="ardour_backtrace.txt" grabner@mark:~$ ardour5 --gdb GNU gdb (GDB; openSUSE Leap 42.3) 8.0 Copyright (C) 2017 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-suse-linux". Type "show configuration" for configuration details. For bug reporting instructions, please see: <http://bugs.opensuse.org/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /usr/lib64/ardour5/ardour-5.11.172...done. (gdb) r Starting program: /usr/lib64/ardour5/ardour-5.11.172 Missing separate debuginfos, use: zypper install ardour-debuginfo-5.11.172-2.145.x86_64 [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". bind txt domain [gtk2_ardour5] to /usr/share/ardour5/locale Ardour5.11.172 (built using 5.11-172-gbfb62d2cb and GCC version 4.8.5) ardour: [INFO]: Your system is configured to limit Ardour to only 4096 open files ardour: [INFO]: Loading system configuration file /etc/ardour5/system_config ardour: [INFO]: Loading user configuration file /home/mark/grabner/.config/ardour5/config ardour: [INFO]: CPU vendor: GenuineIntel ardour: [INFO]: CPU brand: Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz ardour: [INFO]: Using SSE optimized routines ardour: [INFO]: Loading default ui configuration file /etc/ardour5/default_ui_config ardour: [INFO]: Loading user ui configuration file /home/mark/grabner/.config/ardour5/ui_config Color shuttle bg not found ardour: [INFO]: Loading color file /usr/share/ardour5/themes/dark-ardour.colors ardour: [INFO]: Loading ui configuration file /etc/ardour5/clearlooks.rc warning: the debug information found in "/usr/lib/debug//usr/lib64/gtk-2.0/2.10.0/engines/libclearlooks.so.debug" does not match "/usr/lib64/gtk-2.0/2.10.0/engines/libclearlooks.so" (CRC mismatch). ardour: [INFO]: Loading ui configuration file /etc/ardour5/clearlooks.rc Found nothing along /home/mark/grabner/.config/ardour5/templates:/usr/share/ardour5/templates run dialog Scanning folders for bundled LV2s: /usr/lib64/ardour5/LV2 Thread 1 "ardour-5.11.172" received signal SIGSEGV, Segmentation fault. 0x000000000058613c in ColorThemeManager::choose_color_from_palette(std::string const&) () (gdb) thread apply all bt Thread 20 (Thread 0x7fffc27fc700 (LWP 29825)): #0 0x00007fffed04d659 in syscall () at /lib64/libc.so.6 #1 0x00007ffff49fcade in g_cond_wait_until (cond=cond@entry=0x14f3cd8, mutex=mutex@entry=0x14f3cd0, end_time=end_time@entry=32593896051) at gthread-posix.c:1441 #2 0x00007ffff4990f11 in g_async_queue_pop_intern_unlocked (queue=0x14f3cd0, wait=wait@entry=1, end_time=32593896051) at gasyncqueue.c:422 #3 0x00007ffff49914d8 in g_async_queue_timeout_pop_unlocked (queue=<optimized out>, timeout=timeout@entry=500000) at gasyncqueue.c:570 #4 0x00007ffff49e03e2 in g_thread_pool_wait_for_new_task (pool=0x14f3c70) at gthreadpool.c:262 #5 0x00007ffff49e03e2 in g_thread_pool_thread_proxy (data=<optimized out>) at gthreadpool.c:296 #6 0x00007ffff49dfa85 in g_thread_proxy (data=0x7fffac004800) at gthread.c:780 #7 0x00007ffff07e7744 in start_thread () at /lib64/libpthread.so.0 #8 0x00007fffed051aad in clone () at /lib64/libc.so.6 Thread 19 (Thread 0x7fffc2ffd700 (LWP 29824)): #0 0x00007fffed04d659 in syscall () at /lib64/libc.so.6 #1 0x00007ffff49fcade in g_cond_wait_until (cond=cond@entry=0x14f3cd8, mutex=mutex@entry=0x14f3cd0, end_time=end_time@entry=32593890605) at gthread-posix.c:1441 #2 0x00007ffff4990f11 in g_async_queue_pop_intern_unlocked (queue=0x14f3cd0, wait=wait@entry=1, end_time=32593890605) at gasyncqueue.c:422 #3 0x00007ffff49914d8 in g_async_queue_timeout_pop_unlocked (queue=<optimized out>, timeout=timeout@entry=500000) at gasyncqueue.c:570 #4 0x00007ffff49e03e2 in g_thread_pool_wait_for_new_task (pool=0x14f3c70) at gthreadpool.c:262 #5 0x00007ffff49e03e2 in g_thread_pool_thread_proxy (data=<optimized out>) at gthreadpool.c:296 #6 0x00007ffff49dfa85 in g_thread_proxy (data=0x7fffac004770) at gthread.c:780 #7 0x00007ffff07e7744 in start_thread () at /lib64/libpthread.so.0 #8 0x00007fffed051aad in clone () at /lib64/libc.so.6 Thread 18 (Thread 0x7fffc0d7f700 (LWP 29823)): #0 0x00007ffff07ee295 in do_futex_wait () at /lib64/libpthread.so.0 #1 0x00007ffff07ee349 in __new_sem_wait_slow () at /lib64/libpthread.so.0 #2 0x00007ffff07ee3f7 in sem_timedwait () at /lib64/libpthread.so.0 #3 0x00007fffe5b65dcc in () at /usr/lib64/libjack.so.0 #4 0x00007fffe5b4f71c in () at /usr/lib64/libjack.so.0 #5 0x00007fffe5b4dcd7 in () at /usr/lib64/libjack.so.0 #6 0x00007fffca163ce2 in ARDOUR::JACKAudioBackend::process_thread() () at /usr/lib64/ardour5/backends/libjack_audiobackend.so #7 0x00007fffe5b4dc4a in () at /usr/lib64/libjack.so.0 #8 0x00007fffe5b65380 in () at /usr/lib64/libjack.so.0 #9 0x00007ffff07e7744 in start_thread () at /lib64/libpthread.so.0 #10 0x00007fffed051aad in clone () at /lib64/libc.so.6 Thread 17 (Thread 0x7fffc1ffb700 (LWP 29822)): #0 0x00007ffff07eed2d in read () at /lib64/libpthread.so.0 #1 0x00007fffe5b66a84 in () at /usr/lib64/libjack.so.0 #2 0x00007fffe5b6935c in () at /usr/lib64/libjack.so.0 #3 0x00007fffe5b65380 in () at /usr/lib64/libjack.so.0 #4 0x00007ffff07e7744 in start_thread () at /lib64/libpthread.so.0 #5 0x00007fffed051aad in clone () at /lib64/libc.so.6 Thread 16 (Thread 0x7fffc80ed700 (LWP 29821)): #0 0x00007ffff07ec0bf in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0 #1 0x00007fffe5b6628c in () at /usr/lib64/libjack.so.0 #2 0x00007fffe5b5daa8 in () at /usr/lib64/libjack.so.0 #3 0x00007fffe5b65380 in () at /usr/lib64/libjack.so.0 #4 0x00007ffff07e7744 in start_thread () at /lib64/libpthread.so.0 #5 0x00007fffed051aad in clone () at /lib64/libc.so.6 Thread 9 (Thread 0x7fffc37fe700 (LWP 29813)): #0 0x00007fffed04920d in poll () at /lib64/libc.so.6 #1 0x00007ffff49bb314 in g_main_context_poll (priority=2147483647, n_fds=3, fds=0x7fffb40010c0, timeout=-1, context=0x14fa3d0) at gmain.c:4135 #2 0x00007ffff49bb314 in g_main_context_iterate (context=0x14fa3d0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3835 #3 0x00007ffff49bb64a in g_main_loop_run (loop=0x14fa490) at gmain.c:4034 #4 0x00007ffff305f386 in gdbus_shared_thread_func (user_data=0x14fa3a0) at gdbusprivate.c:246 #5 0x00007ffff49dfa85 in g_thread_proxy (data=0x14b42d0) at gthread.c:780 #6 0x00007ffff07e7744 in start_thread () at /lib64/libpthread.so.0 #7 0x00007fffed051aad in clone () at /lib64/libc.so.6 Thread 8 (Thread 0x7fffc3fff700 (LWP 29812)): #0 0x00007fffed04920d in poll () at /lib64/libc.so.6 #1 0x00007ffff49bb314 in g_main_context_poll (priority=2147483647, n_fds=2, fds=0x7fffb80008c0, timeout=5246, context=0x14f3e10) at gmain.c:4135 #2 0x00007ffff49bb314 in g_main_context_iterate (context=context@entry=0x14f3e10, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3835 #3 0x00007ffff49bb42c in g_main_context_iteration (context=0x14f3e10, may_block=may_block@entry=1) at gmain.c:3901 #4 0x00007ffff49bb469 in glib_worker_main (data=<optimized out>) at gmain.c:5672 #5 0x00007ffff49dfa85 in g_thread_proxy (data=0x14b4280) at gthread.c:780 #6 0x00007ffff07e7744 in start_thread () at /lib64/libpthread.so.0 #7 0x00007fffed051aad in clone () at /lib64/libc.so.6 Thread 7 (Thread 0x7fffcafc2700 (LWP 29811)): #0 0x00007fffed04d659 in syscall () at /lib64/libc.so.6 #1 0x00007ffff49fc9cf in g_cond_wait (cond=0x138cc28, mutex=0x138cc38) at gthread-posix.c:1394 #2 0x00007ffff6f3fae3 in ARDOUR::AudioEngine::do_devicelist_update() () at /usr/lib64/ardour5/libardour.so.3 #3 0x00007ffff4f201ad in sigc::slot0<void>::operator()() const (this=0x139cc90) at /usr/include/sigc++-2.0/sigc++/functors/slot.h:447 #4 0x00007ffff4f201ad in (anonymous namespace)::call_thread_entry_slot(void*) (data=0x139cc90) at threads.cc:65 #5 0x00007ffff49dfa85 in g_thread_proxy (data=0x121c140) at gthread.c:780 #6 0x00007ffff07e7744 in start_thread () at /lib64/libpthread.so.0 #7 0x00007fffed051aad in clone () at /lib64/libc.so.6 Thread 6 (Thread 0x7fffcb7c3700 (LWP 29810)): #0 0x00007fffed04d659 in syscall () at /lib64/libc.so.6 #1 0x00007ffff49fc9cf in g_cond_wait (cond=0x138cbf8, mutex=0x138cc08) at gthread-posix.c:1394 #2 0x00007ffff6f4125c in ARDOUR::AudioEngine::do_reset_backend() () at /usr/lib64/ardour5/libardour.so.3 #3 0x00007ffff4f201ad in sigc::slot0<void>::operator()() const (this=0x139cf70) at /usr/include/sigc++-2.0/sigc++/functors/slot.h:447 #4 0x00007ffff4f201ad in (anonymous namespace)::call_thread_entry_slot(void*) (data=0x139cf70) at threads.cc:65 #5 0x00007ffff49dfa85 in g_thread_proxy (data=0x121c0f0) at gthread.c:780 #6 0x00007ffff07e7744 in start_thread () at /lib64/libpthread.so.0 #7 0x00007fffed051aad in clone () at /lib64/libc.so.6 Thread 5 (Thread 0x7fffd9ece700 (LWP 29809)): #0 0x00007fffed04d659 in syscall () at /lib64/libc.so.6 #1 0x00007ffff49fc9cf in g_cond_wait (cond=0x7ffff778a580 <ARDOUR::Analyser::SourcesToAnalyse>, mutex=0x7ffff778a590 <ARDOUR::Analyser::analysis_queue_lock>) at gthread-posix.c:1394 #2 0x00007ffff6f0a283 in ARDOUR::Analyser::work() () at /usr/lib64/ardour5/libardour.so.3 #3 0x00007ffff4f201ad in sigc::slot0<void>::operator()() const (this=0x1228de0) at /usr/include/sigc++-2.0/sigc++/functors/slot.h:447 #4 0x00007ffff4f201ad in (anonymous namespace)::call_thread_entry_slot(void*) (data=0x1228de0) at threads.cc:65 #5 0x00007ffff49dfa85 in g_thread_proxy (data=0x121c0a0) at gthread.c:780 #6 0x00007ffff07e7744 in start_thread () at /lib64/libpthread.so.0 #7 0x00007fffed051aad in clone () at /lib64/libc.so.6 Thread 4 (Thread 0x7fffda6cf700 (LWP 29808)): #0 0x00007fffed04d659 in syscall () at /lib64/libc.so.6 #1 0x00007ffff49fc9cf in g_cond_wait (cond=0x7ffff778c7e0 <ARDOUR::SourceFactory::PeaksToBuild>, mutex=0x7ffff778c7d0 <ARDOUR::SourceFactory::peak_building_lock>) at gthread-posix.c:1394 #2 0x00007ffff73482d3 in peak_thread_work() () at /usr/lib64/ardour5/libardour.so.3 #3 0x00007ffff4f201ad in sigc::slot0<void>::operator()() const (this=0x1229210) at /usr/include/sigc++-2.0/sigc++/functors/slot.h:447 #4 0x00007ffff4f201ad in (anonymous namespace)::call_thread_entry_slot(void*) (data=0x1229210) at threads.cc:65 #5 0x00007ffff49dfa85 in g_thread_proxy (data=0x121c050) at gthread.c:780 #6 0x00007ffff07e7744 in start_thread () at /lib64/libpthread.so.0 #7 0x00007fffed051aad in clone () at /lib64/libc.so.6 Thread 3 (Thread 0x7fffdaed0700 (LWP 29807)): #0 0x00007fffed04d659 in syscall () at /lib64/libc.so.6 #1 0x00007ffff49fc9cf in g_cond_wait (cond=0x7ffff778c7e0 <ARDOUR::SourceFactory::PeaksToBuild>, mutex=0x7ffff778c7d0 <ARDOUR::SourceFactory::peak_building_lock>) at gthread-posix.c:1394 #2 0x00007ffff73482d3 in peak_thread_work() () at /usr/lib64/ardour5/libardour.so.3 #3 0x00007ffff4f201ad in sigc::slot0<void>::operator()() const (this=0x122a4d0) at /usr/include/sigc++-2.0/sigc++/functors/slot.h:447 #4 0x00007ffff4f201ad in (anonymous namespace)::call_thread_entry_slot(void*) (data=0x122a4d0) at threads.cc:65 #5 0x00007ffff49dfa85 in g_thread_proxy (data=0x121c000) at gthread.c:780 #6 0x00007ffff07e7744 in start_thread () at /lib64/libpthread.so.0 #7 0x00007fffed051aad in clone () at /lib64/libc.so.6 Thread 2 (Thread 0x7fffdb6d1700 (LWP 29806)): #0 0x00007ffff07ef3dd in nanosleep () at /lib64/libpthread.so.0 #1 0x00007ffff49e1058 in g_usleep (microseconds=<optimized out>) at gtimer.c:259 #2 0x0000000000b4f243 in gui_event_loop(void*) () #3 0x00007ffff07e7744 in start_thread () at /lib64/libpthread.so.0 #4 0x00007fffed051aad in clone () at /lib64/libc.so.6 Thread 1 (Thread 0x7ffff7f3fac0 (LWP 29802)): #0 0x000000000058613c in ColorThemeManager::choose_color_from_palette(std::string const&) () #1 0x0000000000585862 in ColorThemeManager::setup_modifiers() () #2 0x000000000058a78d in ColorThemeManager::ColorThemeManager() () #3 0x000000000098a8d8 in RCOptionEditor::RCOptionEditor() () #4 0x000000000051688f in ARDOUR_UI::setup_windows() () #5 0x00000000004f1848 in ARDOUR_UI::post_engine() () #6 0x00000000004f31d8 in ARDOUR_UI::engine_running() () #7 0x00000000004fec0b in boost::detail::function::void_function_obj_invoker0<boost::_bi::bind_t<boost::_bi::unspecified, boost::function<void ()>, boost::_bi::list0>, void>::invoke(boost::detail::function::function_buffer&) () #8 0x00007ffff5d55158 in AbstractUI<Gtkmm2ext::UIRequest>::call_slot(PBD::EventLoop::InvalidationRecord*, boost::function<void ()> const&) () at /usr/lib64/ardour5/libgtkmm2ext.so.0 #9 0x0000000000502a4a in PBD::Signal0<void, PBD::OptionalLastValue<void> >::compositor(boost::function<void ()>, PBD::EventLoop*, PBD::EventLoop::InvalidationRecord*) () #10 0x00000000004fe00b in boost::detail::function::void_function_obj_invoker0<boost::_bi::bind_t<void, void (*)(boost::function<void ()>, PBD::EventLoop*, PBD::EventLoop::InvalidationRecord*), boost::_bi::list3<boost::_bi::value<boost::function<void ()> >, boost::_bi::value<PBD::EventLoop*>, boost::_bi::value<PBD::EventLoop::InvalidationRecord*> > >, void>::invoke(boost::detail::function::function_buffer&) () #11 0x00000000004d07b2 in PBD::Signal0<void, PBD::OptionalLastValue<void> >::operator()() () #12 0x00007ffff6f40067 in ARDOUR::AudioEngine::start(bool) () at /usr/lib64/ardour5/libardour.so.3 #13 0x00007ffff729f1d7 in ARDOUR::Session::ensure_engine(unsigned int, bool) () at /usr/lib64/ardour5/libardour.so.3 #14 0x00007ffff72b1d04 in ARDOUR::Session::Session(ARDOUR::AudioEngine&, std::string const&, std::string const&, ARDOUR::BusProfile*, std::string) () at /usr/lib64/ardour5/libardour.so.3 #15 0x00000000004e5f91 in ARDOUR_UI::load_session(std::string const&, std::string const&, std::string) () #16 0x00000000004f438a in ARDOUR_UI::get_session_parameters(bool, bool, std::string) () #17 0x00000000004f5910 in ARDOUR_UI::starting() () #18 0x00007ffff5d4eac7 in Gtkmm2ext::UI::run(Receiver&) () at /usr/lib64/ardour5/libgtkmm2ext.so.0 #19 0x00000000004b076b in main () --nextPart8515030.ANsYyoEN3s Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ ardour-dev mailing list [email protected] http://lists.ardour.org/listinfo.cgi/ardour-dev-ardour.org --nextPart8515030.ANsYyoEN3s--