Bug 2332

Summary: Assert failed when using aggregation and two pairs of AP-STA
Product: ns-3 Reporter: Matías Richart <matis18>
Component: wifiAssignee: sebastien.deronne
Status: RESOLVED FIXED    
Severity: major CC: ns-bugs
Priority: P5    
Version: ns-3-dev   
Hardware: All   
OS: All   
Attachments: Patch to reproduce the bug
patch to fix

Description Matías Richart 2016-03-09 11:47:42 UTC
Created attachment 2335 [details]
Patch to reproduce the bug

The assert that rises:
assert failed. cond="m_buffer.GetSize () >= start + length", file=../src/network/model/packet.cc, line=234

It happens in a scenario with two pairs of AP-STA where each AP is sending data to the associated STA.
I attach a patch of wifi-aggregation example to reproduce the issue.

The problem appears after commit 11945:96b721d35158 which fixes bug 2313.
Comment 1 sebastien.deronne 2016-03-09 15:42:47 UTC
Created attachment 2337 [details]
patch to fix

Add missing check when fixing bug 2313 (commit 96b721d35158)
Comment 2 sebastien.deronne 2016-03-09 15:43:36 UTC
Obvious fix, I will deliver this one in my bunch of patch for the RC.
Comment 3 sebastien.deronne 2016-03-09 16:03:11 UTC
fixed in changeset 12003:3b4340478fc1