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++ MT-multithreading and servers » FtpClient heap leak
FtpClient heap leak [message #60721] Sat, 03 August 2024 12:17 Go to previous message
forlano is currently offline  forlano
Messages: 1207
Registered: March 2006
Location: Italy
Senior Contributor
Hello,

my app use the class FtpClient. Only today I got in DEBUG mode a "heap leak detected" on exit (see below) although it worked OK.
In release mode nothing happen and no log file is saved. Perhaps this is an old issue because on DEBUG I never used this class so far.
From the log file it seems depends by FtpClient.Connect that I use here

if(!ftp.Connect( FTPHOST, FTPUSER, FTPPASS, true)) {
			Exclamation("Unable to connect!" + ftp.GetError());
			return;
}


Is this a know issue?

Clang, Windows, Upp 17185

Thanks,
Luigi


* C:\upp\out\MyApps\CLANGx64.Debug.Debug_Full.Gui.Noblitz\Vega10.exe 03.08.2024 12:08:11, user: Vegachess

FtpClient::Connect
//FtpClient::Connect

Heap leaks detected:

--memory-breakpoint__ 14010 : Memory at 0x00000206c2b75ae0, size 0x3C = 60
    +0 0x00000206C2B75AE0 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31     1111111111111111
   +16 0x00000206C2B75AF0 31 31 31 31 31 31 31 31 31 31 00 65 46 72 65 65     1111111111.eFree
   +32 0x00000206C2B75B00 46 72 65 65 46 72 65 65 46 72 65 65 46 72 65 65     FreeFreeFreeFree
   +48 0x00000206C2B75B10 46 72 65 65 46 72 65 65 46 72 65 65                 FreeFreeFree    

--memory-breakpoint__ 14009 : Memory at 0x00000206c2b75a80, size 0x3C = 60
    +0 0x00000206C2B75A80 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31     1111111111111111
   +16 0x00000206C2B75A90 31 31 31 31 31 31 31 31 31 31 00 65 46 72 65 65     1111111111.eFree
   +32 0x00000206C2B75AA0 46 72 65 65 46 72 65 65 46 72 65 65 46 72 65 65     FreeFreeFreeFree
   +48 0x00000206C2B75AB0 46 72 65 65 46 72 65 65 46 72 65 65                 FreeFreeFree    

--memory-breakpoint__ 14008 : Memory at 0x00000206c2b75a20, size 0x3C = 60
    +0 0x00000206C2B75A20 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31     1111111111111111
   +16 0x00000206C2B75A30 31 31 31 31 31 31 31 31 31 31 00 65 46 72 65 65     1111111111.eFree
   +32 0x00000206C2B75A40 46 72 65 65 46 72 65 65 46 72 65 65 46 72 65 65     FreeFreeFreeFree
   +48 0x00000206C2B75A50 46 72 65 65 46 72 65 65 46 72 65 65                 FreeFreeFree    

--memory-breakpoint__ 14007 : Memory at 0x00000206c2b759c0, size 0x3C = 60
    +0 0x00000206C2B759C0 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31     1111111111111111
   +16 0x00000206C2B759D0 31 31 31 31 31 31 31 31 31 31 00 65 46 72 65 65     1111111111.eFree
   +32 0x00000206C2B759E0 46 72 65 65 46 72 65 65 46 72 65 65 46 72 65 65     FreeFreeFreeFree
   +48 0x00000206C2B759F0 46 72 65 65 46 72 65 65 46 72 65 65                 FreeFreeFree    

--memory-breakpoint__ 14006 : Memory at 0x00000206c2b75960, size 0x3C = 60
    +0 0x00000206C2B75960 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31     1111111111111111
   +16 0x00000206C2B75970 31 31 31 31 31 31 31 31 31 31 00 65 46 72 65 65     1111111111.eFree
   +32 0x00000206C2B75980 46 72 65 65 46 72 65 65 46 72 65 65 46 72 65 65     FreeFreeFreeFree
   +48 0x00000206C2B75990 46 72 65 65 46 72 65 65 46 72 65 65                 FreeFreeFree    

--memory-breakpoint__ 14005 : Memory at 0x00000206c2b75900, size 0x3C = 60
    +0 0x00000206C2B75900 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31     1111111111111111
   +16 0x00000206C2B75910 31 31 31 31 31 31 31 31 31 31 00 65 46 72 65 65     1111111111.eFree
   +32 0x00000206C2B75920 46 72 65 65 46 72 65 65 46 72 65 65 46 72 65 65     FreeFreeFreeFree
   +48 0x00000206C2B75930 46 72 65 65 46 72 65 65 46 72 65 65                 FreeFreeFree    

--memory-breakpoint__ 14004 : Memory at 0x00000206c2b758a0, size 0x3C = 60
    +0 0x00000206C2B758A0 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31     1111111111111111
   +16 0x00000206C2B758B0 31 31 31 31 31 31 31 31 31 31 00 65 46 72 65 65     1111111111.eFree
   +32 0x00000206C2B758C0 46 72 65 65 46 72 65 65 46 72 65 65 46 72 65 65     FreeFreeFreeFree
   +48 0x00000206C2B758D0 46 72 65 65 46 72 65 65 46 72 65 65                 FreeFreeFree    

--memory-breakpoint__ 14003 : Memory at 0x00000206c2b75840, size 0x3C = 60
    +0 0x00000206C2B75840 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31     1111111111111111
   +16 0x00000206C2B75850 31 31 31 31 31 31 31 31 31 31 00 65 46 72 65 65     1111111111.eFree
   +32 0x00000206C2B75860 46 72 65 65 46 72 65 65 46 72 65 65 46 72 65 65     FreeFreeFreeFree
   +48 0x00000206C2B75870 46 72 65 65 46 72 65 65 46 72 65 65                 FreeFreeFree    

--memory-breakpoint__ 14002 : Memory at 0x00000206c2b757e0, size 0x3C = 60
    +0 0x00000206C2B757E0 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31     1111111111111111
   +16 0x00000206C2B757F0 31 31 31 31 31 31 31 31 31 31 00 65 46 72 65 65     1111111111.eFree
   +32 0x00000206C2B75800 46 72 65 65 46 72 65 65 46 72 65 65 46 72 65 65     FreeFreeFreeFree
   +48 0x00000206C2B75810 46 72 65 65 46 72 65 65 46 72 65 65                 FreeFreeFree    

--memory-breakpoint__ 14001 : Memory at 0x00000206c2b75780, size 0x3C = 60
    +0 0x00000206C2B75780 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31     1111111111111111
   +16 0x00000206C2B75790 31 31 31 31 31 31 31 31 31 31 00 65 46 72 65 65     1111111111.eFree
   +32 0x00000206C2B757A0 46 72 65 65 46 72 65 65 46 72 65 65 46 72 65 65     FreeFreeFreeFree
   +48 0x00000206C2B757B0 46 72 65 65 46 72 65 65 46 72 65 65                 FreeFreeFree    

--memory-breakpoint__ 14000 : Memory at 0x00000206c2b75720, size 0x3C = 60
    +0 0x00000206C2B75720 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31     1111111111111111
   +16 0x00000206C2B75730 31 31 31 31 31 31 31 31 31 31 00 65 46 72 65 65     1111111111.eFree
   +32 0x00000206C2B75740 46 72 65 65 46 72 65 65 46 72 65 65 46 72 65 65     FreeFreeFreeFree
   +48 0x00000206C2B75750 46 72 65 65 46 72 65 65 46 72 65 65                 FreeFreeFree    

--memory-breakpoint__ 13999 : Memory at 0x00000206c2b756c0, size 0x3C = 60
    +0 0x00000206C2B756C0 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31     1111111111111111
   +16 0x00000206C2B756D0 31 31 31 31 31 31 31 31 31 31 00 65 46 72 65 65     1111111111.eFree
   +32 0x00000206C2B756E0 46 72 65 65 46 72 65 65 46 72 65 65 46 72 65 65     FreeFreeFreeFree
   +48 0x00000206C2B756F0 46 72 65 65 46 72 65 65 46 72 65 65                 FreeFreeFree    

--memory-breakpoint__ 13998 : Memory at 0x00000206c2b75660, size 0x3C = 60
    +0 0x00000206C2B75660 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31     1111111111111111
   +16 0x00000206C2B75670 31 31 31 31 31 31 31 31 31 31 00 65 46 72 65 65     1111111111.eFree
   +32 0x00000206C2B75680 46 72 65 65 46 72 65 65 46 72 65 65 46 72 65 65     FreeFreeFreeFree
   +48 0x00000206C2B75690 46 72 65 65 46 72 65 65 46 72 65 65                 FreeFreeFree    

--memory-breakpoint__ 13997 : Memory at 0x00000206c2b75600, size 0x3C = 60
    +0 0x00000206C2B75600 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31     1111111111111111
   +16 0x00000206C2B75610 31 31 31 31 31 31 31 31 31 31 00 65 46 72 65 65     1111111111.eFree
   +32 0x00000206C2B75620 46 72 65 65 46 72 65 65 46 72 65 65 46 72 65 65     FreeFreeFreeFree
   +48 0x00000206C2B75630 46 72 65 65 46 72 65 65 46 72 65 65                 FreeFreeFree    

--memory-breakpoint__ 13996 : Memory at 0x00000206c2b755a0, size 0x3C = 60
    +0 0x00000206C2B755A0 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31     1111111111111111
   +16 0x00000206C2B755B0 31 31 31 31 31 31 31 31 31 31 00 65 46 72 65 65     1111111111.eFree
   +32 0x00000206C2B755C0 46 72 65 65 46 72 65 65 46 72 65 65 46 72 65 65     FreeFreeFreeFree
   +48 0x00000206C2B755D0 46 72 65 65 46 72 65 65 46 72 65 65                 FreeFreeFree    

--memory-breakpoint__ 13995 : Memory at 0x00000206c2b75540, size 0x3C = 60
    +0 0x00000206C2B75540 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31     1111111111111111
   +16 0x00000206C2B75550 31 31 31 31 31 31 31 31 31 31 00 65 46 72 65 65     1111111111.eFree
   +32 0x00000206C2B75560 46 72 65 65 46 72 65 65 46 72 65 65 46 72 65 65     FreeFreeFreeFree
   +48 0x00000206C2B75570 46 72 65 65 46 72 65 65 46 72 65 65                 FreeFreeFree    

--memory-breakpoint__ 13994 : Memory at 0x00000206c2b754e0, size 0x3C = 60
    +0 0x00000206C2B754E0 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31     1111111111111111
   +16 0x00000206C2B754F0 31 31 31 31 31 31 31 31 31 31 00 65 46 72 65 65     1111111111.eFree
   +32 0x00000206C2B75500 46 72 65 65 46 72 65 65 46 72 65 65 46 72 65 65     FreeFreeFreeFree
   +48 0x00000206C2B75510 46 72 65 65 46 72 65 65 46 72 65 65                 FreeFreeFree    

*** TOO MANY LEAKS (1201) TO LIST THEM ALL
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: HttpRequest::GetPath() [FEATURE REQUEST]
Next Topic: Can't use MT to capture console output
Goto Forum:
  


Current Time: Tue Jun 17 23:26:39 CEST 2025

Total time taken to generate the page: 0.04505 seconds