Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 101282 - sys-apps/shadow-4.0.11.1-r1 segfaults when run as "su" (without a -)
Summary: sys-apps/shadow-4.0.11.1-r1 segfaults when run as "su" (without a -)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High critical (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on: 101047
Blocks:
  Show dependency tree
 
Reported: 2005-08-03 21:14 UTC by Gerald Normandin (RETIRED)
Modified: 2005-08-25 02:27 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gerald Normandin (RETIRED) 2005-08-03 21:14:51 UTC
"su" segfaults, "su -" does not. reverting to 4.0.7-r4 seems to alleviate the
issue (old version)

Reproducible: Always
Steps to Reproduce:
1.upgrade to shadow-4.0.11.1-r1
2.su (w/o the -)
3.Segfaults!

Actual Results:  
Segfaults to hell

Expected Results:  
I should have received root access

Portage 2.0.51.22-r2 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r1,
2.6.12-gentoo-r6 x86_64)
=================================================================
System uname: 2.6.12-gentoo-r6 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://open-systems.ufl.edu/mirrors/gentoo
http://gentoo.netnitco.net ftp://194.117.143.69/mirrors/gentoo
http://mir.zyrianes.net/gentoo/"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X aalib alsa apache2 avi bitmap-fonts cdr crypt cups curl dba dbus
dvd dvdr eds encode esd fam flac foomaticdb fortran gd gd-external gdbm gif
gnome gpm gstreamer gtk gtk2 hal imagemagick imlib ipv6 jack jpeg junit kde ldap
libwww lzw lzw-tiff mad mikmod mod motif mozilla mp3 mpeg mysql ncurses nls nptl
nvidia ogg oggvorbis opengl pam pdflib perl php png python qt quicktime readline
samba scanner sdl speex spell ssl tcltk tcpd tiff transcode truetype
truetype-fonts type1-fonts usb userlocales vorbis xine xml xml2 xmms xpm xv xvid
zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
Comment 1 Julien Gage 2005-08-03 21:37:15 UTC
This happens to me on x86 too.

Gentoo Base System version 1.12.0_pre3
Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r1,
2.6.13-rc5 i686)
=================================================================
System uname: 2.6.13-rc5 i686 AMD Athlon(tm) 
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.4.1-r1
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-Os -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks fixpackages sandbox sfperms"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LC_ALL="en_GB.UTF-8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac aalib acpi aim alsa arts avi bitmap-fonts
browserplugin bzip2 cdparanoia cdr cjk css cups divx4linux dvd dvdr dvdread
effects erandom ffmpeg firefox flac gif gimpprint gpm gtk gtk2 i8x0 imagemagick
imlib inkjar jabber joystick jpeg libcaca lite live lm_sensors logitech-mouse
lzo mad matroska mikmod mmx mmxext mng mozsvg mp3 mpeg msn multislot ncurses net
nls nocd nodrm nomalloccheck nonfsv4 nptl nptlonly nvidia objc offensive ogg
oggvorbis opengl oscar pam pcre perl pic plugin png python quicktime readline
real rtc ruby samba sdl sftplogging slang speex spell sse ssl svg tabs theora
tiff truetype truetype-fonts type1-fonts unicode urandom usb userlocales vcd
vim-with-x vorbis win32codecs x86 xanim xv xvid zlib userland_GNU kernel_linux
elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LDFLAGS, LINGUAS
Comment 2 Łukasz Damentko (RETIRED) gentoo-dev 2005-08-04 04:18:43 UTC
Same here. 

Comment 3 adriancz 2005-08-04 05:32:50 UTC
vanilla-sources-2.6.13_rc5

It segfaults only when running it on X session.

zsh: segmentation fault
Comment 4 adriancz 2005-08-04 05:32:50 UTC
vanilla-sources-2.6.13_rc5

It segfaults only when running it on X session.

zsh: segmentation fault  su

dmesg says: su[16367]: segfault at 0000000000000000 rip 00002aaaaaf73713 rsp 
00007fffffd5db88 error 4

Comment 5 Marcel Klein 2005-08-04 11:07:25 UTC
I noticed that, too.
su segfaults only when you are on X, when you are on a normal console it works fine.
It tryed to get a core dump but without success.
Comment 6 Gerald Normandin (RETIRED) 2005-08-04 14:02:30 UTC
segfaults with or without X here
Comment 7 Marcel Klein 2005-08-04 17:23:01 UTC
The bug is fixed in sys-apps/shadow-4.0.11.1-r2 .
Comment 8 Martin Schlemmer (RETIRED) gentoo-dev 2005-08-25 02:27:28 UTC
Right, fixed .. forgot to close bug.