[Ns-bugs] [Bug 428] New: segfault in tcp-nsc-lfn
code@nsnam.ece.gatech.edu
code at nsnam.ece.gatech.edu
Mon Dec 1 12:35:17 PST 2008
http://www.nsnam.org/bugzilla/show_bug.cgi?id=428
Summary: segfault in tcp-nsc-lfn
Product: ns-3
Version: ns-3-dev
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P5
Component: sample programs
AssignedTo: ns-bugs at isi.edu
ReportedBy: raj.b at gatech.edu
Estimated Hours: 0.0
./waf --regression reports that:
Command ['/home/raj/code.nsnam.org/ns-3-dev/build/debug/examples/tcp-nsc-lfn',
'--ns3::OnOffApplication::DataRate=40000', '--runtime=20'] exited with code -11
Running in GDB gives the following backtrace. Can anyone reproduce?
(gdb) set args --ns3::OnOffApplication::DataRate=40000 --runtime=20
(gdb) r
Starting program:
/home/raj/code.nsnam.org/ns-3-dev/build/debug/examples/tcp-nsc-lfn
--ns3::OnOffApplication::DataRate=40000 --runtime=20
[Thread debugging using libthread_db enabled]
[New Thread 0xb6bfb980 (LWP 12303)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb6bfb980 (LWP 12303)]
0xb6f2ede0 in ?? () from /lib/tls/i686/cmov/libc.so.6
(gdb) bt
#0 0xb6f2ede0 in ?? () from /lib/tls/i686/cmov/libc.so.6
#1 0xb6f30edd in ?? () from /lib/tls/i686/cmov/libc.so.6
#2 0xb6f32cad in malloc () from /lib/tls/i686/cmov/libc.so.6
#3 0xb70fd447 in operator new () from /usr/lib/libstdc++.so.6
#4 0xb70fd57d in operator new[] () from /usr/lib/libstdc++.so.6
#5 0xb7b4b161 in BufferAllocate (reqSize=4096) at ../src/common/buffer.cc:136
#6 0xb7b4b241 in ns3::Buffer::Create (dataSize=4096) at
../src/common/buffer.cc:185
#7 0xb7b4bf4a in ns3::Buffer::AddAtStart (this=0xbfbc1810, start=4096) at
../src/common/buffer.cc:370
#8 0xb7b4cded in ns3::Buffer::CreateFullCopy (this=0x80bd9a8) at
../src/common/buffer.cc:598
#9 0xb7b4d1bb in ns3::Buffer::TransformIntoRealBuffer (this=0x80bd9a8) at
../src/common/buffer.cc:631
#10 0xb7b4d383 in ns3::Buffer::PeekData (this=0x80bd9a8) at
../src/common/buffer.cc:641
#11 0xb7b7bd33 in ns3::Packet::PeekData (this=0x80bd9a8) at
../src/common/packet.cc:296
#12 0xb7c912d7 in ns3::NscTcpSocketImpl::SendPendingData (this=0x80bc6e0) at
../src/internet-stack/nsc-tcp-socket-impl.cc:631
#13 0xb7c8fa52 in Notify (this=0x80be7d8) at debug/ns3/make-event.h:88
#14 0xb7b126f2 in ns3::EventImpl::Invoke (this=0x80be7d8) at
../src/simulator/event-impl.cc:39
#15 0xb7b2ce59 in ns3::DefaultSimulatorImpl::ProcessOneEvent (this=0x806afc0)
at ../src/simulator/default-simulator-impl.cc:121
#16 0xb7b2ceaf in ns3::DefaultSimulatorImpl::Run (this=0x806afc0) at
../src/simulator/default-simulator-impl.cc:152
#17 0xb7b1b477 in ns3::Simulator::Run () at ../src/simulator/simulator.cc:151
#18 0x08050c7e in main (argc=3, argv=0xbfbc2074) at
../examples/tcp-nsc-lfn.cc:141
--
Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Ns-bugs
mailing list