1 |
I just came back from a longweekend and wanted to check out what was new. |
2 |
|
3 |
But emerge sync segfaulted. |
4 |
Here is the strace: |
5 |
|
6 |
open("/etc/resolv.conf", O_RDONLY) = 3 |
7 |
ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfffae14) = -1 ENOTTY |
8 |
(Inappropriate ioctl for device) |
9 |
read(3, "search nor.wtbts.org\nnameserver "..., 4096) = 43 |
10 |
read(3, "", 4096) = 0 |
11 |
close(3) = 0 |
12 |
open("/etc/hosts", O_RDONLY) = 3 |
13 |
ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfffae4c) = -1 ENOTTY |
14 |
(Inappropriate ioctl for device) |
15 |
read(3, "# /etc/hosts: This file describ"..., 4096) = 677 |
16 |
read(3, "", 4096) = 0 |
17 |
close(3) = 0 |
18 |
socket(PF_INET, SOCK_DGRAM, IPPROTO_UDP) = 3 |
19 |
connect(3, {sa_family=AF_INET, sin_port=htons(53), |
20 |
sin_addr=inet_addr("127.0.0.1")}, 16) = 0 |
21 |
send(3, "\0\2\1\0\0\1\0\0\0\0\0\0\5rsync\6gentoo\3org\0\0\1"..., 34, 0) = 34 |
22 |
select(4, [3], NULL, NULL, {10, 0}) = 1 (in [3], left {10, 0}) |
23 |
recv(3, "\0\2\201\200\0\1\0\5\0\2\0\2\5rsync\6gentoo\3org\0\0\1"..., |
24 |
512, 0) = 198 |
25 |
close(3) = 0 |
26 |
open("/etc/hosts", O_RDONLY) = 3 |
27 |
ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfffafc8) = -1 ENOTTY |
28 |
(Inappropriate ioctl for device) |
29 |
read(3, "# /etc/hosts: This file describ"..., 4096) = 677 |
30 |
read(3, "", 4096) = 0 |
31 |
close(3) = 0 |
32 |
socket(PF_INET, SOCK_DGRAM, IPPROTO_UDP) = 3 |
33 |
connect(3, {sa_family=AF_INET, sin_port=htons(53), |
34 |
sin_addr=inet_addr("127.0.0.1")}, 16) = 0 |
35 |
send(3, "\0\3\1\0\0\1\0\0\0\0\0\0\5rsync\6gentoo\3org\0\0\1"..., 34, 0) = 34 |
36 |
select(4, [3], NULL, NULL, {10, 0}) = 1 (in [3], left {10, 0}) |
37 |
recv(3, "\0\3\201\200\0\1\0\5\0\2\0\2\5rsync\6gentoo\3org\0\0\1"..., |
38 |
512, 0) = 198 |
39 |
close(3) = 0 |
40 |
--- SIGSEGV (Segmentation fault) @ 0 (0) --- |
41 |
+++ killed by SIGSEGV +++ |
42 |
root@nc / # |
43 |
|
44 |
So, emerge segfaults directly after it does the DNS lookup for |
45 |
"rsync.gentoo.org" (I run a DNS proxy on 127.0.0.1) |
46 |
|
47 |
I guess there is a bug in libresolv in uclibc |
48 |
|
49 |
|
50 |
-- |
51 |
gentoo-embedded@g.o mailing list |