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++ TheIDE » U++ TheIDE: Compiling, Linking, Debugging of your packages » Using Valgrind output
Re: Using Valgrind output [message #51878 is a reply to message #51874] Tue, 11 June 2019 15:26 Go to previous messageGo to previous message
Novo is currently offline  Novo
Messages: 1430
Registered: December 2006
Ultimate Contributor
1.
If your app is built with debug info you should get output like below:
==28420== Use of uninitialised value of size 8
==28420==    at 0x97E165: Upp::BltAAMapRGBA3(unsigned int*, Upp::RGBA const*, unsigned int const*) (ImageScale.cpp:263)
==28420==    by 0x95783E: Upp::RescaleImage::Get(Upp::RGBA*) (ImageScale.cpp:436)
==28420==    by 0x97E712: Upp::Rescale(Upp::RasterEncoder&, Upp::Size_<int>, Upp::Raster&, Upp::Rect_<int> const&, Upp::Function<bool (int, int)>) (ImageScale.cpp:485)
==28420==    by 0x958237: Upp::Rescale(Upp::Image const&, Upp::Size_<int>, Upp::Rect_<int> const&, Upp::Function<bool (int, int)>) (ImageScale.cpp:497)
==28420==    by 0x987951: Upp::ChImageMaker::Make() const (Cham.cpp:52)
==28420==    by 0x99CA6A: Upp::scImageMaker::Make(Upp::Image&) const (MakeCache.cpp:32)
==28420==    by 0x99467D: Upp::LRUCache<Upp::Image, Upp::String>::Get(Upp::LRUCache<Upp::Image, Upp::String>::Maker const&) (Other.h:546)
==28420==    by 0x981263: Upp::MakeImage__(Upp::ImageMaker const&, bool) (MakeCache.cpp:126)
==28420==    by 0x978EFD: Upp::MakeImage(Upp::ImageMaker const&) (MakeCache.cpp:136)
==28420==    by 0x987A3E: Upp::ChDraw(Upp::Draw&, int, int, int, int, Upp::Image const&, Upp::Rect_<int> const&) (Cham.cpp:66)
==28420==    by 0x987B37: Upp::ChDraw(Upp::Draw&, Upp::Rect_<int> const&, Upp::Image const&, Upp::Rect_<int> const&) (Cham.cpp:73)
==28420==    by 0x989722: Upp::StdChLookFn(Upp::Draw&, Upp::Rect_<int> const&, Upp::Value const&, int) (Cham.cpp:328)
==28420==  Uninitialised value was created by a stack allocation
==28420==    at 0x5C27C4: GuiMainFn_() (OpenCorpora.cpp:1981)

hex-value should be ignored.

2. You need to create a file with supressions.
--suppressions=<filename> suppress errors described in <filename>

Option below helps to create them.
--gen-suppressions=no|yes|all    print suppressions for errors? [no]



Regards,
Novo
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Where can I find Visual Studio Build Tools 2017?
Next Topic: Compiling error with UPP 13422
Goto Forum:
  


Current Time: Thu Jun 26 09:52:33 CEST 2025

Total time taken to generate the page: 0.03796 seconds