Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 62965 - Bastille dies with false out of memory error on left-panel clicks
Summary: Bastille dies with false out of memory error on left-panel clicks
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Bryan Stine (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-05 21:19 UTC by katerina
Modified: 2005-04-05 11:06 UTC (History)
0 users

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


Attachments
strace of Bastille running/dying (bastille.log,15.33 KB, text/plain)
2004-09-05 21:21 UTC, katerina
Details

Note You need to log in before you can comment on or make changes to this bug.
Description katerina 2004-09-05 21:19:58 UTC
# /usr/sbin/bastille
head: `-2' option is obsolete; use `-n 2' since this will be removed in the future

NOTE:    Valid display found; defaulting to Tk (X) interface.
NOTE:    Using Tk user interface module.
NOTE:    Only displaying questions relevant to the current configuration.
NOTE:    Bastille is scanning the system configuration...

Bastille tried to use $GLOBAL_BIN{'lpalt'} but it does not exist.
Bastille tried to use $GLOBAL_BIN{'rdist'} but it does not exist.
Bastille tried to use $GLOBAL_BIN{'rexec'} but it does not exist.
Bastille tried to use $GLOBAL_FILE{'accton'} but it does not exist.
Bastille tried to use $GLOBAL_FILE{'lpd'} but it does not exist.
Bastille tried to use $GLOBAL_FILE{'cupsd'} but it does not exist.
NOTE:    Could not open config file /etc/Bastille/config, defaults used.
Out of memory!
Callback called exit, <GENTOO_RELEASE> line 8.

Bastille loads, the title screen appears, and the 'ok' button works; however, if I click on anything under Modules, such as File Permissions, I get 
"Out of memory!
Callback called exit, <GENTOO_RELEASE> line 8."



Reproducible: Always
Steps to Reproduce:
1. run bastille
2. click any item under Modules (clicking the blank space under all of them does not make the program exit.)



Expected Results:  
Bastille should go to the new screen, rather than exit.

Portage 2.0.50-r10 (default-x86-2004.0, gcc-3.3.4, glibc-2.3.3.20040420-r1,
2.6.8-gentoo-r3)
=================================================================
System uname: 2.6.8-gentoo-r3 i686 AMD Athlon(TM) XP 2500+
Gentoo Base System version 1.4.16
distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-ggdb3 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /var/freenet
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-ggdb3 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache nostrip sandbox userpriv usersandbox"
GENTOO_MIRRORS="http://mirror.switch.ch/mirror/gentoo/
ftp://gd.tuwien.ac.at/opsys/linux/gentoo/ http://194.149.10.102/"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/usr/data/portage-build"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://192.168.0.26/portage"
USE="X acl alsa apm arts audiofile avi berkdb bidi cairo canna cdr cjk crypt
cscope cups debug directfb doc dvd dvdr emacs encode faad flac foomaticdb
freewnn gatos gd gdbm gimpprint gphoto2 gpm gtk gtk2 guile imagemagick imlib
jack java javascript jikes jpeg junit kde libg++ libwww mad mikmod mmx mng mpeg
mysql ncurses nls oggvorbis opengl pam pcre pdflib perl php pic png postgres
ppds python qt quicktime readline ruby scanner sdl slang socks5 softmmu spell
sse ssl tcltk tcpd tetex theora tiff truetype unicode usb video_cards_radeon wmf
x86 xinerama xml2 xmms xv zlib"
Comment 1 katerina 2004-09-05 21:21:08 UTC
Created attachment 39023 [details]
strace of Bastille running/dying
Comment 2 katerina 2004-09-05 21:23:29 UTC
Here's the version of bastille.
[ebuild   R   ] app-admin/bastille-2.1.1-r1  +X  0 kB
Comment 3 Paper 2004-11-26 16:06:57 UTC
Here I'm getting true out of memory on left-panel clicks!
Right after clicking on the panel the cpu get 100% busy and memory+swap start filling.

ebuild version: app-admin/bastille-2.1.1-r2
Comment 4 Bryan Stine (RETIRED) gentoo-dev 2005-01-19 19:16:11 UTC
Could you post Tk and perl versions? This is a pretty weird one and the only thing I can see being wrong would be on the perl end (maybe threaded?).
Comment 5 katerina 2005-01-22 17:25:14 UTC
[ebuild   R   ] dev-lang/perl-5.8.5-r2  +berkdb +debug +doc +gdbm -ithreads -perlsuid (-uclibc) 11,651 kB
[ebuild   R   ] dev-perl/perl-tk-804.027  5,870 kB
Comment 6 Wayne 2005-03-06 02:57:34 UTC
Hi, I'm having the same problem as above. I am however using the cursus version successfuly. Hope this helps.
Comment 7 Bryan Stine (RETIRED) gentoo-dev 2005-03-24 09:54:22 UTC
Fwiw, Joshua Brindle found and reported this rapid memleak today. I've still not been able to reproduce it, but I think I might have an idea of where it's coming from.
Comment 8 Bryan Stine (RETIRED) gentoo-dev 2005-04-05 11:06:39 UTC
2.1.1-r3 was just plopped into portage with a patch that fixes this issue for me. Please try it and let me know how it goes.