ns2-roadv icon indicating copy to clipboard operation
ns2-roadv copied to clipboard

Segmentation Fault

Open Vickykhan95 opened this issue 7 years ago • 3 comments

AODV - Segmentation Fault

DSDV - Working good

DSR - Segmentation Fault

Vickykhan95 avatar Apr 09 '17 11:04 Vickykhan95

AODV- Segmentation Fault... any way to resolve that??

iamdj-97 avatar Apr 04 '18 06:04 iamdj-97

aodv and dsdv working good for me, but dsr was "segmentation fault"

Watamote17 avatar Dec 29 '18 04:12 Watamote17

In aodv.cc, rt has been declared but never defined. That's probably why the segmentation fault is coming.

rt is declared here: https://github.com/softvar/ns2-roadv/blob/4e787d5236da35b321a367282de6e28a16ba89bc/aodv.cc#L662

and used here: https://github.com/softvar/ns2-roadv/blob/4e787d5236da35b321a367282de6e28a16ba89bc/aodv.cc#L676

But in between, it hasn't been defined.

@softvar can you look into this please?

sar-gupta avatar May 23 '19 17:05 sar-gupta