IIS crashes and restarts without dropping a mini-dump

后端 未结 3 954
隐瞒了意图╮
隐瞒了意图╮ 2021-01-24 00:20

I have a tough scenario I\'m trying to debug... On a web forms page, when I click submit, the web server hits some error and restarts the w3svc process.

I do not see any

相关标签:
3条回答
  • 2021-01-24 00:45

    I would use something like Procdump to get a memory dump when the process terminates and look for exception and call-stack.

    -t Write a dump when the process terminates.

    FYI...what you see in EventViewer is Watson buckets which tells which application and module had an unhandled exception. From your log it looks like kernelBasewas the faulting module.

    0 讨论(0)
  • 2021-01-24 00:58

    To create a memory dump for a crashing application, you can use either DebugDiag or adplus. Either will monitor the process, and generate a dump file when the crash occurs. DebugDiag can also analyze dump files and generate an issue report (similar to the "!analyze -v" command in WinDbg.)

    DebugDiag can be downloaded here.

    You should find adplus installed with the Debugging Tools for Windows - which is the same installer that contains WinDbg.

    0 讨论(0)
  • 2021-01-24 01:03

    I suspect that you make a loop call like

    public string sMyText
    {
       get {return sMyText;}
       set {sMyText = value;}
    } 
    

    and you call the sMyText

    or something like

    protected override void OnLoad(EventArgs e)
    {
      base.OnInit(e);
    }
    

    or something like

    Server.Transfer("TheSamePage.aspx");
    

    In this cases the crash is not call the minidump. Can you run the process explorer and see if your pool is eat the cpu until is crash ?

    0 讨论(0)
提交回复
热议问题