1 |
Hi, I have had a problem for many months where esd segfaults on two |
2 |
systems. Sound and alsa (alsa-lib is 1.09) work fine. In the past |
3 |
there were esd-alsa API problems, but they have been solved - right? |
4 |
|
5 |
strace shows nothing obvious up until the segfault. Where can I look |
6 |
next? |
7 |
|
8 |
BillK |
9 |
|
10 |
|
11 |
The last part of a strace shows: |
12 |
|
13 |
.... |
14 |
|
15 |
open("/dev/aloadC31", O_RDONLY) = -1 ENOENT (No such file or |
16 |
directory) |
17 |
open("/dev/snd/controlC0", O_RDONLY) = 5 |
18 |
close(5) = 0 |
19 |
stat64("/usr/share/alsa/alsa.conf", {st_mode=S_IFREG|0644, |
20 |
st_size=7467, ...}) = 0 |
21 |
open("/dev/snd/controlC0", O_RDONLY) = 5 |
22 |
close(5) = 0 |
23 |
open("/dev/snd/controlC0", O_RDWR) = 5 |
24 |
ioctl(5, USBDEVFS_CONTROL, 0xbfad314c) = 0 |
25 |
ioctl(5, UI_DEV_CREATE, 0xbfad3240) = 0 |
26 |
close(5) = 0 |
27 |
open("/dev/snd/controlC0", O_RDONLY) = 5 |
28 |
close(5) = 0 |
29 |
stat64("/usr/share/alsa/alsa.conf", {st_mode=S_IFREG|0644, |
30 |
st_size=7467, ...}) = 0 |
31 |
open("/dev/snd/controlC0", O_RDONLY) = 5 |
32 |
close(5) = 0 |
33 |
open("/dev/snd/controlC0", O_RDWR) = 5 |
34 |
ioctl(5, USBDEVFS_CONTROL, 0xbfad2dfc) = 0 |
35 |
ioctl(5, UI_DEV_CREATE, 0xbfad2ef0) = 0 |
36 |
close(5) = 0 |
37 |
open("/dev/snd/controlC0", O_RDONLY) = 5 |
38 |
close(5) = 0 |
39 |
stat64("/usr/share/alsa/alsa.conf", {st_mode=S_IFREG|0644, |
40 |
st_size=7467, ...}) = 0 |
41 |
open("/dev/snd/controlC0", O_RDONLY) = 5 |
42 |
close(5) = 0 |
43 |
open("/dev/snd/controlC0", O_RDWR) = 5 |
44 |
ioctl(5, USBDEVFS_CONTROL, 0xbfad2dfc) = 0 |
45 |
ioctl(5, UI_DEV_CREATE, 0xbfad2ef0) = 0 |
46 |
close(5) = 0 |
47 |
open("/dev/snd/controlC0", O_RDONLY) = 5 |
48 |
close(5) = 0 |
49 |
stat64("/usr/share/alsa/alsa.conf", {st_mode=S_IFREG|0644, |
50 |
st_size=7467, ...}) = 0 |
51 |
open("/dev/snd/controlC0", O_RDONLY) = 5 |
52 |
close(5) = 0 |
53 |
open("/dev/snd/controlC0", O_RDWR) = 5 |
54 |
ioctl(5, USBDEVFS_CONTROL, 0xbfad2dfc) = 0 |
55 |
ioctl(5, UI_DEV_CREATE, 0xbfad2ef0) = 0 |
56 |
close(5) = 0 |
57 |
getuid32() = 0 |
58 |
semget(5678293, 1, IPC_CREAT|0600) = 229376 |
59 |
semop(229376, 0xbfad33f0, 2) = 0 |
60 |
shmget(5678293, 1012, IPC_CREAT|0600) = 2785297 |
61 |
shmat(2785297, 0, 0) = 0xb7fbe000 |
62 |
mlock(0xb7fbe000, 1012) = 0 |
63 |
shmctl(2785297, IPC_64|IPC_STAT, 0xbfad3390) = 0 |
64 |
open("/dev/snd/controlC0", O_RDONLY) = 5 |
65 |
close(5) = 0 |
66 |
open("/dev/snd/controlC0", O_RDWR) = 5 |
67 |
ioctl(5, USBDEVFS_CONTROL, 0xbfad310c) = 0 |
68 |
ioctl(5, 0x40045532, 0xbfad3134) = 0 |
69 |
open("/dev/snd/pcmC0D0p", O_RDWR|O_NONBLOCK) = 6 |
70 |
close(5) = 0 |
71 |
ioctl(6, AGPIOC_ACQUIRE or APM_IOC_STANDBY, 0xbfad3010) = 0 |
72 |
fcntl64(6, F_GETFL) = 0x802 (flags O_RDWR| |
73 |
O_NONBLOCK) |
74 |
ioctl(6, AGPIOC_INFO, 0xbfad2f7c) = 0 |
75 |
ioctl(6, AGPIOC_RELEASE or APM_IOC_SUSPEND, 0xbfad2f78) = 0 |
76 |
mmap2(NULL, 4096, PROT_READ, MAP_SHARED, 6, 0x80000) = 0xb7fbd000 |
77 |
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_SHARED, 6, 0x81000) = |
78 |
0xb7fbc000 |
79 |
ioctl(6, 0xc25c4110, 0xb7fbe104) = 0 |
80 |
ioctl(6, 0xc25c4110, 0xb7fbe104) = 0 |
81 |
ioctl(6, 0xc25c4110, 0xb7fbe104) = 0 |
82 |
ioctl(6, 0xc25c4110, 0xb7fbe104) = 0 |
83 |
ioctl(6, 0xc25c4110, 0xb7fbe104) = 0 |
84 |
ioctl(6, 0xc25c4110, 0xb7fbe104) = 0 |
85 |
ioctl(6, 0xc25c4110, 0xb7fbe104) = 0 |
86 |
ioctl(6, 0xc25c4110, 0xb7fbe104) = 0 |
87 |
ioctl(6, 0xc25c4110, 0xb7fbe104) = 0 |
88 |
ioctl(6, 0xc25c4111, 0xb7fbe104) = 0 |
89 |
ioctl(6, 0xc0684113, 0xbfad3300) = 0 |
90 |
ioctl(6, 0x80104132, 0xbfad3220) = 0 |
91 |
ioctl(6, 0x80104132, 0xbfad3220) = 0 |
92 |
mmap2(NULL, 65536, PROT_READ|PROT_WRITE, MAP_SHARED, 6, 0) = 0xb7fac000 |
93 |
ioctl(6, 0x4140, 0xb7e1f5a8) = 0 |
94 |
ioctl(6, 0xc0684113, 0xb7fbe360) = 0 |
95 |
ioctl(6, 0x4142, 0xb7e1f5a8) = 0 |
96 |
gettimeofday({1124751934, 260320}, NULL) = 0 |
97 |
socket(PF_FILE, SOCK_STREAM, 0) = 5 |
98 |
unlink("/tmp/alsa-dmix-10641-1124751934-260320") = -1 ENOENT (No such |
99 |
file or directory) |
100 |
bind(5, {sa_family=AF_FILE, |
101 |
path="/tmp/alsa-dmix-10641-1124751934-260320"}, 40) = 0 |
102 |
chmod("/tmp/alsa-dmix-10641-1124751934-260320", 0600) = 0 |
103 |
listen(5, 4) = 0 |
104 |
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID| |
105 |
SIGCHLD, child_tidptr=0xb7e0b6f8) = 10642 |
106 |
--- SIGCHLD (Child exited) @ 0 (0) --- |
107 |
waitpid(10642, NULL, 0) = 10642 |
108 |
shmget(5678294, 131072, IPC_CREAT|0600) = 2818068 |
109 |
shmat(2818068, 0, 0) = 0xb7f8c000 |
110 |
mlock(0xb7f8c000, 131072) = 0 |
111 |
ioctl(6, AGPIOC_ACQUIRE or APM_IOC_STANDBY, 0xbfad3230) = 0 |
112 |
stat64("/usr/share/alsa/alsa.conf", {st_mode=S_IFREG|0644, |
113 |
st_size=7467, ...}) = 0 |
114 |
open("/dev/snd/controlC0", O_RDONLY) = 7 |
115 |
close(7) = 0 |
116 |
open("/dev/snd/timer", O_RDONLY|O_NONBLOCK) = 7 |
117 |
ioctl(7, 0x80045400, 0xbfad2fbc) = 0 |
118 |
ioctl(7, TIOCSPGRP, 0xbfad2fc0) = 0 |
119 |
ioctl(7, 0x80045400, 0xbfad336c) = 0 |
120 |
open("/proc/cpuinfo", O_RDONLY) = 8 |
121 |
fstat64(8, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0 |
122 |
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, |
123 |
0) = 0xb7f8b000 |
124 |
read(8, "processor\t: 0\nvendor_id\t: Authen"..., 1024) = 413 |
125 |
read(8, "", 1024) = 0 |
126 |
close(8) = 0 |
127 |
munmap(0xb7f8b000, 4096) = 0 |
128 |
semop(229376, 0xbfad33f0, 1) = 0 |
129 |
--- SIGSEGV (Segmentation fault) @ 0 (0) --- |
130 |
+++ killed by SIGSEGV +++ |
131 |
|
132 |
|
133 |
|
134 |
-- |
135 |
William Kenworthy <billk@×××××××××.au> |
136 |
Home! |
137 |
|
138 |
-- |
139 |
gentoo-user@g.o mailing list |