Home » U++ Library support » U++ Library : Other (not classified elsewhere) » Uninitialized class members.
Re: Uninitialized class members. [message #15846 is a reply to message #15841] |
Sun, 11 May 2008 20:43   |
Novo
Messages: 1430 Registered: December 2006
|
Ultimate Contributor |
|
|
luzr wrote on Sun, 11 May 2008 12:01 | Well, I believe theide and U++ is now quite valgrind friendly.
|
Thank you very much!
Quote: |
Anyway, I am seeing a lot of "invalid read" entries, but none seems to originate from U++ code (they seem to be "ld", "glibc" and "gtk" issues). What to think about it?
|
The is nothing you can do about these "ld", "glibc" and "gtk" issues. Valgrind allows you to provide a suppression file. Suppressions can be generated by valgrind automatically (in interactive mode).
I personally never use valgrind without a customized suppression file.
Quote: |
(Of course, valgrind reports a lot of leaks, but that is the same problem IMO; there should be no leaks in U++ code).
|
It depend on what you call a leak. As I remember, valgrind reports a lot of "potentially lost memory". That usually means that there is non-freed memory on application exit. People usually do not care about that memory because their application is going to stop working anyway, but valgrind does.
These "memory leaks" are usually fixed by eliminating static objects (like strings) and registering memory pools cleanups with atexit().
I'll take a look at that when I get a chance.
Thank you for integrating TheIDE with valgrind again!
Regards,
Novo
[Updated on: Sun, 11 May 2008 20:43] Report message to a moderator
|
|
|
 |
|
Uninitialized class members.
By: Novo on Tue, 06 May 2008 17:31
|
 |
|
Re: Uninitialized class members.
By: mirek on Tue, 06 May 2008 19:44
|
 |
|
Re: Uninitialized class members.
By: Novo on Tue, 06 May 2008 20:34
|
 |
|
Re: Uninitialized class members.
By: mirek on Tue, 06 May 2008 21:27
|
 |
|
Re: Uninitialized class members.
By: mirek on Tue, 06 May 2008 21:30
|
 |
|
Re: Uninitialized class members.
By: mirek on Tue, 06 May 2008 21:36
|
 |
|
Re: Uninitialized class members.
By: mirek on Tue, 06 May 2008 21:42
|
 |
|
Re: Uninitialized class members.
By: Novo on Tue, 06 May 2008 21:50
|
 |
|
Re: Uninitialized class members.
|
 |
|
Re: Uninitialized class members.
By: Novo on Wed, 07 May 2008 04:10
|
 |
|
Re: Uninitialized class members.
By: mirek on Wed, 07 May 2008 09:57
|
 |
|
Re: Uninitialized class members.
|
 |
|
Re: Uninitialized class members.
By: mirek on Wed, 07 May 2008 16:32
|
 |
|
Re: Uninitialized class members.
By: Novo on Wed, 07 May 2008 17:38
|
 |
|
Re: Uninitialized class members.
|
 |
|
Re: Uninitialized class members.
By: Novo on Thu, 08 May 2008 00:21
|
 |
|
Re: Uninitialized class members.
By: Novo on Wed, 07 May 2008 17:40
|
 |
|
Re: Uninitialized class members.
By: cocob on Wed, 07 May 2008 17:55
|
 |
|
Re: Uninitialized class members.
By: Novo on Wed, 07 May 2008 19:51
|
 |
|
Re: Uninitialized class members.
By: mirek on Wed, 07 May 2008 22:47
|
 |
|
Re: Uninitialized class members.
By: Novo on Wed, 07 May 2008 23:05
|
 |
|
Re: Uninitialized class members.
By: mirek on Thu, 08 May 2008 01:00
|
 |
|
Re: Uninitialized class members.
By: Novo on Thu, 08 May 2008 05:37
|
 |
|
Re: Uninitialized class members.
By: mirek on Thu, 08 May 2008 08:00
|
 |
|
Re: Uninitialized class members.
By: Novo on Fri, 09 May 2008 04:37
|
 |
|
Re: Uninitialized class members.
By: mirek on Sun, 11 May 2008 18:01
|
 |
|
Re: Uninitialized class members.
By: Novo on Sun, 11 May 2008 20:43
|
 |
|
Re: Uninitialized class members.
By: mirek on Sun, 11 May 2008 22:56
|
 |
|
Re: Uninitialized class members.
|
 |
|
Re: Uninitialized class members.
By: Novo on Mon, 19 May 2008 23:20
|
 |
|
Re: Uninitialized class members.
|
 |
|
Re: Uninitialized class members.
By: Novo on Fri, 30 May 2008 06:06
|
Goto Forum:
Current Time: Tue Aug 26 12:28:05 CEST 2025
Total time taken to generate the page: 0.05750 seconds
|