Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libjack API of libjackserver.so is fully non functional #3

Open
nedko opened this issue Jun 11, 2023 · 0 comments
Open

libjack API of libjackserver.so is fully non functional #3

nedko opened this issue Jun 11, 2023 · 0 comments

Comments

@nedko
Copy link
Member

nedko commented Jun 11, 2023

The jack client API is not operational for users of libjackserver.so

All functions fail, e.g.:

[W][54824.983372] jack | [ pipewire-jack.c: 4591 jack_cpu_load()] 'c != NULL' faile
d at ../pipewire-0.3.71/pipewire-jack/src/pipewire-jack.c:4591 jack_cpu_load() [W][54824.983759] jack | [ pipewire-jack.c: 4560 jack_get_buffer_size()] 'c != NULL' failed at ../pipewire-0.3.71/pipewire-jack/src/pipewire-jack.c:4560 jack_get_buffer_size(
)

Commit fb44d34 adds PIPEWIRE_INTERNAL env var check to jack emulation, an environment variable that is set early in pipewire's daemon main()

nedko pushed a commit that referenced this issue Aug 5, 2023
Fix the following misaligned access that happens when `pw-top` is started:

  ../src/modules/module-profiler.c:144:5: runtime error: member access within misaligned address 0x7f7fa11fe8d9 for type 'struct spa_pod_struct', which requires 4 byte alignment
  0x7f7fa11fe8d9: note: pointer points here
   60 00 00  01 00 00 00 00 00 00 00  00 88 02 00 00 0f 00 00  00 0a 00 04 00 00 00 00  00 01 00 01 00
                ^
      #0 0x7f7fa64a65e1 in do_flush_event ../src/modules/module-profiler.c:144
      #1 0x7f7fa36d658e in source_event_func ../spa/plugins/support/loop.c:650
      #2 0x7f7fa36cfbab in loop_iterate ../spa/plugins/support/loop.c:483
      #3 0x7f7fa80a71cd in pw_main_loop_run ../src/pipewire/main-loop.c:128
      #4 0x55af46ff4722 in main ../src/daemon/pipewire.c:111
      #5 0x7f7fa8a3984f  (/usr/lib/libc.so.6+0x2384f) (BuildId: 2f005a79cd1a8e385972f5a102f16adba414d75e)
      #6 0x7f7fa8a39909 in __libc_start_main (/usr/lib/libc.so.6+0x23909) (BuildId: 2f005a79cd1a8e385972f5a102f16adba414d75e)
      PipeWire#7 0x55af46ff32a4 in _start (src/daemon/pipewire+0x42a4) (BuildId: 2d6250e405f52fb86992fef8584ccfdfdb85569f)

  SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior ../src/modules/module-profiler.c:144:5 in
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant