Replies: 13 comments 15 replies
-
Can you explain how to read it ?
|
Beta Was this translation helpful? Give feedback.
-
Seems like void bx_devices_c::exit() is never called Can you try do it ? |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
So this log above from which scenario ? |
Beta Was this translation helpful? Give feedback.
-
Log from first message is from "OS load" scenario. Here is log from "Quit" scenario: bochs_leaks_quit.txt.
I'm just getting crash in "Quit" scenario if I do it. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
I have created PR which supposed to reduce the list significantly |
Beta Was this translation helpful? Give feedback.
-
~37 times less leaks now. |
Beta Was this translation helpful? Give feedback.
-
Good. I did not triggered that code paths yet, so no changes in my leak reports.
Something similar is possible also with MS CRT, but it requires some coding. |
Beta Was this translation helpful? Give feedback.
-
Fresh dumps: bochs_leaks3.txt (37 leaks) bochs_leaks3_quit.txt (55 leaks). |
Beta Was this translation helpful? Give feedback.
-
Please try again with the latest code. It works on Windows with and without plugin support present and should fix memory leaks in the devices and gui code. |
Beta Was this translation helpful? Give feedback.
-
bochs_leaks4_quit.txt now have 24 leaks. Bochs/bochs/iodev/display/vga.cc Line 54 in 890a1be
|
Beta Was this translation helpful? Give feedback.
-
Microsoft C Runtime library have feature which allows to track memory leaks.
I enabled it, started simple FreeDOS VM, powered it off and got the list of leaked objects: bochs_leaks.txt.
I doubt that most of these leaks are important.
However, thousands of unimportant leaks may be hiding several important ones.
So it may have sense to lower leak amount to zero.
I understand that leak hunting may be not very fun activity.
But I'm reporting it anyway.
Beta Was this translation helpful? Give feedback.
All reactions