[ns] AODV segmentation fault in Priqueue.cc filter()

Valerie Alandzi val_larim at yahoo.ca
Mon Apr 4 13:56:58 PDT 2005


   Hi,

When I run AODV simulations, I get a segmentation
fault everytime  Priqueue::filter() gets called in
aodv rt_ll_failed(). Here is what I get from gdb:

Program received signal SIGSEGV, Segmentation fault.
0x08125b32 in PriQueue::filter(int) (this=0x0, id=8)
at queue/priqueue.cc:158
158             for(p = q_->head(); p; p = p->next_) {
(gdb) bt
#0  0x08125b32 in PriQueue::filter(int) (this=0x0,
id=8)
    at queue/priqueue.cc:158
#1  0x081edc4f in Para_Agent::rt_ll_failed(Packet*)
(this=0x8639ca8,
    p=0x870ef10) at para/para.cc:2529
#2  0x081eda12 in aodv_rt_failed_callback
(p=0x870ef10, arg=0x8639ca8)
    at para/para.cc:2475
#3  0x0810cb60 in Mac802_11::RetransmitRTS()
(this=0x863ad08)
    at mac/mac-802_11.cc:1489
#4  0x0810b934 in Mac802_11::send_timer()
(this=0x863ad08)
    at mac/mac-802_11.cc:938
#5  0x0810b87d in Mac802_11::sendHandler()
(this=0x863ad08)
    at mac/mac-802_11.cc:908
#6  0x0812916a in TxTimer::handle(Event*)
(this=0x863aea0)
    at mac/mac-timers.cc:204
........


Is this a bug in Ns2 or in my code ??? Is there a
solution to this ???? Your help is appreciated !!!

Regards,



-- 
Valerie Alandzi,
Master student,
Mobile Computing and Networking Research Laboratory,
Ecole Polytechnique de Montréal

______________________________________________________________________ 
Post your free ad now! http://personals.yahoo.ca



More information about the Ns-users mailing list