Bug 1861

Summary: Problem when send UDP packet size between 1473-1478bytes
Product: ns-3 Reporter: exploiz
Component: lteAssignee: Manuel Requena <manuel.requena>
Status: RESOLVED DUPLICATE    
Severity: enhancement CC: manuel.requena, ns-bugs, ykrishnateja93
Priority: P5    
Version: ns-3-dev   
Hardware: All   
OS: All   
Attachments: ./waf --run "s-1ue --aX=10 --pkt_size=1474"

Description exploiz 2014-02-21 09:50:52 UTC
Created attachment 1786 [details]
./waf --run "s-1ue --aX=10 --pkt_size=1474"

I found problem when set packet size between 1473-1478 bytes. No error in packet size 1472byte and 1479bytes. 


exp:ns-3.19 exp$ ./waf --run "s-1ue --aX=10 --pkt_size=1474"
Waf: Entering directory `/Users/exp/ns/ns-3.19/build'
Waf: Leaving directory `/Users/exp/ns/ns-3.19/build'
'build' finished successfully (0.881s)
At time 1s client sent 1474 bytes to 1.0.0.2 port 9
At time 1.01293s server received 1474 bytes from 7.0.0.2 port 49153
At time 1.01293s server sent 1474 bytes to 7.0.0.2 port 49153
assert failed. cond="m_current >= m_dataStart && m_current <= m_dataEnd", msg="You have attempted to read beyond the bounds of the available buffer space. This usually indicates that a Header::Deserialize or Trailer::Deserialize method is trying to read data which was not written by a Header::Serialize or Trailer::Serialize method. In short: check the code of your Serialize and Deserialize methods.", file=./ns3/buffer.h, line=823
terminate called without an active exception
Command ['/Users/exp/ns/ns-3.19/build/scratch/s-1ue', '--aX=10', '--pkt_size=1474'] terminated with signal SIGIOT. Run it under a debugger to get more information (./waf --run <program> --command-template="gdb --args %s <args>").
Comment 1 Manuel Requena 2018-02-22 05:03:03 UTC

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