ssbssa / heob

Detects buffer overruns and memory leaks.
Boost Software License 1.0
156 stars 25 forks source link

Heob: Application stopped unexpectedly. #27

Closed MrHulu closed 1 year ago

MrHulu commented 1 year ago

Hello, I also have this problem: - 1: error: Heob: Application stopped unexpectedly. I don't know what the problem is, I have two projects locally, the small one has no problem, the big one reports an error. I hope you can give me some advice or help. Thank you very much. The version of heob is 3.1.7, Qt Creator is 8.0.1, Base on Qt6.3.1 (MSVC 2019 x86_64) From revision 9c963ce8ae QQ截图20221212162602 screenshot-20221212-162549

MrHulu commented 1 year ago

I forgot to mention that I clicked on the close window that appeared on the My Programs: User Action screen

ssbssa commented 1 year ago

Could you please try the latest development version? You can get it here: https://ci.appveyor.com/api/projects/ssbssa/heob/artifacts/heob.7z?branch=master

MrHulu commented 1 year ago

image Hi, I downloaded the latest version and ran it through this way. When I closed my program, I found that the program did not exit properly. Again task manager can see my program. This makes it impossible to analyse. Why is this?

MrHulu commented 1 year ago

image If I have used this method to debug my program, it exits and analyses normally. The problem is that this method does not analyse my memory leaks, I need to Detect Leak Type, and then this method does not work properly. It's just too much of a pain in the arse.

MrHulu commented 1 year ago

@ssbssa Has this ever happened to you?

ssbssa commented 1 year ago

If you use Detect Leak Types, it may take a lot of time to analyze, depending on the number of leaks you have. I implemented this variant before I found out about flame graphs, which I think are a much better way of visualization for leaks. You can try it out with the extra arguments -vleaks.svg -g2 (with leak details Simple), it should then create a flame graph leaks.svg file which you can open with a browser.

MrHulu commented 1 year ago

Thanks, I'll try it later

ssbssa commented 1 year ago

I'm closing this now, since there are no open issues any more. If you have any more problems or questions, feel free to reopen.