Link to home
Start Free TrialLog in
Avatar of longjumps
longjumps

asked on

windbg - how to get one stack up?

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..."?
SOLUTION
Avatar of arnold
arnold
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of longjumps
longjumps

ASKER

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.
This is an iis worker process, you need to use the iis related debugger offered that may help in diagnosing your issue.
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.
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
not exact