Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 228893 - net-libs/libsoup-2.4.1 : ssl-test segfault
Summary: net-libs/libsoup-2.4.1 : ssl-test segfault
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-22 13:58 UTC by Olivier Huber
Modified: 2009-03-07 14:22 UTC (History)
0 users

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 Olivier Huber 2008-06-22 13:58:27 UTC
emerge -pv libsoup :

[ebuild   R   ] net-libs/libsoup-2.4.1  USE="debug* ssl -doc" 0 kB

/bin/sh: line 4: 19597 Erreur de segmentation (it means segmentation fault)  ${dir}$tst
FAIL: ssl-test

I have found that tests/.libs/lt-ssl-test is the culprit. I ran gdb and here is the full bt :

(gdb) bt full
#0  0xb79820bc in ?? () from /usr/lib/libgcrypt.so.11
No symbol table info available.
#1  0xb7cb5170 in ?? () from /lib/libc.so.6
No symbol table info available.
#2  0x00000051 in ?? ()
No symbol table info available.
#3  0xb7cb51f8 in ?? () from /lib/libc.so.6
No symbol table info available.
#4  0x00000070 in ?? ()
No symbol table info available.
#5  0x08ab18d0 in ?? ()
No symbol table info available.
#6  0x00000090 in ?? ()
No symbol table info available.
#7  0x00000061 in ?? ()
No symbol table info available.
#8  0xb79d2ff4 in ?? () from /usr/lib/libgcrypt.so.11
No symbol table info available.
#9  0x08ab27e8 in ?? ()
No symbol table info available.
#10 0x08ab18d0 in ?? ()
No symbol table info available.
#11 0xbfe11838 in ?? ()
No symbol table info available.
#12 0xb796e4cb in gcry_md_write () from /usr/lib/libgcrypt.so.11
No symbol table info available.
Backtrace stopped: frame did not save the PC

I have compiled dev-libs/libgcrypt with -ggdb in order to have symbols, but it doesn't work

This occur durring an upgrade to glibc-2.8 and gcc-3.1 on x86. Tests succeed with glibc 2.7 && gcc-4.2.2 on amd64. dev-libs/libgcryp pass its tests.

emerge --info :

Portage 2.2_pre8 (default-linux/x86/2007.0/desktop, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.25-gentoo-r1 i686)
=================================================================
System uname: Linux-2.6.25-gentoo-r1-i686-Intel-R-_Pentium-R-_M_processor_1.86GHz-with-glibc2.0
Timestamp of tree: Tue, 17 Jun 2008 20:45:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r4, 2.5.2-r4
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.62
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.1-r1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.4
virtual/os-headers:  2.6.25-r4
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -pipe "
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/kde/4.0/env /usr/kde/4.0/share/config /usr/kde/4.0/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium-m -pipe "
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks parallel-fetch preserve-libs sandbox sfperms strict test unmerge-orphans userfetch"
GENTOO_MIRRORS=" http://mirror.ovh.net/gentoo-distfiles/"
LANG="fr_FR.utf-8"
LC_ALL="fr_FR.utf-8"
LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed"
LINGUAS="fr"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/proaudio/proaudio /usr/local/overlays/local"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3d X X509 Xaw3d a52 aac aalib acl acpi ada adns adplug afs aiglx aio akode alsa amrnb amrwb animation apache2 apm arts artswrappersuid asf atm audiofile avahi bash-completion bashlogger beagle bench berkdb bidi bindist bl bonjour bootsplash border branding browserplugin bs bzip2 cairo caps cdda cddb cdio cdparanoia cdr cgi chardet chipcard chroot cjk cli compositor console copacity cpudetection cracklib crashhandler crypt ctype cups curl curlwrappers cvs cyrillic d daap dbus dc1394 dedicated dg dga dia directfb disk-partition djvu dlloader dmi dmx dock dri dssi dts dv dvb dvd dvdnav dvdr dvdread dvi dynagraph edl elf emboss enca encode esd evo exif extra extra-algorithms extrafilters fam fame fbcon fbcondecor fbsplash ffmpeg fftw firefox flac flash float font-server fortran fpx ftp fuse gcj gcrypt gd gdbm ggi gif gimp git glib glitz glut gmp gnutls gphoto2 gpm graphics graphviz group gs gstreamer gtk gtk2 hal hardened hash hbci howl-compat httpd hybrid i8x0 iconv idea idn ieee1394 imagemagick imlib immqt inkjar inquisitio iontruetype iproute2 ipv6 isdnlog jack jack-tmpfs java javascript jbig jingle jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility kerberos kig-scripting kpathsea l7filter ladcca ladspa lame laptop lash lcms ldap lesstif libcaca libgcrypt libnotify libsamplerate lilypond live lm_sensors logitech-mouse logrotate loop-aes lua lzma lzo mad matroska md5sum mdnsresponder-compat meanwhile midi mikmod miniwin mjpeg mktemp mmap mmx mmxext mng mod modplug mono motif mozilla mozsha1 mozsvg mp2 mp3 mp4 mpeg msn mtp mudflap multislot multitarget musepack music musicbrainz nas nat ncurses neXt neg nemesi netboot nethack netjack network network-cron nis nls nntp nptl nptlonly nsplugin ntp objc objc++ objc-gc ofx ogg oggvorbis omega openal openexr opengl openmp openntpd osc oss pam pam_chroot pam_timestamp pango parse-clocks pascal passwdqc pcap pccts pch pcmcia pcre pdf perforce perl perlsuid pertty php pic pkcs11 plotutils plugins png pnm portage portaudio postgres postscript povray ppds pppd profile pstricks publishers pulseaudio put pvr python qa qq qt qt3 qt3support qt4 quicktime quotes radio rar rc5 rdesktop readline real reflection regex rpm rtc rtsp ruby samba sasl scanner science script sdl sdl-image sensord server session sftplogging shout showdesktop sidspoof-source silc skey slang smi smux sndfile snmp soap sox speex spell spl sql sqlite sqlite3 srt sse sse2 ssl startup-notification state stream subversion suhosin svg svga svnserve swat sysfs taglib tcltk tcpd teletext test tetex tex4ht tga theora threads threadsafe tidy tiff timidity toolbar trailfocus truetype tta twolame ucs2 unicode upnp usb v4l v4l2 vcd vda vesa-tng vesafb-tng vga vidix vim vim-pager vim-syntax vim-with-x visualization vlm vorbis vorbis-psy vst wallpaper wavpack webdav widget wifi win32codecs wma wmf wmlreadere wxwindows x11 x264 x86 xanim xattr xcb xcomposite xetex xine xinerama xml xml2 xmlwriter xorg xosd xprint xsl xv xvid xvmc yv12 zeroconf zip 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="evdev mouse keyboard synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr" USERLAND="GNU" VIDEO_CARDS="v4l vga vesa radeon fbdev fglrx"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-06-22 23:27:42 UTC
Unfortunately, the backtrace isn't of much help. Please read http://www.gentoo.org/proj/en/qa/backtraces.xml to get backtraces that can help us find the problem.

I hope this isn't a gcc bug :)
Comment 2 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-03-07 14:22:54 UTC
please get back to us and if you can get a good backtrace, please open an upstream bug report as well.