This project is archived. Its data is read-only.
Pulseaudio crashes when receiving a call while playing audio
### Describe your issue While audio is playing (tested with Lollypop and Firefox/Youtube) if an incomming call is accepted, around 70% of the time Pulseaudio crashes, resulting in audio output working, but input failing for the call. This issue persists until Pulseaudio is manually killed and restarted. If buttons such as "speaker" are pressed in gnome-calls, it also needs to be killed. #### Expected Behavior Audio from other sources should be paused and input switched without crashing PA. #### Observed Behavior PA locks up and coredumps. The PID is still active, but non-functional. `pactl list sinks` returns `Daemon not responding`. #### Specific area or package affected Potentially caused by/impacting the following: - Pulseaudio - Callaudiod - Gnome-Calls ### How reproducible is the bug? Approximately 70% of the time when playing audio. However, it also occurs randomly without audio output. ### Steps to reproduce the bug 1. Start playing audio. 2. Call the Pinephone 3. Note missing outgoing (microphone audio) ### What device are you using? Pinephone convergance PostmarketOS edition. ### Which mobian repository are you using? Unstable ### How did you get your Mobian Image? Built using mobian-reciepes ### Solutions you have tried This is solved by killing both Pulseaudio and Gnome-Calls followed by restarting both. ```sh pkill -9 pulseaudio pkill -9 gnome-calls systemctl --user start pulseaudio gnome-calls ``` After this, receiving a call works. ### Related non-duplicate issues https://gitlab.com/mobian1/issues/-/issues/241 may be the same issue, but there seems to be more going on there. ### Additional Information <details> ``` PID: 4090 (pulseaudio) UID: 1000 (mobian) GID: 1000 (mobian) Signal: 6 (ABRT) Timestamp: (11h ago) Command Line: /usr/bin/pulseaudio --daemonize=no --log-target=journal Executable: /usr/bin/pulseaudio Control Group: /user.slice/user-1000.slice/user@1000.service/app.slice/pulseau> Unit: user@1000.service User Unit: pulseaudio.service Slice: user-1000.slice Owner UID: 1000 (mobian) Boot ID: Machine ID: Hostname: mobian Storage: /var/lib/systemd/coredump/core.pulseaudio.1000.5a8fe88fe1b64a57> Message: Process 4090 (pulseaudio) of user 1000 dumped core. Stack trace of thread 4090: #0 0x0000007f88d742ac __GI_raise (libc.so.6 + 0x372ac) #1 0x0000007f88d60ea0 __GI_abort (libc.so.6 + 0x23ea0) #2 0x0000007f8917fa94 pa_sink_input_add_volume_factor (libpuls> #3 0x0000007f82c1f3c8 n/a (module-role-ducking.so + 0x23c8) #4 0x0000007f82c1f658 n/a (module-role-ducking.so + 0x2658) #5 0x0000007f89168fa0 pa_hook_fire (libpulsecore-14.2.so + 0x2> #6 0x0000007f891848a4 pa_sink_input_finish_move (libpulsecore-> #7 0x0000007f8918759c pa_sink_move_all_finish (libpulsecore-14> #8 0x0000007f83fb24c0 n/a (module-alsa-card.so + 0x34c0) #9 0x0000007f89163ff4 pa_card_set_profile (libpulsecore-14.2.s> #10 0x0000007f840af364 n/a (libprotocol-native.so + 0x1a364) #11 0x0000007f890f0b00 pa_pdispatch_run (libpulsecommon-14.2.so> #12 0x0000007f840ad6f0 n/a (libprotocol-native.so + 0x186f0) #13 0x0000007f890f360c n/a (libpulsecommon-14.2.so + 0x4360c) #14 0x0000007f890f6040 n/a (libpulsecommon-14.2.so + 0x46040) #15 0x0000007f890f63d4 n/a (libpulsecommon-14.2.so + 0x463d4) #16 0x0000007f890f6c64 n/a (libpulsecommon-14.2.so + 0x46c64) #17 0x0000007f8907865c pa_mainloop_dispatch (libpulse.so.0 + 0x> #18 0x0000007f89078a4c pa_mainloop_iterate (libpulse.so.0 + 0x2> #19 0x0000007f89078b08 pa_mainloop_run (libpulse.so.0 + 0x25b08) #20 0x000000558ee2713c main (pulseaudio + 0x713c) #21 0x0000007f88d61218 __libc_start_main (libc.so.6 + 0x24218) #22 0x000000558ee27cb0 _start (pulseaudio + 0x7cb0) #23 0x000000558ee27cb0 _start (pulseaudio + 0x7cb0) ``` </details> <!-- Bug Report labels. Please remove if not relevant -->
issue