jack2 icon indicating copy to clipboard operation
jack2 copied to clipboard

jack_get_ports returns a zero ptr on armhf

Open peter-vanpoucke opened this issue 4 years ago • 1 comments

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

  • JACK Version: jackdmp version 1.9.17 tmpdir /dev/shm protocol 8
  • Operating System: Linux localhost 5.10.63-v7l+ #1459 SMP Wed Oct 6 16:41:57 BST 2021 armv7l GNU/Linux
  • Installation: package manager (apt)

peter-vanpoucke avatar Nov 28 '21 17:11 peter-vanpoucke

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.

peter-vanpoucke avatar Nov 29 '21 23:11 peter-vanpoucke