> Date: Tue, 27 Oct 2009 10:02:56 -0700
> From: Philip Levis <[email protected]>
> Subject: Re: [Tinyos-help] segmentation fault
> To: Jinkyu Koo <[email protected]>
> Cc: [email protected]
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
>
> On Oct 27, 2009, at 9:44 AM, Jinkyu Koo wrote:
>
> > Thanks, Kurt and Phil.
> > As you two pointed out the different aspects,
> > I am still not sure if it is due to my own mistake, or Tossim's
> > problem
> > with the newest gcc.
> > But, regarding that my simulation stops when there is no event in the
> > middle of running and I have already spent plenty of time in
> > debugging,
> > I think I now need to go in depth toward gcc version conflict issue.
>
> Chances are it's a bug in your program. It could be a gcc issue, but
> that's much less likely. I'd try running TOSSIM in gdb to see where
> the segfault is.
>
> Phil
I don't want to question your programming skills, but I have to agree with
Phil. I'd be checking how you're casting pointers and memory allocation
assignments.
Kurt
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help