On Nov 13, 2006, at 12:33 PM, Andreas Wapf wrote:

I found that the fault is caused by a segmentation fault during the
call of  nmemcpy.

Here the output of gdb:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1210399056 (LWP 14693)]
0x0804a070 in nmemcpy (to=0x5, from=0x82e8a14, n=21)
   at /opt/tinyos-1.x//tos/system/tos.h:154
154       while (n--) *cto++ = *cfrom++;

Any workaround for this problem or is there something wrong in my
application? I never call nmemcpy.


What's calling nmemcpy?

Chances are you have passed a null pointer somewhere. Some component is trying to copy some values into it, and kaboom.

Phil
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to