Hello!

I had the same problem. Maybe the cause is similar.

Note that for each node you have to invoke addNoiseTraceReading at least as
many times as you want invoke t.runNextEvent.

Hope it helps,
Andrzej Biernacki

On Tue, Jan 12, 2010 at 9:57 PM, YUSNAIDI MD YUSOF <
yusnaidi.md-yu...@newcastle.ac.uk> wrote:

> Hi All,
>
> Does anybody know why TOSSIM signals 'Segmentation fault' while simulating
> boot events. I got 2 nodes to boot using TOSSIM; when I limit the
> t.runNextEvent to 10, the
> simulation goes well; however, when I change the t.runNextEvent to say 100,
> the simulation gives an error 'Segmentation fault' at the last line of the
> simulation processes.
>
> Here is what I got when I set t.runNextEvent to 10 in python,
>
> 1. Python script:
>
> for i in range(0,2):
>    t.getNode(i).bootAtTime((t.ticksPerSecond() / 10) * i + 5)
>
> for i in range(0,10):    <-------- when the range is small
>  t.runNextEvent();
>
> and the output:
>
> DEBUG (0): Node booted.
> DEBUG (1): Node booted.
>
>
>
> 2. Python script:
>
> for i in range(0,2):
>    t.getNode(i).bootAtTime((t.ticksPerSecond() / 10) * i + 5)
>
> for i in range(0,100):    <---- when I change the range to 100
>  t.runNextEvent();
>
> and the output:
>
> DEBUG (0): Node booted.
> DEBUG (1): Node booted.
> Segmentation fault      <------ TOSSIM signals this error
>
>
> Any kind help would highly appreciated.
>
> thanks
>
> Yusnaidi
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help@millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
_______________________________________________
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to