Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Can I completely disable audio system in firefox?

  • No replies
  • 0 have this problem
  • 8 views
more options

Imaging there is some bug in the audio driver on your operating system Any call you made to any audio-playing API will lead to severe problems (e.g. segmentation fault) How can you use firefox in that environment? How to prevent firefox from calling ANY audio-related APIs?

That buggy audio service on my OS is pipewire (bug still exists in latest version 1:0.3.56) Firefox randomly freezes when a sound is played, and the freeze may lasts for minutes

One day when firefox froze again I opened gdb and attached to it Here is partial output of GDB: [New LWP 43932] [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib/libthread_db.so.1". 0x00007fa0f4bb9346 in ?? () from /usr/lib/libc.so.6 (gdb) bt

  1. 0 0x00007fa0f4bb9346 in () at /usr/lib/libc.so.6
  2. 1 0x00007fa0f4bbbb60 in pthread_cond_wait () at /usr/lib/libc.so.6
  3. 2 0x00007fa0c8adeaad in pa_threaded_mainloop_wait () at /usr/lib/libpulse.so.0
  4. 3 0x00007fa0adfa7929 in pulse_driver_open () at /usr/lib/libcanberra-0.30/libcanberra-pulse.so
  5. 4 0x00007fa0be851b1e in () at /usr/lib/libcanberra.so.0
  6. 5 0x00007fa0be851e2d in ca_context_open () at /usr/lib/libcanberra.so.0
  7. 6 0x00007fa0be8441e8 in () at /usr/lib/libcanberra-0.30/libcanberra-multi.so
  8. 7 0x00007fa0be8445b8 in multi_driver_open () at /usr/lib/libcanberra-0.30/libcanberra-multi.so
  9. 8 0x00007fa0be851b1e in () at /usr/lib/libcanberra.so.0
  10. 9 0x00007fa0be85255b in ca_context_play_full () at /usr/lib/libcanberra.so.0
  11. 10 0x00007fa0be852a2c in ca_context_play () at /usr/lib/libcanberra.so.0
  12. 11 0x00007fa0ed8a7ce9 in () at /usr/lib/firefox/libxul.so
  13. 12 0x00007fa0eda65ffc in () at /usr/lib/firefox/libxul.so
  14. 13 0x00007fa0eda7182d in () at /usr/lib/firefox/libxul.so
  15. 14 0x00007fa0eda7062c in () at /usr/lib/firefox/libxul.so
  16. 15 0x00007fa0eda70864 in () at /usr/lib/firefox/libxul.so
  17. 16 0x00007fa0ecb9db95 in () at /usr/lib/firefox/libxul.so
  18. 17 0x00007fa0eb73701c in () at /usr/lib/firefox/libxul.so
  19. 18 0x00007fa0e9b88874 in () at /usr/lib/firefox/libxul.so
  20. 19 0x00007fa0e9b7796a in () at /usr/lib/firefox/libxul.so
  21. 20 0x00007fa0ea70d634 in () at /usr/lib/firefox/libxul.so
  22. 21 0x00007fa0eaaa2265 in () at /usr/lib/firefox/libxul.so
  23. 22 0x00007fa0eaa29fe0 in () at /usr/lib/firefox/libxul.so
  24. 23 0x00007fa0eaa2914e in () at /usr/lib/firefox/libxul.so
  25. 24 0x00007fa0eaa2832f in () at /usr/lib/firefox/libxul.so
  26. 25 0x00007fa0eaa24160 in () at /usr/lib/firefox/libxul.so
  27. 26 0x00007fa0eaa8c429 in () at /usr/lib/firefox/libxul.so
  28. 27 0x00007fa0eb1f7d4a in () at /usr/lib/firefox/libxul.so
  29. 28 0x00007fa0ea018797 in () at /usr/lib/firefox/libxul.so
  30. 29 0x00007fa0ea011194 in () at /usr/lib/firefox/libxul.so
  31. 30 0x00007fa0ea00f9f5 in () at /usr/lib/firefox/libxul.so
  32. 31 0x00007fa0eadc0a41 in () at /usr/lib/firefox/libxul.so
  33. 32 0x00007fa0eb77374d in () at /usr/lib/firefox/libxul.so
  34. 33 0x00007fa0eb465d95 in () at /usr/lib/firefox/libxul.so
  35. 34 0x00007fa0ea511e17 in () at /usr/lib/firefox/libxul.so
  36. 35 0x00007fa0ea5104b0 in () at /usr/lib/firefox/libxul.so
  37. 36 0x00007fa0ea50f6ed in () at /usr/lib/firefox/libxul.so
  38. 37 0x0000559777cce032 in ()
  39. 38 0x00007fa0f4b592d0 in () at /usr/lib/libc.so.6
  40. 39 0x00007fa0f4b5938a in __libc_start_main () at /usr/lib/libc.so.6
  41. 40 0x0000559777cdd7f5 in _start ()

(gdb)

Imaging there is some bug in the audio driver on your operating system Any call you made to any audio-playing API will lead to severe problems (e.g. segmentation fault) How can you use firefox in that environment? How to prevent firefox from calling ANY audio-related APIs? That buggy audio service on my OS is pipewire (bug still exists in latest version 1:0.3.56) Firefox randomly freezes when a sound is played, and the freeze may lasts for minutes One day when firefox froze again I opened gdb and attached to it Here is partial output of GDB: [New LWP 43932] [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib/libthread_db.so.1". 0x00007fa0f4bb9346 in ?? () from /usr/lib/libc.so.6 (gdb) bt #0 0x00007fa0f4bb9346 in () at /usr/lib/libc.so.6 #1 0x00007fa0f4bbbb60 in pthread_cond_wait () at /usr/lib/libc.so.6 #2 0x00007fa0c8adeaad in pa_threaded_mainloop_wait () at /usr/lib/libpulse.so.0 #3 0x00007fa0adfa7929 in pulse_driver_open () at /usr/lib/libcanberra-0.30/libcanberra-pulse.so #4 0x00007fa0be851b1e in () at /usr/lib/libcanberra.so.0 #5 0x00007fa0be851e2d in ca_context_open () at /usr/lib/libcanberra.so.0 #6 0x00007fa0be8441e8 in () at /usr/lib/libcanberra-0.30/libcanberra-multi.so #7 0x00007fa0be8445b8 in multi_driver_open () at /usr/lib/libcanberra-0.30/libcanberra-multi.so #8 0x00007fa0be851b1e in () at /usr/lib/libcanberra.so.0 #9 0x00007fa0be85255b in ca_context_play_full () at /usr/lib/libcanberra.so.0 #10 0x00007fa0be852a2c in ca_context_play () at /usr/lib/libcanberra.so.0 #11 0x00007fa0ed8a7ce9 in () at /usr/lib/firefox/libxul.so #12 0x00007fa0eda65ffc in () at /usr/lib/firefox/libxul.so #13 0x00007fa0eda7182d in () at /usr/lib/firefox/libxul.so #14 0x00007fa0eda7062c in () at /usr/lib/firefox/libxul.so #15 0x00007fa0eda70864 in () at /usr/lib/firefox/libxul.so #16 0x00007fa0ecb9db95 in () at /usr/lib/firefox/libxul.so #17 0x00007fa0eb73701c in () at /usr/lib/firefox/libxul.so #18 0x00007fa0e9b88874 in () at /usr/lib/firefox/libxul.so #19 0x00007fa0e9b7796a in () at /usr/lib/firefox/libxul.so #20 0x00007fa0ea70d634 in () at /usr/lib/firefox/libxul.so #21 0x00007fa0eaaa2265 in () at /usr/lib/firefox/libxul.so #22 0x00007fa0eaa29fe0 in () at /usr/lib/firefox/libxul.so #23 0x00007fa0eaa2914e in () at /usr/lib/firefox/libxul.so #24 0x00007fa0eaa2832f in () at /usr/lib/firefox/libxul.so #25 0x00007fa0eaa24160 in () at /usr/lib/firefox/libxul.so #26 0x00007fa0eaa8c429 in () at /usr/lib/firefox/libxul.so #27 0x00007fa0eb1f7d4a in () at /usr/lib/firefox/libxul.so #28 0x00007fa0ea018797 in () at /usr/lib/firefox/libxul.so #29 0x00007fa0ea011194 in () at /usr/lib/firefox/libxul.so #30 0x00007fa0ea00f9f5 in () at /usr/lib/firefox/libxul.so #31 0x00007fa0eadc0a41 in () at /usr/lib/firefox/libxul.so #32 0x00007fa0eb77374d in () at /usr/lib/firefox/libxul.so #33 0x00007fa0eb465d95 in () at /usr/lib/firefox/libxul.so #34 0x00007fa0ea511e17 in () at /usr/lib/firefox/libxul.so #35 0x00007fa0ea5104b0 in () at /usr/lib/firefox/libxul.so #36 0x00007fa0ea50f6ed in () at /usr/lib/firefox/libxul.so #37 0x0000559777cce032 in () #38 0x00007fa0f4b592d0 in () at /usr/lib/libc.so.6 #39 0x00007fa0f4b5938a in __libc_start_main () at /usr/lib/libc.so.6 #40 0x0000559777cdd7f5 in _start () (gdb)

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.