Hi Esteban,
I guess this is the issue I fixed in the development branch
(sim-ns3-dev-branch).
https://github.com/direct-code-execution/net-next-sim/commit/793e2d6a3069aad93e40f362038fca0d67515fd7
you cannot apply the above patch to any other branch
(2.6.36-3.14) because the internal API and directory
structure are totally changed.
so I prepared the hotfix to all the branches. please try to
'git pull' at net-next-sim(-2.6.36), build it, and replace
liblinux.so: then see whether this fix the issue or not.
# I can't run your script because I don't have ../include/util.h.
-- Hajime
At Mon, 18 May 2015 10:47:01 -0700 (PDT),
Esteban . Coma wrote:
>
> [1 <multipart/alternative (7bit)>]
> [1.1 <text/plain; UTF-8 (quoted-printable)>]
> [EDIT]: I have been able to reproduce once again the sigsegv, happens in
> the once the simulator has already been some time executing.
>
>
> Program received signal SIGSEGV, Segmentation fault.
> [Changing to Thread 0x7fffef87e700 (LWP 14187)]
> __list_del (next=0x7fffee7002c0, prev=0x200200) at
> /home/n3w/gits/project_3.7.0/source/net-next-sim-3.7.0/include/linux/list.h:89
> 89 prev->next = next;
>
>
> I have no idea why this can be happening. Thank you.
>
>
> El lunes, 18 de mayo de 2015, 18:46:04 (UTC+2), Esteban . Coma escribió:
> >
> > Hello everyone,
> >
> > I'm trying to create a simulation with 3 different networks (left,
> > central, right) and a variable number of nodes on the left side of the
> > network, like this.
> >
> > C1 ----|
> > C2 ----|
> > |-- R1 ----- R2 ---- Server
> > .... ----|
> > Cn ----|
> >
> >
> > Network with all clients <---> R1 is a CSMA with DataRate *1Gbps */ Delay
> > *1ms*
> > Network R2 <---> Server is the same as left network
> > Central network ( R1 <---> R2) acts as a slow link having DataRate * 200Mbps
> > / * Delay * 98ms*
> >
> > An iperf server would be running in the Server, and all C1 to Cn would be
> > sending traffic to the server to create congestion.
> > The C1 sends a file size of = *512K*, and the rest of the Clients send
> > background traffic of size = *2048K.*
> >
> > The idea is perform sets of simulations changing the number of nodes that
> > send traffic from the left side starting from 2, 4, 6 and 8 nodes.
> >
> > I am currently using DCE 1.5 and ns-3.22 and installing the Linux TCP
> > stack in all nodes. The problem is, regardless the linux kernel version I
> > am using (I am performing simulations in every stable kernel branch
> > supported by DCE (*2.6*, *3.7*, *3.10*, *3.12*).
> >
> > When I run simulations say for a fixed kernel version: 2.6.36, I get
> > SIGSEGV in a completely random way, and sometimes SIGBUS.
> >
> > I've traced and modified all parameters that I could think in the
> > simulation, and debugged the script, but the segmentation fault happens
> > once the simulation
> > has already started after Simulator::Run(), and never when I run it with 2
> > nodes, but sometimes with 4 nodes, 6, 8, etc.. with no apparent fixed
> > sequence.
> >
> > Gdb states that the segmentation fault happens when trying to access a
> > member of a list but inside a linux function. I can only think of any issue
> > regarding putting through too much memory pressure, but it completely
> > escapes my understanding so far.
> >
> > I also attach my script in case someone checks something I could have
> > missed.
> > Please, anything would be of help, thank you.
> >
> >
> >
>
> --
> 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 post to this group, send email to
ns-3-...@googlegroups.com.
> Visit this group at
http://groups.google.com/group/ns-3-users.
> For more options, visit
https://groups.google.com/d/optout.
> [1.2 <text/html; UTF-8 (quoted-printable)>]
>