[ndnSIM] Fwd: Trace

Junior DONGO junior.dongo at lacl.fr
Wed May 24 21:48:21 PDT 2017


Hi all,

I am running simulations on ndnsim and having a fault segmentation.
Attach is the trace from a run under gdb.
It looks like it has something to do with the scheduler.
Any idea?

Thanks for your help

Junior
-------------- next part --------------
Future logs will be written to gdb.txt.
Logs will be appended to the log file.
Output will be logged and displayed.
(gdb) set overwrite on
No symbol "overwrite" in current context.
(gdb) set logging overwrite on
(gdb) show logging
Future logs will be written to gdb.txt.
Logs will overwrite the log file.
Output will be logged and displayed.
(gdb) run
Starting program: /home/dpdk/ndnSIM/ns-3/build/scratch/data-scenario data-scenario --dimension=10 --nbStorages=30 --segments=10 --replication=5 --cs=1000 --nCapacity=5 --mtbf=700 --mfd=100 --nbAdmin=3 --nbUser=10 --nbFailure=4 --speed=1000 --delay=10 --policy=Fifo --consumerRequests=exponential --runNumber=15
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
0x00007fffecff23a6 in ?? () from /usr/lib/libopen-pal.so.13
(gdb) where
#0  0x00007fffecff23a6 in ?? () from /usr/lib/libopen-pal.so.13
#1  0x00007fffecff49b0 in opal_memory_ptmalloc2_int_malloc () from /usr/lib/libopen-pal.so.13
#2  0x00007fffecff56bc in opal_memory_ptmalloc2_malloc () from /usr/lib/libopen-pal.so.13
#3  0x00007fffee226e78 in operator new(unsigned long) () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#4  0x00007ffff62acbf7 in __gnu_cxx::new_allocator<char>::allocate (this=<optimized out>, __n=4096) at /usr/include/c++/5/ext/new_allocator.h:104
#5  boost::iostreams::detail::basic_buffer<char, std::allocator<char> >::basic_buffer (buffer_size=4096, this=<synthetic pointer>)
    at /usr/include/boost/iostreams/detail/buffer.hpp:146
#6  boost::iostreams::detail::basic_buffer<char, std::allocator<char> >::resize (buffer_size=4096, this=0x11dc0158)
    at /usr/include/boost/iostreams/detail/buffer.hpp:162
#7  boost::iostreams::detail::indirect_streambuf<ndn::iostreams::buffer_append_device, std::char_traits<char>, std::allocator<char>, boost::iostreams::output>::open (
    pback_size=4, buffer_size=4096, t=..., this=0x11dc00f8) at /usr/include/boost/iostreams/detail/streambuf/indirect_streambuf.hpp:183
#8  boost::iostreams::stream_buffer<ndn::iostreams::buffer_append_device, std::char_traits<char>, std::allocator<char>, boost::iostreams::output>::open_impl (
    pback_size=-1, buffer_size=-1, t=..., this=0x11dc00f8) at /usr/include/boost/iostreams/stream_buffer.hpp:106
#9  boost::iostreams::stream_buffer<ndn::iostreams::buffer_append_device, std::char_traits<char>, std::allocator<char>, boost::iostreams::output>::open (
    pback_size=-1, buffer_size=-1, t=..., this=0x11dc00f8) at /usr/include/boost/iostreams/stream_buffer.hpp:94
#10 boost::iostreams::stream<ndn::iostreams::buffer_append_device, std::char_traits<char>, std::allocator<char> >::open_impl (pback_size=-1, buffer_size=-1, dev=...,
    this=0x11dc00f0) at /usr/include/boost/iostreams/stream.hpp:143
#11 boost::iostreams::stream<ndn::iostreams::buffer_append_device, std::char_traits<char>, std::allocator<char> >::open (pback_size=-1, buffer_size=-1, t=...,
    this=0x11dc00f0) at /usr/include/boost/iostreams/stream.hpp:128
#12 __gnu_cxx::new_allocator<ndn::OBufferStream>::construct<ndn::OBufferStream> (__p=<optimized out>, this=<optimized out>)
    at ns3/ndnSIM/ndn-cxx/security/conf/../../util/../encoding/buffer-stream.hpp:89
#13 std::allocator_traits<std::allocator<ndn::OBufferStream> >::construct<ndn::OBufferStream> (__p=<optimized out>, __a=...)
    at /usr/include/c++/5/bits/alloc_traits.h:530
#14 std::_Sp_counted_ptr_inplace<ndn::OBufferStream, std::allocator<ndn::OBufferStream>, (__gnu_cxx::_Lock_policy)2>::_Sp_counted_ptr_inplace<>(std::allocator<ndn::OBufferStream>) (__a=..., this=0x11dc00e0) at /usr/include/c++/5/bits/shared_ptr_base.h:522
#15 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::__shared_count<ndn::OBufferStream, std::allocator<ndn::OBufferStream>>(std::_Sp_make_shared_tag, ndn::OBufferStream*, std::allocator<ndn::OBufferStream> const&) (__a=..., this=0x7fffffffc488) at /usr/include/c++/5/bits/shared_ptr_base.h:617
#16 std::__shared_ptr<ndn::OBufferStream, (__gnu_cxx::_Lock_policy)2>::__shared_ptr<std::allocator<ndn::OBufferStream>>(std::_Sp_make_shared_tag, std::allocator<ndn::OBufferStream> const&) (__a=..., __tag=..., this=0x7fffffffc480) at /usr/include/c++/5/bits/shared_ptr_base.h:1097
#17 std::shared_ptr<ndn::OBufferStream>::shared_ptr<std::allocator<ndn::OBufferStream>>(std::_Sp_make_shared_tag, std::allocator<ndn::OBufferStream> const&) (__a=...,
    __tag=..., this=0x7fffffffc480) at /usr/include/c++/5/bits/shared_ptr.h:319
#18 std::allocate_shared<ndn::OBufferStream, std::allocator<ndn::OBufferStream>>(std::allocator<ndn::OBufferStream> const&) (__a=...)
    at /usr/include/c++/5/bits/shared_ptr.h:620
#19 std::make_shared<ndn::OBufferStream> () at /usr/include/c++/5/bits/shared_ptr.h:636
#20 nfd::rib::RibManager::fetchActiveFaces (this=0x1eba700) at ../src/ndnSIM/NFD/rib/rib-manager.cpp:668
#21 0x00007ffff61dc67b in std::function<void ()>::operator()() const (this=0x52f01c88) at /usr/include/c++/5/functional:2267
#22 ndn::util::scheduler::Scheduler::<lambda()>::operator() (__closure=0x52f01c80) at ../src/ndnSIM/ndn-cxx/src/util/scheduler.cpp:90
#23 std::_Function_handler<void(), ndn::util::scheduler::Scheduler::scheduleEvent(const nanoseconds&, const Event&)::<lambda()> >::_M_invoke(const std::_Any_data &) (
    __functor=...) at /usr/include/c++/5/functional:1871
#24 0x00007ffff12881c3 in ns3::DefaultSimulatorImpl::ProcessOneEvent (this=this at entry=0x69b4d0) at ../src/core/model/default-simulator-impl.cc:149
#25 0x00007ffff128823e in ns3::DefaultSimulatorImpl::Run (this=0x69b4d0) at ../src/core/model/default-simulator-impl.cc:202
#26 0x000000000040d598 in ns3::main (argc=<optimized out>, argv=<optimized out>) at ../scratch/data-scenario.cc:351
#27 0x00007fffed8d1830 in __libc_start_main (main=0x40ecd0 <main(int, char**)>, argc=18, argv=0x7fffffffe2e8, init=<optimized out>, fini=<optimized out>,
---Type <return> to continue, or q <return> to quit---
    rtld_fini=<optimized out>, stack_end=0x7fffffffe2d8) at ../csu/libc-start.c:291
#28 0x000000000040ed09 in _start ()
(gdb)




More information about the ndnSIM mailing list