Description of problem: This seemed to happen while running a script I have been using for a year or so to switch from headset to speaker output while running some audio through a VoIP app called Zoiper. This crash has never happened in the past. It seems to be a new behavior. The content of the script is: #!/bin/sh CARD=0 amixer sset 'Master' mute pactl set-card-profile alsa_card.pci-0000_00_1b.0 output:analog-surround-40+input:analog-stereo pactl set-sink-port alsa_output.pci-0000_00_1b.0.analog-surround-40 analog-output-lineout amixer -c $CARD sset "Auto-Mute Mode" Disabled amixer -c $CARD sset 'Headphone',1 100 mute amixer sset 'Master' unmute echo "speakers" > /var/lib/misc/audio-output-current notify-send 'Audio' 'Audio playback transferred to speakers.' -t 1000 -i 'audio-card' Version-Release number of selected component: pulseaudio-5.0-25.fc21 Additional info: reporter: libreport-2.3.0 backtrace_rating: 4 cmdline: pulseaudio -D crash_function: pa_atomic_load executable: /usr/bin/pulseaudio kernel: 3.18.7-200.fc21.x86_64 runlevel: N 5 type: CCpp uid: 1000 Truncated backtrace: Thread no. 1 (10 frames) #0 pa_atomic_load at pulsecore/atomic.h:57 #1 pa_asyncmsgq_send at pulsecore/asyncmsgq.c:143 #2 pa_sink_input_start_move at pulsecore/sink-input.c:1618 #3 pa_sink_input_move_to at pulsecore/sink-input.c:1891 #4 sink_unlink_hook_callback at modules/module-rescue-streams.c:107 #5 pa_hook_fire at pulsecore/hook-list.c:106 #6 pa_sink_unlink at pulsecore/sink.c:693 #7 sink_input_kill_cb at modules/echo-cancel/module-echo-cancel.c:1410 #8 pa_sink_move_all_finish at pulsecore/sink.c:924 #9 card_set_profile at modules/alsa/module-alsa-card.c:262 Potential duplicate: bug 725513
Created attachment 997913 [details] File: backtrace
Created attachment 997914 [details] File: cgroup
Created attachment 997915 [details] File: core_backtrace
Created attachment 997916 [details] File: dso_list
Created attachment 997917 [details] File: environ
Created attachment 997918 [details] File: exploitable
Created attachment 997919 [details] File: limits
Created attachment 997920 [details] File: maps
Created attachment 997921 [details] File: open_fds
Created attachment 997922 [details] File: proc_pid_status
Created attachment 997923 [details] File: var_log_messages
Update: actually this happens when switching from speaker to headset, not the opposite. The script works fine unless Zoiper with the echo cancellation module is running i.e. Zoiper was started with: export PULSE_PROP="filter.want=echo-cancel" If the echo cancellation filter is not requested, then the switch from speaker to headset works fine. Also, I thought this was a new issue but it (probably) isn't -- its because I just enabled this echo cancellation feature. The script is: #!/bin/sh CARD=0 amixer sset 'Master' mute pactl set-card-profile alsa_card.pci-0000_00_1b.0 output:analog-stereo+input:analog-stereo pactl set-sink-port alsa_output.pci-0000_00_1b.0.analog-stereo analog-output-headphones #amixer -c $CARD sset "Auto-Mute Mode" 'Line Out+Speaker' amixer -c $CARD sset "Auto-Mute Mode" 'Enabled' amixer -c $CARD sset 'Headphone',1 100 unmute amixer sset 'Master' unmute echo "headset" > /var/lib/misc/audio-output-current notify-send 'Audio' 'Audio playback transferred to headset.' -t 1000 -i 'audio-headset' The specific command that causes pulseaudio to crash is: pactl set-card-profile alsa_card.pci-0000_00_1b.0 output:analog-stereo+input:analog-stereo I can reproduce this reliably (happens every time with echo cancellation on).
I can reproduce it.
(In reply to Raman Gupta from comment #12) > Update: actually this happens when switching from speaker to headset It actually happens when switching in either direction. Is there a better place to report this e.g. the PulseAudio freedesktop Bugzilla? Or is this bug tracker monitored by upstream (I see Lennart is copied, but don't know if any "official" upstream integration/reporting mechanism exists).
Reported to upstream: https://bugs.freedesktop.org/show_bug.cgi?id=90416
FYI: This is fixed upstream.