Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 284504 - x11-plugins/gkrellsun-1.0.0-r1 crashes app-admin/gkrellm
Summary: x11-plugins/gkrellsun-1.0.0-r1 crashes app-admin/gkrellm
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Jim Ramsay (lack) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-10 15:53 UTC by Attila Stehr
Modified: 2010-07-29 14:18 UTC (History)
1 user (show)

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


Attachments
crash backtrace (gkrellm_crash_gdb_output.txt,9.89 KB, text/plain)
2009-09-10 15:55 UTC, Attila Stehr
Details
crash backtrace (gkrellm_crash_backtrace.txt,2.34 KB, text/plain)
2009-09-10 15:57 UTC, Attila Stehr
Details
output when gkrellm crashes (gkrellm-2.3.4_crash_terminal-output.txt,10.07 KB, text/plain)
2010-01-15 20:44 UTC, Attila Stehr
Details
emerge --info (emerge--info.txt,3.53 KB, text/plain)
2010-01-15 20:46 UTC, Attila Stehr
Details
output of gdb (gkrellm_crash_gdb_output.txt,11.96 KB, text/plain)
2010-01-15 20:48 UTC, Attila Stehr
Details
gdb output (using thread apply all bt full) (gkrellm-2.3.4_gdb.out,13.37 KB, text/plain)
2010-01-16 23:02 UTC, Attila Stehr
Details
gdb output (using: thread apply all bt full) (gkrellm-2.3.4_gdb.out,13.37 KB, text/plain)
2010-01-16 23:03 UTC, Attila Stehr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Attila Stehr 2009-09-10 15:53:54 UTC
When the gkrellsun or gkrellm-volume plugins are turend on and off multiple times gkrellm crashes. This does not happen when doing the same with gkrellm-leds, gkrelltop or gkrellm-hddtemp.

Reproducible: Always

Steps to Reproduce:
1. emerge gkrellsun
2. turn it on in the config (F1 ...), turn it off and turn it on again

Actual Results:  
crash

Expected Results:  
execute multiple turning on and offs

Portage 2.1.6.13 (default/linux/amd64/2008.0/desktop, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r4 x86_64)
=================================================================
System uname: Linux-2.6.30-gentoo-r4-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4400+-with-gentoo-1.12.11.1
Timestamp of tree: Wed, 09 Sep 2009 19:45:02 +0000
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p39
dev-lang/python:     2.6.2-r1
dev-python/pycrypto: 2.0.1-r8
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -ggdb -O0"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -ggdb -O0"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms splitdebug strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 7zip X acpi alsa amd64 applet archive bash-completion boundschecking bzip2 cairo cdinstall cdr clamav cracklib crypt cups cupsddk dbus debug dga directfb dri dvd dvdnav dvdr eds esd evo fam fbcon fontconfig fuse glitz gmp gnome gnutls gpm gstreamer gtk gzip hal hddtemp icu libnotify lm_sensors logitech-mouse lzma lzo md5sum memlimit mmx mmxext mp4 mudflap multilib nautilus networkmanager nls nocd nptl nptlonly offensive opengl openmp pam pda ppds pth rtc session smp spell sse sse2 ssl startup-notification symlink sysfs test threads threadsafe thunar trace truetype unicode usb videos xcb xml xorg xulrunner zlib" ALSA_CARDS="via82xx" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="radeon fglrx"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Attila Stehr 2009-09-10 15:55:20 UTC
Created attachment 203680 [details]
crash backtrace
Comment 2 Attila Stehr 2009-09-10 15:57:58 UTC
Created attachment 203682 [details]
crash backtrace
Comment 3 Jim Ramsay (lack) (RETIRED) gentoo-dev 2010-01-12 15:05:23 UTC
I have just added gkrellm-2.3.4 to the tree, which includes a number of stability fixes, and I cannot replicate this issue with the volume plugin and that version of gkrellm.

Please try this newest version and let me know if you still have the same issue.
Comment 4 Attila Stehr 2010-01-15 00:16:15 UTC
Unfortunately not. Do you need a crash output and the backtrace?
Comment 5 Jim Ramsay (lack) (RETIRED) gentoo-dev 2010-01-15 03:06:36 UTC
(In reply to comment #4)
> Unfortunately not. Do you need a crash output and the backtrace?

Yes, please, that would be appreciated!
Comment 6 Attila Stehr 2010-01-15 20:42:49 UTC
use flags:

[ebuild   R   ] app-admin/gkrellm-2.3.4  USE="X gnutls hddtemp lm_sensors nls ssl -ntlm" 0 kB
-----------------------------

btw: For me it looks like gkrellm is still running. 

7fc2dd481000-7fc2dd482000 r--p 00005000 08:22 3771839                    /usr/lib64/gtk-2.0/2.10.0/loaders/libpixbufloader-xpm.so
7fc2dd482000-7fc2dd483000 rw-p 00006000 08gkrellm abgebrochen:  Sun Clock  (create_monitor)
q
^C^C^C
^Z
[1]+  Angehalten              gkrellm
$ fg
gkrellm
-----------------------------

here is the ps info for gkrellm:

$ ps ax | grep gkrellm
 8862 pts/1    T      0:00 gkrellm
 8909 pts/1    S+     0:00 grep --colour=auto gkrellm
$ kill -9 8862        // works, kill 8862 does _not_
Comment 7 Attila Stehr 2010-01-15 20:44:56 UTC
Created attachment 216638 [details]
output when gkrellm crashes
Comment 8 Attila Stehr 2010-01-15 20:46:10 UTC
Created attachment 216640 [details]
emerge --info
Comment 9 Attila Stehr 2010-01-15 20:48:05 UTC
Created attachment 216642 [details]
output of gdb
Comment 10 Attila Stehr 2010-01-16 23:02:40 UTC
Created attachment 216705 [details]
gdb output (using thread apply all bt full)

Sorry for spamming but I just found out that "apply thread full bt" gives the best output...
Comment 11 Attila Stehr 2010-01-16 23:03:16 UTC
Created attachment 216706 [details]
gdb output (using: thread apply all bt full)

Sorry for spamming but I just found out that "apply thread full bt" gives the best output...
Comment 12 Jim Ramsay (lack) (RETIRED) gentoo-dev 2010-07-28 14:41:48 UTC
Aha, it's a bug in gkrellsun-1.0.0 (double-free of a PangoFontDescription)

I have fixed the bug in x11-plugins/gkrellsun-1.0.0-r2 and sent the patch to upstream for inclusion.

Thanks for the bug report :)
Comment 13 Attila Stehr 2010-07-28 18:37:17 UTC
TYVM! It 's fixed. :)


Unfortunately it  still happens w/ the volume plugin. Should I open a new bug report regarding this?

xmessage:
"gkrellm Speicherzugriffsverletzung: Volume Plugin (create_monitor)"

1252600495: Started emerge on: Sep 10, 2009 18:34:55
1252600495:  *** emerge --verbose gkrellm-volume
1252600497:  >>> emerge (1 of 1) x11-plugins/gkrellm-volume-2.1.13 to /
Comment 14 Jim Ramsay (lack) (RETIRED) gentoo-dev 2010-07-29 14:18:03 UTC
(In reply to comment #13)
> Unfortunately it  still happens w/ the volume plugin. Should I open a new bug
> report regarding this?

Well, it was a separate issue so normally yes.  But I found and fixed this one too just now (gkrellm-volume-2.1.13-r1), so don't worry about it :)