hi,
i tried to execute my program in tinyos1.x under Tossim and i get a
segmentation fault(core dumped) message, which stop the execution (before
the end of simulation period)
i add that i had two warnings while compiling my application :
here is what i got :

*****$ make pc
mkdir -p build/pc
    compiling DDTest to a pc binary
ncc -o build/pc/main.exe -g -O0 -pthread -fnesc-nido-tosnodes=1000
-fnesc-simulate -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -target=pc
-fnesc-cfile=build/pc/app.c -board=micasb -DENABLE_GRADIENT_OVERRIDE -I.
-I../../tos/interfaces -I../../tos/system -I../../tos/lib
-I../../tos/platform/pc -DIDENT_PROGRAM_NAME=\"DDTest\"
-DIDENT_USER_ID=\"benhamida\" -DIDENT_HOSTNAME=\"XubunTOS-2\"
-DIDENT_USER_HASH=0x69fe3900L -DIDENT_UNIX_TIME=0x48916f16L
-DIDENT_UID_HASH=0x9df5d5cdL DDTest.nc -lm
/opt/tinyos-1.x/tos/platform/pc/external_comm.c: In function
'acceptConnection':
/opt/tinyos-1.x/tos/platform/pc/external_comm.c:158: warning: pointer
targets in passing argument 3 of 'accept' differ in signedness
/opt/tinyos-1.x/tos/platform/pc/PowerStateM.nc: In function
'__nesc_nido_initialise':
/opt/tinyos-1.x/tos/platform/pc/PowerStateM.nc:1066: warning: passing
argument 1 of 'memset' discards qualifiers from pointer target type
    compiled DDTest to build/pc/main.exe
****$ export DBG=usr1,usr3,error
****$ ./build/pc/main.exe -t=90 -b=0 -r=lossy -rf=./topologies/grid3x3 9 >
stat.txt
*Segmentation fault (core dumped)
*


have any one already experienced this issue ?
your fast suggestions are kindly appreciated
best regards
_______________________________________________
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to