DSR Problem--- assert failed. cond="result_i.second", msg="Error in creating queues"

67 views
Skip to first unread message

Adwitiya Mukhopadhyay

unread,
Oct 8, 2016, 2:20:19 AM10/8/16
to ns-3-users
Hi friends!
I am using NS 3.26 and am trying to simulate a network with 328 nodes where mobility is received from SUMO using Ns2MobilityHelper. 
I use 802.11n for transmission.
My program works well with AODV, but when I use DSR, I get this error:
assert failed. cond="result_i.second", msg="Error in creating queues"

I checked these threads but I guess the bug mentioned is already fixed... : 

Kindly help me understand where I am going wrong...
dsr-test4.cc

Tommaso Pecorella

unread,
Oct 9, 2016, 6:44:39 PM10/9/16
to ns-3-users
msg="Could not open trace file scratch/lte-test3.tcl for reading, aborting here 
", file=../src/mobility/helper/ns2-mobility-helper.cc, line=189

Adwitiya Mukhopadhyay

unread,
Oct 10, 2016, 1:20:22 AM10/10/16
to ns-3-users
Thanks a lot Tommaso for looking into my problem. Sorry about the tcl file. Had forgotten to attach it... 
Google is not allowing me to upload the tcl file as it exceeds the max size limit. My file size is 24 MB... The google drive link is here...
Message has been deleted

Adwitiya Mukhopadhyay

unread,
Oct 10, 2016, 1:31:15 AM10/10/16
to ns-3-users
Hi Tommaso, I solved the previous error. I think it was being caused by incorrect order of events in the simulation file... But am getting a new error after some packets get transferred...
assert failed. cond="mainVector.front () == source", file=../src/dsr/model/dsr-options.cc, line=894
terminate called without an active exception
I guess it is because a route is not found, but not sure... Have attached the new file.
Link to tcl file is here:
dsr-test6.cc
Reply all
Reply to author
Forward
0 new messages