I see this error too on Groovy, after installing Ubuntu studio and trying to launch studio-controls.
➜ ~ studio-controls install path: /usr Traceback (most recent call last): File "/usr/bin/studio-controls", line 1425, in <module> us = StudioControls() File "/usr/bin/studio-controls", line 431, in __init__ jack.set_error_function(callback=self.jack_error) File "/usr/lib/python3/dist-packages/jack.py", line 2974, in set_error_function _set_error_or_info_function(callback, _lib.jack_set_error_function) File "/usr/lib/python3/dist-packages/jack.py", line 3013, in _set_error_or_info_function def callback_wrapper(msg): SystemError: ffi_prep_closure(): bad user_data (it seems that the version of the libffi library seen at runtime is different from the 'ffi.h' file seen at compile-time) ➜ ~ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1912535 Title: [SRU] python-cffi and libffi in Groovy need a no-change rebuild To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libffi/+bug/1912535/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs