Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 137196

Summary: gnupg-1.4.3-r1 SEGV in ctermid during decrypt
Product: Gentoo Linux Reporter: Chad A. Simmons <chad.simmons>
Component: Current packagesAssignee: Crypto team [DISABLED] <crypto+disabled>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Chad A. Simmons 2006-06-18 12:02:21 UTC
Tried reemerging gnupg not sure why it's calling ctermid.

chadgentoo ~ # emerge --info
Portage 2.1.1_pre1-r1 (default-linux/amd64/2005.0, gcc-4.1.1/amd64-vanilla, glibc-2.3.6-r1, 2.6.16-gentoo-r9 x86_64)
=================================================================
System uname: 2.6.16-gentoo-r9 x86_64 AMD Athlon(tm) 64 Processor 3700+
Gentoo Base System version 1.12.1
ccache version 2.4 [enabled]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r2
dev-util/confcache:  0.4.2-r1
sys-apps/sandbox:    1.2.18.1
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-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.16
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -msse3 -pipe -O2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/NX/etc /usr/NX/home /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib64/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-march=k8 -msse3 -pipe -O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-Bdirect"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/xgl-coffee"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X a52 aac aalib acl acpi aio alsa apm athena avi bash-completion berkdb bitmap-fonts blas bzip2 cairo ccache cddb cdr cli commercial crypt css cups curl daap dnd dri dts dvd dvdr dvdread eds emboss encode escreen exif extensions fam fat ffmpeg fftw firefox flac foomaticdb fortran gd gif glitz glx gmail gmailtimestamps gnome gpm gstreamer gtk gtk2 hpn imagemagick imlib ipv6 isdnlog joystick jpeg kde kdeenablefinal kdenablefinal lm_sensors lzo lzw lzw-tiff mjpeg mp3 mpeg mplayer ncurses nls nsplugin nvidia nxclient offensive ogg opengl oss pam pcre pdflib perl pic png pppd python qt qt4 quicktime readline reflection reiserfs rtc sdl session sftplogging spell spl ssl svg tcpd tiff truetype truetype-fonts type1-fonts usb xcomposite xml xml2 xorg xpm xscreensaver xv xvmc yv12 zlib elibc_glibc input_devices_evdev input_devices_mouse input_devices_keyboard input_devices_joystick kernel_linux userland_GNU video_cards_nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS

chadgentoo ~ #


(gdb) run
Starting program: /usr/bin/gpg -o /dev/shm/key1 --decrypt /mnt/skey/key1.enc
(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)

Program received signal SIGSEGV, Segmentation fault.
0x00002b8c6339714a in ctermid () from /lib/libc.so.6
(gdb) q
Comment 1 Chad A. Simmons 2006-06-18 12:12:59 UTC
same segv occurs with 1.4.3
Comment 2 Chad A. Simmons 2006-06-18 12:30:33 UTC
1.4.2.2 also segv's. Possible issue from GCC update to 4.1.1?
Comment 3 Chad A. Simmons 2006-06-18 17:40:42 UTC
Updated glibc to 2.3.6-r3 issue appears to be resolved.
Comment 4 SpanKY gentoo-dev 2006-09-22 15:37:13 UTC
dupe it
Comment 5 SpanKY gentoo-dev 2006-09-22 15:37:20 UTC

*** This bug has been marked as a duplicate of 133095 ***