jackaudio / jack2

jack2 codebase
GNU General Public License v2.0
2.2k stars 373 forks source link

jack_get_ports returns a zero ptr on armhf #814

Open peter-vanpoucke opened 2 years ago

peter-vanpoucke commented 2 years ago

Describe the bug

I'm developing a dotnet application that uses JackSharp to play some audio. Everything works well on Windows 10 and Debian 11 on x64 with dotnet 5 and dotnet 6.

When running this on Raspberry Pi 4B with Raspbian 11 (bullseye) (armhf), jack_get_ports always returns a zero ptr. Tested this with 1.9.17 and 1.9.19. In qjackctl I'm able to connect the ports and the sound is fine.

I tried using a Python test script and there the ports seem to be returned correctly.

I'm unable to run jackd with verbose. It always crashes with a Segmentation fault using whatever client (like mpv or that test python script).

Environment

peter-vanpoucke commented 2 years ago

Tested this with the 64 bit image on the same Raspberry Pi (Linux localhost 5.10.63-v8+ #1459 SMP PREEMPT Wed Oct 6 16:42:49 BST 2021 aarch64 GNU/Linux) and calling jack_get_ports now returns the expected ports.