0

Windows crash dump file analysis

Hi I have windows 10 and have developed an application using visual studio 2019. I have intentionally added a crash as below: Int main function has three function call which are into different cpp files. One function is allocating memory on heap, other is deleting heap allocation and third function try to write to heap memory which is freed using second function I am able to generate the crash minidump file of type dumptype as 2 This tells me that crash occured due to third function call , but i need to get details that which perticular line of the third function made crash to happen ? I am trying to analyse the dump file using visual studio only. Any thought to get more details like line number of third function ?

14th Jun 2022, 11:09 AM
Ketan Lalcheta
Ketan Lalcheta - avatar
1 Odpowiedź
+ 1
Hello, I'm learning relevant questions in C# as well, have you heard of Windbg.exe? It's a Microsoft debugger for decompiling files and locating the accurate variable address on memory and heap, stack dynamically during compiling. The following links are guides on MSDN https://docs.microsoft.com/en-us/windows-hardware/drivers/debugger/getting-started-with-windbg https://docs.microsoft.com/en-us/windows-hardware/drivers/debugger/user-mode-dump-files Hope this helps you.
24th Jun 2022, 2:32 AM
Yasswecancn
Yasswecancn - avatar