The gkrellm-newsticker v.0.3.5 plugin crashes randomly during gkrellm startup. The random behaviour would crash gkrellm every time during a period, then mysteriously work well for days. This is due to unmanaged access to variables from RSS load threads. Attached is a fix. The fix has been running for a month now without any crashes whatsoever. Reproducible: Sometimes Steps to Reproduce: 1. run gkrellm with several RSS feeds in the newsticker. Actual Results: Gkrellm would crash at startup, randomly. Sometimes 50 times in a row, other days would work. Expected Results: Not crash. Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.4.20050125-r1, 2.6.11-ck3 i686) ================================================================= System uname: 2.6.11-ck3 i686 Intel(R) Pentium(R) M processor 1400MHz Gentoo Base System version 1.4.16 dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.10 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.4 sys-devel/binutils: 2.15.92.0.2-r7 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe -fforce-addr -falign-functions=32 -fprefetch-loop-arrays -ffast-math -g" 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/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe -fforce-addr -falign-functions=32 -fprefetch-loop-arrays -ffast-math -g" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.lug.ro/gentoo" LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,-z,combreloc -g" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac acpi aim alsa apm arts audiofile avi bash-completion berkdb bitmap-fonts cdparanoia cdr crypt cscope ctype cups curl dga divx4linux dvd dvdread eds emboss encode esd exif expat fam fbcon flac foomaticdb fortran gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 guile iconv icq imagemagick imlib ipv6 java jpeg junit kde lcms libedit libg++ libwww mad mikmod mime mmx motif mozilla mp3 mpeg ncurses nls ogg oggvorbis opengl oss pam pcmcia pcre pdflib perl pic png posix ppds python qt quicktime readline samba sasl sdl slang sndfile sockets spell sse ssl svga symlink tcpd theora threads tiff truetype truetype-fonts type1-fonts unicode usb vorbis wifi win32codecs x86 xml2 xmms xpm xv xvid zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LINGUAS
Created attachment 66064 [details] This is the patched version of newsticker
Please, attach a diff. Thanks.
Created attachment 66065 [details, diff] diff to 0.3.5
*** Bug 98056 has been marked as a duplicate of this bug. ***
Treecleaners, your turn. Noone wants to fix this, it crashes w/ NPTL-enabled glibc.
Guess Alec really needs to follow his own guidelines ...
punted