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 » Community » Newbie corner » CTRL + C = 659 Heap leaks
Re: CTRL + C = 659 Heap leaks [message #52057 is a reply to message #52037] Fri, 12 July 2019 09:28 Go to previous message
Xemuth is currently offline  Xemuth
Messages: 387
Registered: August 2018
Location: France
Senior Member
Quote:
Move to Linux Rolling Eyes
Yeah it's plannified Very Happy

Quote:
https://clang.llvm.org/docs/AddressSanitizer.html
https://en.wikipedia.org/wiki/AddressSanitizer

Will try it, if Mirek proposition don't help me in reliable way
Quote:
In the log you can see:

--memory-breakpoint__ 33474

If the allocation pattern is stable (like the number is always the same in any run), you can resolve the leak by putting this to commandline when running the code - this will cause an exception when the same allocation is done again.


By looking from Internet, SIGINT signal send by "Ctrl + C" on windows 10
Quote:
SIGINT: This signal interrupts a process immediately.The default action of this signal is to terminate a process gracefully .It can be handled , ignored or caught .It can be sent from a terminal as input characters .this signal is generated when a user presses Ctrl+C.


Seems like you must handle it. So I guess Upp or Std have handler somewhere in the code ? Also it mean the process probably the same on Windows and Linux ?
Furthermore, By looking on SigInt I find a funny picture and I'd share it Very Happy
https://qph.fs.quoracdn.net/main-qimg-1180ef2465c309928b02481f02580c6a
 
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: How i can play a sound?? wav,mp3,ogg,aiff????
Next Topic: Filtering an ArrayCtrl
Goto Forum:
  


Current Time: Fri Mar 29 14:33:56 CET 2024

Total time taken to generate the page: 0.01269 seconds