[pulseaudio-tickets] [PulseAudio] #230: autospawn not working

PulseAudio trac-noreply at tango.0pointer.de
Thu Jan 31 00:29:51 PST 2008


#230: autospawn not working
----------------------------------+-----------------------------------------
  Reporter:  linuxrulez.giedrius  |       Owner:  lennart  
      Type:  defect               |      Status:  new      
  Priority:  normal               |   Milestone:           
 Component:  core                 |    Severity:  normal   
Resolution:                       |    Keywords:  autospawn
----------------------------------+-----------------------------------------
Comment (by linuxrulez.giedrius):

 More info: strace -Ffv pactl stat
 {{{
 [pid 17347] open("/usr/lib64/pulse-0.9/modules/module-native-protocol-
 fd.so", O_RDONLY) = 14
 [pid 17347] read(14,
 "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\240\n\0\0\0\0\0\0"...,
 832) = 832
 [pid 17347] fstat(14, {st_dev=makedev(104, 1), st_ino=473606,
 st_mode=S_IFREG|0755, st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096,
 st_blocks=32, st_size=14595, st_atime=2008/01/31-10:25:21,
 st_mtime=2008/01/30-16:56:33, st_ctime=2008/01/31-09:31:48}) = 0
 [pid 17347] mmap(NULL, 2105448, PROT_READ|PROT_EXEC,
 MAP_PRIVATE|MAP_DENYWRITE, 14, 0) = 0x2aaab2bf6000
 [pid 17347] fadvise64(14, 0, 2105448, POSIX_FADV_WILLNEED) = 0
 [pid 17347] mprotect(0x2aaab2bf7000, 2097152, PROT_NONE) = 0
 [pid 17347] mmap(0x2aaab2df7000, 8192, PROT_READ|PROT_WRITE,
 MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 14, 0x1000) = 0x2aaab2df7000
 [pid 17347] close(14)                   = 0
 [pid 17347] mprotect(0x2aaab2df7000, 4096, PROT_READ) = 0
 [pid 17347] fcntl(11, F_GETFL)          = 0x2 (flags O_RDWR)
 [pid 17347] fcntl(11, F_SETFL, O_RDWR|O_NONBLOCK) = 0
 [pid 17347] write(2, "pulseaudio: pulsecore/protocol-n"..., 83) = 83
 [pid 17347] rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
 [pid 17347] tgkill(17347, 17347, SIGABRT) = 0
 [pid 17347] --- SIGABRT (Aborted) @ 0 (0) ---
 Process 17347 detached
 [pid 17349] <... ppoll resumed> [{fd=20, events=POLLIN}, {fd=16,
 events=POLLIN}], 2, {...}, [], 8) = ? ERESTARTNOHAND (To be restarted)
 [pid 17350] <... poll resumed> [{fd=22,
 events=POLLIN|POLLERR|POLLHUP|POLLNVAL}, {fd=23,
 events=POLLIN|POLLERR|POLLHUP|POLLNVAL}], 2, 1000) = -1 EINTR (Interrupted
 system call)
 [pid 17352] <... ppoll resumed> [{fd=30, events=POLLIN}, {fd=26,
 events=POLLIN}], 2, {...}, [], 8) = ? ERESTARTNOHAND (To be restarted)
 [pid 17353] <... poll resumed> [{fd=32,
 events=POLLIN|POLLERR|POLLHUP|POLLNVAL}, {fd=33,
 events=POLLIN|POLLERR|POLLHUP|POLLNVAL}], 2, 1000) = -1 EINTR (Interrupted
 system call)
 [pid 17349] +++ killed by SIGABRT +++
 [pid 17350] +++ killed by SIGABRT +++
 [pid 17353] +++ killed by SIGABRT +++
 [pid 17346] <... read resumed> "", 4)   = 0
 [pid 17346] ioctl(2, SNDCTL_TMR_TIMEBASE or TCGETS, {c_iflags=0x4100,
 c_oflags=0x5, c_cflags=0xbf, c_lflags=0x8a3b, c_line=0,
 c_cc="\x03\x1c\x7f\x15\x04\x00\x01\x00\x11\x13\x1a\x00\x12\x0f\x17\x16\x00\x00\x00"})
 = 0
 [pid 17346] write(2, "E: main.c: \33[1;31mread() failed:"..., 55E: main.c:
 read() failed: Permission denied
  <unfinished ...>
 [pid 17352] +++ killed by SIGABRT +++
 [pid 17346] <... write resumed> )       = 55
 [pid 17346] --- SIGCHLD (Child exited) @ 0 (0) ---
 [pid 17346] ioctl(2, SNDCTL_TMR_TIMEBASE or TCGETS, {c_iflags=0x4100,
 c_oflags=0x5, c_cflags=0xbf, c_lflags=0x8a3b, c_line=0,
 c_cc="\x03\x1c\x7f\x15\x04\x00\x01\x00\x11\x13\x1a\x00\x12\x0f\x17\x16\x00\x00\x00"})
 = 0
 [pid 17346] write(2, "E: main.c: \33[1;31mdaemon startup"..., 45E: main.c:
 daemon startup failed.
 ) = 45
 [pid 17346] close(3)                    = 0
 [pid 17346] exit_group(1)               = ?
 Process 17345 resumed
 Process 17346 detached
 [pid 17345] <... wait4 resumed> [{WIFEXITED(s) && WEXITSTATUS(s) == 1}],
 0, NULL) = 17346
 [pid 17345] --- SIGCHLD (Child exited) @ 0 (0) ---
 [pid 17345] write(2, "Connection failure: Connection r"..., 39Connection
 failure: Connection refused
 ) = 39
 [pid 17345] close(10)                   = 0
 [pid 17345] close(11)                   = 0
 [pid 17345] unlink("/tmp/pulse-giedrius/autospawn.lock") = 0
 [pid 17345] fcntl(9, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=0,
 len=0}) = 0
 [pid 17345] close(9)                    = 0
 [pid 17345] munmap(0x2aad89175000, 2097152) = 0
 [pid 17345] rt_sigaction(SIGINT, {SIG_DFL}, NULL, 8) = 0
 [pid 17345] close(6)                    = 0
 [pid 17345] close(8)                    = 0
 [pid 17345] close(3)                    = 0
 [pid 17345] close(4)                    = 0
 [pid 17345] exit_group(1)               = ?
 Process 17347 detached
 }}}
 This worked after I've launched pulseaudio and stopped it (CTRL-C)

 pulseaudio = 0.9.8-6.1

-- 
Ticket URL: <http://www.pulseaudio.org/ticket/230#comment:1>
PulseAudio <http://pulseaudio.org/>
The PulseAudio Sound Server


More information about the pulseaudio-bugs mailing list