This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

SYS/BIOS Hwi stack overflow

Hello

      When I run sys/bios 6.31.04.27 ,my program shows excessive high stack usage.

I have increased the system stack size to 65536 bytes , but the HwiStackPeak shown

in the ROV is also 65536 !  it seems no mater how large the stack size I assigned, the program

always used up "all" the available stack size. Can anyone give me the hint why this could

happen ?

Thanks ! 

  • Chechun,

    Most likely something is clobbering the top of your stack.  The stack is init with a special cookie...[BEBEBEBE].  If the top of the stack is clobbered, you will not see this value there.  You will know if something clobbered just the top of the stack if only the top does not have BEBEBEBE but near the top you see lots of BEBEBEBE.

    Judah