Summary: | dev-libs/libgcrypt-1.4.0 - segmentation fault, glibc-2.7 related? | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Ryan Hill (RETIRED) <rhill> |
Component: | [OLD] Library | Assignee: | Crypto team [DISABLED] <crypto+disabled> |
Status: | VERIFIED FIXED | ||
Severity: | normal | CC: | andrei.ivanov, clmason, gentooBugs, ismail, jakub, steffen.bergner, vorner |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | hs_err_pid17110.log (Eclipse Error Msg) |
Description
Ryan Hill (RETIRED)
2007-12-11 04:44:39 UTC
Tried your LDFLAGS, all it remains is to test it with stable glibc... Can you please see if this is the problem? Thanks! Created attachment 138255 [details]
hs_err_pid17110.log (Eclipse Error Msg)
UPDATED dev-libs/libgcrypt-1.2.4 (Eclipse was working) > dev-libs/libgcrypt-1.4.0 (Eclipse broke). while starting eclipse-3.3 with #!/bin/sh /home/qn/Coden/eclipse-3.3/eclipse -vm /opt/sun-jdk-1.6.0.03/bin/java RESULTS in following error: # # An unexpected error has been detected by Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x8da67817, pid=17110, tid=3085130640 # # Java VM: Java HotSpot(TM) Server VM (1.6.0_03-b05 mixed mode) # Problematic frame: # C [libgcrypt.so.11+0xa817] # # An error report file with more information is saved as hs_err_pid17110.log # # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp # ---- I've downgraded to 1.2.4 again I should have mentioned that -portage- eclipse 3.2.x is working even with dev-libs/libgcrypt-1.4.0. Stefan: Please paste emerge --info Portage 2.1.4_rc9 (default-linux/x86/2007.0, gcc-4.2.2, glibc-2.7-r1, 2.6.23-gentoo-r3qn-IIIe i686) ================================================================= System uname: 2.6.23-gentoo-r3qn-IIIe i686 Intel(R) Core(TM)2 Duo CPU T7100 @ 1.80GHz Timestamp of tree: Tue, 11 Dec 2007 07:47:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 3.2_p17-r1 dev-java/java-config: 1.3.7, 2.1.3 dev-lang/python: 2.5.1-r4 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 1.12.10-r5 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.23-r2 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--deep --alphabetical" FEATURES="ccache distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.gentoo.mesh-solutions.com/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/ http://gentoo.mneisen.org/ ftp://ftp.mneisen.org/gentoo " LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1,--as-needed" LINGUAS="en de" MAKEOPTS="-j4" 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 --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/layman/xeffects" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X a52 aac accessibility acl acpi alsa asf audacious audiofile avi bash-completion berkdb bidi bitmap-fonts bluetooth bzip2 bzlib cairo calendar cdparanoia cdr cli cpdflib cpudetection cracklib crypt cups curl dbm dbus dia directfb divx4linux dri dvd dvdr dvdread encode escreen esd evo exif fbcon ffmpeg firefox flac fortran ftp fuse gd gdbm gif gimpprint glitz glx gnutls gphoto2 gpm gstreamer gtk gtk2 gzip hal hddtemp ibam ical icc iconv icq ieee1394 imap imlib inkjar ipw4965 irda irmc isdnlog jabber java jpeg lcms libwww lirc lm_sensors logrotate mad midi mime mmx mmxext mng mono mp2 mp3 mp4 mpeg mplayer mudflap mysql ncurses nls no-old-linux nptl nptlonly nsplugin nvidia oav obex odbc ogg oggvorbis openal opengl openmp oscar pam pcre pdf pdflib perl php pmu pnf png pnp posix postscript pppd pwdb python qt qt3support qt4 quicktime readline real reflection samba sdl session simplexml slang smp soap sockets speex spell spl sse sse2 sse3 ssl ssse3 startup-notification sub svg svga symlink sysfs sysvipc tcpd threads tiff tk tokenizer truetype truetype-fonts type1-fonts udev unicode usb userlocales utf8 vcd vhosts videos vorbis wddx widescreen wifi win32codecs wine wireshark wmf x264 x86 xcomposite xine xinerama xml xmlrpc xorg xosd xpm xprint xv xvid xvmc zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa" Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS OK... I see that you all have >=glibc-2.7-r0 *** Bug 201939 has been marked as a duplicate of this bug. *** Upstream requested stack trace of gpg --version or anything which causes segfault. so if anyone can provide it would be great! Well sent a backtrace to upstream and use of --disable-padlock-support is suggested and fixes the tests. Here is the valgrind output and gdb backtrace : ==28359== Invalid read of size 1 ==28359== at 0x4037356: _gcry_detect_hw_features (hwfeatures.c:95) ==28359== Address 0x4707b263 is not stack'd, malloc'd or (recently) free'd (gdb) bt #0 0xb7f61356 in _gcry_detect_hw_features () at hwfeatures.c:95 #1 0xb7f5ded8 in global_init () at global.c:81 #2 0xb7f5e5b3 in _gcry_check_version (req_version=0x8048e54 "1.4.0") at global.c:171 #3 0xb7f5d06b in gcry_check_version (req_version=0x8048e54 "1.4.0") at visibility.c:66 #4 0x08048a45 in main (argc=Cannot access memory at address 0xd) hmac.c:161 +1 `EXTRA_ECONF="--disable-padlock-support" emerge -1 libgcrypt` fixed gnupg. Why does it compile w/ padlock support by default and tries to use the features on HW that plain doesn't support any such thing goes beyond me. valgrind output shows a real bug but I can't read inline asm. Thank you everyone, added --disable-padlock-support EXTRA_ECONF="--disable-padlock-support" emerge -1 libgcrypt` fixed gnupg << Didn't work for me. Stefan, can you please produce stack trace? Emerge the libgcrypt without test feature and then use: $ gdb gpg (gdb) set args --version (gdb) bt Thanks! *** Bug 202030 has been marked as a duplicate of this bug. *** Someone? works fine for me. Compiles/runs test successful/works on several machines fine -> fixed. Thanks a lot for the low latency. *** Bug 202324 has been marked as a duplicate of this bug. *** Please revbump this so that we stop getting the duplicates. Your wish is my command... LOL... thanks! :) *** Bug 201954 has been marked as a duplicate of this bug. *** |