windbg Questions
6
Solved
Often I have to debug crashing C++ programs on Windows where I can reproduce the crash, but it is hard to determine what sequence of instructions in the code caused the crash (e.g. another thread o...
1
Solved
Firstly, is there a command for getting help and parameters for each sos command in windbg?
Secondly, I'd like to understand !syncblk output
Index SyncBlock MonitorHeld Recursion Owning Thread In...
1
My multithreaded app in C# 2.0 using threadpool hangs every few weeks or so in prod.
I did a syncblk
!syncblk
Index SyncBlock MonitorHeld Recursion Owning Thread Info SyncBlock Owner
201 05b94...
1
Solved
here is what I'm trying to solve. I have a crash dump from Google Chrome.
I open windbg and say File -> Symbol File Path:
"SRV*c:\code\symbols*http://msdl.microsoft.com/download/symbols;SRV*c:\co...
Homicidal asked 1/6, 2012 at 10:25
3
Solved
I have found multiple ways of creating dump file such using windows utitlity userdump and adplus.vbs and a few others.
There is one option that I have found in task manager seems to be the easiest...
1
Solved
I am trying to examine the assembly for an executable using WinDBG, but I am having a hard time getting to it. I want to set a breakpoint at the first instruction in my program, but when I try to d...
Stlaurent asked 25/5, 2012 at 18:29
1
Solved
When I use Windbg's "Open Executable..." functionality to use Windbg to step through an executable's execution, is it possible for me to specify command line parameters to be used when running the ...
Prichard asked 23/5, 2012 at 23:56
1
Solved
I need to know the base addresses where nt and win32k are loaded. I can find out this information by booting the system with kernel debugging enabled, start a kernel debug session, and run the comm...
Ulcerous asked 21/5, 2012 at 18:9
2
Solved
We are trying to analyze a w3wp memory dump using windbg and we found that w3wp process is crashing due to stack overflow. I loaded the psscor4.dll and got the call stack by issuing !clrstack. But ...
1
Solved
before i had see this question and answer: Use WinDbg to Write Contents of Managed Byte[] to File,but i have a question that the mention answer that write all bytes to the file( Method table pointe...
3
Solved
I have some code in C# and C++ ( in one project ).
This code have some crash and i trying t find it.
but this crash is not reproduce any time - and i can't find it.
I want to configure the code...
4
Solved
Often WinDbg will enter a state where it is *Busy* performing an operation.
Often this is due to some mistake I made trying to dt some_variable_itll_never_find or setting a break point somewhere ...
2
5
I have two overloads of a c++ function and I would like to set a breakpoint on one of them:
0:000> bu myexe!displayerror
Matched: 00000000`ff3c6100 myexe!displayError (int, HRESULT, wchar_t *)
...
1
Solved
I'm in visual studio 2008, and need to unload a specific module.
In windbg this would be accomplished with
.reload -u
but I can't find it's counterpart in VS, or any functionality relating to r...
Pruinose asked 21/6, 2011 at 23:43
1
Solved
I'm working with various (mostly Bluetooth) development boards (ConnectBlue, Ubertooth, USRPs etc.) in order to research about Bluetooth communication behaviour at PHY level. In order to get some m...
Cognizant asked 17/2, 2012 at 22:43
2
Solved
I have a crash file where I can see that one of my own VB6 user controls is responsible for the crash; i.e. one of its methods is part of the stack trace and I can see the line responsible.
From h...
1
Solved
In general I cannot find a listing of the meaning of the values that the different fields in WinDbg's output of the !analyze -v command can contain.
Searching is difficult due to the fact that the...
Murphy asked 30/1, 2012 at 15:6
2
Solved
Let's say I have a memory dump of a process. I want to run a report on it, so essentially I want to open WinDBG, load SOS and run a script that runs some commands, parses the output and then runs s...
Theadora asked 25/1, 2012 at 18:23
1
Solved
I am using WinDBG 6.12.0002.633 X86.
I'm having an issue with the command-line debugger CDB not showing the same results as WinDBG for the k and kL commands.
In WinDBG, the k command correctly ...
Salleysalli asked 17/1, 2012 at 16:55
4
Solved
In the last few months I've received few reports from QA about one of our services hanging. Upon examining a hang dump using WinDbg, every time I discovered the same thing: Loader lock critical sec...
Toxicant asked 15/1, 2012 at 6:15
1
Solved
I just want to find out which location does the WER write its dump file? Also is this location specific to OS?
Gaiety asked 6/1, 2012 at 21:36
2
Solved
It was a bug that I just found! Hooray. The bug was due to an incorrect downcasting, and indeed I was using static_cast instead of dynamic_cast.
My application is pretty large and multithreaded an...
2
Does anyone know how I can list all threads in WinDbg while kernel debugging. I have found older references that say ~ but that does not work.
Specifically, I am looking to the find the ID of a thr...
Maclaine asked 24/12, 2011 at 6:42
2
I am using the following code to create a minidump file whenever there is a structured exception generated from my code:
void CreateMiniDump( EXCEPTION_POINTERS* pep )
{
// Open the file
typede...
© 2022 - 2024 — McMap. All rights reserved.