# /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"
Created attachment 39023 [details] strace of Bastille running/dying
Here's the version of bastille. [ebuild R ] app-admin/bastille-2.1.1-r1 +X 0 kB
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
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?).
[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
Hi, I'm having the same problem as above. I am however using the cursus version successfuly. Hope this helps.
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.
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.