Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 102304 - kasablanca logs *very* noisy debugging output to console window even when built without "debug" use flag.
Summary: kasablanca logs *very* noisy debugging output to console window even when bui...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-12 18:06 UTC by Nathanael Hoyle
Modified: 2005-08-14 06:22 UTC (History)
0 users

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 Nathanael Hoyle 2005-08-12 18:06:45 UTC
Summary is fairly complete, the graphical ftp client "kasablanca" for KDE logs
extremely noisy diagnostic/debugging info to the console even when build without
"debug" USE flag enabled (or with -debug explicitly set for that matter). 
Application is running properly, so reports are not indicative of error info. 
While most users will probably launch the program via KDE's menu, since I had
just emerged it, I Ctrl-D'd back to my normal user from root and typed the
command name quickly in the Konsole window I was working in and was treated to
some of the following:

INFO: session a gui freed
INFO: transfer file from session b to session a
INFO: mp_src->fileName() = <censored>
INFO: mp_dst->fileName() = <censored>
INFO: mp_src->dirPath() = <censored>
INFO: mp_dst->dirPath() = <censored>
INFO: session b gui blocked
INFO: session a gui blocked
INFO: session b gui freed
INFO: session a gui freed
INFO: transfer file from session b to session a
INFO: mp_src->fileName() = <censored>
INFO: mp_dst->fileName() = <censored>
INFO: mp_src->dirPath() = <censored>
INFO: mp_dst->dirPath() = <censored>
INFO: session b gui blocked
INFO: session a gui blocked
INFO: session b gui freed
INFO: session a gui freed
INFO: session b gui freed
INFO: session a gui freed
INFO: session b gui freed
INFO: session a gui freed
INFO: session b gui blocked
INFO: no month entry found
INFO: ignoring invalid line in dirlist
INFO: session b gui freed

Note that I replaced the actual directory path's and filenames with <censored>,
this is not actual kasablanca output.

Reproducible: Always
Steps to Reproduce:
1. USE="-debug" emerge kasablanca
2. launch kasablanca from the command line (Konsole, Xterm, whatever. X must be up)


Actual Results:  
As per detailed explanation above, software produced extensive diagnostic info
which should probably only be displayed when "debug" USE flag is set.

Expected Results:  
Suppress any/all non-critical (fatal) diagnostic messages as a release rather
than debug build typically would.

Obviously, redirecting of stdout/stderr to /dev/null would be a quick
workaround, but shouldn't be needed.

emerge info, though it's not really relevant:

Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.5-r0, 2.6.12-gentoo-r6 i686)
=================================================================
System uname: 2.6.12-gentoo-r6 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.6.13
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5
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="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /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/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distcc distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://gentoo.mirrors.tds.net/gentoo http://gentoo.netnitco.net
ftp://gentoo.blueyonder.co.uk/mirrors/gentoo
http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/"
MAKEOPTS="-j6"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="x86 X aalib alsa apm arts audiofile avi bitmap-fonts cdparanoia crypt
cscope cups curl dga divx4linux dv dvb dvd dvdread eds emboss encode fam fbcon
foomaticdb gif gstreamer gtk gtk2 imlib jpeg kde libcaca libg++ libwww mad
mikmod mmx mmxext motif mp3 mpeg ncurses nptl nptlonly ogg oggvorbis opengl pam
pdflib png qt quicktime real sdl spell sse sse2 ssl theora tiff truetype
truetype-fonts type1-fonts vorbis xml2 xmms xv xvid zlib userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Gregorio Guidi (RETIRED) gentoo-dev 2005-08-14 06:22:46 UTC
This is not Gentoo specific, so the best thing to do is to report this issue 
directly to the author of kasablanca.