[Tinyos-help] tossim segfaults on a tutorial app in a Linux machine

Filipe Alves fmda at netcabo.pt
Wed Feb 28 07:39:33 PST 2007


Same problem here, and the answer to the questions are:

1)  The CVS tree, is like a week old. ( More on this later ).

2) The debugging revealed a segmentation fault to NULL pointer, caused by a
undefined function symbol.

This is all the information I can give at the present time as I don't 
have it
here at the moment.

As a final though, I suspect that the make system isn't compiling and 
linking to the
shared library, the functions that are defined in sim_*, radio.c, 
packet.c, etc...

Thanks,

Filipe

On Feb 27, 2007, at 10:49 AM, pavan kumar wrote:

        > I am having a similar kind of error as posted in the link
        >
        http://mail.millennium.berkeley.edu/pipermail/tinyos-help/2006-
        > December/021625.html
        >
        > Python 2.4.2 (#1, Feb 12 2006, 03:59:46)
        > [GCC 4.1.0 20060210 (Red Hat 4.1.0-0.24)] on linux2
        > Type "help", "copyright", "credits" or "license" for more
        information.
        > >>> from TOSSIM import *
        > >>> t = Tossim([])
        > >>> t.runNextEvent()
        > False
        > >>> m = t.getNode(32);
        > >>> m.bootAtTime(1000);
        > Segmentation fault
        > The link does not provide any solution, we would like to know
        how
        > you people
        > solved it.
        >

        Could you perhaps answer the two questions I asked in that
        thread?
        Since there was no answer, I couldn't give a solution...

        Phil






More information about the Tinyos-help mailing list