Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 132022 - nvclock dies with: malloc(): memory corruption
Summary: nvclock dies with: malloc(): memory corruption
Status: VERIFIED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Christian Heim (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-02 07:12 UTC by Heiko Helmle
Modified: 2006-10-23 02:49 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Heiko Helmle 2006-05-02 07:12:27 UTC
When emerging cpufreqd with USE=nvidia acpi pmu cpufreq compiles the nvclock plugin.

However upon loading that plugin, cpufreqd crashes: 



hellap ~ # cpufreqd -V 7 -D
get_cpu_num              : found 1 CPUs
main                     : Limits for cpu0: MIN=600000 - MAX=1400000
init_configuration       : reading configuration file /etc/cpufreqd.conf
parse_config_general     : poll_interval is 2.0 seconds
parse_config_general     : skipping "verbosity", overridden in the command line.
parse_config_general     : Remote control enabled.
parse_config_general     : Remote controls will be r/w for group wheel (10).
discover_plugins         : found plugin: acpi_ac
discover_plugins         : found plugin: cpu
discover_plugins         : found plugin: nvclock
discover_plugins         : found plugin: programs
discover_plugins         : found plugin: acpi_temperature
discover_plugins         : found plugin: acpi_battery
discover_plugins         : found plugin: pmu
load_plugin              : Loading "/usr/lib/cpufreqd_acpi_ac.so" for plugin "acpi_ac".
get_cpufreqd_object      : Getting plugin object for "acpi_ac".
initialize_plugin        : Initializing plugin "acpi_ac-acpi_ac_plugin".
acpi_ac_init             : AC path /proc/acpi/ac_adapter/AC/state
load_plugin_list         : plugin loaded: acpi_ac_plugin
load_plugin              : Loading "/usr/lib/cpufreqd_cpu.so" for plugin "cpu".
get_cpufreqd_object      : Getting plugin object for "cpu".
initialize_plugin        : Initializing plugin "cpu-cpu_plugin".
cpufreqd_cpu_init        : called
get_kversion             : read kernel version 2.6.16-gentoo-r3-skas3-v8.2.
get_kversion             : kernel version is 2.6.
load_plugin_list         : plugin loaded: cpu_plugin
load_plugin              : Loading "/usr/lib/cpufreqd_nvclock.so" for plugin "nvclock".
get_cpufreqd_object      : Getting plugin object for "nvclock".
initialize_plugin        : Initializing plugin "nvclock-nvclock".
*** glibc detected *** malloc(): memory corruption: 0x08054d80 ***
Aborted

hellap ~ # emerge --info
Portage 2203-svn (default-linux/x86/2005.1, gcc-3.4.5, glibc-2.3.6-r3, 2.6.16-gentoo-r3-skas3-v8.2 i686)
=================================================================
System uname: 2.6.16-gentoo-r3-skas3-v8.2 i686 Intel(R) Pentium(R) M processor 1400MHz
Gentoo Base System version 1.6.14
ccache version 2.3 [disabled]
dev-lang/python:     2.4.2
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.12
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.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium-m -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks fixpackages sandbox sfperms strict userpriv"
GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ "
LINGUAS="de"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 7zip X Xaw3d aac aalib acpi adns alsa apache2 arts artswrappersuid audiofile automount avi bash-completion berkdb binfilter bitmap-fonts browserplugin bzip2 cairo cdparanoia cdr cli crypt cups curl dri dvd dvdr eds emboss ethereal exif expat extraengine fam ffmpeg foomaticdb fuse gd gdbm gif gimpprint glibc-omitfp glitz glut gmp gnutls gphoto2 gstreamer gtk gtk2 hal hpn idn imagemagick imlib innodb insecure-savers iproute2 isdnlog jpeg jpeg2k kde kdeenablefinal ldap libg++ libwww logitech-mouse mad mikmod mmx mmxext mng motif mozsvg mp3 mpeg mplayer musicbrainz mysql nagios-dns nagios-ntp nagios-ping nagios-ssh ncurses nls nologin nosrc nptl nsplugin nvidia offensive ogg oggvorbis opengl pam pcmcia pcre pda pdf pdflib pic pmu png pppd qt quicktime rdesktop readline real recode reflection rtc samba sasl sdl session slang sndfile snmp speex spell spl sse sse2 ssl subversion svg sysfs syslog tcltk tcpd theora tidy tiff truetype truetype-fonts type1-fonts udev unicode usb visualization vorbis wifi win32codecs wmf xcomposite xinerama xml2 xorg xscreensaver xv xvid zlib linguas_de userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS
Comment 1 Heiko Helmle 2006-05-02 07:38:15 UTC
just discovered that media-video/nvclock-0.8b fails with the same error - 
Comment 2 Henrik Brix Andersen 2006-05-21 10:49:48 UTC
(In reply to comment #1)
> just discovered that media-video/nvclock-0.8b fails with the same error - 

Ok, reassigning.
Comment 3 Philip Walls (RETIRED) gentoo-dev 2006-10-14 06:39:34 UTC
I have no way of confirming or fixing this bug as I do not have the appropriate hardware. Also, I am not the maintainer of the cpufreqd package, only nvclock which is completely separate. Reassigning to package maintainer.
Comment 4 Christian Heim (RETIRED) gentoo-dev 2006-10-20 13:00:15 UTC
(In reply to comment #1)
> just discovered that media-video/nvclock-0.8b fails with the same error - 

Heiko, is this still an issue for you ?
Comment 5 Heiko Helmle 2006-10-23 02:49:25 UTC
hmm... no -
nvclock 0.8 beta 2 works okay.