Created attachment 319166 [details] Screenshot of gnome-applet-sensors just before a crash Description of problem: If I add gnome-applet-sensors by double clicking on it via "Add to Panel...", it starts, but fills the top status bar with dozens of sensor icons and then crashes after about 1 second. Version-Release number of selected component (if applicable): gnome-applet-sensors-1.8.2-2.fc9.x86_64 lm_sensors-3.0.2-1.fc10.x86_64 kernel-2.6.27-0.329.rc6.git2.fc10.x86_64 I've no idea how to get logging or debug info out of GNOME. If you need more information, please let me know how to provide it.
Are you able to run gnome-applet-sensors from the command line and reproduce this bug to see if you get an error output in the terminal window? Also, did you find an errors in the system logs? I've also assigned this bug to Hans de Goede because he has taken over gnome-applet-sensors according to bug 190509.
If I run /usr/libexec/sensors-applet from the command line, it simply hangs. I don't know what else to do.
(In reply to comment #0) > Created an attachment (id=319166) [details] > Screenshot of gnome-applet-sensors just before a crash > > Description of problem: > > If I add gnome-applet-sensors by double clicking on it via "Add to Panel...", > it starts, but fills the top status bar with dozens of sensor icons and then > crashes after about 1 second. > > Version-Release number of selected component (if applicable): > > gnome-applet-sensors-1.8.2-2.fc9.x86_64 > lm_sensors-3.0.2-1.fc10.x86_64 > kernel-2.6.27-0.329.rc6.git2.fc10.x86_64 > > I've no idea how to get logging or debug info out of GNOME. If you need more > information, please let me know how to provide it. Hmm, When the applet crashes do you get any dialog box, such as the first one (reload or not) shown here: ? http://www.davyd.id.au/articles/debugging-gnome-applets.shtml Also can you do: ls -l /sys/class/hwmon/hwmon*/device/ > log And attach the generated log file here?
I get the reload dialog box, but the applet crashes immediately again upon reload.
Created attachment 321628 [details] ls -l /sys/class/hwmon/hwmon*/device/ > log
Some more questions I'm afraid: 1) what version of lm_sensors are you using, what does "rpm -q lm_sensors" say? 2) Can you please try "yum update lm_sensors" 3) Can you please run the "sensors" command and copy and paste the output here 4) Can you try one more time to run the applet from the cmdline, using the technique described here: http://www.davyd.id.au/articles/debugging-gnome-applets.shtml
1. lm_sensors-3.0.2-1.fc10.x86_64 2. The crash happens even if lm_sensors isn't configured. 3. See attachment.
Created attachment 322182 [details] sensors >& sensors.out
Created attachment 322184 [details] strace -o strace.out /usr/libexec/sensors-applet I still can't run the sensors-applet from the command line because it blocks forever, and there's nothing relevant that I can see in Davyd's article that suggests how I can make progress past this. See the attached strace output.
Ok I think sensors-applet does not like it (iow is buggy) when it cannot read certain values, iow when it gets an error like the errors shown by "sensors" in the attached output of that. Can you try putting the following in /etc/sensors3.conf (add it at the end): chip "thinkpad-*" ignore temp3 ignore temp6 ignore temp8 ignore temp11 ignore temp12 ignore temp13 ignore temp14 ignore temp15 ignore temp16 That should hide those non working temps (which are normal with the thinkpad acpi driver) from gnome-sensors-applet. That should work around this problem, and pinpoint the cause, so that after this we can go looking into a real fix.
That does indeed work, thanks. What's interesting is that I have another Thinkpad, an X60 running F-9, where this problem doesn't occur. It's either new to the X200 hardware, or new to F-10.
Ok, I've managed to reproduce this by patching a hwmon driver on my system to return errors when read like the hwmon thinkpad acpi code does (which is sort of special). Here is a package (once finished building) which should fix this: http://koji.fedoraproject.org/koji/taskinfo?taskID=915419 Can you remove the relevant lines from sensors3.conf, so that the crash returns and then try this version please?
About your 2 thinkpads, this problem is thinkpad specific, but should show up on any thinkpad. The thinkpad hwmon code triggering this is new in the latest kernel which currently only is available in rawhide.
Hans, your patched version of the package works perfectly (and yes, I tidied up /etc/sensors3.conf beforehand). Thanks!
gnome-applet-sensors-2.2.1-1.fc10 has been submitted as an update for Fedora 10. http://admin.fedoraproject.org/updates/gnome-applet-sensors-2.2.1-1.fc10
gnome-applet-sensors-2.2.1-1.fc10 has been pushed to the Fedora 10 stable repository. If problems still persist, please make note of it in this bug report.