Giter Site home page Giter Site logo

JACK clients hang on SHM read about jack2 HOT 4 CLOSED

jackaudio avatar jackaudio commented on August 11, 2024
JACK clients hang on SHM read

from jack2.

Comments (4)

karllinden avatar karllinden commented on August 11, 2024

Have done more research in this? Maybe you should try with the latest version of jack2 and a more recent kernel.

from jack2.

mspanc avatar mspanc commented on August 11, 2024

That was long time ago so I write from my memory. But as far as I remember that was caused by buggy client connected to JACK daemon, most probably it was jack.plumber (that is buggy like hell) hanging on thread synchronization in callback. Or something like this.

The only question is how JACK daemon should treat such buggy clients? Do we assume that they should not deadlock on callback and not implement additional checks for e.g. performance reasons or should we drop them if that happens?

from jack2.

x42 avatar x42 commented on August 11, 2024

Crippling the server (additional checks in the RT callback) to accommodate buggy clients is IMHO the wrong approach. Especially if you have access to the source-code of those clients and can fix those instead.

Even if you can come up with some logic how to determine and kill those clients, you'd still get a dropout whenever a client is kicked. (jack1 has a "zombify" features, but in the vast majority of cases it's a lot more trouble than it's worth)

just my 2 cents

from jack2.

karllinden avatar karllinden commented on August 11, 2024

I agree with Robin. Closing. Reopen if necessary.

from jack2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.