Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 113921 - conky 1.34-r1 crashes while trying to read "wrong values".
Summary: conky 1.34-r1 crashes while trying to read "wrong values".
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Daniel Black (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-29 10:25 UTC by Alexander Jenisch
Modified: 2005-12-10 19:35 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
app-admin/conky/conky-1.3.4-r2.ebuild (conky-1.3.4-r2.ebuild,2.36 KB, text/plain)
2005-11-29 22:29 UTC, Philip Kovacs
Details
app-admin/conky/files/conky-1.3.4-arraybounds.patch (conky-1.3.4-arraybounds.patch,1.97 KB, patch)
2005-11-29 22:32 UTC, Philip Kovacs
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Jenisch 2005-11-29 10:25:17 UTC
i've upgraded to 1.34-r1 lately and encountered, that conky constantly crashes
after a few seconds giving me this:

Conky: /proc/i8k doesn't exist! use insmod to make sure the kernel driver is
loaded...

i don't even use those modules, so... i have no idea what conky wants.


nt@enti $ emerge info
Portage 2.0.53_rc7 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r3,
2.6.14-gentoo-r3 x86_64)
=================================================================
System uname: 2.6.14-gentoo-r3 x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.12.0_pre11
dev-lang/python:     2.3.4-r1, 2.4.2
sys-apps/sandbox:    1.2.14
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20-r1
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -pipe -ftracer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -march=k8 -pipe -ftracer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks fixpackages sandbox sfperms strict"
GENTOO_MIRRORS="ftp://gd.tuwien.ac.at/opsys/linux/gentoo/
http://gd.tuwien.ac.at/opsys/linux/gentoo/ ftp://ftp.nyx.hu/gentoo
ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
ftp://213.186.33.38/gentoo-distfiles/ http://gentoo.mirror.intouch.nl/gentoo/
http://213.186.33.37/gentoo-distfiles/"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X Xaw3d alsa apache2 audiofile avi bash-completion berkdb
bitmap-fonts browserplugin bzip2 cdda crypt ctype cups curl dga divx4linux dts
dvd dvdread eds emboss encode ethereal exif expat fam ffmpeg flac foomaticdb
fortran freetype ftp gd gdbm gif glut gmp gphoto2 gpm gstreamer gtk gtk2 hal icq
idn imagemagick imap imlib ipv6 ithreads java javascript jpeg jpeg2k junit kde
kdeenablefinal lcms ldap libwww lm_sensors lua lzw lzw-tiff mad maildir matroska
mhash mikmod mime mmap mng mp3 mpeg musicbrainz mysql ncurses nls nptl nptlonly
nsplugin nvidia offensive ogg oggvorbis openal opengl oss pam pcre pdflib perl
png posix ppds python qt quicktime rdesktop readline real recode rtc ruby samba
sasl sdl slp sndfile sockets spell sqlite ssl stream tcltk tcpd tetex theora
threads tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales
videos vorbis wxwindows xine xml xml2 xmms xosd xpm xv xvid zeroconf zlib
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS
Comment 1 Philip Kovacs 2005-11-29 12:33:05 UTC
A backtrace would be most helpful, along with your .conkyrc.  

Here's what to do:

1) if you don't have the debugger gdb already, simply: 'emerge gdb'
2) make sure, for the purposes of debugging, conky doesn't fork off to the
   background.  change your .conkyrc so 'background no' is indicated.
3) start conky from gdb with 'gdb conky'.  athe the gdb prompt, type 'run':

(gdb) run

4) if/when it crashes, gdb will indicate the error, followed by another (gdb)
prompt.  type 'bt' for backtrace:

(gdb) bt

5) paste the output of the gdb session into this bug report as a comment.

this will help us figure it out.

Comment 2 Alexander Jenisch 2005-11-29 12:50:17 UTC
strange thing... it hast spit the error and did not crash (until now). maybe
there's another problem too. i'll let it run and send you the bt when it crashes.
Comment 3 Philip Kovacs 2005-11-29 22:29:08 UTC
Created attachment 73830 [details]
app-admin/conky/conky-1.3.4-r2.ebuild

please try this ebuild.
Comment 4 Philip Kovacs 2005-11-29 22:32:07 UTC
Created attachment 73832 [details, diff]
app-admin/conky/files/conky-1.3.4-arraybounds.patch

you will need both this new patch "arraybounds" and the "miscbug" patch in your
overlay's app-admin/conky/files directory.
Comment 5 Alexander Jenisch 2005-12-03 13:15:55 UTC
seems to work fine on my machine. please bump to cvs.
Comment 6 Daniel Black (RETIRED) gentoo-dev 2005-12-03 14:58:08 UTC
nt-@gmx.de don't mark this as fixed. It hasn't been committed to cvs.  
Comment 7 Philip Kovacs 2005-12-03 18:04:52 UTC
Daniel,

We've testing patch on several boxes now and it's been added to conky cvs.  I
think it's safe to commit it to portage, esp. since we're etting more complaints
about this bork on the forums and this patch does safely fix it.

Let 'er rip.

Phil 
Comment 8 Daniel Black (RETIRED) gentoo-dev 2005-12-10 19:35:29 UTC
added - sorry took so long - been very busy here.