! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
xfce4-sensor-panel memory leak?
Status:
RESOLVED: INVALID
Severity:
critical
Product:
Xfce4-sensors-plugin
Component:
General

Comments

Description Christoph Wickert editbugs 2010-07-04 21:53:20 CEST
forwarded from https://bugzilla.redhat.com/show_bug.cgi?id=610761

Description of problem: I see from htop output sorted by resident memory that
the sensor panel on my XFCE desktop is currently taking 412M of RAM, after
being logged in for 3 days now.

Version-Release number of selected component (if applicable):
xfce4-sensors-plugin.x86_64  1.0.0-1.fc12

How reproducible: log into XFCE desktop w/ sensor panel active & watch it for a
few days ....

Actual results: 412M of RAM after ~3 days ....

Expected results: maybe a few hundred KB of RAM ....

Additional info: screenshot of HTOP output
https://bugzilla.redhat.com/attachment.cgi?id=429037
Comment 1 Fabian Nowak editbugs 2010-11-27 00:36:57 CET
(In reply to comment #0)
> forwarded from https://bugzilla.redhat.com/show_bug.cgi?id=610761
> 
> Description of problem: I see from htop output sorted by resident memory that
> the sensor panel on my XFCE desktop is currently taking 412M of RAM, after
> being logged in for 3 days now.
> 
> Version-Release number of selected component (if applicable):
> xfce4-sensors-plugin.x86_64  1.0.0-1.fc12
> 
> How reproducible: log into XFCE desktop w/ sensor panel active & watch it for a
> few days ....
> 
> Actual results: 412M of RAM after ~3 days ....
> 
> Expected results: maybe a few hundred KB of RAM ....
> 
> Additional info: screenshot of HTOP output
> https://bugzilla.redhat.com/attachment.cgi?id=429037

Can you please indicate how the sensors plugin was built or packaged? I.e., whether libsensors, ACPI or whatever are used. Meanwhile, I experience this on Ubuntu as well but still don't have a clue unless I oversaw some memory allocates that would not be freed. Previously sent patches free'd data from libsensors that is not allowed to be freed.
Comment 3 Fabian Nowak editbugs 2011-05-02 19:20:18 CEST
I still have the impression that libsensors might be to blame due to global variables or the like. Anyway, ongoing problem I am aware of and investigating and monitoring all the time....
Comment 4 Christoph Wickert editbugs 2011-11-08 21:29:31 CET
I think you aremay be right about libsensors. For me the plugin runs fine for days without increasing memory usage, but I am not using lm_sensors as all my hardware is handled directly through ACPI.
Comment 5 Landry Breuil editbugs 2012-07-22 11:32:32 CEST
Maybe a clue.. do you use the progress bar (or gtk_cpu which seems to use drawing ? )and a theme that uses gtk-xfce-engine ? If so, that might be bug #8521. To check, try a theme that uses another engine (murrine, aurora...) and see if the leak stops.
Comment 6 Fabian Nowak editbugs 2012-12-28 20:51:47 CET
(In reply to comment #5)
> Maybe a clue.. do you use the progress bar (or gtk_cpu which seems to use
> drawing ? )and a theme that uses gtk-xfce-engine ? If so, that might be bug
> #8521. To check, try a theme that uses another engine (murrine, aurora...)
> and see if the leak stops.

So I close that bug report. Landry, thanks for your valuable help and hint.

Bug #6539

Reported by:
Christoph Wickert
Reported on: 2010-07-04
Last modified on: 2012-12-28

People

Assignee:
Fabian Nowak
CC List:
1 user

Version

Version:
unspecified

Attachments

Additional information