Solved

windbg - how to get one stack up?

Posted on 2012-04-01
6
685 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 76

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 76

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
Do email signature updates give you a headache?

Constantly trying to correctly format email signatures? Spending all of your time at every user’s desk to make updates? Want high-quality HTML signatures on all devices, including on mobiles and Macs? Then, let Exclaimer solve all your email signature problems today!

 
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 76

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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Suggested Solutions

To effectively work with Diskpart on a Server Core, it is necessary to write some small batch script's, because you can't execute diskpart in a remote powershell session. To get startet, place the Diskpart batch script's into a share on your loca…
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…
This tutorial will walk an individual through the steps necessary to configure their installation of BackupExec 2012 to use network shared disk space. Verify that the path to the shared storage is valid and that data can be written to that location:…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

762 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now