xpra icon
Bug tracker and wiki

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#241 closed defect (fixed)

0.8.0: "xpra upgrade" create 2 new pulseaudio processes

Reported by: onlyjob Owned by:
Priority: critical Milestone: 0.8
Component: core Version: trunk
Keywords: Cc:

Description

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

Change History (4)

comment:1 Changed 7 years ago by Antoine Martin

Resolution: fixed
Status: newclosed

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)

comment:2 Changed 7 years ago by 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...

comment:3 Changed 7 years ago by 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.

comment:4 Changed 7 years ago by 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

Note: See TracTickets for help on using tickets.