Solved

windbg - how to get one stack up?

Posted on 2012-04-01
6
708 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
6 Comments
 
LVL 79

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 79

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
Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

 
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 79

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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
This article provides a convenient collection of links to Microsoft provided Security Patches for operating systems that have reached their End of Life support cycle. Included operating systems covered by this article are Windows XP,  Windows Server…
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 process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…
Suggested Courses

617 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