[onerik] cpufreq crash after a while on kubuntu

Bug #893215 reported by 3ntix
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cpufreqd (Ubuntu)
New
Undecided
Unassigned

Bug Description

I've installed and configured cpufreqd on my kubuntu oneric installation (amd64 version). After a while i notice that the daemon is dead. If I try to restart it manually I've a crash. The crash log is attached at the end.
Thanks!

# cpufreqd -D -V6
get_kversion : kernel version is 3.0.0-13-generic.
get_kversion : Unknown kernel version, assuming a 2.6 kernel.
main : Limits for cpu0: MIN=800000 - MAX=2801000
main : Limits for cpu1: MIN=800000 - MAX=2801000
init_configuration : reading configuration file /etc/cpufreqd.conf
discover_plugins : found plugin: governor_parameters
discover_plugins : found plugin: sensors
discover_plugins : found plugin: acpi
discover_plugins : found plugin: tau
discover_plugins : found plugin: cpu
discover_plugins : found plugin: apm
discover_plugins : found plugin: nforce2
discover_plugins : found plugin: pmu
discover_plugins : found plugin: exec
discover_plugins : found plugin: programs
load_plugin : Loading "/usr/lib/cpufreqd/cpufreqd_governor_parameters.so" for plugin "governor_parameters".
get_cpufreqd_object : Getting plugin object for "governor_parameters".
initialize_plugin : Initializing plugin "governor_parameters-governor_parameters".
load_plugin_list : plugin loaded: governor_parameters
load_plugin : Loading "/usr/lib/cpufreqd/cpufreqd_sensors.so" for plugin "sensors".
get_cpufreqd_object : Getting plugin object for "sensors".
initialize_plugin : Initializing plugin "sensors-sensors_plugin".
load_plugin_list : plugin loaded: sensors_plugin
load_plugin : Loading "/usr/lib/cpufreqd/cpufreqd_acpi.so" for plugin "acpi".
get_cpufreqd_object : Getting plugin object for "acpi".
initialize_plugin : Initializing plugin "acpi-acpi".
load_plugin_list : plugin loaded: acpi
load_plugin : Loading "/usr/lib/cpufreqd/cpufreqd_tau.so" for plugin "tau".
get_cpufreqd_object : Getting plugin object for "tau".
initialize_plugin : Initializing plugin "tau-tau_plugin".
tau_init : /proc/cpuinfo file found
load_plugin_list : plugin loaded: tau_plugin
load_plugin : Loading "/usr/lib/cpufreqd/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
load_plugin_list : plugin loaded: cpu_plugin
load_plugin : Loading "/usr/lib/cpufreqd/cpufreqd_apm.so" for plugin "apm".
get_cpufreqd_object : Getting plugin object for "apm".
initialize_plugin : Initializing plugin "apm-apm_plugin".
apm_init : /proc/apm: No such file or directory
load_plugin_list : plugin failed to load: apm
load_plugin_list : discarded plugin apm
load_plugin : Loading "/usr/lib/cpufreqd/cpufreqd_nforce2.so" for plugin "nforce2".
get_cpufreqd_object : Getting plugin object for "nforce2".
initialize_plugin : Initializing plugin "nforce2-nforce2_atxp1".
load_plugin_list : plugin loaded: nforce2_atxp1
load_plugin : Loading "/usr/lib/cpufreqd/cpufreqd_pmu.so" for plugin "pmu".
get_cpufreqd_object : Getting plugin object for "pmu".
initialize_plugin : Initializing plugin "pmu-pmu_plugin".
pmu_init : /proc/pmu/info: No such file or directory
load_plugin_list : plugin failed to load: pmu
load_plugin_list : discarded plugin pmu
load_plugin : Loading "/usr/lib/cpufreqd/cpufreqd_exec.so" for plugin "exec".
get_cpufreqd_object : Getting plugin object for "exec".
initialize_plugin : Initializing plugin "exec-exec".
load_plugin_list : plugin loaded: exec
load_plugin : Loading "/usr/lib/cpufreqd/cpufreqd_programs.so" for plugin "programs".
get_cpufreqd_object : Getting plugin object for "programs".
initialize_plugin : Initializing plugin "programs-programs_plugin".
load_plugin_list : plugin loaded: programs_plugin
parse_config_general : poll_interval is 2.0 seconds
find_class_device : found /sys/devices/LNXSYSTM:00/device:00/ACPI0003:00/power_supply/ADP0
get_class_device_attribute: found online - path /sys/devices/LNXSYSTM:00/device:00/ACPI0003:00/power_supply/ADP0/online
find_class_device : found /sys/devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/BAT0
find_class_device : found /sys/devices/LNXSYSTM:00/device:00/ACPI0003:00/power_supply/ADP0
find_class_device : found /sys/devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/BAT0
get_class_device_attribute: couldn't open /sys/devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/BAT0/energy_full (No such file or directory)
get_class_device_attribute: found charge_full - path /sys/devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/BAT0/charge_full
get_class_device_attribute: couldn't open /sys/devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/BAT0/energy_now (No such file or directory)
get_class_device_attribute: found charge_now - path /sys/devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/BAT0/charge_now
get_class_device_attribute: found present - path /sys/devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/BAT0/present
get_class_device_attribute: found status - path /sys/devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/BAT0/status
get_class_device_attribute: cannot read /sys/devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/BAT0/current_now (No such device)
acpi_battery_init : Couldn't open BAT0 attributes
acpi_battery_init : found 1 Battery
find_class_device : found /sys/devices/virtual/thermal/cooling_device0
find_class_device : found /sys/devices/virtual/thermal/cooling_device1
find_class_device : found /sys/devices/virtual/thermal/cooling_device2
find_class_device : found /sys/devices/virtual/thermal/thermal_zone0
get_class_device_attribute: found temp - path /sys/devices/virtual/thermal/thermal_zone0/temp
acpi_temperature_init : found 1 ACPI Thermal Zone
nforce2_post_conf : Unconfigured, exiting.
plugins_post_conf : Unable to configure plugin nforce2_atxp1, removing
finalize_plugin : Finalizing plugin "nforce2-nforce2_atxp1".
close_plugin : nforce2 plugin closed.
acpi_ac_parse : parsed: on
acpi_ac_parse : parsed: off
acpi_temperature_parse : parsed 90-110
cpu_parse : read CPU:2 MIN:50 MAX:100 SCALE:3.00
init_configuration : Rule "AC Rule" has Profiles CPU0:Ondemand CPU1:Ondemand
init_configuration : Rule "AC Off" has Profiles CPU0:Powersave CPU1:Powersave
init_configuration : Rule "CPU Too Hot" has Profiles CPU0:Powersave CPU1:Powersave
validate_plugins : sensors plugin is unused.
finalize_plugin : Finalizing plugin "sensors-sensors_plugin".
close_plugin : sensors plugin closed.
validate_plugins : tau plugin is unused.
close_plugin : tau plugin closed.
validate_plugins : exec plugin is unused.
finalize_plugin : Finalizing plugin "exec-exec".
close_plugin : exec plugin closed.
validate_plugins : programs plugin is unused.
finalize_plugin : Finalizing plugin "programs-programs_plugin".
programs_exit : called
close_plugin : programs plugin closed.
acpi_ac_update : ac_adapter is on-line
acpi_battery_update : Re-scanning available batteries
acpi_battery_exit : exited.
find_class_device : found /sys/devices/LNXSYSTM:00/device:00/ACPI0003:00/power_supply/ADP0
find_class_device : found /sys/devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/BAT0
get_class_device_attribute: couldn't open /sys/devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/BAT0/energy_full (No such file or directory)
get_class_device_attribute: found charge_full - path /sys/devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/BAT0/charge_full
get_class_device_attribute: couldn't open /sys/devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/BAT0/energy_now (No such file or directory)
get_class_device_attribute: found charge_now - path /sys/devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/BAT0/charge_now
get_class_device_attribute: found present - path /sys/devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/BAT0/present
get_class_device_attribute: found status - path /sys/devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/BAT0/status
get_class_device_attribute: cannot read /sys/devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/BAT0/current_now (No such device)
acpi_battery_init : Couldn't open BAT0 attributes
acpi_battery_init : found 1 Battery
*** glibc detected *** cpufreqd: free(): invalid pointer: 0x00000000012f3520 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x78a96)[0x7f5e18756a96]
/lib/x86_64-linux-gnu/libc.so.6(cfree+0x6c)[0x7f5e1875ad7c]
/lib/libsysfs.so.2(sysfs_read_attribute+0xe7)[0x7f5e182d1b57]
/usr/lib/cpufreqd/cpufreqd_acpi.so(read_value+0x9)[0x7f5e17a33b99]
/usr/lib/cpufreqd/cpufreqd_acpi.so(read_int+0x19)[0x7f5e17a33bf9]
/usr/lib/cpufreqd/cpufreqd_acpi.so(acpi_battery_update+0xb9)[0x7f5e17a34f99]
/usr/lib/cpufreqd/cpufreqd_acpi.so(+0x2325)[0x7f5e17a34325]
cpufreqd(update_plugin_states+0x34)[0x406954]
cpufreqd(main+0x94b)[0x403a9b]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed)[0x7f5e186ff30d]
cpufreqd[0x402c09]
======= Memory map: ========
00400000-0040b000 r-xp 00000000 08:01 269868 /usr/sbin/cpufreqd
0060a000-0060b000 r--p 0000a000 08:01 269868 /usr/sbin/cpufreqd
0060b000-0060c000 rw-p 0000b000 08:01 269868 /usr/sbin/cpufreqd
012ec000-01322000 rw-p 00000000 00:00 0 [heap]
7f5e10000000-7f5e10021000 rw-p 00000000 00:00 0
7f5e10021000-7f5e14000000 ---p 00000000 00:00 0
7f5e159fd000-7f5e159fe000 ---p 00000000 00:00 0
7f5e159fe000-7f5e161fe000 rw-p 00000000 00:00 0
7f5e16401000-7f5e16402000 ---p 00000000 00:00 0
7f5e16402000-7f5e16c02000 rw-p 00000000 00:00 0
7f5e16e05000-7f5e16e07000 r-xp 00000000 08:01 269879 /usr/lib/cpufreqd/cpufreqd_pmu.so
7f5e16e07000-7f5e17006000 ---p 00002000 08:01 269879 /usr/lib/cpufreqd/cpufreqd_pmu.so
7f5e17006000-7f5e17007000 r--p 00001000 08:01 269879 /usr/lib/cpufreqd/cpufreqd_pmu.so
7f5e17007000-7f5e17008000 rw-p 00002000 08:01 269879 /usr/lib/cpufreqd/cpufreqd_pmu.so
7f5e1720b000-7f5e1720d000 r-xp 00000000 08:01 269877 /usr/lib/cpufreqd/cpufreqd_apm.so
7f5e1720d000-7f5e1740c000 ---p 00002000 08:01 269877 /usr/lib/cpufreqd/cpufreqd_apm.so
7f5e1740c000-7f5e1740d000 r--p 00001000 08:01 269877 /usr/lib/cpufreqd/cpufreqd_apm.so
7f5e1740d000-7f5e1740e000 rw-p 00002000 08:01 269877 /usr/lib/cpufreqd/cpufreqd_apm.so
7f5e1740e000-7f5e17410000 r-xp 00000000 08:01 269871 /usr/lib/cpufreqd/cpufreqd_cpu.so
7f5e17410000-7f5e17610000 ---p 00002000 08:01 269871 /usr/lib/cpufreqd/cpufreqd_cpu.so
7f5e17610000-7f5e17611000 r--p 00002000 08:01 269871 /usr/lib/cpufreqd/cpufreqd_cpu.so
7f5e17611000-7f5e17612000 rw-p 00003000 08:01 269871 /usr/lib/cpufreqd/cpufreqd_cpu.so
7f5e17815000-7f5e1782d000 r-xp 00000000 08:01 397437 /lib/x86_64-linux-gnu/libpthread-2.13.so
7f5e1782d000-7f5e17a2c000 ---p 00018000 08:01 397437 /lib/x86_64-linux-gnu/libpthread-2.13.so
7f5e17a2c000-7f5e17a2d000 r--p 00017000 08:01 397437 /lib/x86_64-linux-gnu/libpthread-2.13.so
7f5e17a2d000-7f5e17a2e000 rw-p 00018000 08:01 397437 /lib/x86_64-linux-gnu/libpthread-2.13.so
7f5e17a2e000-7f5e17a32000 rw-p 00000000 00:00 0
7f5e17a32000-7f5e17a38000 r-xp 00000000 08:01 269873 /usr/lib/cpufreqd/cpufreqd_acpi.so
7f5e17a38000-7f5e17c37000 ---p 00006000 08:01 269873 /usr/lib/cpufreqd/cpufreqd_acpi.so
7f5e17c37000-7f5e17c38000 r--p 00005000 08:01 269873 /usr/lib/cpufreqd/cpufreqd_acpi.so
7f5e17c38000-7f5e17c39000 rw-p 00006000 08:01 269873 /usr/lib/cpufreqd/cpufreqd_acpi.so
7f5e180b9000-7f5e180ce000 r-xp 00000000 08:01 397398 /lib/x86_64-linux-gnu/libgcc_s.so.1
7f5e180ce000-7f5e182cd000 ---p 00015000 08:01 397398 /lib/x86_64-linux-gnu/libgcc_s.so.1
7f5e182cd000-7f5e182ce000 r--p 00014000 08:01 397398 /lib/x86_64-linux-gnu/libgcc_s.so.1
7f5e182ce000-7f5e182cf000 rw-p 00015000 08:01 397398 /lib/x86_64-linux-gnu/libgcc_s.so.1
7f5e182cf000-7f5e182d9000 r-xp 00000000 08:01 393310 /lib/libsysfs.so.2.0.1
7f5e182d9000-7f5e184d8000 ---p 0000a000 08:01 393310 /lib/libsysfs.so.2.0.1
7f5e184d8000-7f5e184d9000 r--p 00009000 08:01 393310 /lib/libsysfs.so.2.0.1
7f5e184d9000-7f5e184da000 rw-p 0000a000 08:01 393310 /lib/libsysfs.so.2.0.1
7f5e184da000-7f5e184dd000 r-xp 00000000 08:01 269885 /usr/lib/cpufreqd/cpufreqd_governor_parameters.so
7f5e184dd000-7f5e186dc000 ---p 00003000 08:01 269885 /usr/lib/cpufreqd/cpufreqd_governor_parameters.so
7f5e186dc000-7f5e186dd000 r--p 00002000 08:01 269885 /usr/lib/cpufreqd/cpufreqd_governor_parameters.so
7f5e186dd000-7f5e186de000 rw-p 00003000 08:01 269885 /usr/lib/cpufreqd/cpufreqd_governor_parameters.so
7f5e186de000-7f5e18873000 r-xp 00000000 08:01 397377 /lib/x86_64-linux-gnu/libc-2.13.so
7f5e18873000-7f5e18a72000 ---p 00195000 08:01 397377 /lib/x86_64-linux-gnu/libc-2.13.so
7f5e18a72000-7f5e18a76000 r--p 00194000 08:01 397377 /lib/x86_64-linux-gnu/libc-2.13.so
7f5e18a76000-7f5e18a77000 rw-p 00198000 08:01 397377 /lib/x86_64-linux-gnu/libc-2.13.so
7f5e18a77000-7f5e18a7d000 rw-p 00000000 00:00 0
7f5e18a7d000-7f5e18a82000 r-xp 00000000 08:01 269863 /usr/lib/libcpufreq.so.0.0.0
7f5e18a82000-7f5e18c81000 ---p 00005000 08:01 269863 /usr/lib/libcpufreq.so.0.0.0
7f5e18c81000-7f5e18c82000 r--p 00004000 08:01 269863 /usr/lib/libcpufreq.so.0.0.0
7f5e18c82000-7f5e18c83000 rw-p 00005000 08:01 269863 /usr/lib/libcpufreq.so.0.0.0
7f5e18c83000-7f5e18c85000 r-xp 00000000 08:01 397388 /lib/x86_64-linux-gnu/libdl-2.13.so
7f5e18c85000-7f5e18e85000 ---p 00002000 08:01 397388 /lib/x86_64-linux-gnu/libdl-2.13.so
7f5e18e85000-7f5e18e86000 r--p 00002000 08:01 397388 /lib/x86_64-linux-gnu/libdl-2.13.so
7f5e18e86000-7f5e18e87000 rw-p 00003000 08:01 397388 /lib/x86_64-linux-gnu/libdl-2.13.so
7f5e18e87000-7f5e18ea8000 r-xp 00000000 08:01 397364 /lib/x86_64-linux-gnu/ld-2.13.so
7f5e1907f000-7f5e19082000 rw-p 00000000 00:00 0
7f5e190a4000-7f5e190a7000 rw-p 00000000 00:00 0
7f5e190a7000-7f5e190a8000 r--p 00020000 08:01 397364 /lib/x86_64-linux-gnu/ld-2.13.so
7f5e190a8000-7f5e190aa000 rw-p 00021000 08:01 397364 /lib/x86_64-linux-gnu/ld-2.13.so
7fff13334000-7fff13355000 rw-p 00000000 00:00 0 [stack]
7fff133ff000-7fff13400000 r-xp 00000000 00:00 0 [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]
Annullato
---
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
DistroRelease: Ubuntu 11.10
InstallationMedia: Kubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
Package: cpufreqd 2.4.2-1
PackageArchitecture: amd64
ProcEnviron:
 LANGUAGE=
 LANG=it_IT.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 3.0.0-13.22-generic 3.0.6
Tags: oneiric
Uname: Linux 3.0.0-13-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
mtime.conffile..etc.cpufreqd.conf: 2011-11-09T10:31:50.918869

Revision history for this message
3ntix (francesco-3ntini) wrote : Dependencies.txt

apport information

tags: added: apport-collected oneiric
description: updated
Revision history for this message
3ntix (francesco-3ntini) wrote : modified.conffile..etc.cpufreqd.conf.txt

apport information

Revision history for this message
3ntix (francesco-3ntini) wrote :

Maybe is a duplicated of bug #733507?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.