Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 107422 - x11-misc/lineakconfig-0.4.1b-r1 coredumps at start up.
Summary: x11-misc/lineakconfig-0.4.1b-r1 coredumps at start up.
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Desktop Misc. Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-27 11:26 UTC by Jason McGuiness
Modified: 2005-09-27 11:46 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 Jason McGuiness 2005-09-27 11:26:22 UTC
When I try to run "lineakconfig" it immediately coredumps.

Reproducible: Always
Steps to Reproduce:
1. Run "lineakconfig".
Actual Results:  
It coredumped.

Expected Results:  
It shouldn't.
Comment 1 Jason McGuiness 2005-09-27 11:27:06 UTC
My emerge info:

Portage 2.0.51.22-r2 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r1, 2.
6.11-gentoo-r11 x86_64)
=================================================================
System uname: 2.6.11-gentoo-r11 x86_64 AMD Opteron(tm) Processor 250
Gentoo Base System version 1.6.13
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) 
[enabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5-r2
sys-apps/sandbox:    1.2.12
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.6
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="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=opteron -O0 -pipe -g"
CHOST="x86_64-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.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 
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/
texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/
xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=opteron -O0 -pipe -g"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distcc distlocks nostrip sandbox sfperms 
strict"
GENTOO_MIRRORS="ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://
gentoo.mirror.sdv.fr http://ftp.easynet.nl/mirror/gentoo/ http://www.gigaload.
org/gentoo.org/ http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/
distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/dev/shm/portage/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage"
USE="amd64 X acpi alsa avi bash-completion berkdb bitmap-fonts bzip2 calendar 
cdr cpudetection crypt cups curl dga dio dri dvd dvdread encode exif fam flac 
foomaticdb gatos gd gdbm gif glx gpm gstreamer gtk gtk2 hpn ieee1394 imagemagick 
imlib jpeg lm_sensors lzo lzw-tiff mad mime mjpeg mmap motif mp3 mpeg mtrr 
ncurses nls nonfsv4 nptl nptlonly ntfs ogg oggvorbis opengl pam pda pdflib perl 
png posix ppds python qt qtmt quicktime rar readline real rtc sdk sdl sensord 
sharedmem smp sockets spell sse-filters ssl sysfs tetex threads threadsonly tiff 
truetype truetype-fonts type1 type1-fonts userlocales vorbis xfce4 xine xml xml2 
xmms xpm xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 2 Jason McGuiness 2005-09-27 11:28:58 UTC
Stack trace from debug build:

(gdb) where
#0  0x000000000040c05e in dcfp_get_key_from_line (line=0x5a9000 "END KEYS]")
    at dcfp.c:229
#1  0x000000000040c5d5 in dcfp_parse_var (varptr=0x5a9040,
    line=0x5a9000 "END KEYS]") at dcfp.c:371
#2  0x000000000040c58e in dcfp_parse_section (sectptr=0x5a82e0, fp=0x548250,
    line=0x5a9000 "END KEYS]", line_nr=0x7fffffffde4c) at dcfp.c:356
#3  0x000000000040c534 in dcfp_parse_section (sectptr=0x5a7360, fp=0x548250,
    line=0x5a8360 "[KEYS]", line_nr=0x7fffffffde4c) at dcfp.c:344
#4  0x000000000040c534 in dcfp_parse_section (sectptr=0x576510, fp=0x548250,
    line=0x5a8210 "[MMNKP] # By Colin Nickerson", line_nr=0x7fffffffde4c)
    at dcfp.c:344
#5  0x000000000040bd42 in dcfp_parse_file (
    filename=0x527ae0 "/etc/lineakkb.def") at dcfp.c:92
#6  0x000000000040ac10 in parsedeffile () at support.c:757
#7  0x000000000040bb4d in main (argc=1, argv=0x7fffffffdfc8)
    at lineakconfig.c:53
(gdb)
Comment 3 Krzysztof Pawlik (RETIRED) gentoo-dev 2005-09-27 11:39:49 UTC
Could You fix your /etc/lineakkb.def ? It contains this line:

 END.....

and should:

 [END....
Comment 4 Jason McGuiness 2005-09-27 11:41:48 UTC
Yes, I fixed it, and it started up. Clearly there are at least two bugs, 
lineakconfig is not robust enough at start up with regards to parsing the 
configuration file, and the configuration file has an error in it. Oops! :)
Comment 5 Krzysztof Pawlik (RETIRED) gentoo-dev 2005-09-27 11:46:53 UTC
lineakconfig is very, very fragile when it comes to config files. I'm marking it
as INVALID, please open new one about lineakd's config.