Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 102695 - Gkrellm-newsticker crashes due to threading problems, randomly
Summary: Gkrellm-newsticker crashes due to threading problems, randomly
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Gentoo TreeCleaner Project
URL:
Whiteboard: PENDING REMOVAL Nov 28th 2006
Keywords: PMASKED
: 98056 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-08-16 03:24 UTC by Alexandru Botezatu
Modified: 2006-11-29 18:23 UTC (History)
2 users (show)

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


Attachments
This is the patched version of newsticker (newsticker.c,48.24 KB, text/plain)
2005-08-16 03:25 UTC, Alexandru Botezatu
Details
diff to 0.3.5 (newticker.c.diff,2.96 KB, patch)
2005-08-16 03:31 UTC, Alexandru Botezatu
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandru Botezatu 2005-08-16 03:24:54 UTC
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
Comment 1 Alexandru Botezatu 2005-08-16 03:25:47 UTC
Created attachment 66064 [details]
This is the patched version of newsticker
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-08-16 03:27:11 UTC
Please, attach a diff. Thanks.
Comment 3 Alexandru Botezatu 2005-08-16 03:31:03 UTC
Created attachment 66065 [details, diff]
diff to 0.3.5
Comment 4 Simon Stelling (RETIRED) gentoo-dev 2005-09-18 05:12:53 UTC
*** Bug 98056 has been marked as a duplicate of this bug. ***
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2006-09-19 03:12:29 UTC
Treecleaners, your turn. Noone wants to fix this, it crashes w/ NPTL-enabled glibc.
Comment 6 Christian Heim (RETIRED) gentoo-dev 2006-11-04 12:54:36 UTC
Guess Alec really needs to follow his own guidelines ...
Comment 7 Steve Dibb (RETIRED) gentoo-dev 2006-11-29 18:23:03 UTC
punted