Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 287219 - stabilize sys-apps/coreutils-7.5 (was sys-apps/coreutils-7.4 /usr/bin/id root SIGABRT)
Summary: stabilize sys-apps/coreutils-7.5 (was sys-apps/coreutils-7.4 /usr/bin/id root...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords: STABLEREQ
Depends on:
Blocks:
 
Reported: 2009-10-01 10:16 UTC by Jaak Ristioja
Modified: 2009-11-09 22:49 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
strace id root (strace,9.55 KB, text/plain)
2009-10-01 10:17 UTC, Jaak Ristioja
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jaak Ristioja 2009-10-01 10:16:35 UTC
$ gdb -q id
(gdb) set args root
(gdb) r
Starting program: /usr/bin/id root
*** glibc detected *** /usr/bin/id: double free or corruption (out): 0x00007f88c2265ef0 ***
======= Backtrace: =========
[0x414114]
[0x415bc4]
[0x41e0b5]
[0x40135f]
[0x400937]
[0x405477]
[0x4001f9]
======= Memory map: ========
00400000-0049d000 r-xp 00000000 08:05 668468                             /usr/bin/id
0069c000-0069e000 rw-p 0009c000 08:05 668468                             /usr/bin/id
0069e000-006a2000 rw-p 00000000 00:00 0
01404000-01426000 rw-p 00000000 00:00 0                                  [heap]
7f88bc000000-7f88bc023000 rw-p 00000000 00:00 0
7f88bc023000-7f88c0000000 ---p 00000000 00:00 0
7f88c1e4e000-7f88c1e59000 r-xp 00000000 08:05 833959                     /lib64/libnss_files-2.9.so
7f88c1e59000-7f88c2058000 ---p 0000b000 08:05 833959                     /lib64/libnss_files-2.9.so
7f88c2058000-7f88c2059000 r--p 0000a000 08:05 833959                     /lib64/libnss_files-2.9.so
7f88c2059000-7f88c205a000 rw-p 0000b000 08:05 833959                     /lib64/libnss_files-2.9.so
7f88c205a000-7f88c2064000 r-xp 00000000 08:05 833867                     /lib64/libnss_nis-2.9.so
7f88c2064000-7f88c2263000 ---p 0000a000 08:05 833867                     /lib64/libnss_nis-2.9.so
7f88c2263000-7f88c2264000 r--p 00009000 08:05 833867                     /lib64/libnss_nis-2.9.so
7f88c2264000-7f88c2265000 rw-p 0000a000 08:05 833867                     /lib64/libnss_nis-2.9.so
7f88c2265000-7f88c2365000 rw-p 00000000 00:00 0
7f88c2365000-7f88c2382000 r-xp 00000000 08:05 833952                     /lib64/ld-2.9.so
7f88c2382000-7f88c2581000 ---p 0001d000 08:05 833952                     /lib64/ld-2.9.so
7f88c2581000-7f88c2582000 r--p 0001c000 08:05 833952                     /lib64/ld-2.9.so
7f88c2582000-7f88c2583000 rw-p 0001d000 08:05 833952                     /lib64/ld-2.9.so
7f88c2583000-7f88c26cc000 r-xp 00000000 08:05 833958                     /lib64/libc-2.9.so
7f88c26cc000-7f88c28cb000 ---p 00149000 08:05 833958                     /lib64/libc-2.9.so
7f88c28cb000-7f88c28cf000 r--p 00148000 08:05 833958                     /lib64/libc-2.9.so
7f88c28cf000-7f88c28d0000 rw-p 0014c000 08:05 833958                     /lib64/libc-2.9.so
7f88c28d0000-7f88c28d5000 rw-p 00000000 00:00 0
7f88c28d5000-7f88c28ea000 r-xp 00000000 08:05 833946                     /lib64/libnsl-2.9.so
7f88c28ea000-7f88c2ae9000 ---p 00015000 08:05 833946                     /lib64/libnsl-2.9.so
7f88c2ae9000-7f88c2aea000 r--p 00014000 08:05 833946                     /lib64/libnsl-2.9.so
7f88c2aea000-7f88c2aeb000 rw-p 00015000 08:05 833946                     /lib64/libnsl-2.9.so
7f88c2aeb000-7f88c2aed000 rw-p 00000000 00:00 0
7f88c2aed000-7f88c2af4000 r-xp 00000000 08:05 833940                     /lib64/libnss_compat-2.9.so
7f88c2af4000-7f88c2cf3000 ---p 00007000 08:05 833940                     /lib64/libnss_compat-2.9.so
7f88c2cf3000-7f88c2cf4000 r--p 00006000 08:05 833940                     /lib64/libnss_compat-2.9.so
7f88c2cf4000-7f88c2cf5000 rw-p 00007000 08:05 833940                     /lib64/libnss_compat-2.9.so
7f88c2d1e000-7f88c2d1f000 rw-p 00000000 00:00 0
7f88c2d1f000-7f88c2ef9000 r--p 00000000 08:05 733885                     /usr/lib64/locale/locale-archive
7fffd0854000-7fffd0869000 rw-p 00000000 00:00 0                          [stack]
7fffd08ac000-7fffd08ad000 r-xp 00000000 00:00 0                          [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]
uid=0(root) gid=0(root)
Program received signal SIGABRT, Aborted.
0x0000000000432305 in raise ()
(gdb) bt full
#0  0x0000000000432305 in raise ()
No symbol table info available.
#1  0x000000000040bab1 in abort ()
No symbol table info available.
#2  0x000000000040f0c8 in __libc_message ()
No symbol table info available.
#3  0x0000000000414114 in malloc_printerr ()
No symbol table info available.
#4  0x0000000000415bc4 in free ()
No symbol table info available.
#5  0x000000000041e0b5 in getgrouplist ()
No symbol table info available.
#6  0x000000000040135f in mgetgroups (username=0x7fffd08681b2 "root", gid=0, groups=0x7fffd08676a0) at mgetgroups.c:87
        h = (gid_t *) 0x0
        last_n_groups = 10
        max_n_groups = 10
        ng = 6945952
        g = (gid_t *) 0x1409ed0
#7  0x0000000000400937 in main (argc=<value optimized out>, argv=<value optimized out>) at id.c:301
        optc = <value optimized out>
        just_group_list = false
        just_group = false
        use_real = false
        just_user = false
Comment 1 Jaak Ristioja 2009-10-01 10:17:26 UTC
Created attachment 205753 [details]
strace id root
Comment 2 Sebastian Luther (few) 2009-10-02 19:27:31 UTC
"emerge --info sys-apps/coreutils" please.
Comment 3 Jaak Ristioja 2009-10-03 13:00:40 UTC
(In reply to comment #2)
> "emerge --info sys-apps/coreutils" please.

Portage 2.1.6.13 (default/linux/amd64/2008.0/developer, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.31-gentoo-r1-arm x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.31-gentoo-r1-arm-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P8700_@_2.53GHz-with-gentoo-1.12.11.1
Timestamp of tree: Fri, 02 Oct 2009 20:00:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p28
dev-lang/python:     2.6.2-r1
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=core2 -msse4.1 -ggdb"
CHOST="x86_64-pc-linux-gnu"
CXXFLAGS="-O2 -pipe -march=core2 -msse4.1 -ggdb"
FEATURES="ccache collision-protect cvs distlocks fixpackages installsources multilib-strict parallel-fetch protect-owned sandbox sfperms sign splitdebug strict unmerge-orphans userfetch userpriv usersandbox usersync"
LDFLAGS="-Wl,-O1"
LINGUAS="en et et_EE"
MAKEOPTS="-j3"
USE="X a52 aac acl acpi alsa amd64 apache2 aspell berkdb bindist boost bzip2 cairo caps cdr cli consolekit cracklib crypt cups dbus directfb doc dri dts dvd dvdr dvdread eds emboss encode evo exif faac faad fam fbcon ffmpeg firefox flac fortran gdbm gif git glitz gmp gnuplot gnutls gpm gstreamer gtk hal hdri htmlhandbook iconv icu idn imagemagick ipv6 isdnlog jpeg kde kontact kpathsea laptop latex lcms libnotify lua lzo mad mailwrapper md5sum midi mikmod mmx mng modules mp3 mp4 mpeg mpi mudflap multilib mysql ncurses networkmanager nptl nptlonly ogg openal openexr opengl openmp pam pcre pdf perl phonon pic plasma png postgres ppds pppd python qt3support qt4 readline reflection schroedinger sdl semantic-desktop session smp snmp source spell spl sqlite sse sse2 ssl ssse3 startup-notification static subversion svg sysfs tcpd theora threads thunar tiff truetype ucs2 unicode usb vorbis webkit x264 xattr xcb xcomposite xetex xft xml xorg xprint xscreensaver xulrunner xv xvid zlib" ELIBC="glibc" KERNEL="linux" LINGUAS="en et et_EE" USERLAND="GNU"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

sys-apps/coreutils-7.4 was built with the following:
USE="acl caps gmp (multilib) static xattr -nls (-selinux) -vanilla"
LDFLAGS="-Wl,-O1 -static"
Comment 4 SpanKY gentoo-dev 2009-10-04 00:19:42 UTC
does coreutils-7.5 work ?  if so, we can just stabilize that version.

does `busybox id` work ?  what does it show ?
Comment 5 Jaak Ristioja 2009-10-05 08:28:09 UTC
(In reply to comment #4)
> does coreutils-7.5 work ?  if so, we can just stabilize that version.
yes.

> does `busybox id` work ?  what does it show ?
uid=0(root) gid=0(root) groups=0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel),11(floppy),20(dialout),26(tape),27(video)

Comment 6 SpanKY gentoo-dev 2009-10-05 16:44:06 UTC
thanks for testing
Comment 7 Markus Meier gentoo-dev 2009-10-05 21:46:41 UTC
amd64/arm/x86 stable
Comment 8 nixnut (RETIRED) gentoo-dev 2009-10-07 16:34:48 UTC
ppc stable
Comment 9 SpanKY gentoo-dev 2009-10-09 10:29:27 UTC
Bug 287786 isnt a regression thus it isnt a blocker for stabilization
Comment 10 Raúl Porcel (RETIRED) gentoo-dev 2009-10-10 17:36:30 UTC
alpha/ia64/s390/sh/sparc stable
Comment 11 Jeroen Roovers (RETIRED) gentoo-dev 2009-10-21 14:59:41 UTC
Stable for HPPA.
Comment 12 Brent Baude (RETIRED) gentoo-dev 2009-10-31 14:17:34 UTC
ppc64 done