! 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 !
Memory leaking
Status:
RESOLVED: DUPLICATE
Product:
Xfdesktop
Component:
General

Comments

Description Mathias Brodala 2007-08-10 01:30:26 CEST
User-Agent:       Opera/9.22 (X11; Linux i686; U; de)
Build Identifier: 

Xfdesktop still leaks memory and slows down startup of applications the longer it runs.

Attached is a valgrind log recorded with "-v --leak-check=yes --leak-resolution=high --num-callers=50 --log-file=xfdesktop xfdesktop".

Desktop icons where not enabled here, startup notifcations where.

Reproducible: Always

Steps to Reproduce:
1. Use xfdesktop for a day or longer

Actual Results:  
A memory leak occurs.

Expected Results:  
Memory usage should stay the same.
Comment 1 Mathias Brodala 2007-08-10 01:31:20 CEST
Created attachment 1305 
Valgrind logfile

Xfdesktop running within valgrind for more than a day
Comment 2 Brian J. Tarricone (not reading bugmail) 2007-08-10 05:43:47 CEST
After I gunzip this, it's still a binary file.  Please just attach an uncompressed file.  We have plenty of disk space.
Comment 3 Mathias Brodala 2007-08-10 09:23:58 CEST
> After I gunzip this, it's still a binary file.  Please just attach an
> uncompressed file.  We have plenty of disk space

Really weird. I also gunzipped the file and got my old logfile back. No binary stuff whatsoever. Anyways, the uncompressed logfile is attached now.
Comment 4 Mathias Brodala 2007-08-10 09:24:48 CEST
Created attachment 1307 
Valgrind logfile (uncompressed)

Xfdesktop running within valgrind for more than a day
Comment 5 Alexander Toresson 2007-09-04 07:08:47 CEST
(In reply to comment #4)
> Created an attachment (id=1307) [details]
> Valgrind logfile (uncompressed)
> 
> Xfdesktop running within valgrind for more than a day
> 

Sorry, this file didn't contain any details on _what_ memory blocks were leaked and _where_. Perhaps you didn't shut down xfdesktop or valgrind correctly? I'd suggest xfdesktop --quit.
Comment 6 Mathias Brodala 2007-09-04 15:25:57 CEST
(In reply to comment #5)
> (In reply to comment #4)
> > Created an attachment (id=1307) [details] [details]
> > Valgrind logfile (uncompressed)
> > 
> > Xfdesktop running within valgrind for more than a day
> > 
> 
> Sorry, this file didn't contain any details on _what_ memory blocks were leaked
> and _where_. Perhaps you didn't shut down xfdesktop or valgrind correctly?

Yeah, I had to kill valgrind IIRC since it didn’t react to [Ctrl]+[C].

> I'd
> suggest xfdesktop --quit.

I’m currently doing another valgrind run and will try that.
Comment 7 Mathias Brodala 2007-09-07 14:16:28 CEST
(In reply to comment #6)
> > I'd
> > suggest xfdesktop --quit.
> 
> I’m currently doing another valgrind run and will try that.

I did and this didn’t help either. Once again, only SIGKILL could help. I’ll attach the new log, if it isn’t helpful either, then there isn’t much I can do anymore. (The huge leak+lag while running xfdesktop4 through valgrind even resulted in the OOM killer becoming active and killing my Thunderbird.)
Comment 8 Mathias Brodala 2007-09-07 14:17:46 CEST
Created attachment 1354 
Another valgrind run
Comment 9 Brian J. Tarricone (not reading bugmail) 2007-09-08 22:49:31 CEST

*** This bug has been marked as a duplicate of bug 2427 ***

Bug #3448

Reported by:
Mathias Brodala
Reported on: 2007-08-10
Last modified on: 2009-07-14

People

Assignee:
Brian J. Tarricone (not reading bugmail)
CC List:
1 user

Version

Attachments

Valgrind logfile (12.59 KB, application/x-gzip)
2007-08-10 01:31 CEST , Mathias Brodala
no flags
Valgrind logfile (uncompressed) (240.69 KB, application/octet-stream)
2007-08-10 09:24 CEST , Mathias Brodala
no flags
Another valgrind run (568.10 KB, text/plain)
2007-09-07 14:17 CEST , Mathias Brodala
no flags

Additional information