Bug 1854

Summary: std::out_of_range Problem
Product: ns-3 Reporter: Liang <yunhliang>
Component: lteAssignee: Nicola Baldo <nicola>
Status: RESOLVED DUPLICATE    
Severity: normal CC: bbojovic, ns-bugs
Priority: P5    
Version: ns-3-dev   
Hardware: PC   
OS: Linux   
Attachments: It's the code which occur this error.

Description Liang 2014-02-13 00:16:16 UTC
Created attachment 1780 [details]
It's the code which occur this error.

When I run a simple attach scenario which including multi UEs and eNBs it shows the problem below.

terminate called after throwing an instance of 'std::out_of_range'
  what():  vector<bool>::_M_range_check

Program received signal SIGABRT, Aborted.
0xb7fdd424 in __kernel_vsyscall ()
(gdb) bt
#0  0xb7fdd424 in __kernel_vsyscall ()
#1  0xb55d11df in raise () from /lib/i386-linux-gnu/libc.so.6
#2  0xb55d4825 in abort () from /lib/i386-linux-gnu/libc.so.6
#3  0xb586013d in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/i386-linux-gnu/libstdc++.so.6
#4  0xb585ded3 in ?? () from /usr/lib/i386-linux-gnu/libstdc++.so.6
#5  0xb585df0f in std::terminate() () from /usr/lib/i386-linux-gnu/libstdc++.so.6
#6  0xb585e05e in __cxa_throw () from /usr/lib/i386-linux-gnu/libstdc++.so.6
#7  0xb58021b3 in std::__throw_out_of_range(char const*) () from /usr/lib/i386-linux-gnu/libstdc++.so.6
#8  0xb7b84661 in std::vector<bool, std::allocator<bool> >::_M_range_check (this=0xbfffbe1c, __n=25) at /usr/include/c++/4.6/bits/stl_bvector.h:707
#9  0xb7b7f41a in std::vector<bool, std::allocator<bool> >::at (this=0xbfffbe1c, __n=25) at /usr/include/c++/4.6/bits/stl_bvector.h:713
#10 0xb7b74c13 in ns3::RrFfMacScheduler::DoSchedUlTriggerReq (this=0x80a8908, params=...) at ../src/lte/model/rr-ff-mac-scheduler.cc:1340
#11 0xb7b68339 in ns3::RrSchedulerMemberSchedSapProvider::SchedUlTriggerReq (this=0x80a8b78, params=...) at ../src/lte/model/rr-ff-mac-scheduler.cc:188
#12 0xb7b99a2d in ns3::LteEnbMac::DoSubframeIndication (this=0x80a86e0, frameNo=3, subframeNo=6) at ../src/lte/model/lte-enb-mac.cc:595
#13 0xb7b97026 in ns3::EnbMacMemberLteEnbPhySapUser::SubframeIndication (this=0x80a8630, frameNo=3, subframeNo=6) at ../src/lte/model/lte-enb-mac.cc:275
#14 0xb79d523d in ns3::LteEnbPhy::StartSubFrame (this=0x80a82d8) at ../src/lte/model/lte-enb-phy.cc:682
#15 0xb79da627 in ns3::EventMemberImpl0::Notify (this=0x8342020) at ./ns3/make-event.h:94
#16 0xb5969889 in ns3::EventImpl::Invoke (this=0x8342020) at ../src/core/model/event-impl.cc:45
#17 0xb596e6b0 in ns3::DefaultSimulatorImpl::ProcessOneEvent (this=0x80c4958) at ../src/core/model/default-simulator-impl.cc:141
#18 0xb596ea49 in ns3::DefaultSimulatorImpl::Run (this=0x80c4958) at ../src/core/model/default-simulator-impl.cc:194
#19 0xb596a6c0 in ns3::Simulator::Run () at ../src/core/model/simulator.cc:161
#20 0x0805f279 in main (argc=1, argv=0xbffff144) at ../scratch/local_decision_lb.cc:455
Comment 1 Biljana Bojović 2014-04-01 14:44:54 UTC
I guess that this is the same as the bug that I reported today, bug number 1893.
Comment 2 Nicola Baldo 2014-09-03 07:43:40 UTC

*** This bug has been marked as a duplicate of bug 1893 ***