AnsweredAssumed Answered

Suspected Stack Overflow - how to detect/confirm?

Question asked by Michael Predko on Nov 11, 2010
Latest reply on Nov 12, 2010 by Michael Predko

Hi Folks,


In the main process of my application, inside one function, I call another function which uses the tty(b) driver to send out an ASCIIZ string.  When this function is called, the app crashes (and causes a segmentation fault on my PC which is running CW when I'm debugging - which is strange). 


However, if the error condition which causes the upchuck during the tty write does not occur, execution continues normally - in fact, the tty ASCIIZ function is called later in the program to give a status and there are no issues. 


I suspect that I have a stack issue in the main process - is there any way to confirm that this is what's happening? 


Does anybody have any ideas why CW has the crash as well?