Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 399325 - app-admin/gkrellm-2.3.5 crashes when enabling x11-plugins/gkrellm-cpufreq-0.6.1 plugin
Summary: app-admin/gkrellm-2.3.5 crashes when enabling x11-plugins/gkrellm-cpufreq-0.6...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Dockapp Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-18 22:04 UTC by Jaak Ristioja
Modified: 2015-02-03 14:52 UTC (History)
0 users

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


Attachments
gdb full backtrace of crash (gkrellm gdb full backtrace,12.38 KB, text/plain)
2012-01-18 22:05 UTC, Jaak Ristioja
Details
valgrind log of gkrellm (gkrellm valgrind log,18.07 KB, text/plain)
2012-01-18 22:08 UTC, Jaak Ristioja
Details
update to cpupower (gkrellm-cpufreq-cpupower.patch,2.46 KB, patch)
2014-02-03 00:49 UTC, Raphaël Droz
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jaak Ristioja 2012-01-18 22:04:09 UTC
emerge --info:

Portage 2.1.10.41 (hardened/linux/amd64, gcc-4.5.3, glibc-2.13-r4, 3.1.5-hardened x86_64)
=================================================================
System uname: Linux-3.1.5-hardened-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P8700_@_2.53GHz-with-gentoo-2.0.3
Timestamp of tree: Tue, 17 Jan 2012 21:00:01 +0000
app-shells/bash:          4.1_p9
dev-lang/python:          2.7.2-r3, 3.2.2
dev-util/ccache:          3.1.6
dev-util/cmake:           2.8.6-r4
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.9.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.10.3, 1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.36.1 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native -ggdb"
CHOST="x86_64-pc-linux-gnu"
CXXFLAGS="-O2 -pipe -march=native -ggdb"
FEATURES="assume-digests binpkg-logs collision-protect distlocks ebuild-locks fixlafiles installsources news parallel-fetch protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS=""
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS


USE-flags for packages:

app-admin/gkrellm-2.3.5  USE="X gnutls hddtemp lm_sensors ssl -nls -ntlm"
x11-plugins/gkrellm-cpufreq-0.6.1 USE=""
dev-libs/glib-2.30.2  USE="doc fam xattr -debug (-selinux) -static-libs -systemtap -test -utils"
x11-libs/pango-1.28.4  USE="X doc -debug -introspection -test"
Comment 1 Jaak Ristioja 2012-01-18 22:05:03 UTC
Created attachment 299267 [details]
gdb full backtrace of crash
Comment 2 Jaak Ristioja 2012-01-18 22:08:10 UTC
Created attachment 299269 [details]
valgrind log of gkrellm
Comment 3 Raphaël Droz 2014-02-03 00:11:50 UTC
Note that :
1) according to https://github.com/glaubitz/gkrellm-cpufreq-debian, a segfault was fixed in 0.6.4 (10.02.2012).
2) x11-plugins/gkrellm-cpufreq now conflicts with sys-power/cpupower since cpufreq-info and cpufreq-set do not exist in that a case.
Comment 4 Raphaël Droz 2014-02-03 00:49:41 UTC
Created attachment 369402 [details, diff]
update to cpupower

Attached patch is totally unrelated to the original bug report, though this bug report will have to be read
before an update to the gkrellm plugin is given.

- this patches both code and ebuild
- sudo rules are restricted to a minimum (though not tested) so that the cpufreqnextgovernor shellscript is not sudo-dependant anymore
- no effort has be done to support both command line tools
Comment 5 Raphaël Droz 2014-02-03 00:51:29 UTC
discard the above patch which won't compile as -lcpufreq does not exist anymore.
Comment 6 Pacho Ramos gentoo-dev 2015-02-03 14:52:52 UTC
removed