| |

VerySource

 Forgot password?
 Register
Search
View: 870|Reply: 5

Why does the program exit abnormally?

[Copy link]

1

Threads

2

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

Post time: 2020-9-28 16:00:01
| Show all posts |Read mode
My program will make a "boom" when it exits. It seems there is something wrong, but I can't find it.
Is there a way to forcefully remove this sound?
Thank you.
Reply

Use magic Report

0

Threads

9

Posts

6.00

Credits

Newbie

Rank: 1

Credits
6.00

 China

Post time: 2020-9-28 16:30:01
| Show all posts
??? This is too abstract, is there any prompt error?
Reply

Use magic Report

0

Threads

9

Posts

6.00

Credits

Newbie

Rank: 1

Credits
6.00

 China

Post time: 2020-9-28 21:00:02
| Show all posts
How do you think of forcibly removing this sound? If there is a problem, it should not be to cover it, but to find the source of the problem.
If you want to remove it, just cover your ears and cover your ears.
Reply

Use magic Report

0

Threads

2

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

Post time: 2020-9-29 08:45:01
| Show all posts
If you encounter it during the development process, use the debug mode. That's it. Or set a breakpoint, a little bit of positioning
Reply

Use magic Report

1

Threads

2

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

 Author| Post time: 2020-9-30 18:45:01
| Show all posts
Seems to be a memory leak
I used the memory leak search tool to find it, but it was all located in some functions in the SDK, what should I do?
Reply

Use magic Report

1

Threads

12

Posts

12.00

Credits

Newbie

Rank: 1

Credits
12.00

 China

Post time: 2020-9-30 19:30:01
| Show all posts
Then you can look for some pointer variables that you dynamically allocated, and see where you forgot to release them.
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list