Announcements

Help Wizard

Step 1

NEXT STEP

FAQs

Please see below the most popular frequently asked questions.

Loading article...

Loading faqs...

VIEW ALL

Ongoing Issues

Please see below the current ongoing issues which are under investigation.

Loading issue...

Loading ongoing issues...

VIEW ALL

Sound streams are not deallocated when switching device with connect.

Sound streams are not deallocated when switching device with connect.

Plan

Premium

Spotify Build

1.1.10.546.ge08ef575

Country

Sweden

Device

PC - AMD FX(tm)-8350 Eight-Core Processor, 32G RAM

Operating System

Linux 5.3.8-arch1-1 #1 SMP PREEMPT @1572357769 x86_64 GNU/Linux

 

My Question or Issue

Spotify fails to properly clean up sound streams so everytime I switch to my phone I get a new sound stream when I switch back to my PC. Also... Why can't I upload a text file here? Why can't I insert code samples for bash or text? Why these arbitrary limits when reporting bugs?

The output from

 

 

pacmd list-clients

 

 

is attached here and I also attached a screenshot from pavucontrol

 

 

15 client(s) logged in.
    index: 0
	driver: <module-systemd-login.c>
	owner module: 17
	properties:
		application.name = "Login Session 1"
		systemd-login.session = "1"
    index: 1909
	driver: <protocol-native.c>
	owner module: 10
	properties:
		application.name = "Chrome input"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "33"
		application.process.id = "856725"
		application.process.user = "devilholk"
		application.process.host = "klumpfot"
		application.process.binary = "spotify"
		window.x11.display = ":0"
		application.language = "sv_SE.UTF-8"
		application.process.machine_id = "71dfe91ffabc45ce87fa03607142fe77"
		application.process.session_id = "1"
		application.icon_name = "spotify-client"
    index: 1910
	driver: <protocol-native.c>
	owner module: 10
	properties:
		application.name = "Spotify"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "33"
		application.process.id = "856725"
		application.process.user = "devilholk"
		application.process.host = "klumpfot"
		application.process.binary = "spotify"
		window.x11.display = ":0"
		application.language = "sv_SE.UTF-8"
		application.process.machine_id = "71dfe91ffabc45ce87fa03607142fe77"
		application.process.session_id = "1"
		application.icon_name = "spotify-client"
    index: 1911
	driver: <protocol-native.c>
	owner module: 10
	properties:
		application.name = "Spotify"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "33"
		application.process.id = "856725"
		application.process.user = "devilholk"
		application.process.host = "klumpfot"
		application.process.binary = "spotify"
		window.x11.display = ":0"
		application.language = "sv_SE.UTF-8"
		application.process.machine_id = "71dfe91ffabc45ce87fa03607142fe77"
		application.process.session_id = "1"
		application.icon_name = "spotify-client"
    index: 1912
	driver: <protocol-native.c>
	owner module: 10
	properties:
		application.name = "Spotify"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "33"
		application.process.id = "856725"
		application.process.user = "devilholk"
		application.process.host = "klumpfot"
		application.process.binary = "spotify"
		window.x11.display = ":0"
		application.language = "sv_SE.UTF-8"
		application.process.machine_id = "71dfe91ffabc45ce87fa03607142fe77"
		application.process.session_id = "1"
		application.icon_name = "spotify-client"
    index: 1913
	driver: <protocol-native.c>
	owner module: 10
	properties:
		application.name = "Spotify"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "33"
		application.process.id = "856725"
		application.process.user = "devilholk"
		application.process.host = "klumpfot"
		application.process.binary = "spotify"
		window.x11.display = ":0"
		application.language = "sv_SE.UTF-8"
		application.process.machine_id = "71dfe91ffabc45ce87fa03607142fe77"
		application.process.session_id = "1"
		application.icon_name = "spotify-client"
    index: 1914
	driver: <protocol-native.c>
	owner module: 10
	properties:
		application.name = "Spotify"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "33"
		application.process.id = "856725"
		application.process.user = "devilholk"
		application.process.host = "klumpfot"
		application.process.binary = "spotify"
		window.x11.display = ":0"
		application.language = "sv_SE.UTF-8"
		application.process.machine_id = "71dfe91ffabc45ce87fa03607142fe77"
		application.process.session_id = "1"
		application.icon_name = "spotify-client"
    index: 1915
	driver: <protocol-native.c>
	owner module: 10
	properties:
		application.name = "Spotify"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "33"
		application.process.id = "856725"
		application.process.user = "devilholk"
		application.process.host = "klumpfot"
		application.process.binary = "spotify"
		window.x11.display = ":0"
		application.language = "sv_SE.UTF-8"
		application.process.machine_id = "71dfe91ffabc45ce87fa03607142fe77"
		application.process.session_id = "1"
		application.icon_name = "spotify-client"
    index: 1916
	driver: <protocol-native.c>
	owner module: 10
	properties:
		application.name = "Spotify"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "33"
		application.process.id = "856725"
		application.process.user = "devilholk"
		application.process.host = "klumpfot"
		application.process.binary = "spotify"
		window.x11.display = ":0"
		application.language = "sv_SE.UTF-8"
		application.process.machine_id = "71dfe91ffabc45ce87fa03607142fe77"
		application.process.session_id = "1"
		application.icon_name = "spotify-client"
    index: 1955
	driver: <protocol-native.c>
	owner module: 10
	properties:
		application.name = "Volymkontroll för PulseAudio"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "33"
		application.id = "org.PulseAudio.pavucontrol"
		application.icon_name = "audio-card"
		application.version = "4.0"
		application.process.id = "892400"
		application.process.user = "devilholk"
		application.process.host = "klumpfot"
		application.process.binary = "pavucontrol"
		application.language = "sv_SE.UTF-8"
		window.x11.display = ":0"
		application.process.machine_id = "71dfe91ffabc45ce87fa03607142fe77"
		application.process.session_id = "1"
    index: 2044
	driver: <protocol-native.c>
	owner module: 10
	properties:
		application.name = "Spotify"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "33"
		application.process.id = "856725"
		application.process.user = "devilholk"
		application.process.host = "klumpfot"
		application.process.binary = "spotify"
		window.x11.display = ":0"
		application.language = "sv_SE.UTF-8"
		application.process.machine_id = "71dfe91ffabc45ce87fa03607142fe77"
		application.process.session_id = "1"
		application.icon_name = "spotify-client"
    index: 2094
	driver: <protocol-native.c>
	owner module: 10
	properties:
		application.name = "Spotify"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "33"
		application.process.id = "856725"
		application.process.user = "devilholk"
		application.process.host = "klumpfot"
		application.process.binary = "spotify"
		window.x11.display = ":0"
		application.language = "sv_SE.UTF-8"
		application.process.machine_id = "71dfe91ffabc45ce87fa03607142fe77"
		application.process.session_id = "1"
		application.icon_name = "spotify-client"
    index: 2095
	driver: <protocol-native.c>
	owner module: 10
	properties:
		application.name = "Spotify"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "33"
		application.process.id = "856725"
		application.process.user = "devilholk"
		application.process.host = "klumpfot"
		application.process.binary = "spotify"
		window.x11.display = ":0"
		application.language = "sv_SE.UTF-8"
		application.process.machine_id = "71dfe91ffabc45ce87fa03607142fe77"
		application.process.session_id = "1"
		application.icon_name = "spotify-client"
    index: 2096
	driver: <protocol-native.c>
	owner module: 10
	properties:
		application.name = "Spotify"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "33"
		application.process.id = "856725"
		application.process.user = "devilholk"
		application.process.host = "klumpfot"
		application.process.binary = "spotify"
		window.x11.display = ":0"
		application.language = "sv_SE.UTF-8"
		application.process.machine_id = "71dfe91ffabc45ce87fa03607142fe77"
		application.process.session_id = "1"
		application.icon_name = "spotify-client"
    index: 2100
	driver: <cli.c>
	owner module: 22
	properties:
		application.name = "UNIX socket client"

 

 

Screenshot_20191121_144615.png
Reply
1 Reply

I just wanted to amend that a friend tried to replicate this and got the same issue. To replicate (running a similar system configuration as above):

 

  1. open pavucontrol
  2. have spotify play some music
  3. see that spotify has one (or more) streams
  4. use spotify connect to switch to another device
  5. use spotify connect to switch back
  6. notice a new sound stream in pavucontrol

As of yet I have found no resolution to this issue other than periodically close spotify and start it again. When doing that, all the sound streams are deallocated.

 

There doesn't seem to be any way to track status of a bug in this "bug report system" other than hoping other people having the same problem notices it and increase awareness of the bug until some developer sees it and decides to investigate further.

Suggested posts