[pulseaudio-tickets] [PulseAudio] #880: pasuspender should trap SIGINT

PulseAudio trac-noreply at tango.0pointer.de
Tue Nov 30 07:23:57 PST 2010


#880: pasuspender should trap SIGINT
---------------------+------------------------------------------------------
  Reporter:  heftig  |       Owner:  lennart
      Type:  defect  |      Status:  new    
 Milestone:          |   Component:  clients
Resolution:          |    Keywords:         
---------------------+------------------------------------------------------

Comment(by caiiiyua):

 I also tested this issue on my ubuntu 10.10 with PulseAudio 0.9.21 and it
 seems work well too.

 here is the log of PA:
 {{{
 I: client.c: Created 9 "Native client (UNIX socket client)"
 D: protocol-native.c: Protocol version: remote 16, local 16
 I: protocol-native.c: Got credentials: uid=1000 gid=1000 success=1
 D: protocol-native.c: SHM possible: yes
 D: protocol-native.c: Negotiated SHM: yes
 D: module-augment-properties.c: Looking for .desktop file for pasuspender
 D: protocol-native.c: Suspending all sinks
 D: protocol-native.c: Suspending all sources
 I: client.c: Created 10 "Native client (UNIX socket client)"
 I: client.c: Freed 10 "Native client (UNIX socket client)"
 I: protocol-native.c: Connection died.
 D: module-udev-detect.c: /dev/snd/controlC0 is accessible: yes
 D: module-udev-detect.c: /dev/snd/controlC0 is accessible: yes
 D: protocol-native.c: Resuming all sinks
 D: protocol-native.c: Resuming all sources
 I: client.c: Freed 9 "pasuspender"
 I: protocol-native.c: Connection died.
 }}}
 I did:
 {{{
 momo at momo-laptop:~$ pasuspender bash
 momo at momo-laptop:~$ jackd -d alsa
 jackd 0.118.0
 Copyright 2001-2009 Paul Davis, Stephane Letz, Jack O'Quinn, Torben Hohn
 and others.
 ....
 ^Cjack main caught signal 2
 momo at momo-laptop:~$ exit
 exit
 momo at momo-laptop:~$
 }}}

 By the way,I guess trap signals like SIGINT and SIGTERM,etc are enough to
 make a clean exit.

-- 
Ticket URL: <http://pulseaudio.org/ticket/880#comment:3>
PulseAudio <http://pulseaudio.org/>
The PulseAudio Sound Server


More information about the pulseaudio-bugs mailing list