Hello everyone.
I have implemented the OSPF routing protocol in NS3.
For a small number of users (e.g., 4 users) I have no problem and everything is well.
But, when I increase the number of users (e.g. 8 users), I continue to get Segmentation Fault errors (<Signals.SIGSEGV: 11>).
Using gdb, the code is interrupted in lines that do not have any problems.
I have figured out that this problem might be related to the fact that the buffer of the C++ compiler is full. (When I remove some unimportant variables, the error moves to other lines).
Hence, I cannot exactly determine which line is wrong, and after implementing a change (for example using "std::cout " to print a variable) the error moves to another line (especially, to the lines that I am trying to assign a new value to a variable) . That is why I didn't share my code here.
If anyone has any advice on how to prevent this kind of problem, I would appreciate it.
Thanks in advance.
--
Posting to this group should follow these guidelines https://www.nsnam.org/wiki/Ns-3-users-guidelines-for-posting
---
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-3-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ns-3-users/0701201a-9465-48bb-84ec-af5268e2aeaan%40googlegroups.com.