Enabling Auto switching streams on new active output causes pulseaudio to crash

Bug #1716092 reported by Darin Miller on 2017-09-09
This bug affects 4 people
Affects Status Importance Assigned to Milestone
pulseaudio (Ubuntu)

Bug Description

Not sure if this is a plasma-pa bug or a pulseaudio bug. In plasma-pa -> Audio Volumue -> Advanced tab.... checking the "Automatically switch all running streams when a new output becomes available" cause PA to crash. If the /etc/pulse/default.pa file is modified by commenting out following line:

  load-module module-switch-on-connect

PA will start as expected. I have not checked to see if the auto switching works when the default.pa line is commented out.

ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: plasma-pa 4:5.10.5-0ubuntu1
ProcVersionSignature: Ubuntu 4.12.0-12.13-generic 4.12.8
Uname: Linux 4.12.0-12-generic x86_64
ApportVersion: 2.20.7-0ubuntu1
Architecture: amd64
CurrentDesktop: KDE
Date: Fri Sep 8 23:07:29 2017
InstallationDate: Installed on 2016-11-15 (298 days ago)
InstallationMedia: Kubuntu 16.10 "Yakkety Yak" - Release amd64 (20161012.1)
SourcePackage: plasma-pa
UpgradeStatus: Upgraded to artful on 2017-08-27 (12 days ago)

Darin Miller (darinmiller) wrote :
Darin Miller (darinmiller) wrote :

Followup: Autoswitching works perfectly even with the line "load-module module-switch-on-connect" in /etc/pulse/default.pa commented out.

summary: - Enabling Auto switching streams on new active output cashes pulseaudio
+ Enabling Auto switching streams on new active output causes pulseaudio
to crash
affects: plasma-pa (Ubuntu) → pulseaudio (Ubuntu)
Daniel van Vugt (vanvugt) wrote :

If it still works commented out then it sounds like your definition of "when a new output becomes available" is covered by the similar:
  load-module module-switch-on-port-available

As for removing module-switch-on-connect, we already plan to do that in 18.04 with the introduction of PulseAudio 11 since it has better defaults which handle all the device hotplugging cases we care about (Bluetooth devices and USB DACs).

Daniel van Vugt (vanvugt) wrote :

Since this is crash however...

Thank you for taking the time to report this bug and helping to make Ubuntu better. However, your crash report is either missing or challenging to deal with as a ".crash" file. Please follow these instructions to have apport report a new bug about your crash that can be dealt with by the automatic retracer.

If you are running the Ubuntu Stable Release you might need to enable apport in /etc/default/apport and restart.

Now open your file manager, navigate to your /var/crash directory and open the crash report you wish to submit.
If this fails you will have to open a terminal and file your report with 'ubuntu-bug /var/crash/_my_crash_report.crash' where _my_crash_report.crash is the crash you would like to report. If you get an error that you aren't allowed to access this report you will have to file it with 'sudo ubuntu-bug /var/crash/_my_crash_report.crash'.

I'm closing this bug report since the process outlined above will automatically open a new bug report which can then dealt with more efficiently. Thanks in advance for your cooperation and understanding.

Changed in pulseaudio (Ubuntu):
status: New → Incomplete
Ubuntu QA Website (ubuntuqa) wrote :

This bug has been reported on the Ubuntu ISO testing tracker.

A list of all reports related to this bug can be found here:

tags: added: iso-testing
Launchpad Janitor (janitor) wrote :

[Expired for pulseaudio (Ubuntu) because there has been no activity for 60 days.]

Changed in pulseaudio (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers