Re: Still having trouble with sound in Gnome



Elliot Lee wrote:

> >     Here's part of an strace output of esd, right after it gets done
> > playing the startup tones but before I kill it.  Can anyone tell me if
> > this looks right?
>
> I'm pretty sure I already pointed out that trying to connect to the TCP/IP
> port and not trying the UNIX socket. AFAIK nobody else can reproduce the
> problem.

Below I've attached a complete copy of an strace of esd -nobeeps (generated
today), and it's not using TCP sockets.  It's using UNIX sockets, so I don't
think this is the problem.  That previous strace was probably from esdplay,
because it looks like it tries to connect via TCP sockets before opening
/dev/dsp directly.  I can send you an strace of that if you'd like.

> > I believe the problem is due to something the 1.0.40 install process did
> > to my system, not the daemon or library itself.
>
> Unfortunately, it's pretty much "your problem" :(

Then surely there are things I can look at to debug this problem.  (Like what
could have changed?  What does an strace of esd look like on a system that
does work?  etc.)  Something explicit must have changed on my system, and I
don't know what all to look at.  And I don't have a working system to compare
to.  It makes me want to punch a hole through my monitor because things were
working fine.  Then I upgraded Gnome and things broke.  Nothing else on my
system changed.  It bugs me to no end that I can't figure this out.  I know
I'm not the only one to have this problem, because I've received e-mail from
several people who have run into the same thing.  They updated via RPM, I
compiled source.

Thanks,
Dan

---------------------------------------------------------
execve("/usr/local/bin/esd", ["esd", "-nobeeps"], [/* 33 vars */]) = 0
brk(0)                                  = 0x8053628
open("/etc/ld.so.preload", O_RDONLY)    = -1 ENOENT (No such file or
directory)
open("/usr/local/lib/libaudiofile.so.0", O_RDONLY) = 4
mmap(0, 4096, PROT_READ, MAP_PRIVATE, 4, 0) = 0x4000b000
munmap(0x4000b000, 4096)                = 0
mmap(0, 70496, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0x4000b000
mprotect(0x4001b000, 4960, PROT_NONE)   = 0
mmap(0x4001b000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 4, 0xf000)
= 0x4001b000
close(4)                                = 0
open("/usr/local/lib/libm.so.6", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/usr/local/lib/libm.so.6", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/etc/ld.so.cache", O_RDONLY)      = 4
fstat(4, {st_mode=0, st_size=0, ...})   = 0
mmap(0, 33658, PROT_READ, MAP_PRIVATE, 4, 0) = 0x4001d000
close(4)                                = 0
open("/lib/libm.so.6", O_RDONLY)        = 4
mmap(0, 4096, PROT_READ, MAP_PRIVATE, 4, 0) = 0x40026000
munmap(0x40026000, 4096)                = 0
mmap(0, 100064, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0x40026000
mprotect(0x4003e000, 1760, PROT_NONE)   = 0
mmap(0x4003e000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 4,
0x17000) = 0x4003e000
close(4)                                = 0
open("/usr/local/lib/libesd.so.0", O_RDONLY) = 4
mmap(0, 4096, PROT_READ, MAP_PRIVATE, 4, 0) = 0x4003f000
munmap(0x4003f000, 4096)                = 0
mmap(0, 23960, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0x4003f000
mprotect(0x40044000, 3480, PROT_NONE)   = 0
mmap(0x40044000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 4, 0x4000)
= 0x40044000
close(4)                                = 0
open("/usr/local/lib/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/usr/local/lib/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/lib/libc.so.6", O_RDONLY)        = 4
mmap(0, 4096, PROT_READ, MAP_PRIVATE, 4, 0) = 0x40045000
mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x40046000
munmap(0x40045000, 4096)                = 0
mmap(0, 670580, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0x40047000
mprotect(0x400d8000, 76660, PROT_NONE)  = 0
mmap(0x400d8000, 28672, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 4,
0x90000) = 0x400d8000
mmap(0x400df000, 47988, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x400df000
close(4)                                = 0
personality(0 /* PER_??? */)            = 0
getpid()                                = 12315
access("/tmp/.esd", R_OK|W_OK)          = 0
access("/tmp/.esd/socket", R_OK|W_OK)   = -1 ENOENT (No such file or
directory)
unlink("/tmp/.esd/socket")              = -1 ENOENT (No such file or
directory)
socket(PF_UNIX, SOCK_STREAM, 0)         = 4
fcntl(4, F_SETFL, O_RDONLY|O_NONBLOCK)  = 0
setsockopt(4, SOL_SOCKET, SO_LINGER, [1], 8) = 0
setsockopt(4, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0
bind(4, {sun_family=AF_UNIX, sun_path="/tmp/.esd/socket"}, 18) = 0
chmod("/tmp/.esd/socket", 0777)         = 0
listen(4, 16)                           = 0
open("/dev/dsp", O_WRONLY)              = 5
ioctl(5, SNDCTL_DSP_SETFRAGMENT, 0xbffffacc) = 0
ioctl(5, SNDCTL_DSP_SETFMT, 0xbffffacc) = 0
ioctl(5, SNDCTL_DSP_GETFMTS, 0xbffffacc) = 0
ioctl(5, SNDCTL_DSP_STEREO, 0xbffffacc) = 0
ioctl(5, SNDCTL_DSP_SPEED, 0xbffffacc)  = 0
brk(0)                                  = 0x8053628
brk(0x8054640)                          = 0x8054640
brk(0x8055000)                          = 0x8055000
sigaction(SIGINT, {0x80491f8, [], 0x9c0}, {SIG_DFL}) = 0
sigaction(SIGTERM, {0x80491f8, [], SA_STACK|0x55000}, {SIG_DFL}) = 0
sigaction(SIGPIPE, {0x804924c, [], SA_STACK|SA_NOCLDSTOP|0x4881a}, {SIG_DFL})
= 0
sigaction(SIGHUP, {0x8049150, [],
SA_STACK|SA_RESTART|SA_INTERRUPT|SA_ONESHOT|0x7fffa08}, {SIG_DFL}) = 0
ioctl(5, SNDCTL_DSP_POST, 0)            = 0
select(5, [4], NULL, NULL, {0, 11000})  = 0 (Timeout)
fsync(5)                                = -1 EINVAL (Invalid argument)
ioctl(5, SNDCTL_DSP_POST, 0)            = 0
time(NULL)                              = 940118467
accept(4, 0xbffffab8, [16])             = -1 EAGAIN (Resource temporarily
unavailable)
select(5, [4], NULL, NULL, NULL)        = ? ERESTARTNOHAND (To be restarted)
--- SIGINT (Interrupt) ---
close(5)                                = 0
close(4)                                = 0
unlink("/tmp/.esd/socket")              = 0
unlink("/tmp/.esd")                     = -1 EISDIR (Is a directory)
_exit(0)                                = ?




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]