flucoma / flucoma-sc

Fluid Corpus Manipulation plugins for Supercollider
BSD 3-Clause "New" or "Revised" License
70 stars 16 forks source link

Bug: FluidDataSet results in server crash on Linux #174

Open chriskiefer opened 2 months ago

chriskiefer commented 2 months ago

Please tell us what you were doing! You can include code and files by drag and dropping them into the text area.

~inData = FluidDataSet(s);

What was the expected result?

A new FluidDataSet

What was the actual result?

-> FluidDataSet(0) Server 'localhost' exited with exit code 0. server 'localhost' disconnected shared memory interface

What operating system were you using?

Linux

Operating system version

Ubuntu 24 LTS, SC 3.13.0

FluCoMa Version

1.0.7

chriskiefer commented 2 months ago

let me know if i can help to fix this...

tremblap commented 2 months ago

I'm on Ubuntu 20 LTS (updated) and I try to reproduce. If I can't maybe we should set you up to compile in debug and we can find the problem?

EDIT same version of SC, I cannot reproduce...

chriskiefer commented 2 months ago

i tried 1.0.2 and still get the same issue. I'll see if i can compile and find the problem - what's a good approach to debugging flucoma in sc plugins?

chriskiefer commented 2 months ago

i've found a workaround - compiling the latest SuperCollider 3.14.0-dev from source fixes the issue, and works fine with 1.0.2 and 1.0.7 - so it sounds like it could be an issue with the SC 3.13 ubuntu package rather than flucoma

tremblap commented 2 months ago

I usually link the debugger to scsynth (llvm via xcode) and compile as debug - that way we can trace where the problem emerges very precisely. It is strange that 3.13.0 works in that version of ubuntu for me - so maybe it is an os+sc version mismatch?

tremblap commented 1 month ago

@chriskiefer did you sort this? do you have a bug report?

chriskiefer commented 1 month ago

not yet i'm afraid

weefuzzy commented 3 weeks ago

This is quite possibly down to SC's change in boost version, and the code crime we currently commit that requires flucoma to be built against the same boost as SC. (Hopefully the need for this will go in due course). Our CI is currently just pulling the latest SC to build against. Possibly we'll to manage this transition by temporarily having builds for both.

Anyway, if this is working for you now, can I close?