Gentoo Archives: gentoo-embedded

From: Ned Ludd <solar@g.o>
To: Natanael Copa <mlists@××××××.org>
Cc: gentoo-embedded@l.g.o
Subject: Re: [gentoo-embedded] uclibc "emerge sync" segfaults
Date: Mon, 02 Aug 2004 20:06:19
Message-Id: 1091477121.5995.567.camel@simple
In Reply to: [gentoo-embedded] uclibc "emerge sync" segfaults by Natanael Copa
1 Yeah nasty bug here ;/
2
3 You can however do an emerge-webrsync (It's just slow as dirt)
4
5
6 On Mon, 2004-08-02 at 04:32, Natanael Copa wrote:
7 > I just came back from a longweekend and wanted to check out what was new.
8 >
9 > But emerge sync segfaulted.
10 > Here is the strace:
11 >
12 > open("/etc/resolv.conf", O_RDONLY) = 3
13 > ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfffae14) = -1 ENOTTY
14 > (Inappropriate ioctl for device)
15 > read(3, "search nor.wtbts.org\nnameserver "..., 4096) = 43
16 > read(3, "", 4096) = 0
17 > close(3) = 0
18 > open("/etc/hosts", O_RDONLY) = 3
19 > ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfffae4c) = -1 ENOTTY
20 > (Inappropriate ioctl for device)
21 > read(3, "# /etc/hosts: This file describ"..., 4096) = 677
22 > read(3, "", 4096) = 0
23 > close(3) = 0
24 > socket(PF_INET, SOCK_DGRAM, IPPROTO_UDP) = 3
25 > connect(3, {sa_family=AF_INET, sin_port=htons(53),
26 > sin_addr=inet_addr("127.0.0.1")}, 16) = 0
27 > send(3, "\0\2\1\0\0\1\0\0\0\0\0\0\5rsync\6gentoo\3org\0\0\1"..., 34, 0) = 34
28 > select(4, [3], NULL, NULL, {10, 0}) = 1 (in [3], left {10, 0})
29 > recv(3, "\0\2\201\200\0\1\0\5\0\2\0\2\5rsync\6gentoo\3org\0\0\1"...,
30 > 512, 0) = 198
31 > close(3) = 0
32 > open("/etc/hosts", O_RDONLY) = 3
33 > ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfffafc8) = -1 ENOTTY
34 > (Inappropriate ioctl for device)
35 > read(3, "# /etc/hosts: This file describ"..., 4096) = 677
36 > read(3, "", 4096) = 0
37 > close(3) = 0
38 > socket(PF_INET, SOCK_DGRAM, IPPROTO_UDP) = 3
39 > connect(3, {sa_family=AF_INET, sin_port=htons(53),
40 > sin_addr=inet_addr("127.0.0.1")}, 16) = 0
41 > send(3, "\0\3\1\0\0\1\0\0\0\0\0\0\5rsync\6gentoo\3org\0\0\1"..., 34, 0) = 34
42 > select(4, [3], NULL, NULL, {10, 0}) = 1 (in [3], left {10, 0})
43 > recv(3, "\0\3\201\200\0\1\0\5\0\2\0\2\5rsync\6gentoo\3org\0\0\1"...,
44 > 512, 0) = 198
45 > close(3) = 0
46 > --- SIGSEGV (Segmentation fault) @ 0 (0) ---
47 > +++ killed by SIGSEGV +++
48 > root@nc / #
49 >
50 > So, emerge segfaults directly after it does the DNS lookup for
51 > "rsync.gentoo.org" (I run a DNS proxy on 127.0.0.1)
52 >
53 > I guess there is a bug in libresolv in uclibc
54 >
55 >
56 > --
57 > gentoo-embedded@g.o mailing list
58 --
59 Ned Ludd <solar@g.o>
60 Gentoo (hardened,security,infrastructure,embedded,toolchain) Developer

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-embedded] uclibc "emerge sync" segfaults Natanael Copa <mlists@××××××.org>