liblsl icon indicating copy to clipboard operation
liblsl copied to clipboard

fix crash on macos on network interface change

Open WesselVS opened this issue 1 year ago • 3 comments

When set_option is called on an unavailable socket, a crash occurs (at least on MacOS). I reproduce this by creating a local outlet, run the GetAllStreams example and unplugging my wire.

WesselVS avatar Nov 14 '24 08:11 WesselVS

Hey, which version are you using? do you happen to have the compiled library for osx ARM anywhere?

mediashock avatar Nov 14 '24 18:11 mediashock

Hey, which version are you using? do you happen to have the compiled library for osx ARM anywhere?

https://github.com/WesselVS/liblsl/releases/tag/fix_release

WesselVS avatar Nov 18 '24 06:11 WesselVS

@WesselVS this crash happens on all platforms I've tried. This includes if I spin up a VM or switch Wifi networks, the app will crash, so this seems invaluable to have

zeyus avatar Apr 11 '25 13:04 zeyus