memory-dump

Extract process dump from full memory dump

北城余情 提交于 2019-12-10 17:45:37
问题 I've reached a bug, but I was unable to create a process dump. I've created a full memory dump of system. How could I extract a process dump using it? Windows . 回答1: You cannot. In general, some of the memory segments that belong to your process could be paged out and not resident in physical memory. This means that with full kernel memory dump you are not guaranteed to reconstruct process address space. In many cases you can extract useful information about process from kernel dump. However

Tool for analyzing .Net app memory dumps

☆樱花仙子☆ 提交于 2019-12-05 10:19:22
问题 Can somebody suggest a good free tool for analyzing .Net memory dumps other than Adplus/windbg/sos ? 回答1: You can load sos and your memory dump into Visual Studio to at least insulate you from the 'interesting' ui that WinDbg presents. 回答2: You can try out DebugDiag 1.1 回答3: Take a look at SOS Assist, it provides a GUI around SOS. 回答4: I fully recommend .Net Memory Profiler. Beside being a great live memory profiler for .Net applications, it can also load memory dumps, and let you traverse

Get deadlock detection from running programm or dump in Java

走远了吗. 提交于 2019-12-04 04:05:56
问题 I have a piece of running java software that is jammed. I would like to get a view inside but have got no idea how to do that. Is there some tool that I can give a PID and it will tell me where every thread is currently located and maybe a few values of the variables as well? I'm running linux. I more or less know what is causing the problem, but there a still a few possible cases, therefor pinpointing it would be nice. I can't reproduce the error because it only appears every few days and

How can I create objects based on dump file memory in a WinDbg extension?

て烟熏妆下的殇ゞ 提交于 2019-12-03 03:44:59
I work on a large application, and frequently use WinDbg to diagnose issues based on a DMP file from a customer. I have written a few small extensions for WinDbg that have proved very useful for pulling bits of information out of DMP files. In my extension code I find myself dereferencing c++ class objects in the same way, over and over, by hand. For example: Address = GetExpression("somemodule!somesymbol"); ReadMemory(Address, &addressOfPtr, sizeof(addressOfPtr), &cb); // get the actual address ReadMemory(addressOfObj, &addressOfObj, sizeof(addressOfObj), &cb); ULONG offset; ULONG

Restore memory dump

人盡茶涼 提交于 2019-12-01 08:45:28
If in testing on a computer without a debugger, say a client's computer, I encounter a bug that may have corrupted the state of the program but not actually crashed it, I know I can take a memory dump using the Windows Task Manager (right click on process name, create dump file). I can use these with WinDbg to peek around in memory, etc., but what would be most useful to me is to be able to restore the dump into memory so that I can continue interacting with the program. Is this possible? If so, how? Is there a tool that can restore it or do I need to write my own. The typical usermode dumps

Restore memory dump

╄→尐↘猪︶ㄣ 提交于 2019-12-01 07:04:58
问题 If in testing on a computer without a debugger, say a client's computer, I encounter a bug that may have corrupted the state of the program but not actually crashed it, I know I can take a memory dump using the Windows Task Manager (right click on process name, create dump file). I can use these with WinDbg to peek around in memory, etc., but what would be most useful to me is to be able to restore the dump into memory so that I can continue interacting with the program. Is this possible? If

How to analyze a dump file from a Delphi DLL file?

北战南征 提交于 2019-11-30 01:53:19
I'm an escalation engineer on a product which use both C# and Delphi 2006 code. In most cases C# issues are debugged with WinDbg and Delphi 2006 issues with EurekaLog . But when the issue is a Delphi memory usage, EurekaLog doesn't give enough information to fix the issue, and the only thing I have for debug it is a full memory dump file. I cannot (or I don't know how to) load the symbol file in WinDbg, because it is a .map file and not a .pdb file. So my questions are: How do I load the symbols from a .map file in WinDbg? (Converting .map to .pdb or other.) Is there a tool to analyze the dump

How to analyze a dump file from a Delphi DLL file?

邮差的信 提交于 2019-11-28 23:28:50
问题 I'm an escalation engineer on a product which use both C# and Delphi 2006 code. In most cases C# issues are debugged with WinDbg and Delphi 2006 issues with EurekaLog. But when the issue is a Delphi memory usage, EurekaLog doesn't give enough information to fix the issue, and the only thing I have for debug it is a full memory dump file. I cannot (or I don't know how to) load the symbol file in WinDbg, because it is a .map file and not a .pdb file. So my questions are: How do I load the

MAT (Eclipse Memory Analyzer) - how to view bitmaps from memory dump

大憨熊 提交于 2019-11-27 05:59:44
I'm analyzing memory usage of my Android app with help of Eclipse Memory Analyzer (also known as MAT). Sometimes I can find strange instances of android.graphics.Bitmap class, utilizing big portion of heap. Problem is what I can't find source of this bitmaps, no filename , no resourceID , nothing. All information what I can find for bitmap is following: There is a field mBuffer with array of image pixels, I assume. But it's in some internal Android format, not PNG. Question : how can I view image represented by this bitmap from memory dump? HitOdessit I have found a way to view such bitmaps:

MAT (Eclipse Memory Analyzer) - how to view bitmaps from memory dump

寵の児 提交于 2019-11-26 11:48:40
问题 I\'m analyzing memory usage of my Android app with help of Eclipse Memory Analyzer (also known as MAT). Sometimes I can find strange instances of android.graphics.Bitmap class, utilizing big portion of heap. Problem is what I can\'t find source of this bitmaps, no filename , no resourceID , nothing. All information what I can find for bitmap is following: There is a field mBuffer with array of image pixels, I assume. But it\'s in some internal Android format, not PNG. Question : how can I