<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Suspected Stack Overflow - how to detect/confirm? in MQX Software Solutions</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/Suspected-Stack-Overflow-how-to-detect-confirm/m-p/162596#M1366</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mark,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you - that sounds like a good suggestion.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I increased the task's stack by 256 bytes and the problem has gone away.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm still curious as to why I had the problem with CW and the PC it is running on - anybody have any ideas?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;myke&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Nov 2010 12:46:31 GMT</pubDate>
    <dc:creator>mykepredko</dc:creator>
    <dc:date>2010-11-12T12:46:31Z</dc:date>
    <item>
      <title>Suspected Stack Overflow - how to detect/confirm?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Suspected-Stack-Overflow-how-to-detect-confirm/m-p/162594#M1364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Folks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;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.&amp;nbsp; 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).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;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.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I suspect that I have a stack issue in the main process - is there any way to confirm that this is what's happening?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anybody have any ideas why CW has the crash as well?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanx,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;myke&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Nov 2010 04:27:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Suspected-Stack-Overflow-how-to-detect-confirm/m-p/162594#M1364</guid>
      <dc:creator>mykepredko</dc:creator>
      <dc:date>2010-11-12T04:27:40Z</dc:date>
    </item>
    <item>
      <title>Re: Suspected Stack Overflow - how to detect/confirm?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Suspected-Stack-Overflow-how-to-detect-confirm/m-p/162595#M1365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You may try to use the task aware debugging (TAD) in codewarrior. It shows you the stack memory and stack overflow situations.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Nov 2010 06:47:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Suspected-Stack-Overflow-how-to-detect-confirm/m-p/162595#M1365</guid>
      <dc:creator>LordMark</dc:creator>
      <dc:date>2010-11-12T06:47:28Z</dc:date>
    </item>
    <item>
      <title>Re: Suspected Stack Overflow - how to detect/confirm?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Suspected-Stack-Overflow-how-to-detect-confirm/m-p/162596#M1366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mark,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you - that sounds like a good suggestion.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I increased the task's stack by 256 bytes and the problem has gone away.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm still curious as to why I had the problem with CW and the PC it is running on - anybody have any ideas?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;myke&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Nov 2010 12:46:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Suspected-Stack-Overflow-how-to-detect-confirm/m-p/162596#M1366</guid>
      <dc:creator>mykepredko</dc:creator>
      <dc:date>2010-11-12T12:46:31Z</dc:date>
    </item>
  </channel>
</rss>

