Hi, Sometime Segmentation faults come due to Recursive timers. Can you send your code. That will be more easy to find the error.
Best, Poonam On Fri, Jan 22, 2010 at 3:33 AM, Riaz-ud-din Din <[email protected]>wrote: > Thank you for reply. I am already using this option. > > ------------------------------ > Date: Thu, 21 Jan 2010 19:08:37 +0000 > > Subject: Re: [Tinyos-help] Segmentation Fault > From: [email protected] > > To: [email protected] > > You can try @safe with module. That will check memory leaks and other > faults in the progam. > > Best, > Poonam Hiwal > > On Thu, Jan 21, 2010 at 6:15 PM, Riaz-ud-din Din > <[email protected]>wrote: > > I followed your instructions but I am facing the same problem i.e. > simulation works fine for less than 1000 nodes but gives segmentation fault > for greater than 1000 nodes. Please help me. Thanks, > riaz > > > Date: Wed, 20 Jan 2010 23:37:27 -0500 > > From: [email protected] > > To: [email protected] > > CC: [email protected] > > Subject: Re: [Tinyos-help] Segmentation Fault > > > > > Hi! > > > > On Thu, 21 Jan 2010, Riaz-ud-din Din wrote: > > > > > > > > I am facing segmentation fault while making noise model of more than > > > 1000 nodes, but it works perfectly when the nodes are less than 1000. > In > > > fact I want to do simulation for more than 1000 nodes to see the effect > > > > of different values of density, transmission radius, total field area > > > etc. for which I have to invove more than 1000 nodes even in the range > > > of 5000 nodes. Please help me to get rid of segmentation fault. thanks > > > in advance. > > > > The maximum number of nodes in TOSSIM is defaults to 1000. Here is the > > relevant part from tos/lib/tossim/tos.h: > > > > 74 #ifndef TOSSIM_MAX_NODES > > 75 #define TOSSIM_MAX_NODES 1000 > > 76 #endif > > > > So what you need to do is add a CFLAGS+=-DTOSSIM_MAX_NODES=5000 in your > > Makefile. > > > > -- > > Razvan ME > > ------------------------------ > Windows Live: Keep your friends up to date with what you do > online.<http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_1:092010> > > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > > > > ------------------------------ > Windows Live Hotmail: Your friends can get your Facebook updates, right > from > HotmailĀ®.<http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_4:092009> >
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
