Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 100242 - media-libs/openexr-1.2.2-r1 causes severe memory leak and system crash during configure if used with +fltk use flag
Summary: media-libs/openexr-1.2.2-r1 causes severe memory leak and system crash during...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High critical (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
: 103694 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-07-25 08:44 UTC by t35t0r
Modified: 2005-12-18 09:57 UTC (History)
4 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 t35t0r 2005-07-25 08:44:58 UTC
On my amd64 if I try to compile openexr-1.2.2-r1 with the fltk use flag, during
the configure process it reaches this step:

Checking for fltk .../usr/bin/fltk-config ...

I have 1g of ram on this machine and it used up that ram in less than 10 seconds
and then in less than another 10 seconds it used up 1g of swap. The machine
became completely unusable. The only thing I could do was ping the machine. It
was not possible to SSH into the machine. I had to do a hard reset.

The ebuild compiles fine without the fltk use flag.

emerge --info:

Portage 2.0.51.22-r2 (default-linux/amd64/2005.0, gcc-3.4.3, glibc-2.3.5-r0,
2.6.12.1 x86_64)
=================================================================
System uname: 2.6.12.1 x86_64 AMD Athlon(tm) 64 Processor 4000+
Gentoo Base System version 1.6.13
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [disabled]
dev-lang/python:     2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=k8"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -pipe -march=k8"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.mirrors.tds.net/gentoo
http://gentoo.mirrors.pair.com/ http://gentoo.osuosl.org
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://eglimp/gentoo-portage"
USE="amd64 3dnowex X acpi alsa arts avi berkdb bitmap-fonts cdr crypt cups curl
encode esd fam flac foomaticdb fortran gif gnome gpm gstreamer gtk gtk2
imagemagick imlib ipv6 java jpeg kde lzw lzw-tiff mad motif mozilla mp3 mpeg
mtrr ncurses nls ogg oggvorbis opengl pam pdflib perl plotutils png python qt
quicktime readline samba sdl speex spell ssl tcltk tcpd tiff truetype-fonts
type1-fonts usb userlocales vorbis xine xml2 xpm xv zlib userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Gergan Penkov 2005-07-26 10:56:14 UTC
I can confirm this behaviour on x86, with 1gb of memory and 1 gb of swap. I
suppose, that it could be a sandbox issue, because it is slightly improbable for
the configure-script to take so much resources, but who knows::))
Comment 2 kaouete 2005-11-01 12:51:00 UTC
yes, the same here.
the problem was caused by :
[openexr-1.2.2-r1] sandbox /usr/lib/portage/bin/ebuild.sh compile

while de configure and was at : 
checking for fltk-config... /usr/bin/fltk-config
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-12-18 09:47:43 UTC
*** Bug 103694 has been marked as a duplicate of this bug. ***
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-12-18 09:57:24 UTC
Removed fltk support because it's broken.