Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Application stopped unexpectedly ( Qt5.15.2 MinGW64) #23

Closed
siyuhong opened this issue Nov 16, 2021 · 15 comments
Closed

Application stopped unexpectedly ( Qt5.15.2 MinGW64) #23

siyuhong opened this issue Nov 16, 2021 · 15 comments
Labels

Comments

@siyuhong
Copy link

Hi,
I want to use this tool to check the memory leak in QtCreator.
But, when I exit the test app, the heob app while stopped.
I tried both solutions with the same results:

  1. heob releases tag 3.1
  2. build the heob project(MinGW64)
    What do I need to do to make him work properly?
@ssbssa
Copy link
Owner

ssbssa commented Nov 16, 2021

How do you exit the test app?

@siyuhong
Copy link
Author

Click the close button on the window titlebar

@ssbssa
Copy link
Owner

ssbssa commented Nov 17, 2021

Console window or GUI window?

@siyuhong
Copy link
Author

控制台窗口还是 GUI 窗口?

GUI Window

@ssbssa
Copy link
Owner

ssbssa commented Nov 17, 2021

Could you maybe give me a small test application, and the steps to reproduce the issue?

@siyuhong
Copy link
Author

Could you maybe give me a small test application, and the steps to reproduce the issue?

OK. I recorded the operation by gif, you can try to reproduce it.

However, for some reason, I can't upload the file. Can you tell me your email address?

@siyuhong
Copy link
Author

Could you maybe give me a small test application, and the steps to reproduce the issue?

Now, you can see on here https://github.com/siyuhong/testfiles

@ssbssa
Copy link
Owner

ssbssa commented Nov 17, 2021

I just tried it, with Qt 5.12.2 and gcc-11.2 (provided by MSYS2), and I can't reproduce it.
Once I close the window, it shows me a lot of memory leaks (by Qt), and there is no "Application stopped unexpectedly" error.

@siyuhong
Copy link
Author

Maybe the problem is compiling environment?

@ssbssa
Copy link
Owner

ssbssa commented Nov 18, 2021

Hard to say.
Have you tried a different one?

@siyuhong
Copy link
Author

The others have not been tried.
Now I'm testing the code under Linux.

Hard to say. Have you tried a different one?

@ssbssa
Copy link
Owner

ssbssa commented Dec 13, 2021

I've just fixed a bug in heob, which might have been the reason for your crash.
Maybe you could try it out?

@ssbssa ssbssa added bug and removed need more info labels Dec 29, 2021
@ssbssa
Copy link
Owner

ssbssa commented Dec 29, 2021

I'm assuming this was the bug fixed by 4cb79f5, and close this.

@ssbssa ssbssa closed this as completed Dec 29, 2021
@siyuhong
Copy link
Author

siyuhong commented Jan 4, 2022

I'm assuming this was the bug fixed by 4cb79f5, and close this.

Thank you for your maintenance, But same problem will happen again.

@ssbssa
Copy link
Owner

ssbssa commented Jan 6, 2022

To find the problem, I would need more information, like a backtrace of the program when it crashes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants