Determining the cause of a segfault in RTEMS

Tether, Stephen A. tether at slac.stanford.edu
Wed Mar 13 02:23:43 UTC 2013



On Mar 12, 2013, at 7:03 PM, "Joel Sherrill" <Joel.Sherrill at oarcorp.com> wrote:
> That is very helpful, thanks. I'm doing some string copying on arrays
> allocated on the stack, which is what I suspected is causing it, but then I
> dismissed it because I knew for sure that I'm not copying anything larger
> than what the array can hold. But I guess I should take a better look at the
> copying code now as I hadn't considered the fact that embedded targets tend
> to have small stacks.

The strings might fit into the arrays but do the arrays fit into the stack?

- Steve Tether





More information about the users mailing list