$ 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
Created attachment 205753 [details] strace id root
"emerge --info sys-apps/coreutils" please.
(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"
does coreutils-7.5 work ? if so, we can just stabilize that version. does `busybox id` work ? what does it show ?
(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)
thanks for testing
amd64/arm/x86 stable
ppc stable
Bug 287786 isnt a regression thus it isnt a blocker for stabilization
alpha/ia64/s390/sh/sparc stable
Stable for HPPA.
ppc64 done