DISTRHO / Cardinal

Virtual modular synthesizer plugin
https://cardinal.kx.studio/
GNU General Public License v3.0
2.19k stars 152 forks source link

Remote OSC access between various CPU archs crashes Cardinal #700

Open Deftaudio opened 1 week ago

Deftaudio commented 1 week ago

Version

24.05

Plugin type

Native / JACK

OS

Raspberry Pi OS

DAW / Host (if applicable)

No response

Description

Hello, I built Cardinal from the latest source, (as well is from 24.05 sources) on Raspberry Pi OS (up to date). It seems running stable in Jack version except OSC connection. Everytime I connect from MacOS client (running the same exact version) the Pi app crashes with an error

cardinal [dpf] assertion failure: "threadContext != nullptr" in file override/context.cpp, line 77 Segmentation fault

Would you please suggest, is it a supported use case when the editor and server are on different OS/CPU architectures? Or I could only connect from a Cardinal instance running on another RPi?

dromer commented 1 week ago

OSC over the network should most certainly not be dependent on the architecture.

Deftaudio commented 4 days ago

Would you suggest any way to debug it further? I think the next thing that I can try running the second copy of Cardinal on the same OS and use one as a client while another one as a server.

dromer commented 4 days ago

Ok I just tried this locally between two Cardinal instances and I see this in the console of the receiving instance:

[dpf] Cardinal OSC unhandled message "/screenshot" with types "b"
[dpf] assertion failure: "threadContext != nullptr" in file override/context.cpp, line 77
Segmentation fault