[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#232409: kconfigbackend.cpp seems to parse binary files as configuration files



Package: kdelibs4
Version: 4:3.1.5-1
Severity: normal

Hi,

today I started to examine my .xsession-errors file. I noticed a lot of
error messages like this:

Invalid entry (missing ']') at /usr/bin/gaim:2

The line number and the exact missing character are varying. I then
asked on #debian-kde for help and one user was able to help me a bit. We
figured out that the error message seems to occur because I'm starting
gaim automatically when I log into KDE. The other person did start gaim
manually. I then searched around and found a bugreport against RedHat
about the same error message but with a different application. Further
searches lead me to the file kconfigbackend.cpp which contains the error
messages. I then figured out that it's the function
"KConfigINIBackEnd::parseSingleConfigFile" that is creating those
messages. I'm not a programmer, but the name strongly suggest to me that
it's used to parse configuration files for KDE. But for reasons unknown
to me, it's trying to parse a binary file as configuration file, which
looks broken to me. Please fix this, so that the function is only
parsing valid configuration files. Thanks.

Christian


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.2
Locale: LANG=POSIX, LC_CTYPE=de_DE@euro

Versions of packages kdelibs4 depends on:
ii  kdelibs-bin               4:3.1.5-1      KDE core binaries
ii  kdelibs-data              4:3.1.5-1      KDE core shared data
ii  libart-2.0-2              2.3.16-1       Library of functions for 2D graphi
ii  libarts1                  1.1.5-2        aRts Sound system
ii  libasound2                1.0.1-1        Advanced Linux Sound Architecture 
ii  libaudio2                 1.6b-2         The Network Audio System (NAS). (s
ii  libaudiofile0             0.2.3-4        The Audiofile Library
ii  libbz2-1.0                1.0.2-1        A high-quality block-sorting file 
ii  libc6                     2.3.2.ds1-11   GNU C Library: Shared libraries an
ii  libcupsys2                1.1.20final-13 Common UNIX Printing System(tm) - 
ii  libfam0c102               2.7.0-5        client library to control the FAM 
ii  libfontconfig1            2.2.1-14       generic font configuration library
ii  libfreetype6              2.1.7-2        FreeType 2 font engine, shared lib
ii  libgcc1                   1:3.3.3-0pre3  GCC support library
ii  libjpeg62                 6b-9           The Independent JPEG Group's JPEG 
ii  libldap2                  2.1.25-1       OpenLDAP libraries
ii  libmad0                   0.15.0b-3      MPEG audio decoder library
ii  libogg0                   1.1.0-1        Ogg Bitstream Library
ii  libpcre3                  4.3-4          Philip Hazel's Perl 5 Compatible R
ii  libpng12-0                1.2.5.0-4      PNG library - runtime
ii  libqt3c102-mt             3:3.2.3-2      Qt GUI Library (Threaded runtime v
ii  libstdc++5                1:3.3.3-0pre3  The GNU Standard C++ Library v3
ii  libtiff3g                 3.5.7-2        Tag Image File Format library
ii  libvorbis0a               1.0.1-1        The Vorbis General Audio Compressi
ii  libvorbisenc2             1.0.1-1        The Vorbis General Audio Compressi
ii  libvorbisfile3            1.0.1-1        The Vorbis General Audio Compressi
ii  libxcursor1               1.0.2-4        X Cursor management library
ii  libxft2                   2.1.2-5        FreeType-based font drawing librar
ii  libxml2                   2.6.5-1        GNOME XML library
ii  libxrender1               0.8.3-5        X Rendering Extension client libra
ii  libxslt1.1                1.1.2-3        XSLT processing library - runtime 
ii  xlibmesa3-gl [libgl1]     4.2.1-16       Mesa 3D graphics library [XFree86]
ii  xlibs                     4.2.1-16       X Window System client libraries
ii  zlib1g                    1:1.2.1-4      compression library - runtime

-- no debconf information


-- 
Woe to the man whose heart has not learned while young to hope, to love
- and to put its trust in life.
                -- Joseph Conrad



Reply to: