[ndnSIM] Simulation terminated with signal SIGSEGV - possible bug

John Baugh jpbaugh at umich.edu
Sun May 6 05:39:31 PDT 2018


Looks like a heap corruption of some sort.

Can we try valgrind?

This may help:.
http://www.lists.cs.ucla.edu/pipermail/ndnsim/2017-July/003991.html

Thanks

John

On Sun, May 6, 2018, 7:35 AM Thiago Teixeira <tteixeira at umass.edu> wrote:

> Hi,
>
>
>
> Thanks for your answers. I ran the simulation again and posted the gdb
> back trace full on the Gist (
> https://gist.github.com/thiteixeira/8c4fd1deb884b548d1f071ebb1bee043#file-gbd_bt_full_output-txt
> )
>
>
>
> @John, I will try ndnSIM 2.4, thanks.
>
>
>
> Best,
>
> Thiago
>
>
>
> *From:* John Baugh [mailto:jpbaugh at umich.edu]
> *Sent:* Saturday, May 5, 2018 6:16 PM
> *To:* Thiago Teixeira <tteixeira at umass.edu>
> *Cc:* ndnsim at lists.cs.ucla.edu
> *Subject:* Re: [ndnSIM] Simulation terminated with signal SIGSEGV -
> possible bug
>
>
>
> Thiago,
>
>
>
> I was able to run your scenario in ndnSIM 2.4.  So I suspect this is
> either an introduced bug in the simulator itself, or perhaps there's
> something not correctly configured in your environment.
>
>
>
> I can't reproduce the error, so as Dr. Shi suggested, it would be useful
> to see your GDB and/or Valgrind output.
>
>
>
> Thanks!
>
>
>
> John
>
>
>
> On Sat, May 5, 2018 at 9:23 AM, Thiago Teixeira <tteixeira at umass.edu>
> wrote:
>
> Hi all,
>
>
>
> We have a scenario where nodes have two interfaces, one wireless and one
> wired. Nodes are position on a grid fashion and the producer is located in
> the center of the grid.
>
> We run this scenario for 4,000 seconds, but the simulation ends at 2,099
> seconds with the code
>
>     Command ['/home/vagrant/ndnSIM/ns-3/build/scratch/ndn-debug-scenario']
> terminated with signal SIGSEGV. Run it under a debugger to get more
> information (./waf --run <program> --command-template="gdb --args %s
> <args>").
>
>
>
> Running with GDB didn’t offer any other insights. Here are the steps to
> reproduce the issue:
>
>
>
> #### Expected behavior
>
> Simulations run until the specified time Simulator::Stop(Seconds(4000.0));
>
>
>
> #### Actual behavior
>
> Simulations crash (see error message below) before
> Simulator::Stop(Seconds(4000.0));
>
>
>
> `Command ['/home/vagrant/ndnSIM/ns-3/build/scratch/ndn-debug-scenario']
> terminated with signal SIGSEGV. Run it under a debugger to get more
> information (./waf --run <program> --command-template="gdb --args %s
> <args>").`
>
>
>
> #### Code to reproduce the problem
>
> See Gist:
>
> https://gist.github.com/thiteixeira/8c4fd1deb884b548d1f071ebb1bee043
>
>
>
> #### ndnSIM version
>
> ndnSIM-2.5-2-ge674a01
>
>
>
> #### Operating system and version
>
> Ubuntu 16.04.4 LTS
>
> memory size: 2000MiB
>
> 1 cpu: Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz
>
>
>
> #### Other relevant information
>
> compiled ndnSIM using the optimized version:
>
> ./waf configure -d optimized
>
>
>
> Increasing the number of nodes makes the simulation crash at an earlier
> time.
>
>
> _______________________________________________
> ndnSIM mailing list
> ndnSIM at lists.cs.ucla.edu
> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20180506/d8be0e91/attachment.html>


More information about the ndnSIM mailing list