Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Gentoo: Hardened

New glibc feature caught sed in action while revdep-rebuild?

 

 

Gentoo hardened RSS feed   Index | Next | Previous | View Threaded


atoth at atoth

Jan 4, 2012, 2:12 PM

Post #1 of 4 (488 views)
Permalink
New glibc feature caught sed in action while revdep-rebuild?

I've just installed a new glibc, since the latest dev-lang/R now doesn't
have any requirements about it.

On two systems I got the following messages while running revdep-rebuild.
What should I do next?

Thanks:
Dw.

revdep-rebuild -i
* Configuring search environment for revdep-rebuild

* Checking reverse dependencies
* Packages containing binaries and libraries broken by a package update
* will be emerged.

* Collecting system binaries and libraries
* Generated new 1_files.rr
* Collecting complete LD_LIBRARY_PATH
*** glibc detected *** sed: double free or corruption (!prev): 0x11770008 ***
======= Backtrace: =========
/lib/libc.so.6(+0x6e41f)[0x4fe5a41f]
/lib/libc.so.6(+0x6fd33)[0x4fe5bd33]
/lib/libc.so.6(cfree+0x6d)[0x4fe5ee7d]
/lib/libc.so.6(+0xafc7d)[0x4fe9bc7d]
/lib/libc.so.6(+0xb5e15)[0x4fea1e15]
/lib/libc.so.6(re_search+0x34)[0x4fea2774]
sed(+0x8c04)[0x11757c04]
sed(+0x7a4e)[0x11756a4e]
sed(+0x8911)[0x11757911]
sed(main+0x3cb)[0x11751c0b]
/lib/libc.so.6(__libc_start_main+0xe6)[0x4fe06326]
sed(+0x2311)[0x11751311]
======= Memory map: ========
1174f000-1175f000 r-xp 00000000 08:02 591140 /bin/sed
1175f000-11760000 r--p 0000f000 08:02 591140 /bin/sed
11760000-11761000 rw-p 00010000 08:02 591140 /bin/sed
11761000-1178d000 rw-p 00000000 00:00 0 [heap]
4f900000-4f921000 rw-p 00000000 00:00 0
4f921000-4fa00000 ---p 00000000 00:00 0
4fa1d000-4fa38000 r-xp 00000000 08:02 1658262
/usr/lib/gcc/i686-pc-linux-gnu/4.5.3/libgcc_s.so.1
4fa38000-4fa39000 r--p 0001a000 08:02 1658262
/usr/lib/gcc/i686-pc-linux-gnu/4.5.3/libgcc_s.so.1
4fa39000-4fa3a000 rw-p 0001b000 08:02 1658262
/usr/lib/gcc/i686-pc-linux-gnu/4.5.3/libgcc_s.so.1
4fa71000-4fbe5000 r--p 00203000 08:02 1084351
/usr/lib/locale/locale-archive
4fbe5000-4fde5000 r--p 00000000 08:02 1084351
/usr/lib/locale/locale-archive
4fde5000-4fde6000 rw-p 00000000 00:00 0
4fde6000-4fdea000 r-xp 00000000 08:02 2120899 /lib/libattr.so.1.1.0
4fdea000-4fdeb000 r--p 00003000 08:02 2120899 /lib/libattr.so.1.1.0
4fdeb000-4fdec000 rw-p 00004000 08:02 2120899 /lib/libattr.so.1.1.0
4fdec000-4ff47000 r-xp 00000000 08:02 2119387 /lib/libc-2.14.1.so
4ff47000-4ff49000 r--p 0015b000 08:02 2119387 /lib/libc-2.14.1.so
4ff49000-4ff4a000 rw-p 0015d000 08:02 2119387 /lib/libc-2.14.1.so
4ff4a000-4ff4d000 rw-p 00000000 00:00 0
4ff4d000-4ff54000 r-xp 00000000 08:02 2120900 /lib/libacl.so.1.1.0
4ff54000-4ff55000 r--p 00007000 08:02 2120900 /lib/libacl.so.1.1.0
4ff55000-4ff56000 rw-p 00008000 08:02 2120900 /lib/libacl.so.1.1.0
4ff83000-4ff86000 rw-p 00000000 00:00 0
4ff86000-4ff8d000 r--s 00000000 08:02 1084349
/usr/lib/gconv/gconv-modules.cache
4ff8d000-4ff8e000 rw-p 00000000 00:00 0
4ff8e000-4ff8f000 r-xp 00000000 00:00 0 [vdso]
4ff8f000-4ffac000 r-xp 00000000 08:02 2119388 /lib/ld-2.14.1.so
4ffac000-4ffad000 r--p 0001c000 08:02 2119388 /lib/ld-2.14.1.so
4ffad000-4ffae000 rw-p 0001d000 08:02 2119388 /lib/ld-2.14.1.so
588a8000-588ca000 rw-p 00000000 00:00 0 [stack]
7174f000-7175f000 r-xp 00000000 08:02 591140 /bin/sed
afa1d000-afa38000 r-xp 00000000 08:02 1658262
/usr/lib/gcc/i686-pc-linux-gnu/4.5.3/libgcc_s.so.1
afde6000-afdea000 r-xp 00000000 08:02 2120899 /lib/libattr.so.1.1.0
afdec000-aff47000 r-xp 00000000 08:02 2119387 /lib/libc-2.14.1.so
aff4d000-aff54000 r-xp 00000000 08:02 2120900 /lib/libacl.so.1.1.0
aff8e000-aff8f000 r-xp 00000000 00:00 0 [vdso]
aff8f000-affac000 r-xp 00000000 08:02 2119388 /lib/ld-2.14.1.so
* Generated new 2_ldpath.rr
* Checking dynamic linking consistency


revdep-rebuild
* Configuring search environment for revdep-rebuild

* Checking reverse dependencies
* Packages containing binaries and libraries broken by a package update
* will be emerged.

* Collecting system binaries and libraries
* Generated new 1_files.rr
* Collecting complete LD_LIBRARY_PATH
*** glibc detected *** sed: double free or corruption (!prev): 0x126c2378 ***
======= Backtrace: =========
/lib/libc.so.6(+0x7319f)[0x503b519f]
/lib/libc.so.6(+0x74b3e)[0x503b6b3e]
/lib/libc.so.6(cfree+0x6d)[0x503ba18d]
/lib/libc.so.6(+0xba346)[0x503fc346]
/lib/libc.so.6(+0xc0658)[0x50402658]
/lib/libc.so.6(re_search+0x32)[0x50403132]
sed(+0x8d98)[0x126a3d98]
sed(+0x7b7c)[0x126a2b7c]
sed(+0x8aa1)[0x126a3aa1]
sed(main+0x3db)[0x1269dafb]
/lib/libc.so.6(__libc_start_main+0xe4)[0x5035c324]
sed(+0x21d1)[0x1269d1d1]
======= Memory map: ========
1269b000-126ab000 r-xp 00000000 08:02 1149216 /bin/sed
126ab000-126ac000 r--p 0000f000 08:02 1149216 /bin/sed
126ac000-126ad000 rw-p 00010000 08:02 1149216 /bin/sed
126ad000-126e0000 rw-p 00000000 00:00 0 [heap]
4fe00000-4fe21000 rw-p 00000000 00:00 0
4fe21000-4ff00000 ---p 00000000 00:00 0
4ff73000-4ff8f000 r-xp 00000000 08:02 1888082
/usr/lib/gcc/i686-pc-linux-gnu/4.5.3/libgcc_s.so.1
4ff8f000-4ff90000 r--p 0001b000 08:02 1888082
/usr/lib/gcc/i686-pc-linux-gnu/4.5.3/libgcc_s.so.1
4ff90000-4ff91000 rw-p 0001c000 08:02 1888082
/usr/lib/gcc/i686-pc-linux-gnu/4.5.3/libgcc_s.so.1
4ffc7000-5013b000 r--p 00203000 08:02 1709438
/usr/lib/locale/locale-archive
5013b000-5033b000 r--p 00000000 08:02 1709438
/usr/lib/locale/locale-archive
5033b000-5033c000 rw-p 00000000 00:00 0
5033c000-50340000 r-xp 00000000 08:02 2282524 /lib/libattr.so.1.1.0
50340000-50341000 r--p 00003000 08:02 2282524 /lib/libattr.so.1.1.0
50341000-50342000 rw-p 00004000 08:02 2282524 /lib/libattr.so.1.1.0
50342000-504ae000 r-xp 00000000 08:02 2282237 /lib/libc-2.14.1.so
504ae000-504b0000 r--p 0016c000 08:02 2282237 /lib/libc-2.14.1.so
504b0000-504b1000 rw-p 0016e000 08:02 2282237 /lib/libc-2.14.1.so
504b1000-504b4000 rw-p 00000000 00:00 0
504b4000-504bb000 r-xp 00000000 08:02 2286846 /lib/libacl.so.1.1.0
504bb000-504bc000 r--p 00007000 08:02 2286846 /lib/libacl.so.1.1.0
504bc000-504bd000 rw-p 00008000 08:02 2286846 /lib/libacl.so.1.1.0
504e9000-504ec000 rw-p 00000000 00:00 0
504ec000-504f3000 r--s 00000000 08:02 1707832
/usr/lib/gconv/gconv-modules.cache
504f3000-504f4000 rw-p 00000000 00:00 0
504f4000-504f5000 r-xp 00000000 00:00 0 [vdso]
504f5000-50514000 r-xp 00000000 08:02 2282234 /lib/ld-2.14.1.so
50514000-50515000 r--p 0001e000 08:02 2282234 /lib/ld-2.14.1.so
50515000-50516000 rw-p 0001f000 08:02 2282234 /lib/ld-2.14.1.so
5ceb9000-5cedb000 rw-p 00000000 00:00 0 [stack]
7269b000-726ab000 r-xp 00000000 08:02 1149216 /bin/sed
aff73000-aff8f000 r-xp 00000000 08:02 1888082
/usr/lib/gcc/i686-pc-linux-gnu/4.5.3/libgcc_s.so.1
b033c000-b0340000 r-xp 00000000 08:02 2282524 /lib/libattr.so.1.1.0
b0342000-b04ae000 r-xp 00000000 08:02 2282237 /lib/libc-2.14.1.so
b04b4000-b04bb000 r-xp 00000000 08:02 2286846 /lib/libacl.so.1.1.0
b04f4000-b04f5000 r-xp 00000000 00:00 0 [vdso]
b04f5000-b0514000 r-xp 00000000 08:02 2282234 /lib/ld-2.14.1.so
* Generated new 2_ldpath.rr
* Checking dynamic linking consistency

--
dr T贸th Attila, Radiol贸gus, 06-20-825-8057
Attila Toth MD, Radiologist, +36-20-825-8057


powerman at powerman

Jan 4, 2012, 2:43 PM

Post #2 of 4 (471 views)
Permalink
Re: New glibc feature caught sed in action while revdep-rebuild? [In reply to]

Hi!

On Wed, Jan 04, 2012 at 11:12:23PM +0100, "T髏h Attila" wrote:
> On two systems I got the following messages while running revdep-rebuild.
> What should I do next?
...
> *** glibc detected *** sed: double free or corruption (!prev): 0x11770008 ***

I've seen that before few times (with different apps, not sure about sed).
If I remember correctly, it was fixed after full system recompile:

# backup (just in case) and cleanup PKGDIR
pkgdir=$(portageq pkgdir)
mv $pkgdir /tmp/portage-packages
install -d -o portage -g portage $pkgdir

# recompile everything in most safest way
emerge linux-headers glibc binutils gcc-config gcc &&
emerge -1 libtool &&
emerge -b glibc binutils gcc portage &&
emerge -bke system &&
emerge -ke world

--
WBR, Alex.


vapier at gentoo

Jan 5, 2012, 3:53 PM

Post #3 of 4 (466 views)
Permalink
Re: New glibc feature caught sed in action while revdep-rebuild? [In reply to]

On Wednesday 04 January 2012 17:12:23 T贸th Attila wrote:
> I've just installed a new glibc, since the latest dev-lang/R now doesn't
> have any requirements about it.
>
> On two systems I got the following messages while running revdep-rebuild.
> What should I do next?

https://bugs.gentoo.org/389881
-mike
Attachments: signature.asc (0.82 KB)


atoth at atoth

Jan 6, 2012, 2:49 AM

Post #4 of 4 (468 views)
Permalink
Re: New glibc feature caught sed in action while revdep-rebuild? [In reply to]

Thanks mike!
It's definitely a sed bug, which needs new glibc and certain locales
(hu_HU.UTF-8 in my case) to get triggered. Nasty.

Dw.
--
dr T贸th Attila, Radiol贸gus, 06-20-825-8057
Attila Toth MD, Radiologist, +36-20-825-8057

2012.Janu谩r 6.(P) 00:53 id艖pontban Mike Frysinger ezt 铆rta:
> On Wednesday 04 January 2012 17:12:23 T贸th Attila wrote:
>> I've just installed a new glibc, since the latest dev-lang/R now doesn't
>> have any requirements about it.
>>
>> On two systems I got the following messages while running
>> revdep-rebuild.
>> What should I do next?
>
> https://bugs.gentoo.org/389881
> -mike
>

Gentoo hardened RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.