On 2006-02-23 Philip Levis wrote:
> By definition, a particular CPU instruction has to cause the segfault.
> This means that it's within a particular function. What function is it
> in?
>
> Phil


I've found that the segfault occurs within

void event_tossim_msg_create(event_t *fevent, TOS_MsgPtr msg, int dest)

Just in : msgev->msg = (TOS_MsgPtr)malloc(sizeof(TOS_Msg));

But this doesn't happen always this line is executed. In the beginning
it works fine, but after a short time it gives the segfault.

Any idea of what can be happening?

Thanks in advance

Helios Aliaga

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

Reply via email to