Bugzilla – Bug 2628
Simulation crashes because of an out of range TID
Last modified: 2017-01-24 12:55:39 UTC
Created attachment 2752 [details] script to reproduce the issue Issue was reported by William Dieter on the forum: https://groups.google.com/forum/#!topic/ns-3-users/_0GrI6SCC7o The symptom is a tid of 8 being used to index into an array of aggregate queues of length 8, causing a segementation fault. Instructions to reproduce: 1. Download the attached wmm-tcp.cc to the scratch directory (or any other convenient place to build it) 2. Run wmm-tcp with waf --run "wmm-tcp --nBeStreams=0 --nBkStreams=0 --nViStreams=1 --nVoStreams=0" On ns-3-dev, wmm-tcp will crash with a SIGSEGV Script is provided in attachment.
Created attachment 2753 [details] patch to fix segfault m_currentPacket should not hold received packets. Patch solves the segfault issue.
This can be pushed asap to ns-3-dev, once William Dieter confirms the patch does solve his problem.
The patch solves this bug. I tested both debug and optimized builds without seeing this problem.
(In reply to William R. Dieter from comment #3) > The patch solves this bug. I tested both debug and optimized builds without > seeing this problem. Thanks for your feedback, I will deliver the fix later today.
Fixed in changeset 12563:5e180d987403