Sonarworks Headphone Calibration Plugin

All your LV2 and LADSPA goodness and more.

Moderators: MattKingUSA, khz

Post Reply
rudolfs.bundulis
Established Member
Posts: 59
Joined: Thu Jul 26, 2018 6:57 pm
Contact:

Re: Sonarworks Headphone Calibration Plugin

Post by rudolfs.bundulis »

Hi Arnd,

damn and I thought I know Posix:D Ok, I'll improve the fix, thanks.
rudolfs.bundulis
Established Member
Posts: 59
Joined: Thu Jul 26, 2018 6:57 pm
Contact:

Re: Sonarworks Headphone Calibration Plugin

Post by rudolfs.bundulis »

Yeah, there actually is an unsetenv, https://linux.die.net/man/3/unsetenv
Damdam
Posts: 1
Joined: Thu Aug 30, 2018 5:05 pm

Re: Sonarworks Headphone Calibration Plugin

Post by Damdam »

Hi, if you are still looking for testers, I use Reaper in Antergos (Arch Linux) 64 bit and I would like to test the plugin.
Can I use one of the keys?
Thanks ;-)
User avatar
AlexTheBassist
Established Member
Posts: 353
Joined: Mon May 19, 2014 3:44 am
Location: Russia, Moscow
Been thanked: 1 time

Re: Sonarworks Headphone Calibration Plugin

Post by AlexTheBassist »

Still a no-go with KDE Neon 5.13.2. I get a crash instantly after running the plugin. Here's the backtrace:

Code: Select all

(gdb) run
Starting program: /opt/ardour/bin/ardour-5.12.0 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
bind txt domain [gtk2_ardour5] to /opt/ardour/share/locale
Ardour5.12.0 (built using 5.12 and GCC version 5.2.1 20150903)
ardour: [INFO]: Your system is configured to limit Ardour to only 1048576 open files
ardour: [INFO]: Loading system configuration file /opt/ardour/etc/system_config
ardour: [INFO]: Loading user configuration file /home/alex/.config/ardour5/config
[New Thread 0x7fffe848e700 (LWP 6614)]
ardour: [INFO]: CPU vendor: GenuineIntel
ardour: [INFO]: CPU brand: Intel(R) Pentium(R) CPU G4620 @ 3.70GHz
ardour: [INFO]: Using SSE optimized routines
[New Thread 0x7fffe7c8d700 (LWP 6615)]
[New Thread 0x7fffe748c700 (LWP 6616)]
[New Thread 0x7fffe6c8b700 (LWP 6617)]
[New Thread 0x7fffd7fff700 (LWP 6618)]
[New Thread 0x7fffd77fe700 (LWP 6619)]
Cannot xinstall SIGPIPE error handler
ardour: [INFO]: Loading default ui configuration file /opt/ardour/etc/default_ui_config
ardour: [INFO]: Loading user ui configuration file /home/alex/.config/ardour5/ui_config

(ardour-5.12.0:6610): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita",
Color shuttle bg not found
ardour: [INFO]: Loading color file /opt/ardour/share/themes/dark-ardour.colors

(ardour-5.12.0:6610): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita",
ardour: [INFO]: Loading ui configuration file /opt/ardour/etc/clearlooks.rc
ardour: [INFO]: Loading ui configuration file /opt/ardour/etc/clearlooks.rc
[New Thread 0x7fffd57ac800 (LWP 6620)]
[New Thread 0x7fffd5732700 (LWP 6621)]
[New Thread 0x7fffd4aec700 (LWP 6622)]
[New Thread 0x7fffd4864700 (LWP 6623)]
[Thread 0x7fffd5732700 (LWP 6621) exited]
This system has no accessible HPET device (Permission denied)
[Thread 0x7fffd4864700 (LWP 6623) exited]
[Thread 0x7fffd4aec700 (LWP 6622) exited]
[New Thread 0x7fffd4aec700 (LWP 6624)]
[New Thread 0x7fffd4864700 (LWP 6625)]
This system has no accessible HPET device (Permission denied)
[Thread 0x7fffd4864700 (LWP 6625) exited]
[Thread 0x7fffd4aec700 (LWP 6624) exited]
[New Thread 0x7fffd5732700 (LWP 6626)]
[New Thread 0x7fffbf346700 (LWP 6627)]
[New Thread 0x7fffbeb45700 (LWP 6628)]
[New Thread 0x7fffbe344700 (LWP 6629)]
[New Thread 0x7fffbdb43700 (LWP 6630)]
Found 1 along /home/alex/.config/ardour5/templates:/opt/ardour/share/templates
run dialog
[Thread 0x7fffbf346700 (LWP 6627) exited]
[Thread 0x7fffbdb43700 (LWP 6630) exited]
[Thread 0x7fffbeb45700 (LWP 6628) exited]
[Thread 0x7fffd57ac800 (LWP 6620) exited]
[New Thread 0x7fffd4aec700 (LWP 6631)]
[New Thread 0x7fffd4864700 (LWP 6632)]
This system has no accessible HPET device (Permission denied)
[New Thread 0x7fffbcf32700 (LWP 6633)]
convolution: samplerate mismatch preset:48000 host:44100
convolution: samplerate mismatch preset:48000 host:44100
convolution: samplerate mismatch preset:48000 host:44100
convolution: samplerate mismatch preset:48000 host:44100
convolution: samplerate mismatch preset:48000 host:44100
convolution: samplerate mismatch preset:48000 host:44100
convolution: samplerate mismatch preset:48000 host:44100
convolution: samplerate mismatch preset:48000 host:44100
convolution: samplerate mismatch preset:48000 host:44100
convolution: samplerate mismatch preset:48000 host:44100
convolution: samplerate mismatch preset:48000 host:44100
convolution: samplerate mismatch preset:48000 host:44100
Scanning folders for bundled LV2s: /opt/ardour/lib/LV2
error: failed to expand CURIE `param:OscillatorControls'
lilv_world_load_file(): error: Error loading file `file:///usr/lib/lv2/avw.lv2/vco2_audio.ttl'
lilv_plugin_get_name(): warning: Plugin <http://avwlv2.sourceforge.net/plugins/avw/vco2_audio> has no (mandatory) doap:name
error: failed to expand CURIE `param:OscillatorControls'
lilv_world_load_file(): error: Error loading file `file:///usr/lib/lv2/avw.lv2/vco2_cv.ttl'
lilv_plugin_get_name(): warning: Plugin <http://avwlv2.sourceforge.net/plugins/avw/vco2_cv> has no (mandatory) doap:name
error: /usr/lib/lv2/Freakclip.lv2/Freakclip.ttl:36:4: missing ';' or '.'
lilv_world_load_file(): error: Error loading file `file:///usr/lib/lv2/Freakclip.lv2/Freakclip.ttl'
error: /usr/lib/lv2/Granulator.lv2/Granulator.ttl:24:7: missing ';' or '.'
lilv_world_load_file(): error: Error loading file `file:///usr/lib/lv2/Granulator.lv2/Granulator.ttl'
[New Thread 0x7fffbeb45700 (LWP 6634)]
[New Thread 0x7fffbdb43700 (LWP 6636)]
[Thread 0x7fffbdb43700 (LWP 6636) exited]
[Thread 0x7fffbe344700 (LWP 6629) exited]
[New Thread 0x7fffbdb43700 (LWP 6638)]
[Thread 0x7fffbdb43700 (LWP 6638) exited]
Set cursor set to default
[New Thread 0x7fffbdb43700 (LWP 6639)]
[New Thread 0x7fffbe344700 (LWP 6643)]
[New Thread 0x7fffbc8e0700 (LWP 6644)]
[New Thread 0x7fffbc85f700 (LWP 6645)]
[New Thread 0x7fffbc7dd800 (LWP 6646)]
[New Thread 0x7fffbf346700 (LWP 6647)]
[Thread 0x7fffbdb43700 (LWP 6639) exited]
[Thread 0x7fffbeb45700 (LWP 6634) exited]
[New Thread 0x7fffbeb45700 (LWP 6648)]
[New Thread 0x7fffbdb43700 (LWP 6649)]
[New Thread 0x7fff99cd1700 (LWP 6650)]
lilv_world_load_file(): error: Error loading file `file:///usr/lib/lv2/ZaMaximX2.lv2/presets.ttl'
lilv_world_load_file(): error: Error loading file `file:///usr/lib/lv2/ZamGate.lv2/presets.ttl'
lilv_world_load_file(): error: Error loading file `file:///usr/lib/lv2/ZamGate.lv2/presets.ttl'
lilv_world_load_file(): error: Error loading file `file:///usr/lib/lv2/ZaMaximX2.lv2/presets.ttl'
[Thread 0x7fffbe344700 (LWP 6643) exited]
[New Thread 0x7fffbe344700 (LWP 6651)]
[New Thread 0x7fff93fff700 (LWP 6652)]
[New Thread 0x7fff937fe700 (LWP 6653)]
[New Thread 0x7fff92ffd700 (LWP 6654)]
[New Thread 0x7fff927fc700 (LWP 6655)]
[Thread 0x7fff937fe700 (LWP 6653) exited]
[Thread 0x7fff927fc700 (LWP 6655) exited]
[Thread 0x7fff92ffd700 (LWP 6654) exited]
[New Thread 0x7fff927fc700 (LWP 6656)]
[New Thread 0x7fff92ffd700 (LWP 6657)]
[New Thread 0x7fff937fe700 (LWP 6658)]
Emulate VST Bypass Port for Sonarworks Reference 4
The program 'ardour-5.12.0' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadValue (integer parameter out of range for operation)'.
  (Details: serial 87 error_code 2 request_code 12 minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)

Thread 27 "ardour-5.12.0" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffbc8e0700 (LWP 6644)]
0x00007fffee33cfc6 in ?? () from /opt/ardour/lib/liblilv-0.so.0
(gdb) thread apply all bt

Thread 41 (Thread 0x7fff937fe700 (LWP 6658)):
#0  __lll_timedlock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:190
#1  0x00007ffff04b0a02 in pthread_mutex_timedlock (mutex=0x238c6010, abstime=0x7fff937fdd20) at ../nptl/pthread_mutex_timedlock.c:99
#2  0x00007fff90e44741 in ReferenceAnalytics::WorkerThreadMethod(std::timed_mutex&) ()
   from /home/alex/.vst/Sonarworks/Sonarworks Reference 4 VST Plugin.so
#3  0x00007fff913327ce in std::execute_native_thread_routine (__p=<optimized out>)
    at /home/developer/ct-ng/recipes/gcc5-glibc2_18-kernel3_18_24/.build/src/gcc-5.4.0/libstdc++-v3/src/c++11/thread.cc:84
#4  0x00007ffff04ad6ba in start_thread (arg=0x7fff937fe700) at pthread_create.c:333
#5  0x00007fffed1a541d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 40 (Thread 0x7fff92ffd700 (LWP 6657)):
#0  0x00007fffed19974d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fff9115e259 in Sonarworks::Analytics::AnalyticsService::DispatchAnalyticsEventsRoutine(Sonarworks::CAutoResetEvent&, Sonarworks::CManualResetEvent&) () from /home/alex/.vst/Sonarworks/Sonarworks Reference 4 VST Plugin.so
#2  0x00007fff91161645 in Sonarworks::Posix::CThread<Sonarworks::Analytics::AnalyticsService>::ThreadProcedure(void*) ()
   from /home/alex/.vst/Sonarworks/Sonarworks Reference 4 VST Plugin.so
#3  0x00007ffff04ad6ba in start_thread (arg=0x7fff92ffd700) at pthread_create.c:333
#4  0x00007fffed1a541d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 39 (Thread 0x7fff927fc700 (LWP 6656)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:143
#1  0x00007fff90f0262b in juce::WaitableEvent::wait(int) const ()
   from /home/alex/.vst/Sonarworks/Sonarworks Reference 4 VST Plugin.so
#2  0x00007fff90f5ac04 in juce::MessageManager::runDispatchLoopUntil(int) ()
---Type <return> to continue, or q <return> to quit---
   from /home/alex/.vst/Sonarworks/Sonarworks Reference 4 VST Plugin.so
#3  0x00007fff9113acf2 in SharedMessageThread::run() () from /home/alex/.vst/Sonarworks/Sonarworks Reference 4 VST Plugin.so
#4  0x00007fff90f2a83d in juce::Thread::threadEntryPoint() () from /home/alex/.vst/Sonarworks/Sonarworks Reference 4 VST Plugin.so
#5  0x00007fff90f2a959 in threadEntryProc () from /home/alex/.vst/Sonarworks/Sonarworks Reference 4 VST Plugin.so
#6  0x00007ffff04ad6ba in start_thread (arg=0x7fff927fc700) at pthread_create.c:333
#7  0x00007fffed1a541d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 35 (Thread 0x7fff93fff700 (LWP 6652)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007ffff479a121 in g_cond_wait_until () from /opt/ardour/lib/libglib-2.0.so.0
#2  0x00007ffff471424b in g_async_queue_timeout_pop () from /opt/ardour/lib/libglib-2.0.so.0
#3  0x00007ffff47789fa in ?? () from /opt/ardour/lib/libglib-2.0.so.0
#4  0x00007ffff4778235 in ?? () from /opt/ardour/lib/libglib-2.0.so.0
#5  0x00007ffff04ad6ba in start_thread (arg=0x7fff93fff700) at pthread_create.c:333
#6  0x00007fffed1a541d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 34 (Thread 0x7fffbe344700 (LWP 6651)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007ffff479a00c in g_cond_wait () from /opt/ardour/lib/libglib-2.0.so.0
#2  0x00007ffff79a82ec in ArdourWaveView::WaveViewDrawRequestQueue::dequeue(bool) () from /opt/ardour/lib/libwaveview.so.0
#3  0x00007ffff79a873c in ArdourWaveView::WaveViewThreads::dequeue_draw_request() () from /opt/ardour/lib/libwaveview.so.0
#4  0x00007ffff79a8784 in ArdourWaveView::WaveViewDrawingThread::run() () from /opt/ardour/lib/libwaveview.so.0
#5  0x00007ffff4ce1e7d in ?? () from /opt/ardour/lib/libglibmm-2.4.so.1
#6  0x00007ffff4778235 in ?? () from /opt/ardour/lib/libglib-2.0.so.0
#7  0x00007ffff04ad6ba in start_thread (arg=0x7fffbe344700) at pthread_create.c:333
---Type <return> to continue, or q <return> to quit---
#8  0x00007fffed1a541d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 33 (Thread 0x7fff99cd1700 (LWP 6650)):
#0  0x00007ffff04b6c1d in nanosleep () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007ffff4779a58 in g_usleep () from /opt/ardour/lib/libglib-2.0.so.0
#2  0x00007ffff6db4eb8 in ARDOUR::AutomationWatch::thread() () from /opt/ardour/lib/libardour.so.3
#3  0x00007ffff4ce1e7d in ?? () from /opt/ardour/lib/libglibmm-2.4.so.1
#4  0x00007ffff4778235 in ?? () from /opt/ardour/lib/libglib-2.0.so.0
#5  0x00007ffff04ad6ba in start_thread (arg=0x7fff99cd1700) at pthread_create.c:333
#6  0x00007fffed1a541d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 32 (Thread 0x7fffbdb43700 (LWP 6649)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007ffff71997dc in ARDOUR::Session::auto_connect_thread_run() () from /opt/ardour/lib/libardour.so.3
#2  0x00007ffff7199919 in ARDOUR::Session::auto_connect_thread(void*) () from /opt/ardour/lib/libardour.so.3
#3  0x00007ffff04ad6ba in start_thread (arg=0x7fffbdb43700) at pthread_create.c:333
#4  0x00007fffed1a541d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 31 (Thread 0x7fffbeb45700 (LWP 6648)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007ffff720be03 in ARDOUR::Session::emit_thread_run() () from /opt/ardour/lib/libardour.so.3
#2  0x00007ffff720be29 in ARDOUR::Session::emit_thread(void*) () from /opt/ardour/lib/libardour.so.3
#3  0x00007ffff04ad6ba in start_thread (arg=0x7fffbeb45700) at pthread_create.c:333
#4  0x00007fffed1a541d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

---Type <return> to continue, or q <return> to quit---
Thread 30 (Thread 0x7fffbf346700 (LWP 6647)):
#0  0x00007fffed19974d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007ffff47486b4 in ?? () from /opt/ardour/lib/libglib-2.0.so.0
#2  0x00007ffff4748a32 in g_main_loop_run () from /opt/ardour/lib/libglib-2.0.so.0
#3  0x00007ffff58ae204 in BaseUI::main_thread() () from /opt/ardour/lib/libpbd.so.4
#4  0x00007ffff4ce1e7d in ?? () from /opt/ardour/lib/libglibmm-2.4.so.1
#5  0x00007ffff4778235 in ?? () from /opt/ardour/lib/libglib-2.0.so.0
#6  0x00007ffff04ad6ba in start_thread (arg=0x7fffbf346700) at pthread_create.c:333
#7  0x00007fffed1a541d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 29 (Thread 0x7fffbc7dd800 (LWP 6646)):
#0  0x00007fffed19974d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007ffff58bd712 in CrossThreadChannel::poll_for_request() () from /opt/ardour/lib/libpbd.so.4
#2  0x00007ffff58bd766 in CrossThreadChannel::receive(char&, bool) () from /opt/ardour/lib/libpbd.so.4
#3  0x00007ffff6dc376a in ARDOUR::Butler::thread_work() () from /opt/ardour/lib/libardour.so.3
#4  0x00007ffff6dc3cc2 in ARDOUR::Butler::_thread_work(void*) () from /opt/ardour/lib/libardour.so.3
#5  0x00007ffff58e1776 in ?? () from /opt/ardour/lib/libpbd.so.4
#6  0x00007ffff04ad6ba in start_thread (arg=0x7fffbc7dd800) at pthread_create.c:333
#7  0x00007fffed1a541d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 28 (Thread 0x7fffbc85f700 (LWP 6645)):
#0  0x00007fffee33cfc6 in ?? () from /opt/ardour/lib/liblilv-0.so.0
#1  0x00007fffee33dbc4 in lilv_plugin_get_num_ports () from /opt/ardour/lib/liblilv-0.so.0
#2  0x00007ffff72d2ef9 in ARDOUR::LV2Plugin::connect_and_run(ARDOUR::BufferSet&, long, long, double, ARDOUR::ChanMapping, ARDOUR::ChanMapping, unsigned int, long) () from /opt/ardour/lib/libardour.so.3
---Type <return> to continue, or q <return> to quit---
#3  0x00007ffff70e0953 in ARDOUR::PluginInsert::connect_and_run(ARDOUR::BufferSet&, long, long, double, unsigned int, long, bool) ()
   from /opt/ardour/lib/libardour.so.3
#4  0x00007ffff70e1006 in ARDOUR::PluginInsert::run(ARDOUR::BufferSet&, long, long, double, unsigned int, bool) ()
   from /opt/ardour/lib/libardour.so.3
#5  0x00007ffff7156260 in ARDOUR::Route::process_output_buffers(ARDOUR::BufferSet&, long, long, unsigned int, int, bool) ()
   from /opt/ardour/lib/libardour.so.3
#6  0x00007ffff7150285 in ARDOUR::Route::passthru_silence(long, long, unsigned int, int) () from /opt/ardour/lib/libardour.so.3
#7  0x00007ffff72a54bc in ARDOUR::Track::no_roll(unsigned int, long, long, bool) () from /opt/ardour/lib/libardour.so.3
#8  0x00007ffff6e7f00f in ARDOUR::Graph::process_one_route(ARDOUR::Route*) () from /opt/ardour/lib/libardour.so.3
#9  0x00007ffff6e7ecdf in ARDOUR::Graph::run_one() () from /opt/ardour/lib/libardour.so.3
#10 0x00007ffff6e7ed58 in ARDOUR::Graph::helper_thread() () from /opt/ardour/lib/libardour.so.3
#11 0x00007fffd6bb67cf in ARDOUR::JACKAudioBackend::_start_process_thread(void*) ()
   from /opt/ardour/lib/backends/libjack_audiobackend.so
#12 0x00007ffff04ad6ba in start_thread (arg=0x7fffbc85f700) at pthread_create.c:333
#13 0x00007fffed1a541d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 27 (Thread 0x7fffbc8e0700 (LWP 6644)):
#0  0x00007fffee33cfc6 in ?? () from /opt/ardour/lib/liblilv-0.so.0
#1  0x00007fffee33dbc4 in lilv_plugin_get_num_ports () from /opt/ardour/lib/liblilv-0.so.0
#2  0x00007ffff72d2ef9 in ARDOUR::LV2Plugin::connect_and_run(ARDOUR::BufferSet&, long, long, double, ARDOUR::ChanMapping, ARDOUR::ChanMapping, unsigned int, long) () from /opt/ardour/lib/libardour.so.3
#3  0x00007ffff70df91f in ARDOUR::PluginInsert::connect_and_run(ARDOUR::BufferSet&, long, long, double, unsigned int, long, bool) ()
   from /opt/ardour/lib/libardour.so.3
#4  0x00007ffff70e1006 in ARDOUR::PluginInsert::run(ARDOUR::BufferSet&, long, long, double, unsigned int, bool) ()
   from /opt/ardour/lib/libardour.so.3
---Type <return> to continue, or q <return> to quit---
#5  0x00007ffff7156260 in ARDOUR::Route::process_output_buffers(ARDOUR::BufferSet&, long, long, unsigned int, int, bool) ()
   from /opt/ardour/lib/libardour.so.3
#6  0x00007ffff7150285 in ARDOUR::Route::passthru_silence(long, long, unsigned int, int) () from /opt/ardour/lib/libardour.so.3
#7  0x00007ffff72a54bc in ARDOUR::Track::no_roll(unsigned int, long, long, bool) () from /opt/ardour/lib/libardour.so.3
#8  0x00007ffff6e7f00f in ARDOUR::Graph::process_one_route(ARDOUR::Route*) () from /opt/ardour/lib/libardour.so.3
#9  0x00007ffff6e7ecdf in ARDOUR::Graph::run_one() () from /opt/ardour/lib/libardour.so.3
#10 0x00007ffff6e80091 in ARDOUR::Graph::main_thread() () from /opt/ardour/lib/libardour.so.3
#11 0x00007fffd6bb67cf in ARDOUR::JACKAudioBackend::_start_process_thread(void*) ()
   from /opt/ardour/lib/backends/libjack_audiobackend.so
#12 0x00007ffff04ad6ba in start_thread (arg=0x7fffbc8e0700) at pthread_create.c:333
#13 0x00007fffed1a541d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 21 (Thread 0x7fffbcf32700 (LWP 6633)):
#0  0x00007ffff04b5827 in futex_abstimed_wait_cancelable (private=0, abstime=0x0, expected=0, futex_word=0x56c4da8)
    at ../sysdeps/unix/sysv/linux/futex-internal.h:205
#1  do_futex_wait (sem=sem@entry=0x56c4da8, abstime=0x0) at sem_waitcommon.c:111
#2  0x00007ffff04b58d4 in __new_sem_wait_slow (sem=0x56c4da8, abstime=0x0) at sem_waitcommon.c:181
#3  0x00007ffff04b597a in __new_sem_wait (sem=<optimized out>) at sem_wait.c:29
#4  0x00007ffff6e7ef3d in ARDOUR::Graph::routes_no_roll(unsigned int, long, long, bool, int) () from /opt/ardour/lib/libardour.so.3
#5  0x00007ffff7209ff3 in ARDOUR::Session::no_roll(unsigned int) () from /opt/ardour/lib/libardour.so.3
#6  0x00007ffff720c8bf in ARDOUR::Session::process_without_events(unsigned int) () from /opt/ardour/lib/libardour.so.3
#7  0x00007ffff720d1cc in ARDOUR::Session::process_with_events(unsigned int) () from /opt/ardour/lib/libardour.so.3
#8  0x00007ffff720b966 in ARDOUR::Session::process(unsigned int) () from /opt/ardour/lib/libardour.so.3
#9  0x00007ffff6d6e89b in ARDOUR::AudioEngine::process_callback(unsigned int) () from /opt/ardour/lib/libardour.so.3
#10 0x00007fffd6bb641d in ARDOUR::JACKAudioBackend::process_thread() () from /opt/ardour/lib/backends/libjack_audiobackend.so
---Type <return> to continue, or q <return> to quit---
#11 0x00007fffd695779a in ?? () from /usr/lib/x86_64-linux-gnu/libjack.so.0
#12 0x00007fffd697a3b0 in ?? () from /usr/lib/x86_64-linux-gnu/libjack.so.0
#13 0x00007ffff04ad6ba in start_thread (arg=0x7fffbcf32700) at pthread_create.c:333
#14 0x00007fffed1a541d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 20 (Thread 0x7fffd4864700 (LWP 6632)):
#0  0x00007ffff04b651d in read () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fffd697bb95 in ?? () from /usr/lib/x86_64-linux-gnu/libjack.so.0
#2  0x00007fffd697f93c in ?? () from /usr/lib/x86_64-linux-gnu/libjack.so.0
#3  0x00007fffd697a3b0 in ?? () from /usr/lib/x86_64-linux-gnu/libjack.so.0
#4  0x00007ffff04ad6ba in start_thread (arg=0x7fffd4864700) at pthread_create.c:333
#5  0x00007fffed1a541d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 19 (Thread 0x7fffd4aec700 (LWP 6631)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fffd697b1dc in ?? () from /usr/lib/x86_64-linux-gnu/libjack.so.0
#2  0x00007fffd696df08 in ?? () from /usr/lib/x86_64-linux-gnu/libjack.so.0
#3  0x00007fffd697a3b0 in ?? () from /usr/lib/x86_64-linux-gnu/libjack.so.0
#4  0x00007ffff04ad6ba in start_thread (arg=0x7fffd4aec700) at pthread_create.c:333
#5  0x00007fffed1a541d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 14 (Thread 0x7fffd5732700 (LWP 6626)):
#0  0x00007fffed19974d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007ffff47486b4 in ?? () from /opt/ardour/lib/libglib-2.0.so.0
#2  0x00007ffff47487bc in g_main_context_iteration () from /opt/ardour/lib/libglib-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#3  0x00007ffff47487f9 in ?? () from /opt/ardour/lib/libglib-2.0.so.0
#4  0x00007ffff4778235 in ?? () from /opt/ardour/lib/libglib-2.0.so.0
#5  0x00007ffff04ad6ba in start_thread (arg=0x7fffd5732700) at pthread_create.c:333
#6  0x00007fffed1a541d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 7 (Thread 0x7fffd77fe700 (LWP 6619)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007ffff479a00c in g_cond_wait () from /opt/ardour/lib/libglib-2.0.so.0
#2  0x00007ffff6d6e1e4 in ARDOUR::AudioEngine::do_devicelist_update() () from /opt/ardour/lib/libardour.so.3
#3  0x00007ffff4ce1e7d in ?? () from /opt/ardour/lib/libglibmm-2.4.so.1
#4  0x00007ffff4778235 in ?? () from /opt/ardour/lib/libglib-2.0.so.0
#5  0x00007ffff04ad6ba in start_thread (arg=0x7fffd77fe700) at pthread_create.c:333
#6  0x00007fffed1a541d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7fffd7fff700 (LWP 6618)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007ffff479a00c in g_cond_wait () from /opt/ardour/lib/libglib-2.0.so.0
#2  0x00007ffff6d6f186 in ARDOUR::AudioEngine::do_reset_backend() () from /opt/ardour/lib/libardour.so.3
#3  0x00007ffff4ce1e7d in ?? () from /opt/ardour/lib/libglibmm-2.4.so.1
#4  0x00007ffff4778235 in ?? () from /opt/ardour/lib/libglib-2.0.so.0
#5  0x00007ffff04ad6ba in start_thread (arg=0x7fffd7fff700) at pthread_create.c:333
#6  0x00007fffed1a541d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7fffe6c8b700 (LWP 6617)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
---Type <return> to continue, or q <return> to quit---
#1  0x00007ffff479a00c in g_cond_wait () from /opt/ardour/lib/libglib-2.0.so.0
#2  0x00007ffff6d1d61b in ARDOUR::Analyser::work() () from /opt/ardour/lib/libardour.so.3
#3  0x00007ffff4ce1e7d in ?? () from /opt/ardour/lib/libglibmm-2.4.so.1
#4  0x00007ffff4778235 in ?? () from /opt/ardour/lib/libglib-2.0.so.0
#5  0x00007ffff04ad6ba in start_thread (arg=0x7fffe6c8b700) at pthread_create.c:333
#6  0x00007fffed1a541d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7fffe748c700 (LWP 6616)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007ffff479a00c in g_cond_wait () from /opt/ardour/lib/libglib-2.0.so.0
#2  0x00007ffff727d9cb in ?? () from /opt/ardour/lib/libardour.so.3
#3  0x00007ffff4ce1e7d in ?? () from /opt/ardour/lib/libglibmm-2.4.so.1
#4  0x00007ffff4778235 in ?? () from /opt/ardour/lib/libglib-2.0.so.0
#5  0x00007ffff04ad6ba in start_thread (arg=0x7fffe748c700) at pthread_create.c:333
#6  0x00007fffed1a541d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7fffe7c8d700 (LWP 6615)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007ffff479a00c in g_cond_wait () from /opt/ardour/lib/libglib-2.0.so.0
#2  0x00007ffff727d9cb in ?? () from /opt/ardour/lib/libardour.so.3
#3  0x00007ffff4ce1e7d in ?? () from /opt/ardour/lib/libglibmm-2.4.so.1
#4  0x00007ffff4778235 in ?? () from /opt/ardour/lib/libglib-2.0.so.0
#5  0x00007ffff04ad6ba in start_thread (arg=0x7fffe7c8d700) at pthread_create.c:333
#6  0x00007fffed1a541d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

---Type <return> to continue, or q <return> to quit---
Thread 2 (Thread 0x7fffe848e700 (LWP 6614)):
#0  0x00007fffedf24cde in ?? () from /opt/ardour/lib/libsord-0.so.0
#1  0x00007fffedf24f15 in ?? () from /opt/ardour/lib/libsord-0.so.0
#2  0x00007fffedf26ac1 in sord_free () from /opt/ardour/lib/libsord-0.so.0
#3  0x00007fffee34551c in lilv_world_free () from /opt/ardour/lib/liblilv-0.so.0
#4  0x00007fffed0d836a in __cxa_finalize (d=0x7ffff770f840) at cxa_finalize.c:56
#5  0x00007ffff6d12da3 in ?? () from /opt/ardour/lib/libardour.so.3
#6  0x00007fffe848d4f0 in ?? ()
#7  0x00007ffff7de7de7 in _dl_fini () at dl-fini.c:235
Backtrace stopped: frame did not save the PC

Thread 1 (Thread 0x7ffff7f998c0 (LWP 6610)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x0000000000d086a7 in ?? ()
#2  0x0000000000d0a546 in ?? ()
#3  0x0000000000a2dae6 in ?? ()
#4  0x0000000000a2fde1 in ?? ()
#5  0x0000000000a84123 in ?? ()
#6  0x0000000000a84a35 in ?? ()
#7  0x00007ffff5b8d306 in Gtkmm2ext::WindowProxy::toggle() () from /opt/ardour/lib/libgtkmm2ext.so.0
#8  0x0000000000a6f859 in ?? ()
#9  0x0000000000a87599 in ?? ()
#10 0x0000000000a1fb2e in ?? ()
#11 0x00007ffff4cf17e8 in Glib::SignalProxyNormal::slot0_void_callback(_GObject*, void*) () from /opt/ardour/lib/libglibmm-2.4.so.1
#12 0x00007ffff4a56935 in g_closure_invoke () from /opt/ardour/lib/libgobject-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#13 0x00007ffff4a67f84 in ?? () from /opt/ardour/lib/libgobject-2.0.so.0
#14 0x00007ffff4a71ab1 in g_signal_emit_valist () from /opt/ardour/lib/libgobject-2.0.so.0
#15 0x00007ffff4a71e32 in g_signal_emit () from /opt/ardour/lib/libgobject-2.0.so.0
#16 0x00007ffff3ec450e in gtk_widget_activate () from /opt/ardour/lib/libgtk-x11-2.0.so.0
#17 0x00007ffff3d5a9f2 in gtk_menu_shell_activate_item () from /opt/ardour/lib/libgtk-x11-2.0.so.0
#18 0x00007ffff3d5ae46 in ?? () from /opt/ardour/lib/libgtk-x11-2.0.so.0
#19 0x00007ffff3d4ca36 in ?? () from /opt/ardour/lib/libgtk-x11-2.0.so.0
#20 0x00007ffff3d40e2c in ?? () from /opt/ardour/lib/libgtk-x11-2.0.so.0
#21 0x00007ffff4a56935 in g_closure_invoke () from /opt/ardour/lib/libgobject-2.0.so.0
#22 0x00007ffff4a6841f in ?? () from /opt/ardour/lib/libgobject-2.0.so.0
#23 0x00007ffff4a715a3 in g_signal_emit_valist () from /opt/ardour/lib/libgobject-2.0.so.0
#24 0x00007ffff4a71e32 in g_signal_emit () from /opt/ardour/lib/libgobject-2.0.so.0
#25 0x00007ffff3ec594c in ?? () from /opt/ardour/lib/libgtk-x11-2.0.so.0
#26 0x00007ffff3d3f404 in gtk_propagate_event () from /opt/ardour/lib/libgtk-x11-2.0.so.0
#27 0x00007ffff3d3f873 in gtk_main_do_event () from /opt/ardour/lib/libgtk-x11-2.0.so.0
#28 0x00007ffff395c69c in ?? () from /opt/ardour/lib/libgdk-x11-2.0.so.0
#29 0x00007ffff47484b7 in g_main_context_dispatch () from /opt/ardour/lib/libglib-2.0.so.0
#30 0x00007ffff4748718 in ?? () from /opt/ardour/lib/libglib-2.0.so.0
#31 0x00007ffff4748a32 in g_main_loop_run () from /opt/ardour/lib/libglib-2.0.so.0
#32 0x00007ffff3d3e557 in gtk_main () from /opt/ardour/lib/libgtk-x11-2.0.so.0
#33 0x00007ffff5b74926 in Gtkmm2ext::UI::run(Receiver&) () from /opt/ardour/lib/libgtkmm2ext.so.0
#34 0x00000000004a46fb in ?? ()
#35 0x00007fffed0be830 in __libc_start_main (main=0x4a4270, argc=1, argv=0x7fffffffce38, init=<optimized out>, 
    fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffce28) at ../csu/libc-start.c:291
#36 0x00000000004a9ef9 in ?? ()
(gdb) 
If I try to use the plugin in Carla, it doesn't crash, but instead shows a blank interface window like this (image is clickable):
Image

UPDATE: I did update the system to 5.13.4, but the problem persists anyway.
Last edited by AlexTheBassist on Fri Aug 31, 2018 2:58 pm, edited 1 time in total.
Being creative does not imply being lazy, stupid, or illiterate.

Working in Harrison Mixbus and Ardour on KDE Neon + KXStudio.
User avatar
AlexTheBassist
Established Member
Posts: 353
Joined: Mon May 19, 2014 3:44 am
Location: Russia, Moscow
Been thanked: 1 time

Re: Sonarworks Headphone Calibration Plugin

Post by AlexTheBassist »

rudolfs.bundulis wrote:why people prefer ardour? From my limited point of view Bitwig or Reaper seem nicer.
None of these support Linux native LADSPA and LV2 plugins. There's a plethora of great open source DSPs (lots of them are on par with their commercial counterparts) which often aren't present in VST format. Any other reasons to prefer Ardour are already listed. What I personally like in Ardour is its outstanding flexibility, best routing system on the market, and “transparency” to those who are used to play and mix with real hardware. I especially hate routing in software like Reaper and FL Studio, it's as inconvenient as it could ever be. In Ardour, it's simple and times faster. I tried about ten different DAWs, but Ardour was the first and the last I didn't want to replace.
Being creative does not imply being lazy, stupid, or illiterate.

Working in Harrison Mixbus and Ardour on KDE Neon + KXStudio.
User avatar
lilith
Established Member
Posts: 1698
Joined: Fri May 27, 2016 11:41 pm
Location: bLACK fOREST
Has thanked: 117 times
Been thanked: 57 times
Contact:

Re: Sonarworks Headphone Calibration Plugin

Post by lilith »

Are there any plans to also port Sonarworks for speaker calibration to linux? I would be interested in this.
rudolfs.bundulis
Established Member
Posts: 59
Joined: Thu Jul 26, 2018 6:57 pm
Contact:

Re: Sonarworks Headphone Calibration Plugin

Post by rudolfs.bundulis »

Hi Lilith,

Well currently that is a unlikely to happen, since we have to make a new ALSA based audio I/O then. What some of our customers have done, and what I can advise, is to use the Measure on a Windows PC connected to the same setup (DAC/speakers) or maybe install a dual boot Windows for short time (I know this is a bad advice for Linux users, don't roast me on that:D) to make the measurement. And then the swproj file can be used in the plugin on Linux.

Sorry, with all other stuff going on, ALSA seems just to big of a project to take on, but at some point we could do that.
rudolfs.bundulis
Established Member
Posts: 59
Joined: Thu Jul 26, 2018 6:57 pm
Contact:

Re: Sonarworks Headphone Calibration Plugin

Post by rudolfs.bundulis »

Hi AlexTheBassist,

thanks for the trace, will try to get this solved together with unsetting the LD_LIBRARY_PATH.

lilv_plugin_get_num_ports, this actually looks like Ardour stuff, but I assume we are either giving it back a bad config value or going into memory with dirty hands :D
User avatar
AlexTheBassist
Established Member
Posts: 353
Joined: Mon May 19, 2014 3:44 am
Location: Russia, Moscow
Been thanked: 1 time

Re: Sonarworks Headphone Calibration Plugin

Post by AlexTheBassist »

rudolfs.bundulis wrote:Well currently that is a unlikely to happen, since we have to make a new ALSA based audio I/O then.
Why? You can create some wrapper for JACK. You don't need to touch ALSA at all. A typical modern JACK setup assumes that ALSA output for apps is emulated via a bridge, since the real audio card is acquired by JACK in exclusive mode, thus can't be used by anything else. The same applies to Pulseaudio, which connects to JACK via another bridge module.
Being creative does not imply being lazy, stupid, or illiterate.

Working in Harrison Mixbus and Ardour on KDE Neon + KXStudio.
User avatar
lilith
Established Member
Posts: 1698
Joined: Fri May 27, 2016 11:41 pm
Location: bLACK fOREST
Has thanked: 117 times
Been thanked: 57 times
Contact:

Re: Sonarworks Headphone Calibration Plugin

Post by lilith »

There's also REW to do the measurement. Is it possible to load data from REW into Sonarworks?
User avatar
Arnd
Established Member
Posts: 13
Joined: Sat Aug 06, 2016 8:05 pm

Re: Sonarworks Headphone Calibration Plugin

Post by Arnd »

lilith wrote:There's also REW to do the measurement. Is it possible to load data from REW into Sonarworks?
I tested Sonarworks (on Windows) and I am primarily using REW (on Linux).

Sonarworks makes it much easier to perform the measurement because it guides you through all the steps required, while using REW you have to find usable positions, consolidate the data and generate the resulting IR by yourself. Furthermore Sonarworks provides a vast collection of headphone correction profiles.

Using the measurement data later on is as easy for REW as it is for Sonarworks (IMHO): Sonarworks provides a plugin as well as the systemwide approach, while in order to use REW measurements you use an IR plugin (like KlangFalter), which may be used in a DAW or systemwide using the plugin in a Carla rack.
Arnd
rudolfs.bundulis
Established Member
Posts: 59
Joined: Thu Jul 26, 2018 6:57 pm
Contact:

Re: Sonarworks Headphone Calibration Plugin

Post by rudolfs.bundulis »

Hi AlexTheBassist,

Well alsa was basically the lowest level thing where we could plug in, but I will have a look at JACK. Im kinda biased, since on Windows it advertises incorrect ASIO bitness (it sets a 32-bit dll as 64-bit ASIO driver and from that point all hell breaks loose). But maybe it was just a badly configured setup. When I looked at ALSA it was very clear when and how we would plug in.
rudolfs.bundulis
Established Member
Posts: 59
Joined: Thu Jul 26, 2018 6:57 pm
Contact:

Re: Sonarworks Headphone Calibration Plugin

Post by rudolfs.bundulis »

Hi lilith,

no, we do not support REW data format.
rudolfs.bundulis
Established Member
Posts: 59
Joined: Thu Jul 26, 2018 6:57 pm
Contact:

Re: Sonarworks Headphone Calibration Plugin

Post by rudolfs.bundulis »

Hi Arnd,

very well put. We have never denied that REW is an equivalent alternative, which ia free, but harder to master. One of the main goals for our software is to make the measurement process easy and intuitive, guide you thorugh the correct spots etc. Also, hp calibration, as you correctly mentioned.
rudolfs.bundulis
Established Member
Posts: 59
Joined: Thu Jul 26, 2018 6:57 pm
Contact:

Re: Sonarworks Headphone Calibration Plugin

Post by rudolfs.bundulis »

Hi,

I managed to quickly change the putenv to unsetenv, maybe anyone for whom the dialog did not show can check this out - http://d38ygt50eys6ee.cloudfront.net/Do ... 1.6.7/Beta
Post Reply