Gentoo Archives: gentoo-hardened

From: "Tóth Attila" <atoth@××××××××××.hu>
To: gentoo-hardened@l.g.o
Subject: [gentoo-hardened] New glibc feature caught sed in action while revdep-rebuild?
Date: Wed, 04 Jan 2012 22:13:08
Message-Id: f528b12b04a2a4030de6fc86c4e72ac1.squirrel@atoth.sote.hu
1 I've just installed a new glibc, since the latest dev-lang/R now doesn't
2 have any requirements about it.
3
4 On two systems I got the following messages while running revdep-rebuild.
5 What should I do next?
6
7 Thanks:
8 Dw.
9
10 revdep-rebuild -i
11 * Configuring search environment for revdep-rebuild
12
13 * Checking reverse dependencies
14 * Packages containing binaries and libraries broken by a package update
15 * will be emerged.
16
17 * Collecting system binaries and libraries
18 * Generated new 1_files.rr
19 * Collecting complete LD_LIBRARY_PATH
20 *** glibc detected *** sed: double free or corruption (!prev): 0x11770008 ***
21 ======= Backtrace: =========
22 /lib/libc.so.6(+0x6e41f)[0x4fe5a41f]
23 /lib/libc.so.6(+0x6fd33)[0x4fe5bd33]
24 /lib/libc.so.6(cfree+0x6d)[0x4fe5ee7d]
25 /lib/libc.so.6(+0xafc7d)[0x4fe9bc7d]
26 /lib/libc.so.6(+0xb5e15)[0x4fea1e15]
27 /lib/libc.so.6(re_search+0x34)[0x4fea2774]
28 sed(+0x8c04)[0x11757c04]
29 sed(+0x7a4e)[0x11756a4e]
30 sed(+0x8911)[0x11757911]
31 sed(main+0x3cb)[0x11751c0b]
32 /lib/libc.so.6(__libc_start_main+0xe6)[0x4fe06326]
33 sed(+0x2311)[0x11751311]
34 ======= Memory map: ========
35 1174f000-1175f000 r-xp 00000000 08:02 591140 /bin/sed
36 1175f000-11760000 r--p 0000f000 08:02 591140 /bin/sed
37 11760000-11761000 rw-p 00010000 08:02 591140 /bin/sed
38 11761000-1178d000 rw-p 00000000 00:00 0 [heap]
39 4f900000-4f921000 rw-p 00000000 00:00 0
40 4f921000-4fa00000 ---p 00000000 00:00 0
41 4fa1d000-4fa38000 r-xp 00000000 08:02 1658262
42 /usr/lib/gcc/i686-pc-linux-gnu/4.5.3/libgcc_s.so.1
43 4fa38000-4fa39000 r--p 0001a000 08:02 1658262
44 /usr/lib/gcc/i686-pc-linux-gnu/4.5.3/libgcc_s.so.1
45 4fa39000-4fa3a000 rw-p 0001b000 08:02 1658262
46 /usr/lib/gcc/i686-pc-linux-gnu/4.5.3/libgcc_s.so.1
47 4fa71000-4fbe5000 r--p 00203000 08:02 1084351
48 /usr/lib/locale/locale-archive
49 4fbe5000-4fde5000 r--p 00000000 08:02 1084351
50 /usr/lib/locale/locale-archive
51 4fde5000-4fde6000 rw-p 00000000 00:00 0
52 4fde6000-4fdea000 r-xp 00000000 08:02 2120899 /lib/libattr.so.1.1.0
53 4fdea000-4fdeb000 r--p 00003000 08:02 2120899 /lib/libattr.so.1.1.0
54 4fdeb000-4fdec000 rw-p 00004000 08:02 2120899 /lib/libattr.so.1.1.0
55 4fdec000-4ff47000 r-xp 00000000 08:02 2119387 /lib/libc-2.14.1.so
56 4ff47000-4ff49000 r--p 0015b000 08:02 2119387 /lib/libc-2.14.1.so
57 4ff49000-4ff4a000 rw-p 0015d000 08:02 2119387 /lib/libc-2.14.1.so
58 4ff4a000-4ff4d000 rw-p 00000000 00:00 0
59 4ff4d000-4ff54000 r-xp 00000000 08:02 2120900 /lib/libacl.so.1.1.0
60 4ff54000-4ff55000 r--p 00007000 08:02 2120900 /lib/libacl.so.1.1.0
61 4ff55000-4ff56000 rw-p 00008000 08:02 2120900 /lib/libacl.so.1.1.0
62 4ff83000-4ff86000 rw-p 00000000 00:00 0
63 4ff86000-4ff8d000 r--s 00000000 08:02 1084349
64 /usr/lib/gconv/gconv-modules.cache
65 4ff8d000-4ff8e000 rw-p 00000000 00:00 0
66 4ff8e000-4ff8f000 r-xp 00000000 00:00 0 [vdso]
67 4ff8f000-4ffac000 r-xp 00000000 08:02 2119388 /lib/ld-2.14.1.so
68 4ffac000-4ffad000 r--p 0001c000 08:02 2119388 /lib/ld-2.14.1.so
69 4ffad000-4ffae000 rw-p 0001d000 08:02 2119388 /lib/ld-2.14.1.so
70 588a8000-588ca000 rw-p 00000000 00:00 0 [stack]
71 7174f000-7175f000 r-xp 00000000 08:02 591140 /bin/sed
72 afa1d000-afa38000 r-xp 00000000 08:02 1658262
73 /usr/lib/gcc/i686-pc-linux-gnu/4.5.3/libgcc_s.so.1
74 afde6000-afdea000 r-xp 00000000 08:02 2120899 /lib/libattr.so.1.1.0
75 afdec000-aff47000 r-xp 00000000 08:02 2119387 /lib/libc-2.14.1.so
76 aff4d000-aff54000 r-xp 00000000 08:02 2120900 /lib/libacl.so.1.1.0
77 aff8e000-aff8f000 r-xp 00000000 00:00 0 [vdso]
78 aff8f000-affac000 r-xp 00000000 08:02 2119388 /lib/ld-2.14.1.so
79 * Generated new 2_ldpath.rr
80 * Checking dynamic linking consistency
81
82
83 revdep-rebuild
84 * Configuring search environment for revdep-rebuild
85
86 * Checking reverse dependencies
87 * Packages containing binaries and libraries broken by a package update
88 * will be emerged.
89
90 * Collecting system binaries and libraries
91 * Generated new 1_files.rr
92 * Collecting complete LD_LIBRARY_PATH
93 *** glibc detected *** sed: double free or corruption (!prev): 0x126c2378 ***
94 ======= Backtrace: =========
95 /lib/libc.so.6(+0x7319f)[0x503b519f]
96 /lib/libc.so.6(+0x74b3e)[0x503b6b3e]
97 /lib/libc.so.6(cfree+0x6d)[0x503ba18d]
98 /lib/libc.so.6(+0xba346)[0x503fc346]
99 /lib/libc.so.6(+0xc0658)[0x50402658]
100 /lib/libc.so.6(re_search+0x32)[0x50403132]
101 sed(+0x8d98)[0x126a3d98]
102 sed(+0x7b7c)[0x126a2b7c]
103 sed(+0x8aa1)[0x126a3aa1]
104 sed(main+0x3db)[0x1269dafb]
105 /lib/libc.so.6(__libc_start_main+0xe4)[0x5035c324]
106 sed(+0x21d1)[0x1269d1d1]
107 ======= Memory map: ========
108 1269b000-126ab000 r-xp 00000000 08:02 1149216 /bin/sed
109 126ab000-126ac000 r--p 0000f000 08:02 1149216 /bin/sed
110 126ac000-126ad000 rw-p 00010000 08:02 1149216 /bin/sed
111 126ad000-126e0000 rw-p 00000000 00:00 0 [heap]
112 4fe00000-4fe21000 rw-p 00000000 00:00 0
113 4fe21000-4ff00000 ---p 00000000 00:00 0
114 4ff73000-4ff8f000 r-xp 00000000 08:02 1888082
115 /usr/lib/gcc/i686-pc-linux-gnu/4.5.3/libgcc_s.so.1
116 4ff8f000-4ff90000 r--p 0001b000 08:02 1888082
117 /usr/lib/gcc/i686-pc-linux-gnu/4.5.3/libgcc_s.so.1
118 4ff90000-4ff91000 rw-p 0001c000 08:02 1888082
119 /usr/lib/gcc/i686-pc-linux-gnu/4.5.3/libgcc_s.so.1
120 4ffc7000-5013b000 r--p 00203000 08:02 1709438
121 /usr/lib/locale/locale-archive
122 5013b000-5033b000 r--p 00000000 08:02 1709438
123 /usr/lib/locale/locale-archive
124 5033b000-5033c000 rw-p 00000000 00:00 0
125 5033c000-50340000 r-xp 00000000 08:02 2282524 /lib/libattr.so.1.1.0
126 50340000-50341000 r--p 00003000 08:02 2282524 /lib/libattr.so.1.1.0
127 50341000-50342000 rw-p 00004000 08:02 2282524 /lib/libattr.so.1.1.0
128 50342000-504ae000 r-xp 00000000 08:02 2282237 /lib/libc-2.14.1.so
129 504ae000-504b0000 r--p 0016c000 08:02 2282237 /lib/libc-2.14.1.so
130 504b0000-504b1000 rw-p 0016e000 08:02 2282237 /lib/libc-2.14.1.so
131 504b1000-504b4000 rw-p 00000000 00:00 0
132 504b4000-504bb000 r-xp 00000000 08:02 2286846 /lib/libacl.so.1.1.0
133 504bb000-504bc000 r--p 00007000 08:02 2286846 /lib/libacl.so.1.1.0
134 504bc000-504bd000 rw-p 00008000 08:02 2286846 /lib/libacl.so.1.1.0
135 504e9000-504ec000 rw-p 00000000 00:00 0
136 504ec000-504f3000 r--s 00000000 08:02 1707832
137 /usr/lib/gconv/gconv-modules.cache
138 504f3000-504f4000 rw-p 00000000 00:00 0
139 504f4000-504f5000 r-xp 00000000 00:00 0 [vdso]
140 504f5000-50514000 r-xp 00000000 08:02 2282234 /lib/ld-2.14.1.so
141 50514000-50515000 r--p 0001e000 08:02 2282234 /lib/ld-2.14.1.so
142 50515000-50516000 rw-p 0001f000 08:02 2282234 /lib/ld-2.14.1.so
143 5ceb9000-5cedb000 rw-p 00000000 00:00 0 [stack]
144 7269b000-726ab000 r-xp 00000000 08:02 1149216 /bin/sed
145 aff73000-aff8f000 r-xp 00000000 08:02 1888082
146 /usr/lib/gcc/i686-pc-linux-gnu/4.5.3/libgcc_s.so.1
147 b033c000-b0340000 r-xp 00000000 08:02 2282524 /lib/libattr.so.1.1.0
148 b0342000-b04ae000 r-xp 00000000 08:02 2282237 /lib/libc-2.14.1.so
149 b04b4000-b04bb000 r-xp 00000000 08:02 2286846 /lib/libacl.so.1.1.0
150 b04f4000-b04f5000 r-xp 00000000 00:00 0 [vdso]
151 b04f5000-b0514000 r-xp 00000000 08:02 2282234 /lib/ld-2.14.1.so
152 * Generated new 2_ldpath.rr
153 * Checking dynamic linking consistency
154
155 --
156 dr Tóth Attila, Radiológus, 06-20-825-8057
157 Attila Toth MD, Radiologist, +36-20-825-8057

Replies