sensors-applet randomly picks up duplicates

Bug #683591 reported by Delan Azabani
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lm-sensors (Ubuntu)
Expired
Undecided
Unassigned
sensors-applet (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: sensors-applet

Almost every time I boot my computer, sensors-applet adds a couple of duplicate sensors for my CPU cores, usually not all of them. Running the sensors command does not have any duplicates. I have to open the preferences and untick them to hide them, but they can't be removed.

Revision history for this message
Delan Azabani (azabani) wrote :
Revision history for this message
Alex Murray (alexmurray) wrote :

Can you please post the output of the sensors command when sensors-applet shows duplicate sensors and when it doesn't show duplicates?

Also could you post the output when running sensors-applet from the command line.
Open a terminal and type:

killall sensors-applet

and hit Return. Then a window should appear saying:

"Hardware Sensors Monitor" has quit unexpectedly.
If you reload a panel object, it will automatically be added back to the panel.

DON'T CLICK ANYTHING YET. Go back to the terminal window and type:

/usr/lib/gnome-panel/sensors-applet

and hit Return. Then go back to the pop-up window and choose 'Reload' at which point a heap of output should appear in the terminal window from sensors-applet - please copy this and attach it to this bug report.

Revision history for this message
Delan Azabani (azabani) wrote :

Thanks for your help. I'll have to wait for this to occur again. It's currently not happening, though it almost certainly will in the near future.

Revision history for this message
LoneWolf_53 (spezi-machek) wrote :

I've noticed the same thing happens to me when I reboot.

Revision history for this message
LoneWolf_53 (spezi-machek) wrote :
Download full text (23.4 KiB)

(sensors-applet:5967): Sensors Applet-DEBUG: GConf data is compatible. Trying to set up sensors from gconf data
(sensors-applet:5967): Sensors Applet-DEBUG: trying to add sensor from gconf data: /dev/sda

(sensors-applet:5967): Sensors Applet-DEBUG: Sensor tree created.
(sensors-applet:5967): Sensors Applet-DEBUG: Added sensor interface hddtemp to tree
(sensors-applet:5967): Sensors Applet-DEBUG: added sensor /dev/sda to tree
(sensors-applet:5967): Sensors Applet-DEBUG: creating new active sensor
(sensors-applet:5967): Sensors Applet-DEBUG: setting graph dimensions to 14 x 18
(sensors-applet:5967): Sensors Applet-DEBUG: no get_sensor_value function yet installed for interface.
(sensors-applet:5967): Sensors Applet-DEBUG: trying to add sensor from gconf data: THRM

(sensors-applet:5967): Sensors Applet-DEBUG: Added sensor interface acpi to tree
(sensors-applet:5967): Sensors Applet-DEBUG: added sensor /proc/acpi/thermal_zone/THRM/temperature to tree
(sensors-applet:5967): Sensors Applet-DEBUG: creating new active sensor
(sensors-applet:5967): Sensors Applet-DEBUG: setting graph dimensions to 14 x 18
(sensors-applet:5967): Sensors Applet-DEBUG: no get_sensor_value function yet installed for interface.
(sensors-applet:5967): Sensors Applet-DEBUG: trying to add sensor from gconf data: temp1

(sensors-applet:5967): Sensors Applet-DEBUG: Added sensor interface libsensors to tree
(sensors-applet:5967): Sensors Applet-DEBUG: added sensor sensor://acpitz-virtual-0/0 to tree
(sensors-applet:5967): Sensors Applet-DEBUG: creating new active sensor
(sensors-applet:5967): Sensors Applet-DEBUG: setting graph dimensions to 14 x 18
(sensors-applet:5967): Sensors Applet-DEBUG: no get_sensor_value function yet installed for interface.
(sensors-applet:5967): Sensors Applet-DEBUG: trying to add sensor from gconf data: Core 0

(sensors-applet:5967): Sensors Applet-DEBUG: added sensor sensor://coretemp-isa-0000/0 to tree
(sensors-applet:5967): Sensors Applet-DEBUG: creating new active sensor
(sensors-applet:5967): Sensors Applet-DEBUG: setting graph dimensions to 14 x 18
(sensors-applet:5967): Sensors Applet-DEBUG: no get_sensor_value function yet installed for interface.
(sensors-applet:5967): Sensors Applet-DEBUG: trying to add sensor from gconf data: Core 1

(sensors-applet:5967): Sensors Applet-DEBUG: added sensor sensor://coretemp-isa-0001/0 to tree
(sensors-applet:5967): Sensors Applet-DEBUG: trying to add sensor from gconf data: Core 3

(sensors-applet:5967): Sensors Applet-DEBUG: added sensor sensor://coretemp-isa-0002/0 to tree
(sensors-applet:5967): Sensors Applet-DEBUG: trying to add sensor from gconf data: Core 2

(sensors-applet:5967): Sensors Applet-DEBUG: added sensor sensor://coretemp-isa-0003/0 to tree
(sensors-applet:5967): Sensors Applet-DEBUG: trying to add sensor from gconf data: Core 2

(sensors-applet:5967): Sensors Applet-DEBUG: added sensor sensor://coretemp-isa-0002/0 to tree
(sensors-applet:5967): Sensors Applet-DEBUG: trying to add sensor from gconf data: Core 3

(sensors-applet:5967): Sensors Applet-DEBUG: added sensor sensor://coretemp-isa-0003/0 to tree
(sensors-applet:5967): Sensors Applet-DEBUG: trying to add sensor from gconf data:...

Revision history for this message
Alex Murray (alexmurray) wrote :

From the debug output it looks like there are already duplicate entries for some sensors saved in sensors-applet's settings - basically what is happening is that libsensors is not providing consistent naming of sensors across reboots - so on first boot sensors-applet gets the list of sensors from libsensors with names A,B,C say, and then saves this list of sensors in its settings along with whether they are enabled etc, graph colour and whotnot. Then on next boot, for the same set of sensors, libsensors returns names D,E,F and so these look like different sensors (they have different names) and so sensors-applet may also save this new list of sensors to its settings - so now in the sensors-applet settings we have sensors A,B,C,D,E,F even though at any one time there is really only either A,B,C or D,E,F - so this is really a bug in libsensors for not providing consistent naming, not sensors-applet since there is no way to know that D is really A since it actually looks like a new sensor.

Changed in sensors-applet (Ubuntu):
status: New → Invalid
Revision history for this message
LoneWolf_53 (spezi-machek) wrote :

With what little knowledge of Linux that I have I'd say you are correct because when the new sensors appear they do so with default colors as opposed to the customized ones which are checked off in the box to run.

So does that mean it must be reported as a libsensors bug?

Revision history for this message
Chuck Short (zulcss) wrote :

Which version is this with anyways?

Changed in lm-sensors (Ubuntu):
status: New → Incomplete
Revision history for this message
LoneWolf_53 (spezi-machek) wrote :

I've upgraded to Natty since posting here so not sure if the version changed with Natty or not.

What I'm showing is sensors-applet 2.2.7-2ubuntu2 if that's what you are asking.

Revision history for this message
Alex Murray (alexmurray) wrote :

I think he meant the lm-sensors version not sensors-applet.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for lm-sensors (Ubuntu) because there has been no activity for 60 days.]

Changed in lm-sensors (Ubuntu):
status: Incomplete → Expired
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.