Hello,
Is there a way to determine the max size of the kernel stack as well
as how much of the stack is currently being used? I am getting a
bizarre double-fault blue screen and I think overflowing the stack is
the cause.
Thanks
Hello,
Is there a way to determine the max size of the kernel stack as well
as how much of the stack is currently being used? I am getting a
bizarre double-fault blue screen and I think overflowing the stack is
the cause.
Thanks
Are you performing recursive/reentrant operations or declaring large local variables on the stack?
IoGetRemainingStackSize will return you information about the remaining available stack space.
-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Jonathon
Sent: Wednesday, February 24, 2010 3:02 PM
To: Kernel Debugging Interest List
Subject: [windbg] Determining size of kernel stack?
Hello,
Is there a way to determine the max size of the kernel stack as well
as how much of the stack is currently being used? I am getting a
bizarre double-fault blue screen and I think overflowing the stack is
the cause.
Thanks
WINDBG is sponsored by OSR
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer
Additionally, if you are looking for this information in the debugger, check out ‘knf’ which will give you a break-down of stack usage on a per-stack-frame basis. Also, the !pcr command will show you the current stack limits for the current CPU. (If you are operating in the context of a DPC, there are special considerations.)
-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Skywing
Sent: Wednesday, February 24, 2010 3:18 PM
To: Kernel Debugging Interest List
Subject: RE: [windbg] Determining size of kernel stack?
Are you performing recursive/reentrant operations or declaring large local variables on the stack?
IoGetRemainingStackSize will return you information about the remaining available stack space.
-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Jonathon
Sent: Wednesday, February 24, 2010 3:02 PM
To: Kernel Debugging Interest List
Subject: [windbg] Determining size of kernel stack?
Hello,
Is there a way to determine the max size of the kernel stack as well
as how much of the stack is currently being used? I am getting a
bizarre double-fault blue screen and I think overflowing the stack is
the cause.
Thanks
WINDBG is sponsored by OSR
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer
WINDBG is sponsored by OSR
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer
Thanks S for the help. Very cool!
On Wed, Feb 24, 2010 at 3:28 PM, Skywing wrote:
> Additionally, if you are looking for this information in the debugger, check out ‘knf’ which will give you a break-down of stack usage on a per-stack-frame basis. ?Also, the !pcr command will show you the current stack limits for the current CPU. ?(If you are operating in the context of a DPC, there are special considerations.)
>
> - S
>
>
> -----Original Message-----
> From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Skywing
> Sent: Wednesday, February 24, 2010 3:18 PM
> To: Kernel Debugging Interest List
> Subject: RE: [windbg] Determining size of kernel stack?
>
> Are you performing recursive/reentrant operations or declaring large local variables on the stack?
>
> IoGetRemainingStackSize will return you information about the remaining available stack space.
>
> - S
>
> -----Original Message-----
> From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Jonathon
> Sent: Wednesday, February 24, 2010 3:02 PM
> To: Kernel Debugging Interest List
> Subject: [windbg] Determining size of kernel stack?
>
> Hello,
>
> Is there a way to determine the max size of the kernel stack as well
> as how much of the stack is currently being used? ?I am getting a
> bizarre double-fault blue screen and I think overflowing the stack is
> the cause.
>
> Thanks
>
> —
> WINDBG is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer
>
> —
> WINDBG is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer
>
> —
> WINDBG is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer
>
!thread will tell you what the stack limits are.
–
Jake Oshins
Hyper-V I/O Architect
Windows Kernel Group
This post implies no warranties and confers no rights.
“Jonathon” wrote in message news:xxxxx@windbg…
> Hello,
>
> Is there a way to determine the max size of the kernel stack as well
> as how much of the stack is currently being used? I am getting a
> bizarre double-fault blue screen and I think overflowing the stack is
> the cause.
>
> Thanks
>