Re: Unhandled exception when pushing esi



12KB is not the 'usual', it is the fixed unchanging size. 16KB on x64. The
kernel guys said that it would not be increased according to Microsoft at
one of the IFS PlugFests.


"Skywing" <skywing_NO_SPAM_@xxxxxxxxxxxxxxxxxxx> wrote in message
news:uW7IaPfgGHA.4276@xxxxxxxxxxxxxxxxxxxxxxx
`!thread' will tell you about the stack region for a particular thread
(assuming you have enough information saved in your dump file).

By default, non-GUI threads will have around 12K of kernel stack on x86
systems, I believe. If you need to check this at runtime, there is an
`IoGetRemainingStackSize' call that you can use in kernel mode.

"Oracle" <wong.kam.keung@xxxxxxxxx> wrote in message
news:1148763290.206786.302740@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Ivan,

Is there a way that I can check the currently used stack size for that
thread in the dump file? What will be the usual size limit for a kernel
stack for a thread?

Thanks for any advice.

Ivan Brugiolo [MSFT] wrote:
My wild guess would be that you have exhausted the kernel stack
for that thread, by either creating a large on-the-stack variable,
of, by calling some _alloca() derivative function.





.



Relevant Pages

  • Re: oops in :snd_pcm_oss:resample_expand+0x19c/0x1f0
    ... Thanks for trying out kdump. ... For example, the small script you wrote for saving the dump, is already ... "service kdump start" and initrd will be generated and kdump kernel will ... Currently we can use gdb but only for linearly mapped region. ...
    (Linux-Kernel)
  • [PATCH] kmsgdump-2.6.6.patch (was: Panics need better handling)
    ... I have prepared my floppy for a dump and everything seems ok, but I have not got any oopses yet :-) ... What is KMSGDUMP? ... +KMSGDUMP is an extension to the Linux kernel which allows the user on the ... +Even if there are cases in which you can dump at the end of a diskette without ...
    (Linux-Kernel)
  • Re: [Fastboot] [RFC] Kdump: Dump Capture Mechanism
    ... > The whole idea is that do all the processing from user space (preferably ... > into production kernel ASAP. ... > - It provides the basic dump capturing mechanism in kernel. ... Anything in the kernel that we use for crash dump capture ...
    (Linux-Kernel)
  • Re: Crash with recent kernel on wireless
    ... You should use the kernel image with the debugging symbols here. ... Dump Length: 190091264B ... pointer. ... Most of crashes even failed to save vmdump due to double faults. ...
    (freebsd-stable)
  • FreeBSD 6.1, crashes and a lack of vmcores
    ... These servers run under extremely high load through a majority of the day and run a mix of postfix, MySQL and custom filter software using MFS partitions. ... The biggest frustration in this is that of the few dozen crashes we've had I've only been able to get one successful dump. ... kernel: kernel dumps on /dev/ad0s1b ...
    (freebsd-hackers)