Segmentation fault (core dumped). SORTING LISTS.... DONE! not performed in NS2
I cloned AODV protocol by taking a reference to this blog.
https://surajpatilworld.blogspot.in/...ol-in-ns2.html after completing every step, I finally ran my tcl file. I got a SEGMENTATION FAULT (CORE DUMPED). Code:
ns try1.tcl |
Try running with strace to see what's happening just prior to the seg fault. It's probably and error in the code, but you never can tell until you look into it a bit.
|
1 Attachment(s)
Thank you for replying.
if you could help, I have attached my aodv.cc |
Quote:
|
Quote:
Sorry, but I wanted if somebody could just take a look. and I would have posted the strace but I dont know how to do that. |
Quote:
Quote:
|
thank you for letting me know that but I was talking about the STRACE COMMAND.
if you could tell me that, I can post EXACTLY HOW I POSTED THE CODE!! |
Ref. post #1.
The purpose of "TAODV" was never mentioned https://surajpatilworld.blogspot.in/...ol-in-ns2.html ? Do you know the benefits of the code ? The code may be buggy. May have worked with one OS the day it was created ... years ago. ? Have you tested the "TAODV protocol" with all default AODV examples→ https://drive.google.com/file/d/1uOv...ew?usp=sharing Note : There are lots of well tested protocols to add (150?) https://drive.google.com/drive/folde...00?usp=sharing ... often with multiple simulation examples → https://drive.google.com/drive/folde...Ws?usp=sharing - |
Quote:
|
Quote:
Quote:
|
Quote:
i am new to ubuntu and ns, therefore, I don't know how to proceed with capturing the strace. please tell me how it is done and ill provide you the .txt i am working on ubuntu 14.04 and ns-2.34. i really need help in this, else i would fail my semester. |
Please answer to the questions in post #8.
? What is the purpose of TAODV ? ? Have you tested the "TAODV protocol" with all default AODV examples https://drive.google.com/file/d/1uOv...ew?usp=sharing - |
Quote:
In my project i am trying to compare TAODV AODV on the bases of energy, throughput, delay and drop. the aim is to minimize on these redundant RREQ packets, or alternatively, drop as much as possible of these redundant RREQ packets by using randomization. |
Quote:
Run strace followed by the > and it will go into whatever filename you type AFTER the >. Attach it. Simple, although the copy/paste is VERY obvious, and ignored at least twice now. Quote:
If you can't/won't do such things, there is little anyone can to do help you. |
Looks like you are working with LEACH too ?
→ #34 https://www.linuxquestions.org/quest...095/page3.html Do not expect TAODV to be usable in an ns-2.34 with LEACH. - |
All times are GMT -5. The time now is 01:12 PM. |