Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 257723 - app-misc/strigi-0.6.4 testsuite eats all available memory
Summary: app-misc/strigi-0.6.4 testsuite eats all available memory
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: kde4tests
  Show dependency tree
 
Reported: 2009-02-05 04:18 UTC by Ryan Hill (RETIRED)
Modified: 2009-06-26 14:12 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 Ryan Hill (RETIRED) gentoo-dev 2009-02-05 04:18:28 UTC
the 0.6.4 testsuite consumes all 4GiB of memory on my laptop and then completely locks the machine up for ten minutes until the OOM killer kicks in.  0.6.3 works fine.

the test that triggers this is:

 18/ 26 Testing ArchiveReaderTest
Test command: /var/tmp/portage/app-misc/strigi-0.6.4/work/strigi_build/src/streams/tests/testrunner-streams ArchiveReaderTest /var/tmp/portage/app-misc/strigi-0.6.4/work/strigi-0.6.4/testdata/data
Test timeout computed to be: 9.99988e+06

[ebuild     U ] app-misc/strigi-0.6.4 [0.6.3] USE="clucene dbus exif fam inotify qt4 test -debug -hyperestraier -log" 0 kB



Portage 2.2_rc23 (default/linux/amd64/2008.0/developer, gcc-4.3.3, glibc-2.9_p20081201-r1, 2.6.28-gentoo-r1 x86_64)
=================================================================                                                  
System uname: Linux-2.6.28-gentoo-r1-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T9300_@_2.50GHz-with-glibc2.2.5             
Timestamp of tree: Wed, 04 Feb 2009 23:30:01 +0000                                                                 
ccache version 2.4 [enabled]                                                                                       
app-shells/bash:     3.2_p48                                                                                       
dev-java/java-config: 1.3.7-r1, 2.1.7                                                                              
dev-lang/python:     2.5.4-r2                                                                                      
dev-python/pycrypto: 2.0.1-r6                                                                                      
dev-util/ccache:     2.4-r8                                                                                        
dev-util/cmake:      2.6.2-r1                                                                                      
sys-apps/baselayout: 2.0.0                                                                                         
sys-apps/openrc:     0.4.2                                                                                         
sys-apps/sandbox:    1.3.3                                                                                         
sys-devel/autoconf:  2.13, 2.63                                                                                    
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2                                                     
sys-devel/binutils:  2.19.51.0.1                                                                                   
sys-devel/gcc-config: 1.4.1                                                                                        
sys-devel/libtool:   2.2.6a                                                                                        
virtual/os-headers:  2.6.28-r1                                                                                     
ACCEPT_KEYWORDS="amd64 ~amd64"                                                                                     
CBUILD="x86_64-pc-linux-gnu"                                                                                       
CFLAGS="-O3 -march=core2 -fomit-frame-pointer -pipe"                                                               
CHOST="x86_64-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/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 /etc/udev/rules.d"                                                                                     
CXXFLAGS="-O3 -march=core2 -fomit-frame-pointer -pipe"                                                                                      
DISTDIR="/usr/portage/distfiles"                                                                                                            
FEATURES="ccache collision-protect cvs digest distlocks fixpackages metadata-transfer multilib-strict parallel-fetch preserve-libs protect-owned sandbox sfperms sign splitdebug strict test unmerge-orphans userfetch userpriv usersandbox"                                            
GENTOO_MIRRORS="http://gentoo.mirrors.tera-byte.com/ http://gentoo.osuosl.org http://distfiles.gentoo.org"                                  
LANG="en_US.utf8"                                                                                                                           
LDFLAGS="-Wl,--as-needed,--hash-style=gnu"                                                                                                  
LINGUAS="en en_US"                                                                                                                          
MAKEOPTS="-j4"                                                                                                                              
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="/home/dirtyepic/overlay /home/dirtyepic/dev/svn/dirtyepic /home/dirtyepic/dev/svn/gcc-porting"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acpi akode alsa amd64 aspell audiofile avahi bash-completion berkdb bzip2 cairo cdaudio cdr chm cleartype cli consolekit cracklib crypt css cups curl cvs dbus dhcpcd divx dri dts dvd dvdr dvdread eds emboss encode evo exif expat fam ffmpeg fftw firefox3 flac fontconfig foomaticdb gdbm geos gif gimp glib glw gmedia gmp gpgme gphoto2 gstreamer gtk hal hdaps hpn htmlhandbook iconv id3tag imap imlib inotify ipw4965 isdnlog javascript jpeg kde kdeenablefinal kdehiddenvisibility lame laptop libwww lzma mad mdnsresponder-compat midi mikmod mmap mmx mozilla mp3 mpeg multilib ncurses network-cron nntp nptl nptlonly nsplugin ogg opengl openmp pam pch pcre pdf pic png pop ppds pppd pth qt3 qt3support qt4 quicktime readline reflection rtc sasl sesame2 session sha512 smapi smime smp smtp sndfile spell spl srt sse sse2 ssl ssse3 startup-notification subversion svg sysfs taglib tcpd theora threads threadsafe tiff truetype unicode urandom usb utempter vim-syntax vorbis wifi wmp wxwindows x264 xcb xcomposite xine xml xorg xpm xulrunner xv xvid xvmc zeroconf 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 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="mouse keyboard synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" USERLAND="GNU" VIDEO_CARDS="intel"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 moesasji 2009-03-31 20:25:02 UTC
I can confirm that the same ArchiveReaderTest from strigi-0.6.4 fails on my system (~AMD64). However it does not lock up in the proces probably because that system has 8GiB of memory. As a result I get slightly more output then posted by Ryan above.

I get additional exception-messages in the log as part of this test, see below for the output:

18/ 26 Testing ArchiveReaderTest
Test command:
/var/tmp/portage/app-misc/strigi-0.6.4/work/strigi_build/src/streams/tests/testrunner-streams
ArchiveReaderTest
/var/tmp/portage/app-misc/strigi-0.6.4/work/strigi-0.6.4/testdata/data
Test timeout computed to be: 9.99988e+06
-- Process completed

*** Exception executing: Child killed
***Exeption:Other

emerged with useflags: app-misc/strigi-0.6.4 [0.6.3] USE="clucene dbus exif fam -inotify qt4 test -debug -hyperestraier -log" 0 kB

I can't figure out how to get more output from the test itself. Any suggestion on what to try?
Comment 2 anomen 2009-06-16 14:30:15 UTC
this problem seems to be fixed in strigi-0.6.5.

ArchiveReaderTest in 0.6.5 passes without any excessive memory allocation. Some later test fails (dbus), but it doesn't seem to be related to this.

Tested on amd64 with 6gb of ram. 
Comment 3 Tomáš Chvátal (RETIRED) gentoo-dev 2009-06-26 14:12:31 UTC
.6.5 works fine for me too, so closing the bug.