Xpra: Ticket #241: 0.8.0: "xpra upgrade" create 2 new pulseaudio processes

Starting with 0.8.0 every "xpra upgrade" command start two new pulseaudio processes without terminating or reusing old ones.



Sat, 02 Feb 2013 16:39:49 GMT - Antoine Martin: status changed; resolution set

fixed in r2635 - 0.8.1 will be released shortly with the fix

I assume you mean a second pulseaudio and not two more? (I can't see how that would be possible since there can only be one start-pulseaudio command per invocation)


Sun, 03 Feb 2013 23:34:37 GMT - onlyjob:

Well ps ax | grep pulseaudio | wc -l was incrementing by 2 on each xpra upgrade. Of course pulseaudio itself probably start another process but overall number of processes was reported accurately...


Mon, 04 Feb 2013 04:32:47 GMT - Antoine Martin:

hah, I think what is happening is that we call xpra.sound.pulseaudio_util.get_pulse_server to populate some information in the hello packets, and this can call "pactl" which starts pulseaudio on demand... which we do not really want. Will try to fix. PITA.


Mon, 04 Feb 2013 16:13:19 GMT - Antoine Martin:

r2648 tries to prevent us from starting pulseaudio when we just want to query it - I believe this is the second pulseaudio process you saw


Sat, 23 Jan 2021 04:49:22 GMT - migration script:

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/241