windbg Questions
2
Solved
I made a dump (using -ma option and a trigger for high CPU in procdump.exe) of a .NET process and I want to see the clues in a running thread about what my code was doing. I get this:
*** procdump...
1
Solved
How can I get a memory map in Windbg similar to Ollydbg's memory map functionality? I want to see a list of the address space sequentially showing what is loaded into each range, ideally with memor...
1
Solved
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.
Watermark asked 28/2, 2014 at 21:42
3
I have a crash dump for a customer's application built with a very old version of our dll (release build, don't have original symbols) that I've been analyzing in WinDbg.
In order to get more info...
Cung asked 19/2, 2014 at 16:23
2
Solved
Sometimes I'm debugging .NET applications but I don't know whether they will use .NET 2 or .NET 4. I want to break in when .NET gets loaded, so I do
sxe -c ".echo .NET4 loaded" ld clr
sxe -c ".ech...
Selfdeceit asked 12/1, 2014 at 21:41
1
I have a 32 Gigabyte dump file. !address -summary shows heap usage at 32.033 Gb but !heap -s shows all the heaps as small (2MB or less). Any ideas about the disparity between the two commands shown...
Kowalski asked 29/1, 2014 at 23:4
3
I am using windbg to debug a memory issues on Win7.
I use !heap -s and got following output.
0:002> !heap -s
LFH Key : 0x6573276f
Termination on corruption : ENABLED
Heap Flags Reserv Commit ...
Skewer asked 23/1, 2014 at 7:21
1
How can I analyze the unmanaged heap size of a .NET process with Windbg?
Which commands should be used in WinDbg?
Lashawna asked 28/1, 2014 at 8:2
1
Solved
I found "EE" is a magic word for me.
Inside CLR, there is a "EEClass", which is created by CLR class loader. And I don't know why it is called EEClass.
Now, come to the SOS world, there are more ...
5
Solved
I have a mindmp file from a target's application crash. Is it possible for me to rebuild the dll/pdb files for a version of software and have windbg load symbols correctly?
My problem is that our...
3
The .NET application crashes with the stack trace:
Call Stack:
Layouts!Layouts.Ribbon.SizeAndPositionControlViewModel+OnLayoutSelectionChanged>d__5.MoveNext()
mscorlib_ni!System.Runtime.Compi...
1
Solved
My problem is that dumpheap -stat returns an awful lot of objects and I have no idea which ones are rooted and which ones are not.
Well, I can if I run the !mroot or !refs command on an individual...
3
I have a dump of a .NET application which creates and loads too many dynamic assemblies. I would like to inspect what is inside one of these assemblies.
For that, I want to dump such an assembly i...
1
Solved
My problem is this:
0:000> !DumpHeap -type Microsoft.Internal.ReadLock -stat
------------------------------
Heap 0
total 0 objects
------------------------------
Heap 1
total 0 objects
--------...
1
Solved
When I load a crash dump in windbg (x64), version 6.3.9600.16384, and load the sos extension for .net, the first time I run the !threads command I get this error:
c0000005 Exception in C:\Windows\...
Plenty asked 18/12, 2013 at 15:10
3
Solved
I want figure out the call sequence and functions to kernel32.dll
in a function example() in example.DLL.
In windbg, how to set breakpoint on all functions in kernel32.dll?
I tried bm kernel32!*...
1
Solved
From analyzing a crash dump in Windbg, the following is the last call on the stack (obtained using clrstack):
00000000`1eeee410 00000000`ffffffff mscorlib_ni!System.Threading.WaitHandle....
1
Solved
WinDbg has the .if statement for conditional execution of commands:
.if (Condition) { Commands } .else { Commands }
For Condition, it's not possible to use WinDbg commands. Is there any indire...
Limoges asked 19/11, 2013 at 11:12
2
TL;DR: A Server GC enabled application shows dozens and dozens of special GC Threads and hangs overtime. What can explain that?
I'm stuck these days on a weird multi-threading/contention issue ...
Bunco asked 12/9, 2013 at 10:8
2
Solved
I'm trying to use windbg more, and I keep having problems with the symbol cache. It isn't clear to me what the format of the string is supposed to be.
I have a few requirements:
use Microsoft's se...
Distrustful asked 8/6, 2009 at 21:8
3
Solved
I have recently switched from native to managed code programming. I am using .NET.
Since i have been using Windbg for quite some time , i want to use it for managed code debugging as well.
My se...
1
Solved
I have set a breakpoint which should print a pointer and then continue, because I don't want to stop there.
bu 410cc8 ".printf \"Class: %08lX Filebuffer: %08X\\n\", eax, edx; g"
The problem wit...
Crevasse asked 12/10, 2013 at 12:43
2
Solved
On one production site our application(*) crashes repeatedly, but non-reproducibly. Analyzing the crash dumps clearly shows that it's a heap corruption: The crashes are at different location, but a...
Strength asked 26/9, 2013 at 8:35
1
Solved
I have a full memory dump but in this instance I don't have a user stack trace database to go with it, I have up to date symbols and the original binaries that go with the dump, normally, I've been...
Petroleum asked 11/9, 2013 at 6:58
2
Solved
I'm debugging a module for which I have only the .exe and a .pdb without private symbols.
During the debug session I need to inspect an internal struct. Obviously this struct does not appear in the...
Tithe asked 11/6, 2012 at 11:44
© 2022 - 2024 — McMap. All rights reserved.