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 » Extra libraries, Code snippets, applications etc. » OS Problems etc., Win32, POSIX, MacOS, FreeBSD, X11 etc » Heap Leaks on Linux when migrating to new distro and newer UPP (Moved working app to new distro and upp-x11-src-8760 -- now heap leaks on exit)
Re: Heap Leaks on Linux when migrating to new distro and newer UPP [message #45258 is a reply to message #45077] Sat, 24 October 2015 17:45 Go to previous messageGo to previous message
jfranks is currently offline  jfranks
Messages: 36
Registered: September 2014
Location: Houston, Texas
Member
We have made good progress at identifying and correcting the heap leaks in our application.
Additional tools were used in order to accomplish this, i.e., compile
with CLANG, and use asan.

The U++ snapshot that we are now using is upp-x11-src-9004.tar.gz

We are left with two heap leaks that we have yet to resolve.
Memory breakpoint 22748 is in our own application and we take ownership of that issue.

However, memory breakpoint 22235 is a real puzzle because it is almost exclusively is in U++ library.
Here is the log-file followed by a snapshot of the debugger call-stack:
=================
/home/svn/P101/trunk/Source/Build/upp.out/P101/CLANG.Debug.D ebug_Full.Gui.Mt.Newerupp.Noblitz.Shared.Stacktrace.X11/p101 21.10.2015 15:27:03, user: administrator

Heap leaks detected:

--memory-breakpoint__ 22748 : Memory at 0x0x7fd0c21bd9a0, size 0x58 = 88
+0 0x00007FD0C21BD9A0 60 D6 48 01 00 00 00 00 00 00 00 00 00 00 00 00 `.H.............
+16 0x00007FD0C21BD9B0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
+32 0x00007FD0C21BD9C0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
+48 0x00007FD0C21BD9D0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................

--memory-breakpoint__ 22235 : Memory at 0x0x7fd0ce6b7720, size 0x68 = 104
+0 0x00007FD0CE6B7720 10 72 48 01 00 00 00 00 00 01 65 65 46 72 65 65 .rH.......eeFree
+16 0x00007FD0CE6B7730 00 87 07 C2 D0 7F 00 00 14 00 00 00 01 00 00 00 ...............
+32 0x00007FD0CE6B7740 60 00 00 00 00 00 00 00 00 10 00 00 00 00 00 00 `...............
+48 0x00007FD0CE6B7750 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
****************** PANIC: Heap leaks detected!
====================

index.php?t=getfile&id=4851&private=0

Can someone help on this particular issue?
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: GetUserDefaultUILanguage identifier not found
Next Topic: OleAuto on Windows 7
Goto Forum:
  


Current Time: Mon May 06 11:06:34 CEST 2024

Total time taken to generate the page: 0.01888 seconds