Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 304287 - Please stabilize dev-util/valgrind-3.5.0
Summary: Please stabilize dev-util/valgrind-3.5.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Maurice van der Pot (RETIRED)
URL:
Whiteboard:
Keywords: STABLEREQ
Depends on:
Blocks:
 
Reported: 2010-02-10 10:55 UTC by Vicente Olivert Riera (RETIRED)
Modified: 2010-05-21 18:59 UTC (History)
1 user (show)

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


Attachments
output for valgrin-3.4.1 (output,55.81 KB, text/plain)
2010-03-14 08:38 UTC, Thomas Sachau
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vicente Olivert Riera (RETIRED) gentoo-dev 2010-02-10 10:55:23 UTC
dev-util/valgrind-3.4.1 is marked as stable in the portage tree, but it doesn't work on amd64.

If you try a simple "valgrind /bin/echo" you will get a lot of errors.

I think should be masked by ~amd64 keyword.

However, dev-util/valgrind-3.5.0 works fine and don't show the errors. Should be unmasked for amd64?

Reproducible: Always

Steps to Reproduce:
1. emerge =dev-util/valgrind-3.4.1
2. valgrind /bin/echo

Actual Results:  
A lot of CONTEXT ERRORS

Expected Results:  
No errors

You have to have FEATURES="splitdebug" in your make.conf and sys-libs/glibc installed after that. If not, just add that to your make.conf and re-merge sys-libs/glibc
Comment 1 Thomas Sachau gentoo-dev 2010-03-11 20:58:23 UTC
your emerge --info please
Comment 2 Vicente Olivert Riera (RETIRED) gentoo-dev 2010-03-12 00:05:58 UTC
(In reply to comment #1)
> your emerge --info please
> 

$ emerge --info
Portage 2.2_rc67 (default/linux/amd64/10.0, gcc-4.3.4, glibc-2.10.1-r1, 2.6.31-gentoo-r6 x86_64)
=================================================================
System uname: Linux-2.6.31-gentoo-r6-x86_64-AMD_Sempron-tm-_Processor_3800+-with-gentoo-1.12.13
Timestamp of tree: Thu, 11 Mar 2010 03:30:01 +0000
app-shells/bash:     4.0_p35
dev-lang/python:     2.6.4-r1
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.9.6-r2, 1.10.3
sys-devel/binutils:  2.18-r3
sys-devel/gcc:       4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="es_ES.UTF8"
LC_ALL="es_ES.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="es"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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/portage"
SYNC="rsync://atom/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 aspell berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt css cuda cxx dbus dga dri dts dvd dvdr fam ffmpeg flac fortran gdbm gif gnutls gpm hal hunspell iconv joystick jpeg jpeg2k kde mad mmx mmxext modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly nsplugin ogg old-daemons openal opengl openmp pam pcre pdf perl png ppds pppd python qt3support qt4 quicktime readline reflection session spell spl sse sse2 ssl svg sysfs tcpd theora tiff truetype unicode usb vdpau vorbis x264 xcomposite xml xorg xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Thomas Sachau gentoo-dev 2010-03-12 13:33:24 UTC
Please also attach the complete output of your example.
Comment 4 Vicente Olivert Riera (RETIRED) gentoo-dev 2010-03-12 14:12:04 UTC
(In reply to comment #3)
> Please also attach the complete output of your example.
>

This bug is opened since 2010-02-10. Is more than one month old. I need valgrind for my work, so I'm using the 3.5.0 version. I'm sorry, but it's too late.
Comment 5 Thomas Sachau gentoo-dev 2010-03-12 16:16:07 UTC
Closing as needinfo. If someone does provide the requested information, feel free to reopen the bug.
Comment 6 Vicente Olivert Riera (RETIRED) gentoo-dev 2010-03-12 17:09:59 UTC
Ok, I have downgraded to valgrind-3.4.1
When I run "valgrind /bin/echo" this is the output (not all, because the buffer of my terminal is smaller thant the full output):

http://pastebin.com/sJ5unSkh

##################################################################
##################################################################

And now, with valgrind-3.5.0:

# valgrind /bin/echo 
==32614== Memcheck, a memory error detector
==32614== Copyright (C) 2002-2009, and GNU GPL'd, by Julian Seward et al.
==32614== Using Valgrind-3.5.0 and LibVEX; rerun with -h for copyright info
==32614== Command: /bin/echo
==32614== 

==32614== 
==32614== HEAP SUMMARY:
==32614==     in use at exit: 0 bytes in 0 blocks
==32614==   total heap usage: 30 allocs, 30 frees, 3,659 bytes allocated
==32614== 
==32614== All heap blocks were freed -- no leaks are possible
==32614== 
==32614== For counts of detected and suppressed errors, rerun with: -v
==32614== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 6 from 6)
Comment 7 Thomas Sachau gentoo-dev 2010-03-14 08:38:45 UTC
Created attachment 223501 [details]
output for valgrin-3.4.1

Please dont use a pastebin, attach the info in a file, since pastebin content will soon be lost.
Comment 8 Maurice van der Pot (RETIRED) gentoo-dev 2010-03-17 17:26:11 UTC
I consider this a request for stabilization of valgrind 3.5.0.
As maintainer I'm fine with it going stable on amd64, x86, ppc32 and ppc64.
Comment 9 Vicente Olivert Riera (RETIRED) gentoo-dev 2010-03-17 17:49:51 UTC
(In reply to comment #8)
> I consider this a request for stabilization of valgrind 3.5.0.
> As maintainer I'm fine with it going stable on amd64, x86, ppc32 and ppc64.
> 

Perfect :-)
Comment 10 Brent Baude (RETIRED) gentoo-dev 2010-03-21 15:00:32 UTC
ppc64 stable
Comment 11 Christian Faulhammer (RETIRED) gentoo-dev 2010-04-09 08:24:28 UTC
x86 stable
Comment 12 nixnut (RETIRED) gentoo-dev 2010-04-11 12:01:14 UTC
ppc stable
Comment 13 Keith Rusler 2010-05-01 08:35:34 UTC
I get this error all the time on any app I use.

zeke@narfxeon ~/projects/aki/build/test $ valgrind --tool=cachegrind designer
==9909== Cachegrind, a cache and branch-prediction profiler
==9909== Copyright (C) 2002-2009, and GNU GPL'd, by Nicholas Nethercote et al.
==9909== Using Valgrind-3.5.0 and LibVEX; rerun with -h for copyright info
==9909== Command: designer
==9909== 
--9909-- warning: Unknown Intel cache config value (0x5a), ignoring
--9909-- warning: Unknown Intel cache config value (0x55), ignoring
--9909-- warning: Unknown Intel cache config value (0xe4), ignoring
--9909-- warning: Unknown Intel cache config value (0xb2), ignoring
--9909-- warning: Unknown Intel cache config value (0x21), ignoring
--9909-- warning: Unknown Intel cache config value (0xca), ignoring
--9909-- warning: Unknown Intel cache config value (0x9), ignoring
--9909-- warning: L2 cache not installed, ignore L2 results.
--9909-- WARNING: unhandled syscall: 294
--9909-- You may be able to write your own handler.
--9909-- Read the file README_MISSING_SYSCALL_OR_IOCTL.
--9909-- Nevertheless we consider this a bug.  Please report
--9909-- it at http://valgrind.org/support/bug_reports.html.
vex amd64->IR: unhandled instruction bytes: 0xF3 0xF 0xB8 0x14 0x1 0x48
==9909== valgrind: Unrecognised instruction at address 0x9fb7178.
==9909== Your program just tried to execute an instruction that Valgrind
==9909== did not recognise.  There are two possible reasons for this.
==9909== 1. Your program has a bug and erroneously jumped to a non-code
==9909==    location.  If you are running Memcheck and you just saw a
==9909==    warning about a bad jump, it's probably your program's fault.
==9909== 2. The instruction is legitimate but Valgrind doesn't handle it,
==9909==    i.e. it's Valgrind's fault.  If you think this is the case or
==9909==    you are not sure, please let us know and we'll try to fix it.
==9909== Either way, Valgrind will now raise a SIGILL signal which will
==9909== probably kill your program.
==9909== 
==9909== Process terminating with default action of signal 4 (SIGILL)
==9909==  Illegal opcode at address 0x9FB7178
==9909==    at 0x9FB7178: FcCharSetCount (fccharset.c:557)
==9909==    by 0x9FC0182: FcFontSetList (fclist.c:255)
==9909==    by 0x9FC08DD: FcFontList (fclist.c:573)
==9909==    by 0x652B85B: loadFontConfig() (qfontdatabase_x11.cpp:1046)
==9909==    by 0x652C470: initializeDb() (qfontdatabase_x11.cpp:1316)
==9909==    by 0x6533DC7: QFontDatabase::load(QFontPrivate const*, int) (qfontdatabase_x11.cpp:1928)
==9909==    by 0x650AC05: QFontPrivate::engineForScript(int) const (qfont.cpp:270)
==9909==    by 0x6525700: QFontMetrics::width(QChar) const (qfontmetrics.cpp:573)
==9909==    by 0x66D92CE: QComboBoxPrivate::recomputeSizeHint(QSize&) const (qcombobox.cpp:292)
==9909==    by 0x66D9483: QComboBox::sizeHint() const (qcombobox.cpp:2282)
==9909==    by 0x6328DF1: QWidget::qt_metacall(QMetaObject::Call, int, void**) (moc_qwidget.cpp:260)
==9909==    by 0x66DDB44: QComboBox::qt_metacall(QMetaObject::Call, int, void**) (moc_qcombobox.cpp:174)
==9909== 
==9909== I   refs:      490,862,258
==9909== I1  misses:         29,371
==9909== L2i misses:         29,284
==9909== I1  miss rate:        0.00%
==9909== L2i miss rate:        0.00%
==9909== 
==9909== D   refs:      187,091,412  (129,996,364 rd   + 57,095,048 wr)
==9909== D1  misses:      2,835,557  (  2,529,967 rd   +    305,590 wr)
==9909== L2d misses:        324,408  (    237,577 rd   +     86,831 wr)
==9909== D1  miss rate:         1.5% (        1.9%     +        0.5%  )
==9909== L2d miss rate:         0.1% (        0.1%     +        0.1%  )
==9909== 
==9909== L2 refs:         2,864,928  (  2,559,338 rd   +    305,590 wr)
==9909== L2 misses:         353,692  (    266,861 rd   +     86,831 wr)
==9909== L2 miss rate:          0.0% (        0.0%     +        0.1%  )
Comment 14 Keith Rusler 2010-05-01 08:36:45 UTC
oops forgot my emerge --info

zeke@narfxeon ~/projects/aki/build/test $ emerge --info
Portage 2.2_rc67 (default/linux/amd64/10.0, gcc-4.4.3, glibc-2.11.1-r0, 2.6.33-gentoo-r1 x86_64)
=================================================================
System uname: Linux-2.6.33-gentoo-r1-x86_64-Intel-R-_Xeon-R-_CPU_X3440_@_2.53GHz-with-gentoo-2.0.1
Timestamp of tree: Fri, 30 Apr 2010 02:30:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.1_p5
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r1, 3.1.2-r2
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.1-r1
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1
sys-devel/gcc:       4.4.3-r2, 4.5.0
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.33
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /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/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache distlocks fixpackages news nostrip parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en_GB en_US"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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="/var/lib/layman/kde /var/lib/layman/qting-edge /var/lib/layman/gnome /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3ds X X509 a52 aac aalib accessibility acct ace acl acpi addbookmarks additions addressbook aften afterimage aim aio akonadi alsa amd64 animgif archive aspell audio audiofile audioscrobbler auto-completion autoreplace avahi bash-completion bcmath berkdb bidi big-tables binary-drivers bittorrent blas bluetooth bonjour bookmarks boost branding bzip2 cairo canna caps ccache cdda cddax cddb cdio cdparanoia cdr cdrom cdsound charconv chardet charmap charset chasen chm cjk cli cmake colordiff compress consolekit corefonts cover cpio cpudetection cracklib crypt cscope css cuda cue cups curl cxx dbus designer designer-plugin desktopglobe device-mapper devil dhcp dhcpcd dht djvu dri dvb dvd dvdarchive dvdchapjump dvdnav dvdr ebook eigen embedded encode extraengine extras faac faad fam fame fat fbcon fbcondecor fbdev fbsplash ffmpeg fftw firefox firefox3 fortran fuse gadu games gd gdbm gdu gecko gif git glib gnome gpm graphite grub gstreamer gtk gzip h224 h281 hal hddtemp hfs hpcups hpijs i18n iconv icu id3 id3tag image imagemagick innodb ipv6 irc jfs jpeg json kde kdevplatform kdm konqueror kontact kross lame lastfm lastfmradio libass libburn libv4l libv4l2 llvm lm_sensors lyrics lyrics-screen lzma lzo m17n-lib mac mad md5sum mdnsresponder-compat mixer mmx mng modules mono monolithic mp3 mp3rtp mp3tunes mp4 mpd mpeg mpi msn mudflap multilib multimedia music musicbrainz mysql ncurses nfs nls nptl nptlonly nsplugin ntp nvidia nvram objc objc++ objc-gc ogg okular openal opencl openexr opengl openmp openntpd openssl oscar otr oxygen pam pango pch pcre perl pidgin plasma plugins png policykit pppd python q16 q32 q8 qml qt-dbus qt-webkit qt3support qt4 qthelp qtmultimedia qtscript quicktime rar raster readline recode reflection reiser4 reiserfs scrobbler sdk sdl sdl-image sdl-sound sdlaudio semantic-desktop session shorten shorturl sms smtp snes soap sockets socks socks5 sound soup spell spl sql sqlite sqlite3 sse sse2 sse3 sse4 ssl ssse3 subtitles subversion svg sysfs taglib tcl tcpd tga themes threads tidy tiff tk transcode truetype twolame unicode unzip usb v4l v4l2 vcd vcdinfo video videos vorbis wav wavpack webcam webkit wma wma-fixed wmf xcomposite xinerama xml xmlpatterns xorg xrender xsl xslt xulrunner xv xvid xwax_decoders_aac xwax_decoders_cd xwax_decoders_flac xwax_decoders_misc xwax_decoders_mp3 xwax_decoders_ogg yahoo zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul 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 evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB en_US" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia nv" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 15 Peter Volkov (RETIRED) gentoo-dev 2010-05-21 18:59:16 UTC
amd64 stable. Last arch. Fixed.