This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

puzzling data space overflow

In an inherited design where DATA is used to the hilt, I wanted to insert a 'general catcher' for debugging purposes in the process of doing so I got a puzzling data space overflow

 void tryitcatch1(woid)
{
//UCHAR  TTYCtemp;
//TTYCtemp = 1;
//BSIE_EA = DISABLE;
//while (TTYCtemp);
}
......
......
  for (toutctr = 60000 ; toutctr != 0 ; toutctr--)
  {
    if (j1708_pkt_incoming == FALSE) break;
  }
  if (toutctr == 0)
  {
    j1708_pkt_incoming = FALSE ;
tryitcatch1(); // SEE BELOW
  }

with
//tryitcatch1();
I get uncalled segment ...

with
tryitcatch1();
I get data space overflow

I am puzzled

Erik

0