Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 Go to previous messageGo to previous message
Novo is currently offline  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. Wink

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

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Display problem with Splitter, GLCtrl and MenuBar
Next Topic: Ide console
Goto Forum:
  


Current Time: Tue Aug 26 12:28:05 CEST 2025

Total time taken to generate the page: 0.05750 seconds