Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 96631

Summary: x11-misc/fluxconf - fluxmenu crashes on saving changes and kills the menu
Product: Gentoo Linux Reporter: plsdontreply
Component: Current packagesAssignee: Commonbox Team <commonbox>
Status: RESOLVED CANTFIX    
Severity: normal CC: alfredoj69, dm.konrad, l33tmmx, lack
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description plsdontreply 2005-06-20 11:28:19 UTC
Configuring fluxbox' menu through a comfortable graphical editor would be fine.
I tried using fluxmenu which is part of fluxconf and it seemed to be exactly
what I expected.
Unfortunately, hitting the SAVE button after adding one or more menu items
immediately crashes the fluxmenu window. Then the file ~/.fluxbox/menu is
completely empty.
Saving after deletion of any menu item is ok.

I tried to get a stack trace and got the following:

GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...Using host libthread_db library
"/lib/libthread_db.so.1".

(gdb) run
Starting program: /usr/bin/fluxmenu 

Program received signal SIGSEGV, Segmentation fault.
0xb7b5a3c8 in g_utf8_validate () from /usr/lib/libglib-2.0.so.0
(gdb) bt
#0  0xb7b5a3c8 in g_utf8_validate () from /usr/lib/libglib-2.0.so.0

Reproducible: Always
Steps to Reproduce:
1. emerge fluxconf
2. run fluxbox
3. start fluxmenu
4. add an entry e.g. "exec clock xclock"
5. hit the save button

Actual Results:  
Fluxmenu crashes and all file size of ~/.fluxbox/menu becomes zero.

Expected Results:  
Fluxmenu should have saved the new entries to menu.

Gentoo Base System version 1.6.12
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.3, glibc-2.3.4.20041102-r1,
2.6.11-gentoo-r11 i686)
=================================================================
System uname: 2.6.11-gentoo-r11 i686 Intel(R) Pentium(R) M processor 1400MHz
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Jun  4 2005, 13:04:55)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium-m -fomit-frame-pointer -pipe"
CHOST="i686-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/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium-m -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo
http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://gentoo.osuosl.org
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_US.UTF-8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aalib acpi alsa apache2 audiofile avi bash-completion berkdb
bigger-fonts bitmap-fonts bzlib calendar caps cdparanoia cdr chroot cjk cpdflib
crypt css cups curl directfb dvd emboss encode fam fb fbcon flac foomaticdb
fortran fpx ftp gd gdbm gif gpm graphviz gtk gtk2 imagemagick imlib ipv6 java
jbig jpeg lcms libg++ libwww lm_sensors mad mdb mikmod mime mmx motif
mozcalendar mozilla mozp3p mp3 mpeg ncurses nls nptl nptlonly ogg oggvorbis
opengl oss pam pcre pda pdflib perl png posix ppds profile python quicktime
readline recode sapdb sdl session sftplogging simplexml spell sse ssl svg svga
tcpd tidy tiff truetype truetype-fonts type1-fonts unicode usb userlocales utf8
vorbis wifi win32codecs wmf xine xml xml2 xmms xosd xprint xsl xslt xv zlib
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 konrad okurowski 2006-12-31 07:42:43 UTC
same here;/ 

Portage 2.1.2_rc4-r3 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.19-gentoo-r2 i686)
=================================================================
System uname: 2.6.19-gentoo-r2 i686 AMD Athlon(tm) 64 Processor 2800+
Gentoo Base System version 1.12.8
Last Sync: Sun, 31 Dec 2006 08:30:01 +0000
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.19
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon64 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -march=athlon64 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig digest distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
LANG="pl_PL.UTF-8"
LC_ALL="pl_PL.UTF-8"
LINGUAS="pl"
MAKEOPTS="-j2 -s"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/overlays/nelchael"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac alsa avi bash-completion berkdb bitmap-fonts cairo cdr cdrom cli cracklib crypt cups divx4linux dlloader dri dvd dvdr dvdread encode esd flash fortran gif glitz gpm gtk hal iconv imagemegick imlib isdnlog jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility libg++ mmx motif mp3 mpeg ncurses nls nptl nptlonly nvidia ogg oggvorbis opengl oss pam pcre perl pertty pic png ppds pppd python qt3 qt4 readline reflection risky sdl session slang spell spl sse sse2 ssl tcpd tga tiff truetype truetype-fonts type1-fonts udev unicode usb v4l vorbis wmf x86 xcomposite xml xml2 xorg xpm xv xvid zlib" ALSA_CARDS="emu10k1" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse ps2mouse joystick vmmouse" KERNEL="linux" LINGUAS="pl" USERLAND="GNU" VIDEO_CARDS="nvidia nv vmware"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2008-01-20 19:02:32 UTC
*** Bug 151782 has been marked as a duplicate of this bug. ***
Comment 3 Jim Ramsay (lack) (RETIRED) gentoo-dev 2008-01-22 17:15:21 UTC
Well, unfortunately fluxconf upstream is dead, and it is known that it doesn't work with anything in the fluxbox-1.0 series (All the config file formats have now changed enough that it just won't go).  In fact, I thought that fluxconf was supposed to block the newer fluxbox ebuilds - It does now.

The long and short of it is: fluxconf is dead.  Your best configuration tool for fluxbox is your text editor.

If someone wants to fork fluxconf, please do so!  It was a nice tool when it worked.
Comment 4 Raphael Dehousse 2008-01-23 08:37:15 UTC
(In reply to comment #3)
> Well, unfortunately fluxconf upstream is dead, and it is known that it doesn't
> work with anything in the fluxbox-1.0 series (All the config file formats have
> now changed enough that it just won't go).  In fact, I thought that fluxconf
> was supposed to block the newer fluxbox ebuilds - It does now.
> 
> The long and short of it is: fluxconf is dead.  Your best configuration tool
> for fluxbox is your text editor.
> 
> If someone wants to fork fluxconf, please do so!  It was a nice tool when it
> worked.
> 

Indeed, fluxconf was a great tool.
Waiting a fork of fluxconf, it exists another editor for the fluxbox menu called Fluxbox Menu Editor (bug#184023) http://bugs.gentoo.org/show_bug.cgi?id=184023
It would be great for this tool to be accepted in portage to maybe, one day, replace a part of fluxconf since this project is dead...
Comment 5 Jim Ramsay (lack) (RETIRED) gentoo-dev 2008-01-23 12:56:09 UTC
(In reply to comment #4)
> Indeed, fluxconf was a great tool.
> Waiting a fork of fluxconf, it exists another editor for the fluxbox menu
> called Fluxbox Menu Editor (bug#184023)
> http://bugs.gentoo.org/show_bug.cgi?id=184023
> It would be great for this tool to be accepted in portage to maybe, one day,
> replace a part of fluxconf since this project is dead...

Thanks very much for this information, I was not aware of this program!  I have become the maintainer of fme and have just added x11-misc/fme-1.0.3 to the tree.  Enjoy!
Comment 6 Jouni Rinne 2008-02-05 09:57:44 UTC
Here's an another Fluxbox menu editor:
http://fluxmenu.berlios.de/
I have used it since Fluxconf went belly up. Highly recommended!