Hello,

I have been recently having some problems that I think may be caused by
stack overflow. I found tos-ramsize (and stack-check make option) but came
up with some errors.

When testing apps/RadioCountToLeds with the iris platform, I get the
following:

cannot estimate stack depth due to recursive loop of length 3:
>   TaskletC__Tasklet__schedule @ 1862 -> TaskletC__doit @ f18
>   TaskletC__doit @ f18 -> RF230DriverLayerP__Tasklet__schedule @ 1886
>   RF230DriverLayerP__Tasklet__schedule @ 1886 ->
> TaskletC__Tasklet__schedule @ 1862
> tos-ramsize FAIL at /usr/bin/tos-ramsize line 1543.
> make: [exe0] Error 255 (ignored)


When testing apps/tests/storage/Config with the iris platform, I get the
following:

cannot estimate stack depth due to recursive loop of length 2:
>   At45dbP__handleRWRequest @ 187e -> At45dbP__syncOrFlushAll @ 1d06
>   At45dbP__syncOrFlushAll @ 1d06 -> At45dbP__handleRWRequest @ 187e
> tos-ramsize FAIL at /usr/bin/tos-ramsize line 1543.
> make: [exe0] Error 255 (ignored)


Is it possible to remove these recursive loops, or is it something that I
just have to live with? Also, should I expect to see this error for any
other driver or protocol modules?

PS: I know that these are not the source of my problem, but I cannot run
stack-check on my application if parts other than my application are
failing stack-check.

Thanks,
--
Anderson Nascimento
Embedded Systems Engineer
Spensa Technologies, Inc
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to