Solved

windbg - how to get one stack up?

Posted on 2012-04-01
6
689 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 77

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 77

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
Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

 
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 77

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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Redirected folders in a windows domain can be quite useful for a number of reasons, one of them being that with redirected application data, you can give users more seamless experience when logging into different workstations.  For example, if a use…
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 walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…

791 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