Solved

windbg - how to get one stack up?

Posted on 2012-04-01
6
694 Views
Last Modified: 2012-04-18
how to get one stack up in WinDbg?

I loaded dump file from crash - "memory.hdmp" into WinDbg.
And I see the last stack when crashed was
" my_mod!xmlParseURIAuthority+0x391"

dd_mod_main!xmlParseURIAuthority+391 [c:\fullbuild\windows\isapi\libxml\libxml\uri.c @ 1569]
000007fe`f09a7681 668b040a        mov     ax,word ptr [rdx+rcx]

EXCEPTION_RECORD:  ffffffffffffffff -- (.exr 0xffffffffffffffff)
ExceptionAddress: 000007fef09a7681 (my_mod!xmlParseURIAuthority+0x0000000000000391)
   ExceptionCode: c0000005 (Access violation)
  ExceptionFlags: 00000000
NumberParameters: 2
   Parameter[0]: 0000000000000000
   Parameter[1]: 0000000000005566
Attempt to read from address 0000000000005566

PROCESS_NAME:  w3wp.exe

The stack I see:
STACK_TEXT:  
00000000`0196f098 000007fe`f0951277 : 00000000`02eb1dc0 00000000`0000000a 00000000`0000005e 00000000`0196f1d0 : dd_mod_main!xmlParseURIAuthority+0x391
00000000`0196f0a0 00000000`02eb1dc0 : 00000000`0000000a 00000000`0000005e 00000000`0196f1d0 00000000`033aea80 : my_mod!ILT+625(?ApplyRulesCMyModuleAEAA?AW4REQUEST_NOTIFICATION_STATUSPEAVIHttpContextAEAVCFilterHtRespHeadZ)+0x1
00000000`0196f0a8 00000000`0000000a : 00000000`0000005e 00000000`0196f1d0 00000
...

SO THE QUESTION WITH WinDbg COMMAND SHOULD i RUN TO GET UP ON THE PREVIOUS STACK BEFORE CRASH - "my_mod!ILT+625(?ApplyRulesCMyModuleAEAA?AW4RE..."?
0
Comment
Question by:longjumps
  • 3
  • 3
6 Comments
 
LVL 78

Assisted Solution

by:arnold
arnold earned 500 total points
ID: 37794513
!analyze -v
You need the iis Debugger rather than a general debugger
http://www.orcsweb.com/blog/jeff/using-iis-debug-diagnostics-to-troubleshoot-worker-process-cpu-usage-in-ii6/

Some useful info on using windbg
http://windbg.info/doc/1-common-cmds.html
0
 
LVL 1

Author Comment

by:longjumps
ID: 37799299
Command "!analyze -v" shows the crash stack.
But what if I want get up one stack/method up? Which command should I use?


Another thing, regarding Debug Diagnostic Tool, in x64 version that I used, it doesn't stop when crash happens. So it is useless here.
0
 
LVL 78

Expert Comment

by:arnold
ID: 37799330
This is an iis worker process, you need to use the iis related debugger offered that may help in diagnosing your issue.
0
Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 
LVL 1

Author Comment

by:longjumps
ID: 37807438
Which debugger should I use?

I tried Microsoft Debug Diagnostic Tool x64, but it doesn't catch me dumps and stop on crash despite I defined relevant rule.

Please advice.
0
 
LVL 78

Accepted Solution

by:
arnold earned 500 total points
ID: 37807471
0
 
LVL 1

Author Closing Comment

by:longjumps
ID: 37864172
not exact
0

Featured Post

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Background Information Recently I have fixed file server permission issues for one of my client. The client has 1800 users and one Windows Server 2008 R2 domain joined file server with 12 TB of data, 250+ shared folders and the folder structure i…
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
This tutorial will give a short introduction and overview of Backup Exec 2012 and how to navigate and perform basic functions. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as conne…
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…

713 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question