Donny9 commented on PR #6665:
URL: https://github.com/apache/incubator-nuttx/pull/6665#issuecomment-1192150974

   > 
   
   
   
   > 
   
   
   
   > @Donny9
   > 
   > > Limit dump size when sp is not within stack. we need to limit this dump 
size because if the stack size of task is over syslog buffer, it will overwrite 
other dump message.
   > 
   > This is a use case limitation. Please make it conditional or deal with it 
another way.
   
   Hello, this is a common issue for dump super large stack? If sp isn't within 
stack,  this case usually not caused by stack overflow, if dump all stack, you 
will see that there are a lot of deadbeef(if color support) content in the 
lower stack, they are useless, so we need to rely on remain to ignore 
them(deadbeed).
   
   This PR will set limit size to 8K,  so when this case happened, dump_stack 
function will dump stack from base+remain --- base+remain + 8K(if stack grow 
from high addr to low addr), this can allows user to see the effective 
information they need. 
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to