From code at nsnam.ece.gatech.edu Thu Apr 1 10:24:59 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Thu, 1 Apr 2010 13:24:59 -0400 Subject: [Ns-bugs] [Bug 855] New: waf dies badly when switching from debug to optimized build or vice versa Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=855 Summary: waf dies badly when switching from debug to optimized build or vice versa Product: ns-3 Version: ns-3-dev Platform: All OS/Version: All Status: NEW Severity: normal Priority: P4 Component: build system AssignedTo: ns-bugs at isi.edu ReportedBy: mazo at iitp.ru Estimated Hours: 0.0 Created an attachment (id=806) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=806) waf traceback Steps to reproduce: 0) Take a clean working copy 1) ./waf configure -d debug 2) ./waf build 3) ./waf configure -d optimized 4) ./waf build Then waf dies with exception TypeError: argument of type 'int' is not iterable. The full traceback is in attachment. Mercurial revision is b920710704c9. The current workaround is to add "./waf distclean" after step 2). This bug really annoys me, as I have to switch frequently between debug/optimized/release builds. Also this bug is probably an upstream (waf) bug, but I think, it should be kept here as a tracker anyway. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Thu Apr 1 10:38:58 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Thu, 1 Apr 2010 13:38:58 -0400 Subject: [Ns-bugs] [Bug 855] waf dies badly when switching from debug to optimized build or vice versa In-Reply-To: References: Message-ID: <20100401173858.AC7F218005E@deliverator5.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=855 Andrey Mazo changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mazo at iitp.ru --- Comment #1 from Andrey Mazo 2010-04-01 13:38:58 EDT --- (In reply to comment #0) > Mercurial revision is b920710704c9. Looks like revision 93a684517ead is not affected. It seems, that changeset d6c026abfb3f (waf upgrade from 1.5.11 to 1.5.13) broke the things. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Fri Apr 2 01:20:25 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Fri, 2 Apr 2010 04:20:25 -0400 Subject: [Ns-bugs] [Bug 855] waf dies badly when switching from debug to optimized build or vice versa In-Reply-To: References: Message-ID: <20100402082025.22DC45E41BA@deliverator4.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=855 --- Comment #2 from Andrey Mazo 2010-04-02 04:20:24 EDT --- (In reply to comment #1) Looks like, the bug is fixed with upstream changeset 7524 [1]. So it must be working in coming waf-1.5.16. [1] http://code.google.com/p/waf/source/detail?spec=svn7540&r=7524 -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Fri Apr 2 10:12:33 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Fri, 2 Apr 2010 13:12:33 -0400 Subject: [Ns-bugs] [Bug 671] RecvIfIndex tag in sockets In-Reply-To: References: Message-ID: <20100402171233.71F582DEB2E@deliverator1.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=671 --- Comment #10 from tazaki at sfc.wide.ad.jp 2010-04-02 13:12:32 EDT --- (In reply to comment #9) > > and not just the arriving interface index, and that we might want to just make > > this tag an IP_PKTINFO tag with multiple fields. What do you think-- > > Uh, this tag IP_PKTINFO with multiple fields sound good. > > > will we > > end up needing to fully support the ancillary data fields for ns-3-simu? > > Should they be handled in one or multiple tags? > > I hope these value can be supported. I've requested the review for patch of this feature. http://codereview.appspot.com/849047/show Please find the changeset. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Sat Apr 3 15:42:22 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Sat, 3 Apr 2010 18:42:22 -0400 Subject: [Ns-bugs] [Bug 856] New: DropTailQueue: uninitialized variable Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=856 Summary: DropTailQueue: uninitialized variable Product: ns-3 Version: ns-3.7 Platform: All OS/Version: All Status: NEW Keywords: bug Severity: normal Priority: P5 Component: node module AssignedTo: ns-bugs at isi.edu ReportedBy: dimashink at gmail.com Estimated Hours: 0.0 Variable m_bytesInQueue should be initialized. Sometimes it is impossible to add packet in queue because the variable initially is not equal to zero and method Enqueue fails wen the mode is set to BYTES. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Sun Apr 4 07:00:50 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Sun, 4 Apr 2010 10:00:50 -0400 Subject: [Ns-bugs] [Bug 857] New: Link-Local Multicast handle in Ipv4 Output processing Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=857 Summary: Link-Local Multicast handle in Ipv4 Output processing Product: ns-3 Version: pre-release Platform: All OS/Version: All Status: NEW Severity: normal Priority: P3 Component: internet-stack AssignedTo: ns-bugs at isi.edu ReportedBy: tazaki at sfc.wide.ad.jp CC: tazaki at sfc.wide.ad.jp Estimated Hours: 0.0 For example, when OSPF is used in ns-3, Hello packet is desalinized to 224.0.0.5, which is never forwarded by router. However, current internet-stack (ipv4-l3-proctocol, and ipv4-static-routing) requires routing table entry to send such packet. I think that the packet to 224.0.0.0/24 (link-local address) can be transmitted if output interface is specified. Attached patch tries to fix this problem. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Sun Apr 4 07:15:17 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Sun, 4 Apr 2010 10:15:17 -0400 Subject: [Ns-bugs] [Bug 858] New: support MSG_PEEK in IPv4/IPv6 raw socket Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=858 Summary: support MSG_PEEK in IPv4/IPv6 raw socket Product: ns-3 Version: pre-release Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: P3 Component: internet-stack AssignedTo: ns-bugs at isi.edu ReportedBy: tazaki at sfc.wide.ad.jp Estimated Hours: 0.0 MSG_PEEK is used during receiving the packet without removing the data from the queue. Attached patch aims to support this function in ipv4/ipv6 raw socket. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Sun Apr 4 07:31:38 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Sun, 4 Apr 2010 10:31:38 -0400 Subject: [Ns-bugs] [Bug 859] New: Output interface estimation for the source address bound socket in IPv4 Raw socket Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=859 Summary: Output interface estimation for the source address bound socket in IPv4 Raw socket Product: ns-3 Version: pre-release Platform: All OS/Version: All Status: NEW Severity: normal Priority: P3 Component: internet-stack AssignedTo: ns-bugs at isi.edu ReportedBy: tazaki at sfc.wide.ad.jp Estimated Hours: 0.0 If the source address is specified, and output device is not specified, *AND* the destination address is 255.255.255.255 or multicast address, output device can be the device that owns specfied source address (at lease, in Linux 2.6.31 is like that). Attached patch will do this behavior. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Mon Apr 5 02:51:13 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Mon, 5 Apr 2010 05:51:13 -0400 Subject: [Ns-bugs] [Bug 860] New: waf sometimes dies while executing ns3header or gen_ns3_module_header tasks in case of parallel jobs Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=860 Summary: waf sometimes dies while executing ns3header or gen_ns3_module_header tasks in case of parallel jobs Product: ns-3 Version: ns-3-dev Platform: All OS/Version: All Status: NEW Severity: minor Priority: P4 Component: build system AssignedTo: ns-bugs at isi.edu ReportedBy: mazo at iitp.ru Estimated Hours: 0.0 The reason for this is that several headers are listed several times as source for some ns3header. For example, in "src/devices/wifi/wscript" (as of revision b920710704c9): 65 headers = bld.new_task_gen('ns3header') 66 headers.module = 'wifi' 67 headers.source = [ ... 75 'yans-wifi-channel.h', 76 'wifi-phy.h', <-- first ... 92 'nqap-wifi-mac.h', 93 'wifi-phy.h', <-- second ... 118 ] Waf tries to copy a new ns3header in one thread, while another thread already copied it and marked as read-only. In ns-3-dev there are a few such cases, so buildbot doesn't detect such failures. Example waf traceback: Build failed Traceback (most recent call last): File "/home/me/ns3nonfree/.waf-1.5.13-4340ef810f7db5d61c618fdf96cb5695/wafadmin/Runner.py", line 42, in loop else:ret=tsk.call_run() File "/home/me/ns3nonfree/.waf-1.5.13-4340ef810f7db5d61c618fdf96cb5695/wafadmin/Task.py", line 258, in call_run return self.run() File "", line 177, in run File "/usr/lib64/python2.6/shutil.py", line 99, in copy2 copyfile(src, dst) File "/usr/lib64/python2.6/shutil.py", line 53, in copyfile fdst = open(dst, 'wb') IOError: [Errno 13] Permission denied: 'debug/ns3/ipv4-l3-protocol.h' There are at least 2 possible fixes: 1) remove all such duplicates from all wscripts 2) remove all such duplicates in ns3header_taskgen::apply() and in ns3moduleheader_taskgen::apply() functions I'd prefer 2), because it allows to legally do things like: headers.source = [ # required by module1 'header1.h', 'header2.h', # required by module2 'header2.h', 'header3.h', ] to better keep track of dependencies and then unexport unused headers. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Mon Apr 5 03:05:21 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Mon, 5 Apr 2010 06:05:21 -0400 Subject: [Ns-bugs] [Bug 860] waf sometimes dies while executing ns3header or gen_ns3_module_header tasks in case of parallel jobs In-Reply-To: References: Message-ID: <20100405100522.0B2FC155B09@deliverator3.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=860 --- Comment #1 from Andrey Mazo 2010-04-05 06:05:21 EDT --- Created an attachment (id=807) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=807) proposed fix -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Mon Apr 5 03:32:13 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Mon, 5 Apr 2010 06:32:13 -0400 Subject: [Ns-bugs] [Bug 847] Segfaults on BaseStationNetDevice with OnOffApplication and rtPS sched In-Reply-To: References: Message-ID: <20100405103213.6E351480119@deliverator2.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=847 Mohamed Amine ISMAIL changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Mon Apr 5 04:22:30 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Mon, 5 Apr 2010 07:22:30 -0400 Subject: [Ns-bugs] [Bug 854] Support DROP_QUEUE reason-code in Ipv4FlowProbe In-Reply-To: References: Message-ID: <20100405112230.22032480070@deliverator2.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=854 --- Comment #2 from Gustavo J. A. M. Carneiro 2010-04-05 07:22:29 EDT --- (In reply to comment #1) > Created an attachment (id=805) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=805) [details] > Support DROP_QUEUE reason-code in Ipv4FlowProbe You should rename ns3::FlowProbeTag to ns3::Ipv4FlowProbeTag. There's an #include , which I am not sure if it is needed... In, Ipv4FlowProbe::QueueDropLogger, if the tag is not found maybe it should abort with an error message? -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Mon Apr 5 10:15:19 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Mon, 5 Apr 2010 13:15:19 -0400 Subject: [Ns-bugs] [Bug 860] waf sometimes dies while executing ns3header or gen_ns3_module_header tasks in case of parallel jobs In-Reply-To: References: Message-ID: <20100405171519.924D65E40B5@deliverator4.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=860 Gustavo J. A. M. Carneiro changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gjcarneiro at gmail.com --- Comment #2 from Gustavo J. A. M. Carneiro 2010-04-05 13:15:19 EDT --- (In reply to comment #1) > Created an attachment (id=807) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=807) [details] > proposed fix I am fine with the proposed change, but I think you could use the builtin (python 2.4+) set type for a simpler fix. E.g.: - for filename in self.to_list(self.source): + for filename in set(self.to_list(self.source)): I don't think at this point we really need Python 2.3 compatibility. If we did, we'd just need to add this to the wscript: try: set except NameError: from sets import Set as set # Python 2.3 fallback -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Mon Apr 5 11:03:19 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Mon, 5 Apr 2010 14:03:19 -0400 Subject: [Ns-bugs] [Bug 860] waf sometimes dies while executing ns3header or gen_ns3_module_header tasks in case of parallel jobs In-Reply-To: References: Message-ID: <20100405180319.C834818033A@deliverator5.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=860 Andrey Mazo changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mazo at iitp.ru --- Comment #3 from Andrey Mazo 2010-04-05 14:03:19 EDT --- (In reply to comment #2) > I am fine with the proposed change, but I think you could use the builtin > (python 2.4+) set type for a simpler fix. E.g.: > > - for filename in self.to_list(self.source): > + for filename in set(self.to_list(self.source)): > > I don't think at this point we really need Python 2.3 compatibility. If we > did, we'd just need to add this to the wscript: > > try: > set > except NameError: > from sets import Set as set # Python 2.3 fallback Thank you for a quick reply! I agree with your simpler fix: it's looks clearer. I've never thought about python-2.3 compatibility. But waf states, that it is compatible with it, so we'd better keep the compatibility too. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Mon Apr 5 11:04:14 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Mon, 5 Apr 2010 14:04:14 -0400 Subject: [Ns-bugs] [Bug 860] waf sometimes dies while executing ns3header or gen_ns3_module_header tasks in case of parallel jobs In-Reply-To: References: Message-ID: <20100405180414.9DD54155B39@deliverator3.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=860 Andrey Mazo changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #807 is|0 |1 obsolete| | --- Comment #4 from Andrey Mazo 2010-04-05 14:04:14 EDT --- Created an attachment (id=808) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=808) proposed fix based on sets -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Mon Apr 5 13:46:50 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Mon, 5 Apr 2010 16:46:50 -0400 Subject: [Ns-bugs] [Bug 860] waf sometimes dies while executing ns3header or gen_ns3_module_header tasks in case of parallel jobs In-Reply-To: References: Message-ID: <20100405204650.6436620C0B1@deliverator6.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=860 --- Comment #5 from Gustavo J. A. M. Carneiro 2010-04-05 16:46:50 EDT --- (In reply to comment #4) > Created an attachment (id=808) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=808) [details] > proposed fix based on sets Looks good. Can you commit? -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Mon Apr 5 21:23:50 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Tue, 6 Apr 2010 00:23:50 -0400 Subject: [Ns-bugs] [Bug 861] New: add drop trace for condition when Ipv4RoutingProtocol::RouteInput() is false Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=861 Summary: add drop trace for condition when Ipv4RoutingProtocol::RouteInput() is false Product: ns-3 Version: pre-release Platform: All OS/Version: All Status: ASSIGNED Severity: normal Priority: P5 Component: internet-stack AssignedTo: tomh at tomh.org ReportedBy: tomh at tomh.org CC: ns-bugs at isi.edu Estimated Hours: 0.0 Suggested on ns-developers mailing list here: http://mailman.isi.edu/pipermail/ns-developers/2010-April/007766.html Here is an untested patch. diff -r b920710704c9 src/internet-stack/ipv4-l3-protocol.cc --- a/src/internet-stack/ipv4-l3-protocol.cc Tue Mar 30 12:55:14 2010 -0400 +++ b/src/internet-stack/ipv4-l3-protocol.cc Mon Apr 05 21:20:32 2010 -0700 @@ -484,12 +484,17 @@ Ipv4L3Protocol::Receive( Ptr } NS_ASSERT_MSG (m_routingProtocol != 0, "Need a routing protocol object to process packets"); - m_routingProtocol->RouteInput (packet, ipHeader, device, + if (! m_routingProtocol->RouteInput (packet, ipHeader, device, MakeCallback (&Ipv4L3Protocol::IpForward, this), MakeCallback (&Ipv4L3Protocol::IpMulticastForward, this), MakeCallback (&Ipv4L3Protocol::LocalDeliver, this), MakeCallback (&Ipv4L3Protocol::RouteInputError, this) - ); + )) + { + NS_LOG_WARN ("No route found for forwarding packet. Drop."); + m_dropTrace (ipHeader, packet, DROP_NO_ROUTE, m_node->GetObject (), interface); + } + } -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Mon Apr 5 22:56:40 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Tue, 6 Apr 2010 01:56:40 -0400 Subject: [Ns-bugs] [Bug 861] add drop trace for condition when Ipv4RoutingProtocol::RouteInput() is false In-Reply-To: References: Message-ID: <20100406055640.8E07B2DDBD9@deliverator1.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=861 --- Comment #1 from Tom Henderson 2010-04-06 01:56:40 EDT --- (In reply to comment #0) > Suggested on ns-developers mailing list here: > http://mailman.isi.edu/pipermail/ns-developers/2010-April/007766.html well, this is not really what the user was asking for, but still may be worth adding something like this since we have similar drop traces for route failures in outbound direction. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Tue Apr 6 00:39:33 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Tue, 6 Apr 2010 03:39:33 -0400 Subject: [Ns-bugs] [Bug 860] waf sometimes dies while executing ns3header or gen_ns3_module_header tasks in case of parallel jobs In-Reply-To: References: Message-ID: <20100406073933.E167F2DDB50@deliverator1.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=860 Andrey Mazo changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #6 from Andrey Mazo 2010-04-06 03:39:33 EDT --- (In reply to comment #5) > (In reply to comment #4) > > Created an attachment (id=808) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=808) [details] [details] > > proposed fix based on sets > > Looks good. Can you commit? Ok. Yes, I can. According to release schedule, ns-3-dev is open for such commits, so changeset c737d0a0e9a0. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Tue Apr 6 01:45:17 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Tue, 6 Apr 2010 04:45:17 -0400 Subject: [Ns-bugs] [Bug 862] New: NotifyInterfaceUp() Adds network route even when netmask is /32 Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=862 Summary: NotifyInterfaceUp() Adds network route even when netmask is /32 Product: ns-3 Version: pre-release Platform: All OS/Version: All Status: NEW Severity: normal Priority: P5 Component: routing AssignedTo: ns-bugs at isi.edu ReportedBy: zarhan at cc.hut.fi Estimated Hours: 0.0 When configuring an interface with netmask of /32, (using with VirtualNetDevice and tunnels), and Ptr->Setup(i) is called, this, in turn calls NotifyInterfaceUp() of all routing protocols. In e.g. void Ipv4StaticRouting::NotifyInterfaceUp (uint32_t i) { NS_LOG_FUNCTION (this << i); // If interface address and network mask have been set, add a route // to the network of the interface (like e.g. ifconfig does on a // Linux box) for (uint32_t j = 0; j < m_ipv4->GetNAddresses (i); j++) { if (m_ipv4->GetAddress (i,j).GetLocal () != Ipv4Address () && m_ipv4->GetAddress (i,j).GetMask () != Ipv4Mask ()) { AddNetworkRouteTo (m_ipv4->GetAddress (i,j).GetLocal ().CombineMask (m _ipv4->GetAddress (i,j).GetMask ()), m_ipv4->GetAddress (i,j).GetMask (), i); } } } the network is added even when the mask is /32. This leads to same entry being in routing table twice (both the if-addr and as "network", even if the "network" size is /32!). Even in Linux, if you add an ip address with mask of 255.255.255.255, nothing gets added to routing table. Proposed line to add: if (m_ipv4->GetAddress (i,j).GetMask()==Ipv4Mask::GetOnes()) { return; } However, not submitting a patch yet - should this be added to ALL routing protocols, or perhaps just list-routing? In Linux (just a quick test with my wireless interface that I'm not using right now, also omitting lines pertaining to my wired Internet connection). # ifconfig wlan up # ifconfig wlan 4.4.4.4 netmask 255.255.255.255 # route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo # ifconfig wlan 4.4.4.4 netmask 255.255.255.0 # route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 4.4.4.0 0.0.0.0 255.255.255.0 U 0 0 0 wlan 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Tue Apr 6 01:59:45 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Tue, 6 Apr 2010 04:59:45 -0400 Subject: [Ns-bugs] [Bug 862] NotifyInterfaceUp() Adds network route even when netmask is /32 In-Reply-To: References: Message-ID: <20100406085945.B6A6A48013F@deliverator2.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=862 --- Comment #1 from Antti M?kel? 2010-04-06 04:59:45 EDT --- Created an attachment (id=809) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=809) Patch to fix the issue in static routing Well, here's an example how I fixed it with ipv4-static-routing.cc. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Tue Apr 6 05:43:22 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Tue, 6 Apr 2010 08:43:22 -0400 Subject: [Ns-bugs] [Bug 862] NotifyInterfaceUp() Adds network route even when netmask is /32 In-Reply-To: References: Message-ID: <20100406124322.A251B20C10B@deliverator6.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=862 Tom Henderson changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tomh at tomh.org --- Comment #2 from Tom Henderson 2010-04-06 08:43:22 EDT --- > > However, not submitting a patch yet - should this be added to ALL routing > protocols, or perhaps just list-routing? I agree with the patch. I believe that only Ipv4StaticRouting implements this type of behavior, since it is the only object that holds static or connected routes, so I would suggest that with our routing framework, it should just go to Ipv4StaticRouting. If another standalone (i.e. for use outside of list routing context) routing protocol wants to provide connected routes, it should also implement it. I think that only AODV right now is designed with this use in mind, and in that case, you probably don't want the connected routes anyway. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Tue Apr 6 11:57:48 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Tue, 6 Apr 2010 14:57:48 -0400 Subject: [Ns-bugs] [Bug 822] NetDevice::Mtu attribute not settable by default In-Reply-To: References: Message-ID: <20100406185748.35CD320C10B@deliverator6.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=822 --- Comment #5 from Tom Henderson 2010-04-06 14:57:47 EDT --- I'd like to try to resolve this for the current release. To summarize, NetDevice::Mtu presently has two problems. 1) it leads to order-of-initialization problems since it is linked to subclass attributes like Csma FrameSize. 2) the default value doesn't get stored properly in the config store system (bug 845). Here are the options I see: 1) simply remove this attribute, since each subclass has its own way of configuring frame size via attributes pro: simple (attribute was broken anyway) con: we lose this commonality among devices, especially user familiarity with the concept (ifconfig mtu ...). If I do an "ifconfig mtu N" from a container bound to an ns-3 NetDevice, I will need to downcast the pointer and search for the right attribute (unless we preserve base class SetMtu/GetMtu methods). 2) move this attribute to each subclass, but remove the device-specific frame size attributes so that we don't have two attributes pointing to one member variable (again leading to initialization order problems and user confusion) pro: MTU can be device specific (more realistic) con: breaks ns-3 API 3) move Mtu attribute to each subclass, and decouple this attribute from the frame size attribute; these are two separate member variables. This means that a user could e.g. set an Ethernet MTU of 1000 bytes even though the frame size was set to 1518 bytes. Consistency checking would still be needed (that MTU <= (frame size - header size), for instance). pro: preserves a device-specific MTU and preserves ns-3 API con: still needs to be robust to initialization order issues; need to document to users that these concepts (FrameSize and Mtu) are still related in some way, but are not locked in-step to each other Preferences, comments? -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Tue Apr 6 12:00:28 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Tue, 6 Apr 2010 15:00:28 -0400 Subject: [Ns-bugs] [Bug 822] NetDevice::Mtu attribute not settable by default In-Reply-To: References: Message-ID: <20100406190028.9870A5E41BE@deliverator4.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=822 --- Comment #6 from Tom Henderson 2010-04-06 15:00:28 EDT --- (In reply to comment #5) 2) the default value doesn't get stored properly in the config > store system (bug 845). I'd like to add that this bug 845 issue seems orthogonal to the real issue which is that Mtu and FrameSize, by being bound to the same underlying variable, have order of initialization issues that can cause errors by users not realizing that a value of one attribute has been overridden by another. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Tue Apr 6 13:02:50 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Tue, 6 Apr 2010 16:02:50 -0400 Subject: [Ns-bugs] [Bug 822] NetDevice::Mtu attribute not settable by default In-Reply-To: References: Message-ID: <20100406200250.F12F52DC1E1@deliverator1.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=822 --- Comment #7 from Craig Dowell 2010-04-06 16:02:50 EDT --- The original idea was that both mtu and frame size were device-related things and if someone wanted to set frame size, we would do that and then make sure mtu was consistent. If someone wanted to set mtu, we would do that and then make sure frame size was consistent -- leading to a simple, one-step process to, for example, enable jumbo datagrams. Conceptually, mtu and frame size are indirectly describing the same quantity -- the number of bits that can be sent across a channel. There are also encapsulation modes (Dix, Llc) to consider which also get into the picture, so there are really three inter-related quantities. Trying to make this work for two classes of users who thought differently about which was the more "important" attribute, mtu or frame size, has gotten a bit out of hand and resulted in quite subtle problems. Keeping in mind our guidance that when in doubt we should do it like Linux, I think the best answer here is to simply treat framesize as a maximum value, like in a linux device: #define MAX_ETH_FRAME_SIZE 1536 We would then decouple mtu and frame size and to runtime checks to make sure that the asked-for MTU fits into the maximum frame size. If someone wants to actually crank up the frame size to 9000 bytes, they could by setting the framesize attribute and also the mtu attribute (in that order). This is an order-dependent two-step process (which was what I originally wanted to avoid). However, it turns out that I did not actually avoid dependency issues but in fact created subtler ones. So I favor Tom's option 3: 3) move Mtu attribute to each subclass, and decouple this attribute from the frame size attribute; these are two separate member variables. This means that a user could e.g. set an Ethernet MTU of 1000 bytes even though the frame size was set to 1518 bytes. Consistency checking would still be needed (that MTU <= (frame size - header size), for instance). Frame size then means "maximum frame size." -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Tue Apr 6 23:39:47 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Wed, 7 Apr 2010 02:39:47 -0400 Subject: [Ns-bugs] [Bug 863] New: Wrong Scalar arithmetics Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=863 Summary: Wrong Scalar arithmetics Product: ns-3 Version: ns-3-dev Platform: All OS/Version: All Status: NEW Severity: normal Priority: P3 Component: simulation core AssignedTo: ns-bugs at isi.edu ReportedBy: boyko at iitp.ru Estimated Hours: 0.0 Test program: #include #include "ns3/simulator-module.h" int main () { std::cout << (ns3::Scalar (0.9) / ns3::Scalar (1.0)).GetDouble () << "\n"; return 0; } Expected output: 0.9 Actual output (ns-3-dev changeset: 6103:12931126ea21) : -0.1 -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Tue Apr 6 23:52:23 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Wed, 7 Apr 2010 02:52:23 -0400 Subject: [Ns-bugs] [Bug 822] NetDevice::Mtu attribute not settable by default In-Reply-To: References: Message-ID: <20100407065223.F29B75E4075@deliverator4.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=822 --- Comment #8 from Mathieu Lacage 2010-04-07 02:52:23 EDT --- (In reply to comment #5) > 2) move this attribute to each subclass, but remove the device-specific frame > size attributes so that we don't have two attributes pointing to one member > variable (again leading to initialization order problems and user confusion) > pro: MTU can be device specific (more realistic) > con: breaks ns-3 API > > 3) move Mtu attribute to each subclass, and decouple this attribute from the > frame size attribute; these are two separate member variables. This means that > a user could e.g. set an Ethernet MTU of 1000 bytes even though the frame size > was set to 1518 bytes. Consistency checking would still be needed (that MTU <= > (frame size - header size), for instance). > pro: preserves a device-specific MTU and preserves ns-3 API > con: still needs to be robust to initialization order issues; need to > document to users that these concepts (FrameSize and Mtu) are still related in > some way, but are not locked in-step to each other The only robust way of doing this is 2). 3) is not workable because it introduces dependencies between attributes. i.e., the result of a Set call will depend on a earlier Set call. If each attribute is not independent from all other attributes, this breaks many assumptions which in turn breaks code attempting to perform generic serialization/deserialization of attributes. For example ConfigStore will break in very subtle ways if we go with 3). -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Wed Apr 7 01:26:04 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Wed, 7 Apr 2010 04:26:04 -0400 Subject: [Ns-bugs] [Bug 822] NetDevice::Mtu attribute not settable by default In-Reply-To: References: Message-ID: <20100407082604.8449F20C0DD@deliverator6.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=822 --- Comment #9 from Mathieu Lacage 2010-04-07 04:26:04 EDT --- Created an attachment (id=810) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=810) implement option 2. All tests pass with this patch. A couple of interesting notes: 1) this removes all the frame size code to avoid confusion between the frame size and mtu 2) this fixes a bug in udp-client-server-test.cc: it was setting the device mtu but this did not work correctly so, the test was working when it should not. 3) I have been really super careful to keep the existing default behavior so that existing code which did not change the mtu would keep working. 4) I have tried really hard to not introduce new indentation in all files I touched: a lot of them do not have coding-style indentation so, I had to do it by hand so, I might have gotten it wrong. 5) Requires a python rescan on top. Did not include it in this patch to avoid confusion. I really would like to fix this bug for this release so, it would be helpful if someone could review it. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Wed Apr 7 04:39:23 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Wed, 7 Apr 2010 07:39:23 -0400 Subject: [Ns-bugs] [Bug 845] Config::SetDefault not being reported correctly in ConfigStore output In-Reply-To: References: Message-ID: <20100407113923.B562C20C0B1@deliverator6.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=845 --- Comment #1 from Mathieu Lacage 2010-04-07 07:39:23 EDT --- the problem here is that this is a bug in src/core/ -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Wed Apr 7 07:36:36 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Wed, 7 Apr 2010 10:36:36 -0400 Subject: [Ns-bugs] [Bug 864] New: invalid return value in UdpSocketImpl and Ipv4RawSocketImpl Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=864 Summary: invalid return value in UdpSocketImpl and Ipv4RawSocketImpl Product: ns-3 Version: pre-release Platform: All OS/Version: All Status: NEW Severity: normal Priority: P5 Component: internet-stack AssignedTo: ns-bugs at isi.edu ReportedBy: mathieu.lacage at sophia.inria.fr Estimated Hours: 0.0 -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Wed Apr 7 07:38:43 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Wed, 7 Apr 2010 10:38:43 -0400 Subject: [Ns-bugs] [Bug 864] invalid return value in UdpSocketImpl::Send and Ipv4RawSocketImpl::Send In-Reply-To: References: Message-ID: <20100407143844.04B5620C066@deliverator6.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=864 Mathieu Lacage changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|invalid return value in |invalid return value in |UdpSocketImpl and |UdpSocketImpl::Send and |Ipv4RawSocketImpl |Ipv4RawSocketImpl::Send --- Comment #1 from Mathieu Lacage 2010-04-07 10:38:43 EDT --- originally, reported by Hajime Tazaki -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Wed Apr 7 07:40:53 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Wed, 7 Apr 2010 10:40:53 -0400 Subject: [Ns-bugs] [Bug 865] New: Ipv4RawSocketImpl::RecvFrom does not return from address all the time. Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=865 Summary: Ipv4RawSocketImpl::RecvFrom does not return from address all the time. Product: ns-3 Version: pre-release Platform: All OS/Version: All Status: NEW Severity: normal Priority: P5 Component: internet-stack AssignedTo: ns-bugs at isi.edu ReportedBy: mathieu.lacage at sophia.inria.fr Estimated Hours: 0.0 reported by Hajime Tazaki -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Wed Apr 7 07:41:08 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Wed, 7 Apr 2010 10:41:08 -0400 Subject: [Ns-bugs] [Bug 857] Link-Local Multicast handle in Ipv4 Output processing In-Reply-To: References: Message-ID: <20100407144108.CDB3B20C116@deliverator6.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=857 --- Comment #1 from tazaki at sfc.wide.ad.jp 2010-04-07 10:41:08 EDT --- Created an attachment (id=811) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=811) Handle IPv4 Link-local multicast address correctly -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Wed Apr 7 07:41:55 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Wed, 7 Apr 2010 10:41:55 -0400 Subject: [Ns-bugs] [Bug 858] support MSG_PEEK in IPv4/IPv6 raw socket In-Reply-To: References: Message-ID: <20100407144155.11C945E407C@deliverator4.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=858 --- Comment #1 from tazaki at sfc.wide.ad.jp 2010-04-07 10:41:54 EDT --- Created an attachment (id=812) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=812) Support MSG_PEEK flag in socket -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Wed Apr 7 07:42:05 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Wed, 7 Apr 2010 10:42:05 -0400 Subject: [Ns-bugs] [Bug 865] Ipv4RawSocketImpl::RecvFrom does not return from address all the time. In-Reply-To: References: Message-ID: <20100407144206.5306B20C066@deliverator6.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=865 --- Comment #1 from Mathieu Lacage 2010-04-07 10:42:05 EDT --- Created an attachment (id=813) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=813) patch from hajime see also http://codereview.appspot.com/805044/show -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Wed Apr 7 07:42:56 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Wed, 7 Apr 2010 10:42:56 -0400 Subject: [Ns-bugs] [Bug 859] Output interface estimation for the source address bound socket in IPv4 Raw socket In-Reply-To: References: Message-ID: <20100407144256.CF4AA18033A@deliverator5.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=859 --- Comment #1 from tazaki at sfc.wide.ad.jp 2010-04-07 10:42:56 EDT --- Created an attachment (id=814) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=814) Picking output interface from source address -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Wed Apr 7 07:45:51 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Wed, 7 Apr 2010 10:45:51 -0400 Subject: [Ns-bugs] [Bug 864] invalid return value in UdpSocketImpl::Send and Ipv4RawSocketImpl::Send In-Reply-To: References: Message-ID: <20100407144552.055A24800EA@deliverator2.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=864 --- Comment #2 from Mathieu Lacage 2010-04-07 10:45:51 EDT --- Created an attachment (id=815) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=815) patch from hajime see also http://codereview.appspot.com/805044/show -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Wed Apr 7 07:50:07 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Wed, 7 Apr 2010 10:50:07 -0400 Subject: [Ns-bugs] [Bug 865] Ipv4RawSocketImpl::RecvFrom does not return from address all the time. In-Reply-To: References: Message-ID: <20100407145008.0669E1550BF@deliverator3.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=865 Mathieu Lacage changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |VERIFIED Resolution| |FIXED --- Comment #2 from Mathieu Lacage 2010-04-07 10:50:07 EDT --- changeset bef40786d55b -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Wed Apr 7 07:49:50 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Wed, 7 Apr 2010 10:49:50 -0400 Subject: [Ns-bugs] [Bug 864] invalid return value in UdpSocketImpl::Send and Ipv4RawSocketImpl::Send In-Reply-To: References: Message-ID: <20100407144951.90D90183577@deliverator5.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=864 Mathieu Lacage changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #3 from Mathieu Lacage 2010-04-07 10:49:50 EDT --- changeset 21c9ea05058b -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Wed Apr 7 08:11:50 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Wed, 7 Apr 2010 11:11:50 -0400 Subject: [Ns-bugs] [Bug 859] Output interface estimation for the source address bound socket in IPv4 Raw socket In-Reply-To: References: Message-ID: <20100407151150.9A47F155A56@deliverator3.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=859 Tom Henderson changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tomh at tomh.org --- Comment #2 from Tom Henderson 2010-04-07 11:11:50 EDT --- +1 -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Wed Apr 7 08:13:13 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Wed, 7 Apr 2010 11:13:13 -0400 Subject: [Ns-bugs] [Bug 863] Wrong Scalar arithmetics In-Reply-To: References: Message-ID: <20100407151313.842812DDA32@deliverator1.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=863 Tom Henderson changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 CC| |ns-bugs at isi.edu, | |tomh at tomh.org AssignedTo|ns-bugs at isi.edu |mathieu.lacage at sophia.inria | |.fr Severity|normal |critical -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. You are the assignee for the bug. From code at nsnam.ece.gatech.edu Wed Apr 7 08:15:34 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Wed, 7 Apr 2010 11:15:34 -0400 Subject: [Ns-bugs] [Bug 862] NotifyInterfaceUp() Adds network route even when netmask is /32 In-Reply-To: References: Message-ID: <20100407151534.99E4F5E418A@deliverator4.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=862 Tom Henderson changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 |P3 CC| |ns-bugs at isi.edu AssignedTo|ns-bugs at isi.edu |tomh at tomh.org --- Comment #3 from Tom Henderson 2010-04-07 11:15:33 EDT --- I plan to push this during the current maintenance window if there are no other comments. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. You are the assignee for the bug. From code at nsnam.ece.gatech.edu Wed Apr 7 08:55:01 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Wed, 7 Apr 2010 11:55:01 -0400 Subject: [Ns-bugs] [Bug 822] NetDevice::Mtu attribute not settable by default In-Reply-To: References: Message-ID: <20100407155501.CB84E20C0A4@deliverator6.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=822 --- Comment #10 from Tom Henderson 2010-04-07 11:55:01 EDT --- (In reply to comment #9) > Created an attachment (id=810) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=810) [details] > implement option 2. > > All tests pass with this patch. A couple of interesting notes: > > 1) this removes all the frame size code to avoid confusion between the frame > size and mtu > 2) this fixes a bug in udp-client-server-test.cc: it was setting the device mtu > but this did not work correctly so, the test was working when it should not. > 3) I have been really super careful to keep the existing default behavior so > that existing code which did not change the mtu would keep working. > 4) I have tried really hard to not introduce new indentation in all files I > touched: a lot of them do not have coding-style indentation so, I had to do it > by hand so, I might have gotten it wrong. > 5) Requires a python rescan on top. Did not include it in this patch to avoid > confusion. > > I really would like to fix this bug for this release so, it would be helpful if > someone could review it. I am fine with this solution in general and the approach of this patch; I assume you preserve the methods SetMtu/GetMtu for backward compatibility. I disagree with a few of the defaults; suggest that they be changed as follows: Bridge: 1500 CSMA: 1500 Emu: ? /* Should we delete Mtu attribute here? */ TapBridge: ? /* Should we delete Mtu attribute here? */ Virtual: 1500 WiMAX: 1400 /* Amine should confirm this value */ I am OK with not enforcing a frame size on Csma because users may want to turn Mtu to 9000 (Jumbograms) and it would be nice if they could do so without rebuilding the csma code. Regarding wifi, how do you propose to handle MSDU aggregation? A user may think that he/she can set the MTU on an 802.11n device to larger and will be blocked by the integer constant set to 2304. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Wed Apr 7 09:03:30 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Wed, 7 Apr 2010 12:03:30 -0400 Subject: [Ns-bugs] [Bug 822] NetDevice::Mtu attribute not settable by default In-Reply-To: References: Message-ID: <20100407160330.E15AC2DDCE4@deliverator1.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=822 Mathieu Lacage changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |amine.ismail at sophia.inria.f | |r, nbaldo at cttc.es --- Comment #11 from Mathieu Lacage 2010-04-07 12:03:29 EDT --- (In reply to comment #10) > > I am fine with this solution in general and the approach of this patch; I > assume you preserve the methods SetMtu/GetMtu for backward compatibility. I think that it makes sense to keep these methods around, for linux net_device alignment. > I disagree with a few of the defaults; suggest that they be changed as follows: I don't care much about the defaults: I merely copied what was in there already. I would support keeping the emu/tapbridge mtus but it's not something I care much about. > Bridge: 1500 > CSMA: 1500 > Emu: ? /* Should we delete Mtu attribute here? */ > TapBridge: ? /* Should we delete Mtu attribute here? */ > Virtual: 1500 > WiMAX: 1400 /* Amine should confirm this value */ I have CCed amine. > > I am OK with not enforcing a frame size on Csma because users may want to turn > Mtu to 9000 (Jumbograms) and it would be nice if they could do so without > rebuilding the csma code. > > Regarding wifi, how do you propose to handle MSDU aggregation? A user may > think that he/she can set the MTU on an 802.11n device to larger and will be > blocked by the integer constant set to 2304. I think that if users think this, they are seriously misleaded. i.e., this is not what MSDU aggregation is about but I guess that is a question for our new wifi maintainer. CCing him. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Wed Apr 7 09:37:02 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Wed, 7 Apr 2010 12:37:02 -0400 Subject: [Ns-bugs] [Bug 822] NetDevice::Mtu attribute not settable by default In-Reply-To: References: Message-ID: <20100407163702.C72E815407B@deliverator3.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=822 --- Comment #12 from Mohamed Amine ISMAIL 2010-04-07 12:37:02 EDT --- default MTU for WiMAX: ====================== The 802.16 standard allows about 2039 bytes of payload (the len is coded on 11bits including the size of the header=6 and optional 2bytes crc). 16ng-ipv4-over-802-dot-16-ipcs IETF draft specifies that the default MTU should be 1500. However The WiMAX forum recommended 1400 bytes!:) I think that it is wise to use the value recommended by the WiMAx forum (1400) -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Wed Apr 7 09:40:01 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Wed, 7 Apr 2010 12:40:01 -0400 Subject: [Ns-bugs] [Bug 822] NetDevice::Mtu attribute not settable by default In-Reply-To: References: Message-ID: <20100407164001.273145E40E8@deliverator4.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=822 --- Comment #13 from Tom Henderson 2010-04-07 12:40:00 EDT --- (In reply to comment #11) > > Regarding wifi, how do you propose to handle MSDU aggregation? A user may > > think that he/she can set the MTU on an 802.11n device to larger and will be > > blocked by the integer constant set to 2304. > > I think that if users think this, they are seriously misleaded. i.e., this is > not what MSDU aggregation is about but I guess that is a question for our new > wifi maintainer. CCing him. I thought I had read in the past that 802.11n aggregation allowed larger MTUs, but I will defer to the experts here because I could have misunderstood it. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Wed Apr 7 09:42:55 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Wed, 7 Apr 2010 12:42:55 -0400 Subject: [Ns-bugs] [Bug 831] Insufficient numerical precision of timestamped simulation time in the ascii trace file (ns-3.7) In-Reply-To: References: Message-ID: <20100407164255.9BAAF155B37@deliverator3.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=831 Tom Henderson changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ns-bugs at isi.edu AssignedTo|ns-bugs at isi.edu |craigdo at ee.washington.edu -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. You are the assignee for the bug. From code at nsnam.ece.gatech.edu Wed Apr 7 09:43:15 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Wed, 7 Apr 2010 12:43:15 -0400 Subject: [Ns-bugs] [Bug 830] Insufficient numerical precision of timestamped simulation time in the ascii trace file (ns-3-dev) In-Reply-To: References: Message-ID: <20100407164315.633E7183569@deliverator5.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=830 Tom Henderson changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ns-bugs at isi.edu AssignedTo|ns-bugs at isi.edu |craigdo at ee.washington.edu -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. You are the assignee for the bug. From code at nsnam.ece.gatech.edu Wed Apr 7 09:48:31 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Wed, 7 Apr 2010 12:48:31 -0400 Subject: [Ns-bugs] [Bug 857] Link-Local Multicast handle in Ipv4 Output processing In-Reply-To: References: Message-ID: <20100407164831.8B2A3155B97@deliverator3.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=857 Tom Henderson changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tomh at tomh.org --- Comment #2 from Tom Henderson 2010-04-07 12:48:31 EDT --- +1 -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Wed Apr 7 11:17:35 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Wed, 7 Apr 2010 14:17:35 -0400 Subject: [Ns-bugs] [Bug 822] NetDevice::Mtu attribute not settable by default In-Reply-To: References: Message-ID: <20100407181735.D81221834AC@deliverator5.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=822 --- Comment #14 from Craig Dowell 2010-04-07 14:17:34 EDT --- Okay, I hadn't considered automatic attribute setter programs which can decide on their own setter execution order. As you suggest, if there are any inter-attribute dependencies that can produce errors, these can fail in unexpected ways as the setters are called according to the convenience of the program, not the semantics of the attributes. The corollary is that *any* consistency checks for attributes *must* be done after Simulator::Run() is called and not during configuration time. This should be advertized somewhere fairly prominently. I think that demanding that attributes be completely independent at *all* times is too restrictive. It seems clear to me that attributes can have dependencies, though, so consistency checking at run-time seems appropriate. With that in mind, having an mtu and a maximum frame size attribute (like in Linux) is still possible -- the consistency checks just need to be done while the device is running. I still think having a maximum frame size is important because of the following: Regarding the proposed patch, be aware that if you set the mtu to the default 1500 bytes and select LLC/SNAP framing you are going to be capable of generating illegally long Ethernet packets! MTU 1500, DIX encapsulation works out to 1518 byte frames. MTU 1492, LLC/SNAP encapsulation works out to 1518 byte frames. MTU 1500, LLC/SNAP encapsulation works out to 1526 byte frames. This is why the frame size was there in the first place; and the mtu from framesize calculation was there so a user didn't have to get out a calculator to set mtu properly. The fact that this behavior can happen so easily should also be advertized somewhere prominently if maximum frame size is removed. Would most people consider it a bug? It's a small error, but it is a modelling error if you think CSMA is Ethernet with respect to framing. Having a maximum frame size attribute that derfaults to 1518 bytes would at least cause a runtime error if a user neglects to reduce MTU to 1492 when setting Llc encapsulation. Of course, CSMA is not Ethernet, and it could be argued that the maximum frame size in a CSMA device is coincidentally 1526 bytes not 1518 and we just don't use those extra eight bytes in the default case :-) That said, it's obvious that having a maximum frame size attribute is not very popular, so I'll defer to the majority on this one. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Wed Apr 7 11:45:49 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Wed, 7 Apr 2010 14:45:49 -0400 Subject: [Ns-bugs] [Bug 831] Insufficient numerical precision of timestamped simulation time in the ascii trace file (ns-3.7) In-Reply-To: References: Message-ID: <20100407184549.59E222DEE03@deliverator1.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=831 --- Comment #1 from Craig Dowell 2010-04-07 14:45:49 EDT --- With the new tracing framework, a user can set the floating point precision of the underlying stream to whatever is required. AsciiTraceHelper helper; Ptr stream = helper.CreateFileStream ("file"); stream->GetStream ()->precision (8); Does that meet your needs? -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Wed Apr 7 11:53:17 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Wed, 7 Apr 2010 14:53:17 -0400 Subject: [Ns-bugs] [Bug 830] Insufficient numerical precision of timestamped simulation time in the ascii trace file (ns-3-dev) In-Reply-To: References: Message-ID: <20100407185317.BA9DA480075@deliverator2.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=830 --- Comment #1 from Craig Dowell 2010-04-07 14:53:17 EDT --- With the new tracing framework, a user can set the floating point precision of the underlying stream to whatever is required. AsciiTraceHelper helper; Ptr stream = helper.CreateFileStream ("file"); stream->GetStream ()->precision (8); Does that meet your needs? -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Wed Apr 7 12:49:30 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Wed, 7 Apr 2010 15:49:30 -0400 Subject: [Ns-bugs] [Bug 819] Build break when gtk not installed In-Reply-To: References: Message-ID: <20100407194930.6304639C42A@deliverator3.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=819 Josh Pelkey changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #3 from Josh Pelkey 2010-04-07 15:49:30 EDT --- (In reply to comment #2) > > There is code to detect gtk: > > The problem was, I think, that some of the code in contrib ignored that code. > I also think I saw a fix written by Mathieu fly by, but I'm not certain. I no > longer have a machine handy without GTK to test this. > > If it's fixed, I'm fine with whoever fixed it closing the bug. I think maybe you are referring to this changeset: http://code.nsnam.org/ns-3-dev/rev/93a684517ead I also just tested the build on a system without GTK. Went ok. Marking this resolved. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Wed Apr 7 13:10:46 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Wed, 7 Apr 2010 16:10:46 -0400 Subject: [Ns-bugs] [Bug 822] NetDevice::Mtu attribute not settable by default In-Reply-To: References: Message-ID: <20100407201046.F2CA44800C2@deliverator2.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=822 --- Comment #15 from Tom Henderson 2010-04-07 16:10:46 EDT --- (In reply to comment #14) > > The corollary is that *any* consistency checks for attributes *must* be done > after Simulator::Run() is called and not during configuration time. This > should be advertized somewhere fairly prominently. I think that demanding that > attributes be completely independent at *all* times is too restrictive. It > seems clear to me that attributes can have dependencies, though, so consistency > checking at run-time seems appropriate. I agree with these observations: 1) document this prominently somewhere, 2) we cannot escape any dependencies between attributes in general so run-time checking is needed > > With that in mind, having an mtu and a maximum frame size attribute (like in > Linux) is still possible -- the consistency checks just need to be done while > the device is running. I still think having a maximum frame size is important > because of the following: > > Regarding the proposed patch, be aware that if you set the mtu to the default > 1500 bytes and select LLC/SNAP framing you are going to be capable of > generating illegally long Ethernet packets! > > MTU 1500, DIX encapsulation works out to 1518 byte frames. > MTU 1492, LLC/SNAP encapsulation works out to 1518 byte frames. > MTU 1500, LLC/SNAP encapsulation works out to 1526 byte frames. > > This is why the frame size was there in the first place; and the mtu from > framesize calculation was there so a user didn't have to get out a calculator > to set mtu properly. The fact that this behavior can happen so easily should > also be advertized somewhere prominently if maximum frame size is removed. > Would most people consider it a bug? > > It's a small error, but it is a modelling error if you think CSMA is Ethernet > with respect to framing. Having a maximum frame size attribute that derfaults > to 1518 bytes would at least cause a runtime error if a user neglects to reduce > MTU to 1492 when setting Llc encapsulation. Of course, CSMA is not Ethernet, > and it could be argued that the maximum frame size in a CSMA device is > coincidentally 1526 bytes not 1518 and we just don't use those extra eight > bytes in the default case :-) > > That said, it's obvious that having a maximum frame size attribute is not very > popular, so I'll defer to the majority on this one. I sympathize with the above; the main practical issue that I see in this specific case is that our abstract Csma device can represent, in practice, different varieties of Ethernet technology with different maximum frame sizes. If Csma was intended to model 10Base5 Ethernet specifically, then yes, I would argue we need to support the above restriction. But various Ethernet frame sizes can range up to 9000 bytes. I think a more common use case from a usability perspective is that if a user wants to simulate jumbo frames, he or she would prefer to just do: Config::SetDefault ("ns3::CsmaNetDevice::Mtu", UintegerValue ("9000")); rather than set both an Mtu and a FrameSize attribute, and we should just document some disclaimer like the following in csma-net-device.h: "The CsmaNetDevice does not model any particular Ethernet technology specifically, but Ethernet-like devices in general. Since real-world Ethernet can support different frame sizes depending on the technology, this device does not enforce a maximum MTU. It is possible to configure the MTU to a value that would not be supported by a particular underlying Ethernet technology." I would be OK with setting an integer constant upper bound on the frame size such as 9100 bytes (since there are practical limits to frame sizes even for jumbo-capable devices due to the error checking capabilities of the codes); this would prevent obvious user error of setting it accidentally to very high values. But I don't care strongly about this constant. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Wed Apr 7 13:46:58 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Wed, 7 Apr 2010 16:46:58 -0400 Subject: [Ns-bugs] [Bug 833] OnOffApplication with PacketSocket: sniffs all traffic In-Reply-To: References: Message-ID: <20100407204658.135F7183564@deliverator5.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=833 Josh Pelkey changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jpelkey at gatech.edu --- Comment #4 from Josh Pelkey 2010-04-07 16:46:57 EDT --- (In reply to comment #2) > Created an attachment (id=782) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=782) [details] > patch > > I think this is the most elegant patch. Calls ShutDownSend and ShutDownRecv > where appropriate. No trace files change with the patch. What happens if OnOffApplication uses TCP sockets? It seems like this might not work. For example, after applying this patch and running examples/csma/csma-star.cc, the tcpdumps show a bunch of SYN ACKS coming in to node 0, over and over again. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Wed Apr 7 14:42:14 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Wed, 7 Apr 2010 17:42:14 -0400 Subject: [Ns-bugs] [Bug 833] OnOffApplication with PacketSocket: sniffs all traffic In-Reply-To: References: Message-ID: <20100407214214.96CEC2DDCDD@deliverator1.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=833 --- Comment #5 from Gustavo J. A. M. Carneiro 2010-04-07 17:42:14 EDT --- (In reply to comment #4) > (In reply to comment #2) > > Created an attachment (id=782) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=782) [details] [details] > > patch > > > > I think this is the most elegant patch. Calls ShutDownSend and ShutDownRecv > > where appropriate. No trace files change with the patch. > > What happens if OnOffApplication uses TCP sockets? It seems like this might > not work. For example, after applying this patch and running > examples/csma/csma-star.cc, the tcpdumps show a bunch of SYN ACKS coming in to > node 0, over and over again. Maybe it's a bug in TCP's implementation of ShutdownSend|Recv? -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Wed Apr 7 16:41:16 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Wed, 7 Apr 2010 19:41:16 -0400 Subject: [Ns-bugs] [Bug 859] Output interface estimation for the source address bound socket in IPv4 Raw socket In-Reply-To: References: Message-ID: <20100407234116.5784C1558F5@deliverator3.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=859 --- Comment #3 from tazaki at sfc.wide.ad.jp 2010-04-07 19:41:16 EDT --- (In reply to comment #2) > +1 Tom, thanks. In order to reflect this modification, I've added one test in udp-test.cc as follows, but it cause another problem. diff -r ddd5c567f02d src/internet-stack/udp-test.cc --- a/src/internet-stack/udp-test.cc Thu Apr 08 00:34:56 2010 +0900 +++ b/src/internet-stack/udp-test.cc Thu Apr 08 01:31:43 2010 +0900 @@ -239,6 +239,16 @@ m_receivedPacket->RemoveAllByteTags (); m_receivedPacket2->RemoveAllByteTags (); + // Simple Link-local multicast test + + txSocket->BindToNetDevice (txDev1); + SendData (txSocket, "224.0.0.9"); + NS_TEST_EXPECT_MSG_EQ (m_receivedPacket->GetSize (), 123, "trivial"); + NS_TEST_EXPECT_MSG_EQ (m_receivedPacket2->GetSize (), 0, "second socket should not receive it (it is bound specifically to the second interface's address"); + + m_receivedPacket->RemoveAllByteTags (); + m_receivedPacket2->RemoveAllByteTags (); + // Broadcast test with multiple receiving sockets // When receiving broadcast packets, all sockets sockets bound to During using raw socket, we never face this problem (since every packet goes up to the socket), but in UDP, we use routing table for local delivery (in Ipv4StaticRouting::RoutInput), but it seems not to working so far. bool Ipv4StaticRouting::RouteInput (Ptr p, const Ipv4Header &ipHeader, Ptr idev, UnicastForwardCallback ucb, MulticastForwardCallback mcb, LocalDeliverCallback lcb, ErrorCallback ecb) { // Multicast recognition; handle local delivery here // if (ipHeader.GetDestination ().IsMulticast ()) { NS_LOG_LOGIC ("Multicast destination"); Ptr mrtentry = LookupStatic(ipHeader.GetSource (), ipHeader.GetDestination (), m_ipv4->GetInterfaceForDevice (idev)); Do you have any idea ? I'll keep thinking how to solve it. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Wed Apr 7 16:45:48 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Wed, 7 Apr 2010 19:45:48 -0400 Subject: [Ns-bugs] [Bug 859] Output interface estimation for the source address bound socket in IPv4 Raw socket In-Reply-To: References: Message-ID: <20100407234548.B19AB18324A@deliverator5.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=859 --- Comment #4 from tazaki at sfc.wide.ad.jp 2010-04-07 19:45:48 EDT --- (In reply to comment #3) I'm sorry, but I had mistaken to reply message. Comment #3 is not reply for this bug. Please ignore it. > (In reply to comment #2) > > +1 > > Tom, thanks. > > In order to reflect this modification, I've added one test in udp-test.cc as > follows, but it cause another problem. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Wed Apr 7 16:48:28 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Wed, 7 Apr 2010 19:48:28 -0400 Subject: [Ns-bugs] [Bug 857] Link-Local Multicast handle in Ipv4 Output processing In-Reply-To: References: Message-ID: <20100407234828.9895148012E@deliverator2.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=857 --- Comment #3 from tazaki at sfc.wide.ad.jp 2010-04-07 19:48:28 EDT --- (In reply to comment #2) > +1 Tom, thanks. #I repied this message as wrong bug number (#859), but this message is surely for this bug. In order to reflect this modification, I've added one test in udp-test.cc as follows, but it cause another problem. diff -r ddd5c567f02d src/internet-stack/udp-test.cc --- a/src/internet-stack/udp-test.cc Thu Apr 08 00:34:56 2010 +0900 +++ b/src/internet-stack/udp-test.cc Thu Apr 08 01:31:43 2010 +0900 @@ -239,6 +239,16 @@ m_receivedPacket->RemoveAllByteTags (); m_receivedPacket2->RemoveAllByteTags (); + // Simple Link-local multicast test + + txSocket->BindToNetDevice (txDev1); + SendData (txSocket, "224.0.0.9"); + NS_TEST_EXPECT_MSG_EQ (m_receivedPacket->GetSize (), 123, "trivial"); + NS_TEST_EXPECT_MSG_EQ (m_receivedPacket2->GetSize (), 0, "second socket should not receive it (it is bound specifically to the second interface's address"); + + m_receivedPacket->RemoveAllByteTags (); + m_receivedPacket2->RemoveAllByteTags (); + // Broadcast test with multiple receiving sockets // When receiving broadcast packets, all sockets sockets bound to During using raw socket, we never face this problem (since every packet goes up to the socket), but in UDP, we use routing table for local delivery (in Ipv4StaticRouting::RoutInput), but it seems not to working so far. bool Ipv4StaticRouting::RouteInput (Ptr p, const Ipv4Header &ipHeader, Ptr idev, UnicastForwardCallback ucb, MulticastForwardCallback mcb, LocalDeliverCallback lcb, ErrorCallback ecb) { // Multicast recognition; handle local delivery here // if (ipHeader.GetDestination ().IsMulticast ()) { NS_LOG_LOGIC ("Multicast destination"); Ptr mrtentry = LookupStatic(ipHeader.GetSource (), ipHeader.GetDestination (), m_ipv4->GetInterfaceForDevice (idev)); Do you have any idea ? I'll keep thinking how to solve it. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Wed Apr 7 19:29:41 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Wed, 7 Apr 2010 22:29:41 -0400 Subject: [Ns-bugs] [Bug 859] Output interface estimation for the source address bound socket in IPv4 Raw socket In-Reply-To: References: Message-ID: <20100408022941.0DC8218284C@deliverator5.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=859 tazaki at sfc.wide.ad.jp changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #814 is|0 |1 obsolete| | --- Comment #5 from tazaki at sfc.wide.ad.jp 2010-04-07 22:29:40 EDT --- Created an attachment (id=816) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=816) changeset 6173 6ff89f45451c -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Wed Apr 7 20:02:12 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Wed, 7 Apr 2010 23:02:12 -0400 Subject: [Ns-bugs] [Bug 859] Output interface estimation for the source address bound socket in IPv4 Raw socket In-Reply-To: References: Message-ID: <20100408030212.223615E404C@deliverator4.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=859 tazaki at sfc.wide.ad.jp changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |VERIFIED Resolution| |FIXED --- Comment #6 from tazaki at sfc.wide.ad.jp 2010-04-07 23:02:11 EDT --- (In reply to comment #5) > Created an attachment (id=816) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=816) [details] > changeset 6173 6ff89f45451c I've added test code and already pushed. test code is: changeset: 6175:910171e4181c -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Wed Apr 7 22:37:41 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Thu, 8 Apr 2010 01:37:41 -0400 Subject: [Ns-bugs] [Bug 866] New: WiMAX mobility models not aggregated to Node Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=866 Summary: WiMAX mobility models not aggregated to Node Product: ns-3 Version: pre-release Platform: All OS/Version: All Status: NEW Severity: critical Priority: P2 Component: wimax AssignedTo: amine.ismail at sophia.inria.fr ReportedBy: tomh at tomh.org CC: ns-bugs at isi.edu, amine.ismail at sophia.inria.fr Estimated Hours: 0.0 Mobility models in WiMAX are added to the Phy, not to the node, and they are not aggregated. in wimax-phy.h, there is: /** * \return the mobility model of the device */ virtual Ptr GetMobility (void); /** * \brief set the mobility model of the device * \param mobility the mobility model to set */ virtual void SetMobility (Ptr mobility); and the examples/wimax/wimax-multicast.cc adds mobility this way. Unfortunately, this does not work since Object::DoStart() is never called and so the nodes do not move. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Wed Apr 7 22:41:13 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Thu, 8 Apr 2010 01:41:13 -0400 Subject: [Ns-bugs] [Bug 866] WiMAX mobility models not aggregated to Node In-Reply-To: References: Message-ID: <20100408054113.46E2A1801A3@deliverator5.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=866 --- Comment #1 from Tom Henderson 2010-04-08 01:41:12 EDT --- Created an attachment (id=817) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=817) patch to fix wimax-multicast example This patch will fix wimax-multicast.cc example. However, there is more to this because the channel needs to find these new aggregated mobility models. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Wed Apr 7 22:45:08 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Thu, 8 Apr 2010 01:45:08 -0400 Subject: [Ns-bugs] [Bug 866] WiMAX mobility models not aggregated to Node In-Reply-To: References: Message-ID: <20100408054509.051355E4147@deliverator4.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=866 --- Comment #2 from Tom Henderson 2010-04-08 01:45:08 EDT --- Created an attachment (id=818) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=818) patch to try to fix simple-ofdm-wimax-channel This patch tries to use the aggregated mobility models. However, this patch leads to a problem. There is a runtime assertion in the buffer deserialization (maybe a packet without a proper header was received?). assert failed. file=../src/common/buffer.h, line=707, cond="m_current >= m_dataStart && m_current <= m_dataEnd" (gdb) bt #0 0x00007ffff72d9960 in ns3::Buffer::Iterator::ReadU8 (this=0x7ffffffe6af0) at ../src/common/buffer.h:706 #1 0x00007ffff79a07cf in ns3::GenericMacHeader::Deserialize (this= 0x7ffffffe6f00, start=...) at ../src/devices/wimax/wimax-mac-header.cc:271 #2 0x00007ffff72fcd15 in ns3::Packet::RemoveHeader (this=0x820e10, header=...) at ../src/common/packet.cc:264 #3 0x00007ffff7995d60 in ns3::SubscriberStationNetDevice::DoReceive (this= 0x7b4120, packet=...) at ../src/devices/wimax/ss-net-device.cc:742 #4 0x00007ffff796dffe in ns3::WimaxNetDevice::Receive (this=0x7b4120, burst= ...) at ../src/devices/wimax/wimax-net-device.cc:528 #5 0x00007ffff7975f55 in ns3::MemPtrCallbackImpl), void, ns3::Ptr, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>::operator() (this=0x7b4d40, a1=...) at debug/ns3/callback.h:223 #6 0x00007ffff79bd16c in ns3::Callback, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>::operator() (this=0x7ffffffe76c0, a1=...) at debug/ns3/callback.h:410 #7 0x00007ffff79b85e8 in ns3::SimpleOfdmWimaxPhy::EndReceive (this=0x7960d0, burst=...) at ../src/devices/wimax/simple-ofdm-wimax-phy.cc:464 To reproduce this, you should be able to apply these two patches in the tracker and try to run wimax-multicast -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Wed Apr 7 23:16:20 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Thu, 8 Apr 2010 02:16:20 -0400 Subject: [Ns-bugs] [Bug 857] Link-Local Multicast handle in Ipv4 Output processing In-Reply-To: References: Message-ID: <20100408061620.C1EA95E40F6@deliverator4.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=857 --- Comment #4 from Tom Henderson 2010-04-08 02:16:20 EDT --- > > Do you have any idea ? > > I'll keep thinking how to solve it. I wonder whether this check in the endpoint demux: if (endP->GetBoundNetDevice ()) { if (endP->GetBoundNetDevice () != incomingInterface->GetDevice ()) { NS_LOG_LOGIC ("Skipping endpoint " << &endP << " because endpoint is bound to specific device and" << endP->GetBoundNetDevice () << " does not match packet device " << incomingInterface->GetDevice ()); continue; } } should be moved up the stack to UdpL4Protocol::Receive() method (also for Tcp). -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Thu Apr 8 00:16:45 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Thu, 8 Apr 2010 03:16:45 -0400 Subject: [Ns-bugs] [Bug 822] NetDevice::Mtu attribute not settable by default In-Reply-To: References: Message-ID: <20100408071645.3392D39C1E9@deliverator3.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=822 --- Comment #16 from Mathieu Lacage 2010-04-08 03:16:44 EDT --- (In reply to comment #14) > Okay, I hadn't considered automatic attribute setter programs which can decide > on their own setter execution order. As you suggest, if there are any > inter-attribute dependencies that can produce errors, these can fail in > unexpected ways as the setters are called according to the convenience of the > program, not the semantics of the attributes. > > The corollary is that *any* consistency checks for attributes *must* be done > after Simulator::Run() is called and not during configuration time. This > should be advertized somewhere fairly prominently. I think that demanding that > attributes be completely independent at *all* times is too restrictive. It Yes, in practice, the value of some attributes is valid only with regard to the value of other attributes. So, they are not independent strictly speaking. The issue here is that we have conflicting requirements: - the value of attribute A is valid only with regard to the value of another attribute B. - we can't check consistency of both values when the Set happens because that makes the Setters have ordering requirements which breaks automatic setting programs - we can't check consistency upon entering ::Run because calls to Set can happen after ::Run is entered. The only way to make this work is to check consistency upon _use_ of the values which is what you are describing below. > With that in mind, having an mtu and a maximum frame size attribute (like in > Linux) is still possible -- the consistency checks just need to be done while > the device is running. I still think having a maximum frame size is important I think that the conclusion is that it would be nice if we could extend our existing models to automatically check consistency of the values they use upon each use. I will try to do this for csma and p2p for the encap+mtu attributes. What is interesting is that wifi (and I am pretty sure any non-trivial model) has similar problems but due to the complexity of checking consistency, we don't even try to do it and rely on the user to feed useful data in instead. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Thu Apr 8 01:05:39 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Thu, 8 Apr 2010 04:05:39 -0400 Subject: [Ns-bugs] [Bug 822] NetDevice::Mtu attribute not settable by default In-Reply-To: References: Message-ID: <20100408080539.C4AE3480161@deliverator2.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=822 --- Comment #17 from Mathieu Lacage 2010-04-08 04:05:39 EDT --- (In reply to comment #16) > I think that the conclusion is that it would be nice if we could extend our > existing models to automatically check consistency of the values they use upon > each use. I will try to do this for csma and p2p for the encap+mtu attributes. Based on tom's last comment, I suspect that this does not make much sense since it appears that we do want to allow long packet sizes to allow users to model the csma technology they want. To summarize, it looks like what is really missing is for nicola to ack the wifi part. The attached patch does update the wimax part to use 1400 as the default mtu value. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Thu Apr 8 01:06:11 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Thu, 8 Apr 2010 04:06:11 -0400 Subject: [Ns-bugs] [Bug 822] NetDevice::Mtu attribute not settable by default In-Reply-To: References: Message-ID: <20100408080611.7EA9E5E4033@deliverator4.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=822 --- Comment #18 from Mathieu Lacage 2010-04-08 04:06:11 EDT --- Created an attachment (id=819) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=819) set wimax mtu default to 1400. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Thu Apr 8 01:10:09 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Thu, 8 Apr 2010 04:10:09 -0400 Subject: [Ns-bugs] [Bug 822] NetDevice::Mtu attribute not settable by default In-Reply-To: References: Message-ID: <20100408081009.B8889480183@deliverator2.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=822 Mathieu Lacage changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #810 is|0 |1 obsolete| | Attachment #819 is|0 |1 obsolete| | --- Comment #19 from Mathieu Lacage 2010-04-08 04:10:09 EDT --- Created an attachment (id=820) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=820) update defaults as suggested by tom -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Thu Apr 8 01:10:38 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Thu, 8 Apr 2010 04:10:38 -0400 Subject: [Ns-bugs] [Bug 857] Link-Local Multicast handle in Ipv4 Output processing In-Reply-To: References: Message-ID: <20100408081038.EE9CB5E4103@deliverator4.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=857 --- Comment #5 from tazaki at sfc.wide.ad.jp 2010-04-08 04:10:38 EDT --- (In reply to comment #4) > > > > Do you have any idea ? > > > > I'll keep thinking how to solve it. > > I wonder whether this check in the endpoint demux: > > if (endP->GetBoundNetDevice ()) > { > if (endP->GetBoundNetDevice () != incomingInterface->GetDevice ()) > { > NS_LOG_LOGIC ("Skipping endpoint " << &endP > << " because endpoint is bound to specific device > and" > << endP->GetBoundNetDevice () > << " does not match packet device " << > incomingInterface->GetDevice ()); > continue; > } > } > > > should be moved up the stack to UdpL4Protocol::Receive() method (also for Tcp). It seems not the solution (I tried with this code). I'm not sure what is true, but.. the socket trying to receive the packet is bound to "10.0.0.1", where destination address is "224.0.0.9". In that case, should the socket not receive the packet? If the socked is bound to "0.0.0.0", the packet to 224.0.0.9 is received by udp socket. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Thu Apr 8 01:39:32 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Thu, 8 Apr 2010 04:39:32 -0400 Subject: [Ns-bugs] [Bug 857] Link-Local Multicast handle in Ipv4 Output processing In-Reply-To: References: Message-ID: <20100408083932.0CBC020C04E@deliverator6.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=857 --- Comment #6 from tazaki at sfc.wide.ad.jp 2010-04-08 04:39:31 EDT --- (In reply to comment #5) > (In reply to comment #4) > > > > > > Do you have any idea ? > > > > > > I'll keep thinking how to solve it. > > > > I wonder whether this check in the endpoint demux: > > > > if (endP->GetBoundNetDevice ()) > > { > > if (endP->GetBoundNetDevice () != incomingInterface->GetDevice ()) > > { > > NS_LOG_LOGIC ("Skipping endpoint " << &endP > > << " because endpoint is bound to specific device > > and" > > << endP->GetBoundNetDevice () > > << " does not match packet device " << > > incomingInterface->GetDevice ()); > > continue; > > } > > } > > > > > > should be moved up the stack to UdpL4Protocol::Receive() method (also for Tcp). > > It seems not the solution (I tried with this code). > > I'm not sure what is true, but.. > > the socket trying to receive the packet is bound to "10.0.0.1", where > destination address is "224.0.0.9". > In that case, should the socket not receive the packet? > > If the socked is bound to "0.0.0.0", the packet to 224.0.0.9 is received by udp > socket. At least, Linux seems to behave like that, if socket is bound to "10.0.0.1" or any other non-zero address, multicast packet is not delivered to socket. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Thu Apr 8 01:41:11 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Thu, 8 Apr 2010 04:41:11 -0400 Subject: [Ns-bugs] [Bug 857] Link-Local Multicast handle in Ipv4 Output processing In-Reply-To: References: Message-ID: <20100408084111.453BA4800C2@deliverator2.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=857 tazaki at sfc.wide.ad.jp changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #811 is|0 |1 obsolete| | --- Comment #7 from tazaki at sfc.wide.ad.jp 2010-04-08 04:41:11 EDT --- Created an attachment (id=821) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=821) Added testcase in udp-test.cc -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Thu Apr 8 04:19:43 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Thu, 8 Apr 2010 07:19:43 -0400 Subject: [Ns-bugs] [Bug 863] Wrong Scalar arithmetics In-Reply-To: References: Message-ID: <20100408111943.D7A0C182DC7@deliverator5.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=863 Mathieu Lacage changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #1 from Mathieu Lacage 2010-04-08 07:19:43 EDT --- changeset 2ae38db64dd1 -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Thu Apr 8 04:42:14 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Thu, 8 Apr 2010 07:42:14 -0400 Subject: [Ns-bugs] [Bug 555] DCF immediate access bug In-Reply-To: References: Message-ID: <20100408114214.DCDDC2DEE54@deliverator1.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=555 Mathieu Lacage changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|mathieu.lacage at sophia.inria |nbaldo at cttc.es |.fr | -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Thu Apr 8 04:42:42 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Thu, 8 Apr 2010 07:42:42 -0400 Subject: [Ns-bugs] [Bug 700] aAirPropagationTime is not added to a slot In-Reply-To: References: Message-ID: <20100408114242.A08AE2DEE5B@deliverator1.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=700 Mathieu Lacage changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|mathieu.lacage at sophia.inria |nbaldo at cttc.es |.fr | -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Thu Apr 8 04:43:03 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Thu, 8 Apr 2010 07:43:03 -0400 Subject: [Ns-bugs] [Bug 730] Enabling fragmentation at run-time breaks simulation In-Reply-To: References: Message-ID: <20100408114303.082FD20C0AE@deliverator6.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=730 Mathieu Lacage changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|mathieu.lacage at sophia.inria |nbaldo at cttc.es |.fr | -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Thu Apr 8 04:43:44 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Thu, 8 Apr 2010 07:43:44 -0400 Subject: [Ns-bugs] [Bug 761] Wrong ACK/CTSTimeout values In-Reply-To: References: Message-ID: <20100408114344.E27125E4033@deliverator4.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=761 Mathieu Lacage changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|mathieu.lacage at sophia.inria |nbaldo at cttc.es |.fr | -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Thu Apr 8 04:43:25 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Thu, 8 Apr 2010 07:43:25 -0400 Subject: [Ns-bugs] [Bug 737] Backoff procedure is not invoked when transmission is deferred In-Reply-To: References: Message-ID: <20100408114325.C2B19480170@deliverator2.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=737 Mathieu Lacage changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|mathieu.lacage at sophia.inria |nbaldo at cttc.es |.fr | -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Thu Apr 8 04:44:17 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Thu, 8 Apr 2010 07:44:17 -0400 Subject: [Ns-bugs] [Bug 799] Interference helper is too slow In-Reply-To: References: Message-ID: <20100408114417.3F846155B2D@deliverator3.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=799 Mathieu Lacage changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|mathieu.lacage at sophia.inria |nbaldo at cttc.es |.fr | -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Thu Apr 8 04:44:00 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Thu, 8 Apr 2010 07:44:00 -0400 Subject: [Ns-bugs] [Bug 766] doxygen updates for QoS/EDCA In-Reply-To: References: Message-ID: <20100408114400.69A0C20C05C@deliverator6.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=766 Mathieu Lacage changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|mathieu.lacage at sophia.inria |nbaldo at cttc.es |.fr | -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Thu Apr 8 05:16:11 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Thu, 8 Apr 2010 08:16:11 -0400 Subject: [Ns-bugs] [Bug 822] NetDevice::Mtu attribute not settable by default In-Reply-To: References: Message-ID: <20100408121611.6672E5E4195@deliverator4.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=822 --- Comment #20 from Nicola Baldo 2010-04-08 08:16:10 EDT --- (In reply to comment #13) > (In reply to comment #11) > > > Regarding wifi, how do you propose to handle MSDU aggregation? A user may > > > think that he/she can set the MTU on an 802.11n device to larger and will be > > > blocked by the integer constant set to 2304. > > > > I think that if users think this, they are seriously misleaded. i.e., this is > > not what MSDU aggregation is about but I guess that is a question for our new > > wifi maintainer. CCing him. > > I thought I had read in the past that 802.11n aggregation allowed larger MTUs, > but I will defer to the experts here because I could have misunderstood it. my understanding of the standard is that the use of MSDU aggregation does not affect the requirement that a single MSDU has a maximum size of 2304. An A-MSDU can be larger, but it can only be created by sending to the MAC several smaller MSDUs (e.g., IP packets) which are then aggregated. That said, I am ok with the proposed patch, because it is correct for wifi, and in general it simplifies things. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Thu Apr 8 05:26:57 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Thu, 8 Apr 2010 08:26:57 -0400 Subject: [Ns-bugs] [Bug 867] New: Minor bug in Ipv4L3Protocol::Send() Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=867 Summary: Minor bug in Ipv4L3Protocol::Send() Product: ns-3 Version: pre-release Platform: All OS/Version: All Status: NEW Severity: normal Priority: P5 Component: internet-stack AssignedTo: ns-bugs at isi.edu ReportedBy: beyondwdq at gmail.com Estimated Hours: 0.0 ns-3 version: The latest ns-3-dev version at the time I post this message. File: src/internet_stack/ipv4-l3-protocol.cc in function: void Ipv4L3Protocol::Send (Ptr packet, Ipv4Address source, Ipv4Address destination, uint8_t protocol, Ptr route) Line:601 if (route && route->GetGateway () != Ipv4Address ()) Description: According to the comments, I think this line should be if (route && route->GetGateway () == Ipv4Address ()) The comments are: // 4) packet is not broadcast, and is passed in with a route entry but route->GetGateway is not set (e.g., on-demand) However, currently this may not matter too much, since this condition is not implemented. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Thu Apr 8 06:40:02 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Thu, 8 Apr 2010 09:40:02 -0400 Subject: [Ns-bugs] [Bug 822] NetDevice::Mtu attribute not settable by default In-Reply-To: References: Message-ID: <20100408134002.30CCC5E4181@deliverator4.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=822 --- Comment #21 from Tom Henderson 2010-04-08 09:40:00 EDT --- (In reply to comment #17) > (In reply to comment #16) > > > I think that the conclusion is that it would be nice if we could extend our > > existing models to automatically check consistency of the values they use upon > > each use. I will try to do this for csma and p2p for the encap+mtu attributes. > > Based on tom's last comment, I suspect that this does not make much sense since > it appears that we do want to allow long packet sizes to allow users to model > the csma technology they want. If we agree that Csma is abstracting many such underlying Ethernet technologies and don't want to restrict frame size, then we may not have a consistency issue here anymore. > > To summarize, it looks like what is really missing is for nicola to ack the > wifi part. The attached patch does update the wimax part to use 1400 as the > default mtu value. What do you think about changing 0xffff defaults to 1500? -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Thu Apr 8 06:46:55 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Thu, 8 Apr 2010 09:46:55 -0400 Subject: [Ns-bugs] [Bug 868] New: invalid packet size after Ipv4L3Protocol::Send Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=868 Summary: invalid packet size after Ipv4L3Protocol::Send Product: ns-3 Version: ns-3.7 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P3 Component: internet-stack AssignedTo: ns-bugs at isi.edu ReportedBy: tazaki at sfc.wide.ad.jp Estimated Hours: 0.0 Created an attachment (id=822) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=822) Fix the problem with test code Usually, packet->GetSize () after Ipv4L3Protocol::Send () should not include IpHeader. Since we can know the transmitted data size from the socket with Packet::GetSize (). Special case is if we use setsockopt (IP_HDRINCL) with raw socket. In that case, IpHeader should be included. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Thu Apr 8 06:51:28 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Thu, 8 Apr 2010 09:51:28 -0400 Subject: [Ns-bugs] [Bug 857] Link-Local Multicast handle in Ipv4 Output processing In-Reply-To: References: Message-ID: <20100408135128.B5FD02DDA37@deliverator1.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=857 --- Comment #8 from Tom Henderson 2010-04-08 09:51:28 EDT --- (In reply to comment #6) > > At least, Linux seems to behave like that, if socket is bound to "10.0.0.1" or > any other non-zero address, multicast packet is not delivered to socket. To clarify then, are you happy with your current patch because the testcase matches Linux behavior? If not, can you clarify what behavior you'd like to see implemented? -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Thu Apr 8 06:56:50 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Thu, 8 Apr 2010 09:56:50 -0400 Subject: [Ns-bugs] [Bug 857] Link-Local Multicast handle in Ipv4 Output processing In-Reply-To: References: Message-ID: <20100408135650.41EBB5E40E8@deliverator4.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=857 --- Comment #9 from tazaki at sfc.wide.ad.jp 2010-04-08 09:56:50 EDT --- (In reply to comment #8) > (In reply to comment #6) > > > > > At least, Linux seems to behave like that, if socket is bound to "10.0.0.1" or > > any other non-zero address, multicast packet is not delivered to socket. > > To clarify then, are you happy with your current patch because the testcase > matches Linux behavior? If not, can you clarify what behavior you'd like to > see implemented? I'm happy with this patch. And quagga ripd/ospfd seems to satisfy this behavior on Linux. If you agree, I'll push this patch into ns-3-dev. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Thu Apr 8 07:04:12 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Thu, 8 Apr 2010 10:04:12 -0400 Subject: [Ns-bugs] [Bug 857] Link-Local Multicast handle in Ipv4 Output processing In-Reply-To: References: Message-ID: <20100408140412.C3A555E41A9@deliverator4.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=857 --- Comment #10 from Tom Henderson 2010-04-08 10:04:12 EDT --- (In reply to comment #9) > (In reply to comment #8) > > (In reply to comment #6) > > > > > > > > At least, Linux seems to behave like that, if socket is bound to "10.0.0.1" or > > > any other non-zero address, multicast packet is not delivered to socket. > > > > To clarify then, are you happy with your current patch because the testcase > > matches Linux behavior? If not, can you clarify what behavior you'd like to > > see implemented? > > I'm happy with this patch. > And quagga ripd/ospfd seems to satisfy this behavior on Linux. > > If you agree, I'll push this patch into ns-3-dev. Yes, I reviewed it and am OK with pushing it. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Thu Apr 8 07:09:13 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Thu, 8 Apr 2010 10:09:13 -0400 Subject: [Ns-bugs] [Bug 857] Link-Local Multicast handle in Ipv4 Output processing In-Reply-To: References: Message-ID: <20100408140913.277031834AC@deliverator5.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=857 tazaki at sfc.wide.ad.jp changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |VERIFIED Resolution| |FIXED --- Comment #11 from tazaki at sfc.wide.ad.jp 2010-04-08 10:09:12 EDT --- (In reply to comment #10) > (In reply to comment #9) > > (In reply to comment #8) > > > (In reply to comment #6) > > > > > > > > > > > At least, Linux seems to behave like that, if socket is bound to "10.0.0.1" or > > > > any other non-zero address, multicast packet is not delivered to socket. > > > > > > To clarify then, are you happy with your current patch because the testcase > > > matches Linux behavior? If not, can you clarify what behavior you'd like to > > > see implemented? > > > > I'm happy with this patch. > > And quagga ripd/ospfd seems to satisfy this behavior on Linux. > > > > If you agree, I'll push this patch into ns-3-dev. > > Yes, I reviewed it and am OK with pushing it. I've pushed this patch. changeset 6181, 05727a89b220 -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Thu Apr 8 07:10:26 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Thu, 8 Apr 2010 10:10:26 -0400 Subject: [Ns-bugs] [Bug 868] invalid packet size after Ipv4L3Protocol::Send In-Reply-To: References: Message-ID: <20100408141026.BA3811559D8@deliverator3.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=868 tazaki at sfc.wide.ad.jp changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |VERIFIED Resolution| |FIXED --- Comment #1 from tazaki at sfc.wide.ad.jp 2010-04-08 10:10:26 EDT --- I've pushed this patch into ns-3-dev. changeset: 6182, 9e060dd421fa -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Thu Apr 8 08:44:59 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Thu, 8 Apr 2010 11:44:59 -0400 Subject: [Ns-bugs] [Bug 822] NetDevice::Mtu attribute not settable by default In-Reply-To: References: Message-ID: <20100408154500.07C7D2DE2D3@deliverator1.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=822 --- Comment #22 from Mathieu Lacage 2010-04-08 11:44:57 EDT --- (In reply to comment #21) > What do you think about changing 0xffff defaults to 1500? If the question is: "do I think it's a good idea ?", the answer is that I don't think it matters very much. It certainly is a better default from the perspective of being realistic. If the question is: "why did you not do this ?", the answer is that I did just that in my last patch. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Thu Apr 8 08:59:09 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Thu, 8 Apr 2010 11:59:09 -0400 Subject: [Ns-bugs] [Bug 822] NetDevice::Mtu attribute not settable by default In-Reply-To: References: Message-ID: <20100408155909.2845F155B50@deliverator3.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=822 --- Comment #23 from Tom Henderson 2010-04-08 11:59:08 EDT --- (In reply to comment #22) > (In reply to comment #21) > > > What do you think about changing 0xffff defaults to 1500? > > If the question is: "do I think it's a good idea ?", the answer is that I don't > think it matters very much. It certainly is a better default from the > perspective of being realistic. > > If the question is: "why did you not do this ?", the answer is that I did just > that in my last patch. Ah, I see now (was looking at the "set wimax default to 1400" patch when I wrote that). -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Thu Apr 8 12:23:41 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Thu, 8 Apr 2010 15:23:41 -0400 Subject: [Ns-bugs] [Bug 822] NetDevice::Mtu attribute not settable by default In-Reply-To: References: Message-ID: <20100408192341.6DC91183574@deliverator5.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=822 --- Comment #24 from Craig Dowell 2010-04-08 15:23:40 EDT --- > If we agree that Csma is abstracting many such underlying Ethernet > technologies and don't want to restrict frame size, then we may not > have a consistency issue here anymore. Someone certainly has a consistency issue, it's just not us. To paraphrase Mathieu, we have models with lots of knobs on them. In some (many) cases, it's up to the end user designing the simulation to decide whether or not a given combination of knobs is meaningful / valid in his or her scenario. This may or may not be news to our end users, but it has always been the case. I am perfectly fine with this approach, favoring flexibility, but we just need to document very prominently that the knob settings need to be validated by the end user, since we aren't going to attempt it -- it will be very easy to configure a piece of the system that doesn't conform to an underlying spec. If a user does something outrageous and impossible, ns-3 may abort at run-time, but we may go with the user's flow and try to do what he or she says even though it may mean something unusual is happening. I support merging the above patch if we include words in appropriate places about how to deal with inter-related Attributes (i.e., no inter-Attribute interaction in a setter, and consistency checking only at simulator run time -- when the Attributes are used). We also need to add words about how you can easily turn Attribute knobs to get non-standard behavior and it is up to the user to validate the results (even though that may be quite obvious to some of us). I will add an example of knob-turning (the LLC/SNAP switch and super-jumbo packets in csma seem like good examples) and words of warning in the tutorial. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Fri Apr 9 03:40:58 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Fri, 9 Apr 2010 06:40:58 -0400 Subject: [Ns-bugs] [Bug 187] Need 'perfect' ARP In-Reply-To: References: Message-ID: <20100409104058.5A7A439FA59@deliverator3.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=187 Phani Vadrevu changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |phani at hotmail.co.in --- Comment #9 from Phani Vadrevu 2010-04-09 06:40:57 EDT --- I would like to work on this issue. Can someone tell me about its current status. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Fri Apr 9 10:53:17 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Fri, 9 Apr 2010 13:53:17 -0400 Subject: [Ns-bugs] [Bug 805] WifiPhy PhyTxEnd trace not working In-Reply-To: References: Message-ID: <20100409175318.04C325E41A9@deliverator4.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=805 --- Comment #2 from Nicola Baldo 2010-04-09 13:53:17 EDT --- Craig is right. Furthermore, with wifi there is a base class for the PHY (WifiPhy). The trace sources are defined by this base class, to preserve naming compatibility among implementations. Unfortunately, the only official implementation to date is YansWifiPhy, which by design does not generate a "TxEnd" event. I do not think that it is practical to modify YansWifiPhy so that it generates the requested trace. However, we should do something to avoid disappointing users like it happened to jvilela. Possible solutions IMHO: 1) we do as Craig says, and we #ifdef the trace declaration, until somebody comes up with a new device that uses it 2) we add a comment to the trace declaration (in WifiPhy) saying that this trace is unused by the only WifiPhy implementation currently available (YansWifiPhy) any comments? I would go for 2). -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. You are the assignee for the bug. From code at nsnam.ece.gatech.edu Fri Apr 9 10:58:12 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Fri, 9 Apr 2010 13:58:12 -0400 Subject: [Ns-bugs] [Bug 802] Minstrel algorithm causes segmentation fault In-Reply-To: References: Message-ID: <20100409175812.688AB20C087@deliverator6.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=802 Nicola Baldo changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nbaldo at cttc.es --- Comment #2 from Nicola Baldo 2010-04-09 13:58:12 EDT --- I can't make minstrel work in general: nicola at pcnbaldo:~/locale/ns-3-dev$ ./waf --run examples/wireless/multirate Waf: Entering directory `/home/nicola/locale/ns-3-dev/build' Waf: Leaving directory `/home/nicola/locale/ns-3-dev/build' 'build' finished successfully (1.348s) Scenario: 4 Rts Threshold: 2200 Name: minstrel Rate: ns3::MinstrelWifiManager Routing: 0 Mobility: 0 assert failed. file=../src/devices/wifi/wifi-remote-station-manager.cc, line=353, cond="found" note that examples/wireless/multirate is not run by test.py, so no surprise that we didn't spot the problem. I have similar problems trying to convert other sim programs so that they use minstrel. I get the impression that this might be due to changeset 6065 which fixed Bug 602... any opinions with respect to this? -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Fri Apr 9 12:34:07 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Fri, 9 Apr 2010 15:34:07 -0400 Subject: [Ns-bugs] [Bug 802] Minstrel algorithm causes segmentation fault In-Reply-To: References: Message-ID: <20100409193407.6EBB94801C8@deliverator2.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=802 Josh Pelkey changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 |P2 CC| |jpelkey at gatech.edu Severity|normal |critical -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Fri Apr 9 13:00:29 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Fri, 9 Apr 2010 16:00:29 -0400 Subject: [Ns-bugs] [Bug 802] Minstrel algorithm causes segmentation fault In-Reply-To: References: Message-ID: <20100409200029.8C2A75E41CB@deliverator4.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=802 --- Comment #3 from duy 2010-04-09 16:00:29 EDT --- we need to have it run by test.py, I am working on a fix for it now. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Fri Apr 9 15:18:58 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Fri, 9 Apr 2010 18:18:58 -0400 Subject: [Ns-bugs] [Bug 869] New: suggested test framework enhancements Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=869 Summary: suggested test framework enhancements Product: ns-3 Version: pre-release Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: P5 Component: test framework AssignedTo: craigdo at ee.washington.edu ReportedBy: tomh at tomh.org CC: ns-bugs at isi.edu Estimated Hours: 0.0 Discussed with Craig today, putting into tracker as reminder 1) would be nice if --basedir=`pwd` were optional parameter; as of right now, must always issue this parameter when debugging in gdb 2) if test fails, test-runner exits with an error code and when trying to run in gdb, there is no stack left around unless an explicit breakpoint set at the point of assertion. Would be nice if this behaved like other assertions so that gdb could break at that point. 3) if user fails to specify the right name of a test suite, as in --suite=mangled-name, it would be nicer to exit with a "mangled-name test not found" rather than hard error. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Fri Apr 9 17:31:06 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Fri, 9 Apr 2010 20:31:06 -0400 Subject: [Ns-bugs] [Bug 822] NetDevice::Mtu attribute not settable by default In-Reply-To: References: Message-ID: <20100410003106.45FCF1834DF@deliverator5.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=822 --- Comment #25 from Craig Dowell 2010-04-09 20:31:04 EDT --- Created an attachment (id=823) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=823) Blurb for tutorial warning about non-real attribute settings Added a patch with some proposed words reminding how easy it is to use attributes to model non-real/not-possible devices, and who's responsibility it is for that. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Sat Apr 10 13:49:53 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Sat, 10 Apr 2010 16:49:53 -0400 Subject: [Ns-bugs] [Bug 822] NetDevice::Mtu attribute not settable by default In-Reply-To: References: Message-ID: <20100410204953.E6C8520C07B@deliverator6.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=822 Tom Henderson changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #26 from Tom Henderson 2010-04-10 16:49:52 EDT --- applied Mathieu's latest patch: changeset 8a5e1f9db873 applied Craig's tutorial update -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Sat Apr 10 15:13:16 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Sat, 10 Apr 2010 18:13:16 -0400 Subject: [Ns-bugs] [Bug 802] Minstrel algorithm causes segmentation fault In-Reply-To: References: Message-ID: <20100410221316.7DDF85E415A@deliverator4.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=802 --- Comment #4 from duy 2010-04-10 18:13:16 EDT --- It seems like Onoe fails as well. I have traced down to the following source of problems: src/devices/wifi/minstrel-wifi-manager.cc bool MinstrelWifiManager::IsLowLatency (void) const { return false; } and src/devices/wifi/wifi-remote-station-manager.cc:353 if (!IsLowLatency ()) { // Note: removing the packet below is wrong: what happens in case of retransmissions ??? TxModeTag tag; bool found; found = ConstCast (packet)->RemovePacketTag (tag); NS_ASSERT (found); return tag.GetDataMode (); } I still don't understand how we are modeling the LowLantency and not low latency(e.g. removing TxModeTag) -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Sun Apr 11 12:38:07 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Sun, 11 Apr 2010 15:38:07 -0400 Subject: [Ns-bugs] [Bug 866] WiMAX mobility models not aggregated to Node In-Reply-To: References: Message-ID: <20100411193807.AF4DF20C0FB@deliverator6.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=866 --- Comment #3 from Mohamed Amine ISMAIL 2010-04-11 15:38:07 EDT --- Created an attachment (id=824) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=824) This patch fixes the bug. It includes the two previous patches. This patch fixes the bug. It includes the two previous patches. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Sun Apr 11 12:39:33 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Sun, 11 Apr 2010 15:39:33 -0400 Subject: [Ns-bugs] [Bug 866] WiMAX mobility models not aggregated to Node In-Reply-To: References: Message-ID: <20100411193933.D451939C062@deliverator3.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=866 Mohamed Amine ISMAIL changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #4 from Mohamed Amine ISMAIL 2010-04-11 15:39:33 EDT --- The patch is not yet pushed to ns-3-dev. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Mon Apr 12 02:12:35 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Mon, 12 Apr 2010 05:12:35 -0400 Subject: [Ns-bugs] [Bug 811] ns3::YansWifiPhy::EnergyDetectionThreshold Initial values do not correspond docs In-Reply-To: References: Message-ID: <20100412091235.324AC5E4142@deliverator4.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=811 Nicola Baldo changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |RESOLVED CC| |nbaldo at cttc.es Resolution| |WORKSFORME --- Comment #2 from Nicola Baldo 2010-04-12 05:12:34 EDT --- I tried the supplied test program with ns-3-dev 6188, and it behaves correctly. Closing the bug. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Mon Apr 12 02:28:52 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Mon, 12 Apr 2010 05:28:52 -0400 Subject: [Ns-bugs] [Bug 870] New: recursive algorithm problematic in nix routing Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=870 Summary: recursive algorithm problematic in nix routing Product: ns-3 Version: pre-release Platform: All OS/Version: All Status: NEW Severity: normal Priority: P5 Component: routing AssignedTo: ns-bugs at isi.edu ReportedBy: mathieu.lacage at sophia.inria.fr Estimated Hours: 0.0 I get this nice backtrace: it looks like it's because there is some deep recursion going on. Breakpoint 1, main (argc=2, argv=0x7fffffffe108) at ../examples/process/process-empty.cc:20 20 Config::SetDefault ("ns3::Ipv4L3Protocol::DefaultTtl", UintegerValue (255)); Missing separate debuginfos, use: debuginfo-install expat-2.0.1-8.fc10.x86_64 glib2-2.18.4-2.fc10.x86_64 gtk2-2.14.7-9.fc10.x86_64 libX11-1.1.5-4.fc10.x86_64 libpng-1.2.37-1.fc10.x86_64 libxcb-1.1.91-8.fc10.x86_64 libxml2-2.7.6-1.fc10.x86_64 pixman-0.12.0-3.fc10.x86_64 (gdb) (gdb) c Continuing. PING 10.1.200.2 (10.1.200.2) 56(84) bytes of data. Program received signal SIGSEGV, Segmentation fault. 0x00007ffff7264d9e in ns3::Ipv4NixVectorRouting::NetDeviceIsBridged (this=0x0, nd=Cannot access memory at address 0x0 ) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:396 396 Ipv4NixVectorRouting::NetDeviceIsBridged (Ptr nd) const (gdb) bt #0 0x00007ffff7264d9e in ns3::Ipv4NixVectorRouting::NetDeviceIsBridged (this=0x0, nd=Cannot access memory at address 0x0 ) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:396 #1 0x00007ffff7266003 in ns3::Ipv4NixVectorRouting::GetAdjacentNetDevices (this=0x73ae40, netDevice= {m_ptr = 0x6bde00}, channel={m_ptr = 0x6be360}, netDeviceContainer=@0x7ffff7e1d3b0) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:306 #2 0x00007ffff726910d in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=40, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:265 #3 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=41, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #4 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=42, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #5 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=43, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #6 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=44, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #7 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=45, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #8 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=46, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #9 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, ---Type to continue, or q to quit--- parentVector=@0x7ffff7e2a6d0, source=0, dest=47, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #10 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=48, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #11 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=49, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #12 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=50, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #13 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=51, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #14 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=52, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #15 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=53, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #16 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=54, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #17 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=55, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #18 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, ---Type to continue, or q to quit--- parentVector=@0x7ffff7e2a6d0, source=0, dest=56, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #19 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=57, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #20 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=58, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #21 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=59, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #22 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=60, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #23 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=61, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #24 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=62, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #25 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=63, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #26 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=64, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #27 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, ---Type to continue, or q to quit--- parentVector=@0x7ffff7e2a6d0, source=0, dest=65, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #28 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=66, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #29 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=67, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #30 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=68, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #31 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=69, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #32 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=70, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #33 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=71, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #34 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=72, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #35 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=73, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #36 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, ---Type to continue, or q to quit--- parentVector=@0x7ffff7e2a6d0, source=0, dest=74, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #37 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=75, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #38 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=76, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #39 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=77, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #40 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=78, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #41 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=79, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #42 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=80, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #43 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=81, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #44 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=82, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #45 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, ---Type to continue, or q to quit--- parentVector=@0x7ffff7e2a6d0, source=0, dest=83, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #46 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=84, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #47 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=85, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #48 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=86, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #49 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=87, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #50 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=88, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #51 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=89, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #52 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=90, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #53 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=91, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #54 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, ---Type to continue, or q to quit--- parentVector=@0x7ffff7e2a6d0, source=0, dest=92, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #55 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=93, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #56 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=94, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #57 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=95, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #58 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=96, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #59 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=97, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #60 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=98, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #61 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=99, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #62 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=100, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #63 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, ---Type to continue, or q to quit--- parentVector=@0x7ffff7e2a6d0, source=0, dest=101, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #64 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=102, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #65 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=103, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #66 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=104, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #67 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=105, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #68 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=106, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #69 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=107, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #70 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=108, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #71 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=109, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #72 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, ---Type to continue, or q to quit--- parentVector=@0x7ffff7e2a6d0, source=0, dest=110, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #73 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=111, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #74 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=112, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #75 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=113, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #76 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=114, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #77 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=115, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #78 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=116, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #79 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=117, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #80 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=118, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #81 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, ---Type to continue, or q to quit--- parentVector=@0x7ffff7e2a6d0, source=0, dest=119, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #82 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=120, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #83 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=121, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #84 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=122, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #85 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=123, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #86 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=124, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #87 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=125, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #88 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=126, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #89 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=127, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #90 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, ---Type to continue, or q to quit--- parentVector=@0x7ffff7e2a6d0, source=0, dest=128, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #91 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=129, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #92 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=130, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #93 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=131, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #94 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=132, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #95 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=133, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #96 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=134, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #97 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=135, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #98 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=136, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #99 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, ---Type to continue, or q to quit--- parentVector=@0x7ffff7e2a6d0, source=0, dest=137, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #100 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=138, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #101 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=139, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #102 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=140, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #103 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=141, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #104 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=142, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #105 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=143, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #106 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=144, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #107 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=145, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #108 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, ---Type to continue, or q to quit--- parentVector=@0x7ffff7e2a6d0, source=0, dest=146, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #109 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=147, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #110 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=148, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #111 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=149, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #112 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=150, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #113 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=151, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #114 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=152, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #115 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=153, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #116 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=154, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #117 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, ---Type to continue, or q to quit--- parentVector=@0x7ffff7e2a6d0, source=0, dest=155, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #118 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=156, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #119 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=157, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #120 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=158, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #121 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=159, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #122 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=160, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #123 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=161, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #124 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=162, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #125 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=163, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #126 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, ---Type to continue, or q to quit--- parentVector=@0x7ffff7e2a6d0, source=0, dest=164, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #127 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=165, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #128 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=166, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #129 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=167, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #130 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=168, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #131 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=169, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #132 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=170, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #133 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=171, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #134 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=172, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #135 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, ---Type to continue, or q to quit--- parentVector=@0x7ffff7e2a6d0, source=0, dest=173, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #136 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=174, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #137 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=175, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #138 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=176, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #139 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=177, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #140 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=178, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #141 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=179, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #142 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=180, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #143 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=181, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #144 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, ---Type to continue, or q to quit--- parentVector=@0x7ffff7e2a6d0, source=0, dest=182, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #145 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=183, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #146 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=184, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #147 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=185, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #148 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=186, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #149 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=187, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #150 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=188, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #151 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=189, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #152 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=190, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #153 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, ---Type to continue, or q to quit--- parentVector=@0x7ffff7e2a6d0, source=0, dest=191, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #154 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=192, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #155 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=193, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #156 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=194, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #157 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=195, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #158 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=196, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #159 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=197, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #160 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=198, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #161 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, parentVector=@0x7ffff7e2a6d0, source=0, dest=199, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #162 0x00007ffff72695e5 in ns3::Ipv4NixVectorRouting::BuildNixVector (this=0x73ae40, ---Type to continue, or q to quit--- parentVector=@0x7ffff7e2a6d0, source=0, dest=200, nixVector={m_ptr = 0x697c90}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:292 #163 0x00007ffff726a11a in ns3::Ipv4NixVectorRouting::GetNixVector (this=0x73ae40, source= {m_ptr = 0x691d10}, dest={m_address = 167888898}, oif={m_ptr = 0x0}) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:152 #164 0x00007ffff726a88d in ns3::Ipv4NixVectorRouting::RouteOutput (this=0x73ae40, p= {m_ptr = 0x697740}, header=@0x7ffff7e2ae00, oif={m_ptr = 0x0}, sockerr=@0x7ffff7e2ae3c) at ../src/routing/nix-vector-routing/ipv4-nix-vector-routing.cc:499 #165 0x00007ffff732f403 in ns3::Ipv4ListRouting::RouteOutput (this=0x739a60, p={m_ptr = 0x697740}, header=@0x7ffff7e2ae00, oif={m_ptr = 0x0}, sockerr=@0x7ffff7e2ae3c) at ../src/routing/list-routing/ipv4-list-routing.cc:95 #166 0x00007ffff7158eb6 in ns3::Ipv4RawSocketImpl::SendTo (this=0x96f9a0, p={m_ptr = 0x697740}, flags=0, toAddress=@0x7ffff7e2b0b0) at ../src/internet-stack/ipv4-raw-socket-impl.cc:182 #167 0x00007ffff753d59c in ns3::UnixDatagramSocketFd::Sendmsg (this=0x96fa50, msg=0x7ffff59e8da0, flags=0) at ../src/process-manager/unix-datagram-socket-fd.cc:179 #168 0x00007ffff7548c15 in simu_sendmsg (fd=3, msg=0x7ffff59e8da0, flags=0) at ../src/process-manager/simu-fd.cc:188 #169 0x00007ffff55dc380 in sendmsg (s=3, msg=0x7ffff59e8da0, flags=0) at ../src/process-manager/libc.c:581 #170 0x00007ffff57e33aa in send_probe () at ping.c:668 #171 0x00007ffff57e5af5 in pinger () at ping_common.c:348 #172 0x00007ffff57e5fc5 in main_loop (icmp_sock=3, packet=0x73ae40 "\220\027???\177", packlen=192) at ping_common.c:568 #173 0x00007ffff57e49e6 in main (argc=, argv=) at ping.c:513 #174 0x00007ffff757a714 in ns3::ElfLoaderSmart::LoadAndStartMain (this=0x88e810, libc=0x7ffff7e2c8c0, stdin=0x30cf16c6a0, stdout=0x96f520, stderr=0x96f760) at ../src/process-manager/elf-loader-smart/elf-loader-smart.cc:179 ---Type to continue, or q to quit--- #175 0x00007ffff751c615 in ns3::ProcessManager::StartProcess () at ../src/process-manager/process-manager.cc:200 #176 0x00007ffff751a176 in ns3::ProcessManager::DoCreateThread () at ../src/process-manager/process-manager.cc:649 #177 0x00000030cee44c80 in ?? () from /lib64/libc.so.6 #178 0x0000000000000000 in ?? () (gdb) -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Mon Apr 12 03:51:29 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Mon, 12 Apr 2010 06:51:29 -0400 Subject: [Ns-bugs] [Bug 813] Nqos AP sends packet to non associated STA In-Reply-To: References: Message-ID: <20100412105129.70EDB1835C5@deliverator5.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=813 --- Comment #4 from Nicola Baldo 2010-04-12 06:51:27 EDT --- Created an attachment (id=825) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=825) test program that works with ns-3-dev rev. 6188 -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Mon Apr 12 03:55:48 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Mon, 12 Apr 2010 06:55:48 -0400 Subject: [Ns-bugs] [Bug 813] Nqos AP sends packet to non associated STA In-Reply-To: References: Message-ID: <20100412105548.28F9B4801AE@deliverator2.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=813 Nicola Baldo changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #763 is|0 |1 obsolete| | --- Comment #5 from Nicola Baldo 2010-04-12 06:55:47 EDT --- Created an attachment (id=826) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=826) patch that works with ns-3-dev rev. 6188 -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Mon Apr 12 05:03:48 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Mon, 12 Apr 2010 08:03:48 -0400 Subject: [Ns-bugs] [Bug 813] Nqos AP sends packet to non associated STA In-Reply-To: References: Message-ID: <20100412120348.4A7602DD835@deliverator1.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=813 Nicola Baldo changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nbaldo at cttc.es --- Comment #6 from Nicola Baldo 2010-04-12 08:03:47 EDT --- I have been checking the IEEE Std. 802.11-2007 to see if it says anything about this bug. Sections 5.4.1.1 and 5.4.2.2 shed some light: 1) the standard suggest that the DS should take care of identifying the AP to which the destination STA is associated, and forwarding the message only to that AP. This is currently not implemented in ns-3; if it were implemented, we wouldn't have bug 813. 2) I couldn't find any sentence in the standard saying that the AP should not forward data packets to a STA if not associated. However, I still think that the patch by Carline still makes sense: it is a "workaround" for the moment, since we don't have a proper DS implementation, and even if we will have a full-fledged DS in the future the modification introduced by this patch will still be useful as a "sanity check". I would like to leave this open for a while to potentially gather any comments. If nobody complains, I'll push the patch. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Mon Apr 12 05:08:46 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Mon, 12 Apr 2010 08:08:46 -0400 Subject: [Ns-bugs] [Bug 813] Nqos AP sends packet to non associated STA In-Reply-To: References: Message-ID: <20100412120847.003B65E4158@deliverator4.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=813 --- Comment #7 from Nicola Baldo 2010-04-12 08:08:46 EDT --- Created an attachment (id=827) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=827) patch for both Nqap and Qap Also Qap is affected. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Mon Apr 12 07:33:37 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Mon, 12 Apr 2010 10:33:37 -0400 Subject: [Ns-bugs] [Bug 827] SetPromiscReceiveCallback not working unless broadcast or host is intended receiver In-Reply-To: References: Message-ID: <20100412143337.DFA3918275F@deliverator5.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=827 Nicola Baldo changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |nbaldo at cttc.es Resolution| |INVALID --- Comment #1 from Nicola Baldo 2010-04-12 10:33:37 EDT --- this bug is invalid. The correct method to put a wifi device in monitor mode is to use YansWifiPhyHelper::EnablePcap(). See examples/wireless/wifi-wired-bridging.cc for an example. If you have further doubts about this issue, please write to the ns-3-users mailing list. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Mon Apr 12 09:46:41 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Mon, 12 Apr 2010 12:46:41 -0400 Subject: [Ns-bugs] [Bug 853] Rates for Wi-Fi control responses are incorrectly selected In-Reply-To: References: Message-ID: <20100412164641.E6A45155B1B@deliverator3.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=853 Nicola Baldo changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED CC| |nbaldo at cttc.es AssignedTo|ns-bugs at isi.edu |nbaldo at cttc.es --- Comment #2 from Nicola Baldo 2010-04-12 12:46:41 EDT --- Thank you very much for the detailed bug report and for the patches! I confirm this bug, the current code misinterprets the "modulation" (BPSK, QPSK, 16QAM) for the modulation class defined by section 9.6.1 in IEEE Std. 802.11-2007. I agree that your proposed fix works, the only thing I don't like is the introduction of the method WifiRemoteStationManager::GetPhy I would wait until we fix 871, to see if we can come with a modified patch that does not need this method. I am also fine with the changes to the tests and the regression traces, of course to be applied after we have a version of the patch that we agree upon. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Mon Apr 12 10:45:19 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Mon, 12 Apr 2010 13:45:19 -0400 Subject: [Ns-bugs] [Bug 852] Add support for 802.11g devices In-Reply-To: References: Message-ID: <20100412174519.5635E180F98@deliverator5.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=852 Nicola Baldo changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nbaldo at cttc.es --- Comment #2 from Nicola Baldo 2010-04-12 13:45:19 EDT --- Thank you for your effort in addressing this issue and considering previous contributions. I've commented your patch on codereview. Note that bug 871 could probably affect this patch as well. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Mon Apr 12 10:57:15 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Mon, 12 Apr 2010 13:57:15 -0400 Subject: [Ns-bugs] [Bug 872] New: ns3::PcapFileWrapper::Write explodes stack Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=872 Summary: ns3::PcapFileWrapper::Write explodes stack Product: ns-3 Version: pre-release Platform: All OS/Version: All Status: NEW Severity: normal Priority: P5 Component: helpers AssignedTo: ns-bugs at isi.edu ReportedBy: mathieu.lacage at sophia.inria.fr Estimated Hours: 0.0 This: bool 93 PcapFileWrapper::Write (Time t, Ptr p) 94 { 95 uint8_t buffer[PcapFile::SNAPLEN_DEFAULT]; makes the stack explode in my simulation scenarios. It's not very pretty. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Mon Apr 12 11:14:00 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Mon, 12 Apr 2010 14:14:00 -0400 Subject: [Ns-bugs] [Bug 872] ns3::PcapFileWrapper::Write explodes stack In-Reply-To: References: Message-ID: <20100412181400.53B9220C076@deliverator6.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=872 --- Comment #1 from Mathieu Lacage 2010-04-12 14:14:00 EDT --- There are two options here: - create the temporary buffer somewhere else. (say, on the heap) and try to make sure that we share it among all PcapFileWrapper instances. This is not fun to implement and it's going to bring more problems in the multithreaded branch because we will have to make sure that the creation and destruction of this shared instance is correct and that different PcapFileWrapper instances do not use a shared temporary buffer if they are used from different threads. - make PcapFile provide an overloaded ::Write method which takes a Ptr and re-implement PcapFile to use stdc++ io to call Packet::Copy (std::ostream &os). A side-effect of this would be avoiding the extra temporary copy done in PcapFileWrapper::Write -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Mon Apr 12 11:44:51 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Mon, 12 Apr 2010 14:44:51 -0400 Subject: [Ns-bugs] [Bug 802] Minstrel algorithm causes segmentation fault In-Reply-To: References: Message-ID: <20100412184451.2A389480144@deliverator2.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=802 Josh Pelkey changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ns-bugs at isi.edu AssignedTo|ns-bugs at isi.edu |nbaldo at cttc.es -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. You are the assignee for the bug. From code at nsnam.ece.gatech.edu Mon Apr 12 21:18:08 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Tue, 13 Apr 2010 00:18:08 -0400 Subject: [Ns-bugs] [Bug 699] TestCase::DoRun probably should not return a bool In-Reply-To: References: Message-ID: <20100413041808.D777C2DDEE7@deliverator1.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=699 suresh.lalith at gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |suresh.lalith at gmail.com --- Comment #2 from Craig Dowell 2010-01-04 14:48:28 EDT --- This will avoid the single line return GetErrorStatus () at the end of a test case implementation. This is a conceptually simple thing to address but to do this would require touching many, many, many files all over the system. If someone feels very strongly about it I can do this, but it really doesn't seem worth it. I would absolutely not recommend trying to address this during a maintenance phase. --- Comment #3 from suresh.lalith at gmail.com 2010-04-13 00:18:08 EDT --- Is a patch still welcome for this bug? All we have to do is remove the 'return GetErrorStatus ()' lines right? -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Tue Apr 13 01:34:22 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Tue, 13 Apr 2010 04:34:22 -0400 Subject: [Ns-bugs] [Bug 730] Enabling fragmentation at run-time breaks simulation In-Reply-To: References: Message-ID: <20100413083422.7537020C0A7@deliverator6.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=730 Nicola Baldo changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WORKSFORME --- Comment #4 from Nicola Baldo 2010-04-13 04:34:21 EDT --- (In reply to comment #3) > I dug into the problem a bit more, and I found that the program behaves > uncorrectly when the number of nodes (nNodes in the code) is less or equal to > 3. I ran the program with nNodes = 3 and it still seems to work correctly. Closing the bug. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Tue Apr 13 01:58:56 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Tue, 13 Apr 2010 04:58:56 -0400 Subject: [Ns-bugs] [Bug 473] [PATCH] Alternative ns-2 trace reader In-Reply-To: References: Message-ID: <20100413085856.D5EA218356B@deliverator5.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=473 Nicola Baldo changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nbaldo at cttc.es Component|wifi |mobility models AssignedTo|boyko at iitp.ru |ns-bugs at isi.edu -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. You are the assignee for the bug. From code at nsnam.ece.gatech.edu Tue Apr 13 02:11:35 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Tue, 13 Apr 2010 05:11:35 -0400 Subject: [Ns-bugs] [Bug 737] Backoff procedure is not invoked when transmission is deferred In-Reply-To: References: Message-ID: <20100413091135.41B41182D90@deliverator5.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=737 Nicola Baldo changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |enhancement -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Tue Apr 13 02:13:28 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Tue, 13 Apr 2010 05:13:28 -0400 Subject: [Ns-bugs] [Bug 761] Wrong ACK/CTSTimeout values In-Reply-To: References: Message-ID: <20100413091328.AA18720C128@deliverator6.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=761 Nicola Baldo changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 |P3 -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Tue Apr 13 02:16:10 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Tue, 13 Apr 2010 05:16:10 -0400 Subject: [Ns-bugs] [Bug 799] Interference helper is too slow In-Reply-To: References: Message-ID: <20100413091610.B91432DEDCC@deliverator1.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=799 Nicola Baldo changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |enhancement -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Tue Apr 13 02:17:09 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Tue, 13 Apr 2010 05:17:09 -0400 Subject: [Ns-bugs] [Bug 813] Nqos AP sends packet to non associated STA In-Reply-To: References: Message-ID: <20100413091709.633445E4153@deliverator4.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=813 Nicola Baldo changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 |P3 -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Tue Apr 13 02:20:56 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Tue, 13 Apr 2010 05:20:56 -0400 Subject: [Ns-bugs] [Bug 841] Multicast transmission breaks with QoS Wifi In-Reply-To: References: Message-ID: <20100413092056.8C57A2DE995@deliverator1.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=841 Nicola Baldo changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 |P3 CC| |nbaldo at cttc.es -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Tue Apr 13 02:27:29 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Tue, 13 Apr 2010 05:27:29 -0400 Subject: [Ns-bugs] [Bug 842] ns-3-dev crashes using block ack In-Reply-To: References: Message-ID: <20100413092729.6043A155B16@deliverator3.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=842 --- Comment #1 from Nicola Baldo 2010-04-13 05:27:29 EDT --- Created an attachment (id=828) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=828) program reproducing the bug -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Tue Apr 13 02:26:08 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Tue, 13 Apr 2010 05:26:08 -0400 Subject: [Ns-bugs] [Bug 873] New: Queue occupancy counter not decremented in WifiMacQueue::Remove() Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=873 Summary: Queue occupancy counter not decremented in WifiMacQueue::Remove() Product: ns-3 Version: ns-3-dev Platform: All OS/Version: All Status: NEW Keywords: bug Severity: normal Priority: P5 Component: wifi AssignedTo: ns-bugs at isi.edu ReportedBy: deanarm at gmail.com Estimated Hours: 0.0 When playing with the Wi-Fi MSDU aggregation (i.e., A-MSDU) support at the head of ns-3-dev (changeset 6191) I noticed that in my simulation (which involved UDP from an on-off source on a QstaWifiMac with an installed MsduStandardAggregator, toward a packet sink on a QapWifiMac) the aggregation would start out as expected but, as the "over-the-air" PCAP trace showed, after a short while the aggregation would stop and I would just get a single frame at a time. I've traced this back to the fact that in WifiMacQueue::Remove() the m_size member is not being decremented when the packet is removed. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Tue Apr 13 02:29:13 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Tue, 13 Apr 2010 05:29:13 -0400 Subject: [Ns-bugs] [Bug 869] suggested test framework enhancements In-Reply-To: References: Message-ID: <20100413092913.CC69A2DDA32@deliverator1.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=869 Mathieu Lacage changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mathieu.lacage at sophia.inria | |.fr --- Comment #1 from Mathieu Lacage 2010-04-13 05:29:13 EDT --- it would be nice if --tempdir could default to /tmp too Also, it would be really nice if we could get rid of the return value of RunTest and rely on the test macros to do our work for us. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Tue Apr 13 02:30:26 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Tue, 13 Apr 2010 05:30:26 -0400 Subject: [Ns-bugs] [Bug 869] suggested test framework enhancements In-Reply-To: References: Message-ID: <20100413093026.AEC9B480169@deliverator2.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=869 --- Comment #2 from Mathieu Lacage 2010-04-13 05:30:26 EDT --- also, it would be helpful if --out=test.xml would zero the file if it exists rather than append to it. Right now, it's just confusing when you debug something: you have to remember to always delete the file yourself. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Tue Apr 13 02:31:04 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Tue, 13 Apr 2010 05:31:04 -0400 Subject: [Ns-bugs] [Bug 842] ns-3-dev crashes using block ack In-Reply-To: References: Message-ID: <20100413093104.9881D155B2D@deliverator3.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=842 Nicola Baldo changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 |P3 CC| |nbaldo at cttc.es Component|wifi |node module --- Comment #2 from Nicola Baldo 2010-04-13 05:31:04 EDT --- confirmed. Below is a backtrace. My first impression is that the error is in the LLC, so I am assigning this bug to the node-module component. assert failed. file=../src/common/buffer.cc, line=953, cond="m_current + delta <= m_dataEnd" Program received signal SIGSEGV, Segmentation fault. 0x008f4e81 in ns3::Buffer::Iterator::Next (this=0xbfffdc08, delta=6) at ../src/common/buffer.cc:953 953 NS_ASSERT (m_current + delta <= m_dataEnd); (gdb) back #0 0x008f4e81 in ns3::Buffer::Iterator::Next (this=0xbfffdc08, delta=6) at ../src/common/buffer.cc:953 #1 0x009d58e3 in ns3::LlcSnapHeader::Deserialize (this=0xbfffdd6c, start=...) at ../src/node/llc-snap-header.cc:84 #2 0x0091eecb in ns3::Packet::RemoveHeader (this=0x80a71f8, header=...) at ../src/common/packet.cc:264 #3 0x00dfa1c6 in ns3::WifiNetDevice::ForwardUp (this=0x809fe90, packet=..., from=..., to=...) at ../src/devices/wifi/wifi-net-device.cc:292 #4 0x00dfdb27 in ns3::MemPtrCallbackImpl, ns3::Mac48Address, ns3::Mac48Address), void, ns3::Ptr, ns3::Mac48Address, ns3::Mac48Address, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>::operator() (this=0x80a16a0, a1=..., a2=..., a3=...) at debug/ns3/callback.h:229 #5 0x00dddd24 in ns3::Callback, ns3::Mac48Address, ns3::Mac48Address, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>::operator() (this=0x80a008c, a1=..., a2=..., a3=...) at debug/ns3/callback.h:416 #6 0x00e32753 in ns3::QapWifiMac::ForwardUp (this=0x809ffa8, packet=..., from=..., to=...) at ../src/devices/wifi/qap-wifi-mac.cc:369 #7 0x00e35557 in ns3::QapWifiMac::Receive (this=0x809ffa8, packet=..., hdr=0x80a87d4) at ../src/devices/wifi/qap-wifi-mac.cc:607 #8 0x00e39766 in ns3::MemPtrCallbackImpl, ns3::WifiMacHeader const*), void, ns3::Ptr, ns3::WifiMacHeader const*, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>::operator() (this=0x809fdf8, a1=..., a2=0x80a87d4) at debug/ns3/callback.h:226 #9 0x00d9f407 in ns3::Callback, ns3::WifiMacHeader const*, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>::operator() (this=0x80a00d8, a1=..., a2=0x80a87d4) at debug/ns3/callback.h:413 #10 0x00daac68 in ns3::MacRxMiddle::Receive (this=0x80a00a8, packet=..., hdr=0x80a87d4) at ../src/devices/wifi/mac-rx-middle.cc:298 #11 0x00ddf4ba in ns3::MemPtrCallbackImpl, ns3::WifiMacHeader const*), void, ns3::Ptr, ns3::WifiMacHeader const*, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>::operator() (this=0x809fe10, a1=..., a2=0x80a87d4) at debug/ns3/callback.h:226 #12 0x00d9f407 in ns3::Callback, ns3::WifiMacHeader const*, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>::operator() (this=0x80a00fc, a1=..., a2=0x80a87d4) at debug/ns3/callback.h:413 #13 0x00d9b589 in ns3::MacLow::RxCompleteBufferedPacketsWithSmallerSequence (this=0x80a00e0, seq=112, originator=..., tid=0 '\000') at ../src/devices/wifi/mac-low.cc:1586 #14 0x00d9c474 in ns3::MacLow::SendBlockAckAfterBlockAckRequest (this=0x80a00e0, reqHdr=..., originator=..., duration=..., blockAckReqTxMode=...) at ../src/devices/wifi/mac-low.cc:1718 #15 0x00d9db81 in Notify (this=0x80b0068) at debug/ns3/make-event.h:223 #16 0x008a7eec in ns3::EventImpl::Invoke (this=0x80b0068) at ../src/simulator/event-impl.cc:37 #17 0x008c435c in ns3::DefaultSimulatorImpl::ProcessOneEvent (this=0x807b570) at ../src/simulator/default-simulator-impl.cc:128 #18 0x008c4528 in ns3::DefaultSimulatorImpl::Run (this=0x807b570) at ../src/simulator/default-simulator-impl.cc:158 #19 0x008a8a1b in ns3::Simulator::Run () at ../src/simulator/simulator.cc:173 #20 0x080517cc in main (argc=1, argv=0xbfffefc4) at ../scratch/bug842.cc:137 -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Tue Apr 13 02:35:38 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Tue, 13 Apr 2010 05:35:38 -0400 Subject: [Ns-bugs] [Bug 843] Most wifi examples change BeaconInterval to unrealistic values In-Reply-To: References: Message-ID: <20100413093538.BB6735E415A@deliverator4.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=843 Nicola Baldo changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 |P4 CC| |nbaldo at cttc.es Severity|normal |minor -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Tue Apr 13 02:49:10 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Tue, 13 Apr 2010 05:49:10 -0400 Subject: [Ns-bugs] [Bug 873] Queue occupancy counter not decremented in WifiMacQueue::Remove() In-Reply-To: References: Message-ID: <20100413094910.D1AB42DC153@deliverator1.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=873 Nicola Baldo changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED AssignedTo|ns-bugs at isi.edu |nbaldo at cttc.es --- Comment #1 from Nicola Baldo 2010-04-13 05:49:10 EDT --- Created an attachment (id=829) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=829) proposed patch -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Tue Apr 13 04:09:08 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Tue, 13 Apr 2010 07:09:08 -0400 Subject: [Ns-bugs] [Bug 843] Most wifi examples change BeaconInterval to unrealistic values In-Reply-To: References: Message-ID: <20100413110908.922302DDA81@deliverator1.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=843 Dean Armstrong changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |deanarm at gmail.com --- Comment #1 from Dean Armstrong 2010-04-13 07:09:08 EDT --- It's pedantry, but note that the Beacon Interval is always an integral number of TUs (1024 us) which actually makes 100 ms an invalid value. It would be more correct (and, indeed, representative of the real world) to use 102.4 ms. If the ns-3 Wi-Fi models ever cover the standard-defined Power Management support, then it may be necessary to enforce use of TU multiples for Beacon Intervals. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Tue Apr 13 06:09:19 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Tue, 13 Apr 2010 09:09:19 -0400 Subject: [Ns-bugs] [Bug 874] New: wrong modulation type is selected in the forwardBurst method Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=874 Summary: wrong modulation type is selected in the forwardBurst method Product: ns-3 Version: ns-3-dev Platform: All OS/Version: All Status: NEW Severity: normal Priority: P3 Component: wimax AssignedTo: ns-bugs at isi.edu ReportedBy: amine.ismail at sophia.inria.fr CC: amine.ismail at sophia.inria.fr Estimated Hours: 0.0 The modulation type is not correctly set in the method forwardBurst. in fact the following lines in bs-net-device.cc 959 if (m_serviceFlowManager->GetServiceFlow (cid)->GetIsMulticast () == true) 960 { 961 modulationType = m_serviceFlowManager->GetServiceFlow (cid)->GetModulation (); 962 } should be changed to: 961 modulationType = m_serviceFlowManager->GetServiceFlow (cid)->GetModulation (); lines 959, 960, and 962 should be removed -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Tue Apr 13 11:25:46 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Tue, 13 Apr 2010 14:25:46 -0400 Subject: [Ns-bugs] [Bug 875] New: "frame includes FCS" flag should be set in Radiotap frame header Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=875 Summary: "frame includes FCS" flag should be set in Radiotap frame header Product: ns-3 Version: ns-3-dev Platform: All OS/Version: All Status: NEW Keywords: bug Severity: normal Priority: P5 Component: helpers AssignedTo: ns-bugs at isi.edu ReportedBy: deanarm at gmail.com Estimated Hours: 0.0 The Wi-Fi PCAP tracing with Radiotap data link format captures the entire MPDU including FCS, so the "frame includes FCS" flag in the Radiotap header for each frame should be set so that tools like Wireshark won't try to decode this field as MPDU payload. The current undesired behaviour can be seen by taking a PCAP/Radiotap trace including (for example) a Beacon frame, and then loading this into Wireshark. Looking at the "Tagged Parameters" section you'll see that Wireshark has decoded the last four octets (i.e., the FCS) as two zero length SSID information elements. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Tue Apr 13 11:28:13 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Tue, 13 Apr 2010 14:28:13 -0400 Subject: [Ns-bugs] [Bug 875] "frame includes FCS" flag should be set in Radiotap frame header In-Reply-To: References: Message-ID: <20100413182813.42D1020C12C@deliverator6.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=875 Dean Armstrong changed: What |Removed |Added ---------------------------------------------------------------------------- URL| |http://codereview.appspot.c | |om/904042 --- Comment #1 from Dean Armstrong 2010-04-13 14:28:13 EDT --- A proposed patch for this is available at: http://codereview.appspot.com/904042 Please comment. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Tue Apr 13 11:53:14 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Tue, 13 Apr 2010 14:53:14 -0400 Subject: [Ns-bugs] [Bug 875] "frame includes FCS" flag should be set in Radiotap frame header In-Reply-To: References: Message-ID: <20100413185314.A623848007F@deliverator2.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=875 --- Comment #2 from Dean Armstrong 2010-04-13 14:53:14 EDT --- The wifi-wired-bridging test reference traces will need updating when this bug is fixed (this appears to be the only test that uses Radiotap tracing). The updated traces are also available under the 'afore-mentioned codereview issue. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Tue Apr 13 12:32:15 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Tue, 13 Apr 2010 15:32:15 -0400 Subject: [Ns-bugs] [Bug 872] ns3::PcapFileWrapper::Write explodes stack In-Reply-To: References: Message-ID: <20100413193215.BB93520C12C@deliverator6.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=872 Craig Dowell changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |craigdo at ee.washington.edu --- Comment #2 from Craig Dowell 2010-04-13 15:32:15 EDT --- > bool > PcapFileWrapper::Write (Time t, Ptr p) > { > uint8_t buffer[PcapFile::SNAPLEN_DEFAULT]; I'm not sure what you mean when you say "makes the stack explode" in your simulation scenarios. The default user stack limit on my home machine and ns-old is, [craigdo at craigdo-fc12] ~ > ulimit -s 10240 ten megabytes. On ns-regression it's [craigdo at ns-regression] ~ > ulimit -s 8192 eight megabytes. I believe pthreads defaults to two megabytes for 64-bit architectures and one megabyte for 64-bit architectures. This is not a recursive call, so there's no way this 64K buffer can blow a stack on what I assume are these typical Linuces and environments, so I assume you are doing something where the stack is much smaller (simu?). What requirements do you have here? What order of magnitude stack makes your code explode? Does this 64K by itself take you over a hard limit? Is 32K stack frame a problem? 16K? So I think there's really a bigger question lurking here. We clearly have a new, severe resriction on stack usage. What is it really? Are there other new restrictions? I think people developing for standard Linux are going to have memory limit numbers closer to megabytes in their heads, rather than 64K. When I wrote this, 64K seemed on the large side for a stack allocation, but not completely outrageous given the amount of headroom there is. Anyway, if this buffer is causing you grief I think you may be shaving it too close on stack sizes, but I will happily remove this if it is in your way. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Tue Apr 13 18:54:57 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Tue, 13 Apr 2010 21:54:57 -0400 Subject: [Ns-bugs] [Bug 869] suggested test framework enhancements In-Reply-To: References: Message-ID: <20100414015457.108B220C128@deliverator6.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=869 --- Comment #3 from Craig Dowell 2010-04-13 21:54:56 EDT --- I just checked in some changes to make life easier for people using test-runner directly. If tempdir is not provided, test-runner examines the environment variables TMP and TEMP to see if they are set. If so, it starts with the first of those. If neither is set, it uses "/tmp". It then tacks on the current time as a hint to the user which directory is his or hers, and then tacks on a random number. It then creates a directory and passes that on down to the test suites. So you get a directory that looks something like, /tmp/10.25.57.63889652 for free now. If basedir is not provided, the test runner finds the current working directory and starts walking up the directory tree looking for a directory file that contains the entries "VERSION" and "LICENSE". If it finds one, it assumes that must be the base directory and provides it for you. This means you can now run the test runner directly providing only the suite name as a parameter, as ./waf --run "test-runner --suite=pcap-file" and you can run it under gdb by just doing run --suite=pcap-file I also added a message to be printed if the test-runner can't figure out at least one test to run. This becomes visible at the test.py level if you do ./test.py -v --suite=xxx ... Unable to find a test to run (constraints too severe or test not found) ... More to come ... -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Tue Apr 13 23:01:07 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Wed, 14 Apr 2010 02:01:07 -0400 Subject: [Ns-bugs] [Bug 872] ns3::PcapFileWrapper::Write explodes stack In-Reply-To: References: Message-ID: <20100414060107.83697480180@deliverator2.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=872 --- Comment #3 from Mathieu Lacage 2010-04-14 02:01:07 EDT --- (In reply to comment #2) > > bool > > PcapFileWrapper::Write (Time t, Ptr p) > > { > > uint8_t buffer[PcapFile::SNAPLEN_DEFAULT]; > > I'm not sure what you mean when you say "makes the stack explode" in your explode == segfault because we hit the stack guard page. > I believe pthreads defaults to two megabytes for 64-bit architectures and one > megabyte for 64-bit architectures. It depends on how many threads you use in your application. i.e., as you create threads, the stack of the main thread is used for other threads. So, you start with a couple of megs for the main thread but you lose it quickly for that main thread if you call pthread_create. > This is not a recursive call, so there's no way this 64K buffer can blow a > stack on what I assume are these typical Linuces and environments, so I assume > you are doing something where the stack is much smaller (simu?). > > What requirements do you have here? What order of magnitude stack makes your > code explode? Does this 64K by itself take you over a hard limit? Is 32K > stack frame a problem? 16K? I think that it's generally a bad idea to allocate anything bigger than 1 or 2K on the stack in one go (which does not say anything about total stack usage) for a library because you don't know how it will be used. > So I think there's really a bigger question lurking here. We clearly have a > new, severe resriction on stack usage. What is it really? Are there other new > restrictions? I think people developing for standard Linux are going to have I do not know. I am merely discovering these limits myself. > memory limit numbers closer to megabytes in their heads, rather than 64K. When > I wrote this, 64K seemed on the large side for a stack allocation, but not > completely outrageous given the amount of headroom there is. > > Anyway, if this buffer is causing you grief I think you may be shaving it too > close on stack sizes, but I will happily remove this if it is in your way. I have no control over what the pthread library does for the main thread so, it's not something I can fix myself. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Tue Apr 13 23:10:03 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Wed, 14 Apr 2010 02:10:03 -0400 Subject: [Ns-bugs] [Bug 872] ns3::PcapFileWrapper::Write explodes stack In-Reply-To: References: Message-ID: <20100414061003.5E5F2480194@deliverator2.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=872 --- Comment #4 from Mathieu Lacage 2010-04-14 02:10:03 EDT --- (In reply to comment #3) > It depends on how many threads you use in your application. i.e., as you create > threads, the stack of the main thread is used for other threads. So, you start > with a couple of megs for the main thread but you lose it quickly for that main > thread if you call pthread_create. oops, I take that back. What is happening here is that it's not the main thread (whose stack is indeed pretty big) which is calling down into this function. It's another thread and, indeed, that thread has a relatively small (16K) stack (which was picked by the pthread library). So, yes, I could change the attributes of that thread to get a bigger stack but 16K to 32K is pretty much the order of magnitude of what I can afford to give each thread. Giving them more makes it really hard to control memory usage for large numbers of nodes/applications. Ideally, we would have dynamically-sized stacks and I have plans to have that at some point but it's not going to happen soon :/ -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Tue Apr 13 23:48:14 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Wed, 14 Apr 2010 02:48:14 -0400 Subject: [Ns-bugs] [Bug 872] ns3::PcapFileWrapper::Write explodes stack In-Reply-To: References: Message-ID: <20100414064814.D92E820C0F8@deliverator6.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=872 --- Comment #5 from Mathieu Lacage 2010-04-14 02:48:14 EDT --- Created an attachment (id=830) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=830) use std::ostream in PcapFile and get rid of stack-allocated variables This patch deals with the problem for me. I chose to go with the std::ostream path because I was worried that: - it was not acceptable to have a per-PcapFileWrapper 64k buffer for temporary storage when there is already a buffer in the underlying FILE * - I would not be able to get the sharing right if I tried to share the 64k buffer among PcapFileWrapper instances A couple of notes: - I removed support for the "a" open mode because I did not find any user in our codebase and I felt pain in implementing it correctly. Consequently, I #if 0 the corresponding test. - I changed a couple of public APIs which took std::string for the open mode and replaced them with std::ios::openmode - I know that the proper type is std::ios_base::openmode but std::ios::openmode was easier to type - I removed the bool return value used to indicate read/write/init/open errors to use instead a pair of Fail/Clear functions to mirror the behavior of the underlying std::iostream. This was easier to implement and it did not propagate very far in our API so, I felt it was worth it. - of course, I removed the stack-allocated buffers in PcapFileWrapper::Write* functions Feel free to do what you think is right with this patch. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Wed Apr 14 09:58:22 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Wed, 14 Apr 2010 12:58:22 -0400 Subject: [Ns-bugs] [Bug 833] OnOffApplication with PacketSocket: sniffs all traffic In-Reply-To: References: Message-ID: <20100414165822.E06D718358B@deliverator5.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=833 --- Comment #6 from Josh Pelkey 2010-04-14 12:58:22 EDT --- (In reply to comment #5) > (In reply to comment #4) > > (In reply to comment #2) > > > Created an attachment (id=782) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=782) [details] [details] [details] > > > patch > > > > > > I think this is the most elegant patch. Calls ShutDownSend and ShutDownRecv > > > where appropriate. No trace files change with the patch. > > > > What happens if OnOffApplication uses TCP sockets? It seems like this might > > not work. For example, after applying this patch and running > > examples/csma/csma-star.cc, the tcpdumps show a bunch of SYN ACKS coming in to > > node 0, over and over again. > > Maybe it's a bug in TCP's implementation of ShutdownSend|Recv? I believe I understand why the patch is causing a difference in the csma-star regression, since it uses TCP sockets with OnOffApplication. By calling ShutdownRecv which sets m_shutdownRecv in TcpSocketImpl, packets that make it to TcpSocketImpl::ForwardUp are not processed any further; therefore, ProcessEvent (which updates state) and ProcessPacketAction (which will handle and process the acks among all the other things) are not called. I guess maybe this is something that should be addressed if shutting down recv is only supposed to do so for the app and not the socket. I am still confused about the bug. I'm not saying it is invalid or that the proposed solution is incorrect. I just don't understand it. For example, the SetRecvCallback in OnOffApplication is never set anyway, so I don't know why calling ShutdownRecv is needed. And calling ShutdownSend in PacketSink, I'm not sure what that does for you either, since PacketSink never makes any kind of Send call. I think I must be missing something. Sorry for more questions than answers :) -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Wed Apr 14 10:11:32 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Wed, 14 Apr 2010 13:11:32 -0400 Subject: [Ns-bugs] [Bug 833] OnOffApplication with PacketSocket: sniffs all traffic In-Reply-To: References: Message-ID: <20100414171132.BAC5A480079@deliverator2.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=833 --- Comment #7 from Gustavo J. A. M. Carneiro 2010-04-14 13:11:32 EDT --- When you use OnOffApplication with a PacketSocket, this happens: 1- OnOffApplication calls Bind() on the socket, with no arguments; 2- PacketSocket's Bind() implementation calls Node::RegisterProtocolHandler, to receive ALL packets and send them to PacketSocket::ForwardUp; 3- PacketSocket::ForwardUp stores received packets in a "receive queue"; I am just saying that it is strange that an application that supposedly only sends traffic is configuring the socket to sniff traffic and store in a queue. Memory and computation bloat. ShutDownRcv() is one possible solution... -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Wed Apr 14 10:32:51 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Wed, 14 Apr 2010 13:32:51 -0400 Subject: [Ns-bugs] [Bug 833] OnOffApplication with PacketSocket: sniffs all traffic In-Reply-To: References: Message-ID: <20100414173251.ADBAA18267E@deliverator5.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=833 --- Comment #8 from Josh Pelkey 2010-04-14 13:32:51 EDT --- (In reply to comment #7) > When you use OnOffApplication with a PacketSocket, this happens: > > 1- OnOffApplication calls Bind() on the socket, with no arguments; > 2- PacketSocket's Bind() implementation calls Node::RegisterProtocolHandler, > to receive ALL packets and send them to PacketSocket::ForwardUp; > 3- PacketSocket::ForwardUp stores received packets in a "receive queue"; > > I am just saying that it is strange that an application that supposedly only > sends traffic is configuring the socket to sniff traffic and store in a queue. > Memory and computation bloat. > > ShutDownRcv() is one possible solution... Why was my brain reading PacketSocket and thinking PacketSink over and over again? I see what you are going for here. So the remaining issue is just calling ShutdownSend in OnOff when using tcp socket. Will have a look and see if I can come up with a fix, but I agree (finally) patch looks good. +1 after fixing tcp issue. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Wed Apr 14 10:42:06 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Wed, 14 Apr 2010 13:42:06 -0400 Subject: [Ns-bugs] [Bug 876] Tcp socket does not handle ShutdownRecv correctly In-Reply-To: References: Message-ID: <20100414174206.7C65A5E41B8@deliverator4.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=876 Josh Pelkey changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |833 -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Wed Apr 14 10:42:05 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Wed, 14 Apr 2010 13:42:05 -0400 Subject: [Ns-bugs] [Bug 833] OnOffApplication with PacketSocket: sniffs all traffic In-Reply-To: References: Message-ID: <20100414174205.A457B5E4070@deliverator4.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=833 Josh Pelkey changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |876 -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Wed Apr 14 10:41:27 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Wed, 14 Apr 2010 13:41:27 -0400 Subject: [Ns-bugs] [Bug 876] New: Tcp socket does not handle ShutdownRecv correctly Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=876 Summary: Tcp socket does not handle ShutdownRecv correctly Product: ns-3 Version: ns-3-dev Platform: All OS/Version: All Status: NEW Severity: normal Priority: P5 Component: internet-stack AssignedTo: jpelkey at gatech.edu ReportedBy: jpelkey at gatech.edu CC: ns-bugs at isi.edu Estimated Hours: 0.0 Discovered from bug 818, calling ShutdownRecv when using tcp-socket causes problems since TcpSocketImpl::ForwardUp simply returns before processing the event or action. So state is not updated and packets are not processed after ShutdownRecv. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Wed Apr 14 11:08:49 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Wed, 14 Apr 2010 14:08:49 -0400 Subject: [Ns-bugs] [Bug 872] ns3::PcapFileWrapper::Write explodes stack In-Reply-To: References: Message-ID: <20100414180849.B37E52DE059@deliverator1.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=872 --- Comment #6 from Craig Dowell 2010-04-14 14:08:49 EDT --- The fix I had in mind was more like six lines than a 65K patch, but I told you a few months back that you could swap in the slower stream-based code if you wanted to write it and didn't care about the performance. I wouldn't have done it, but I'm a man of my word. Feel free to update your patch so that Tom's new tcp test works, rescan bindings, push and close out the bug. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Wed Apr 14 11:25:30 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Wed, 14 Apr 2010 14:25:30 -0400 Subject: [Ns-bugs] [Bug 876] Tcp socket does not handle ShutdownRecv correctly In-Reply-To: References: Message-ID: <20100414182530.E11AA180079@deliverator5.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=876 --- Comment #1 from Josh Pelkey 2010-04-14 14:25:30 EDT --- Created an attachment (id=831) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=831) simple fix The simplest fix. Remove check for shutdownRecv in ForwardUp and just check right before each call to NotifyDataRecv. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Wed Apr 14 13:25:57 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Wed, 14 Apr 2010 16:25:57 -0400 Subject: [Ns-bugs] [Bug 876] Tcp socket does not handle ShutdownRecv correctly In-Reply-To: References: Message-ID: <20100414202557.DE9355E40D8@deliverator4.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=876 Tom Henderson changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tomh at tomh.org --- Comment #2 from Tom Henderson 2010-04-14 16:25:57 EDT --- (In reply to comment #1) > Created an attachment (id=831) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=831) [details] > simple fix > > The simplest fix. Remove check for shutdownRecv in ForwardUp and just check > right before each call to NotifyDataRecv. Looks like the right thing to do, so +1 from me to commit so that you can unblock the other patches too and we can start to test this more. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Wed Apr 14 13:59:03 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Wed, 14 Apr 2010 16:59:03 -0400 Subject: [Ns-bugs] [Bug 876] Tcp socket does not handle ShutdownRecv correctly In-Reply-To: References: Message-ID: <20100414205903.6FAF75E41E2@deliverator4.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=876 Josh Pelkey changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #3 from Josh Pelkey 2010-04-14 16:59:03 EDT --- changeset cc5b5294031f -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Wed Apr 14 13:59:38 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Wed, 14 Apr 2010 16:59:38 -0400 Subject: [Ns-bugs] [Bug 835] Unlimited receive queues in sockets == evil In-Reply-To: References: Message-ID: <20100414205939.269B0480134@deliverator2.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=835 Bug 835 depends on bug 833, which changed state. Bug 833 Summary: OnOffApplication with PacketSocket: sniffs all traffic http://www.nsnam.org/bugzilla/show_bug.cgi?id=833 What |Old Value |New Value ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Wed Apr 14 13:59:37 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Wed, 14 Apr 2010 16:59:37 -0400 Subject: [Ns-bugs] [Bug 833] OnOffApplication with PacketSocket: sniffs all traffic In-Reply-To: References: Message-ID: <20100414205937.AADFC480128@deliverator2.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=833 Josh Pelkey changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #9 from Josh Pelkey 2010-04-14 16:59:37 EDT --- changeset 151afb65c7e8 -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Wed Apr 14 13:59:04 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Wed, 14 Apr 2010 16:59:04 -0400 Subject: [Ns-bugs] [Bug 833] OnOffApplication with PacketSocket: sniffs all traffic In-Reply-To: References: Message-ID: <20100414205904.C2DFE480079@deliverator2.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=833 Bug 833 depends on bug 876, which changed state. Bug 876 Summary: Tcp socket does not handle ShutdownRecv correctly http://www.nsnam.org/bugzilla/show_bug.cgi?id=876 What |Old Value |New Value ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Wed Apr 14 14:00:07 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Wed, 14 Apr 2010 17:00:07 -0400 Subject: [Ns-bugs] [Bug 835] Unlimited receive queues in sockets == evil In-Reply-To: References: Message-ID: <20100414210011.F04E45E41AF@deliverator4.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=835 Josh Pelkey changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |jpelkey at gatech.edu Resolution| |FIXED --- Comment #4 from Josh Pelkey 2010-04-14 17:00:07 EDT --- changeset ebe303de4725 -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Thu Apr 15 02:25:34 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Thu, 15 Apr 2010 05:25:34 -0400 Subject: [Ns-bugs] [Bug 877] New: python bindings broken with multiple inheritance ? Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=877 Summary: python bindings broken with multiple inheritance ? Product: ns-3 Version: pre-release Platform: All OS/Version: All Status: NEW Severity: normal Priority: P5 Component: python bindings AssignedTo: ns-bugs at isi.edu ReportedBy: mathieu.lacage at sophia.inria.fr Estimated Hours: 0.0 I tried running examples/mixed-wireless.py and I get this: Enabling OLSR routing on all backbone nodes Configuring local area network for backbone node 0 Configuring local area network for backbone node 1 Configuring local area network for backbone node 2 Configuring local area network for backbone node 3 Configuring local area network for backbone node 4 Configuring local area network for backbone node 5 Configuring local area network for backbone node 6 Configuring local area network for backbone node 7 Configuring local area network for backbone node 8 Configuring local area network for backbone node 9 Configuring wireless network for backbone node 0 Configuring wireless network for backbone node 1 Configuring wireless network for backbone node 2 Configuring wireless network for backbone node 3 Configuring wireless network for backbone node 4 Configuring wireless network for backbone node 5 Configuring wireless network for backbone node 6 Configuring wireless network for backbone node 7 Configuring wireless network for backbone node 8 Configuring wireless network for backbone node 9 Create Applications. Configure Tracing. (tracing not done for Python) assert failed. file=../src/core/type-id.cc, line=138, cond="uid <= m_information.size () && uid != 0" backtrace: #1 0x00007fffef61b566 in (anonymous namespace)::IidManager::GetConstructor (this=0x7ffff04b9110, uid= 0) at ../src/core/type-id.cc:211 #2 0x00007fffef61db69 in ns3::TypeId::GetConstructor (this=0x7fffffffd638) at ../src/core/type-id.cc:596 #3 0x00007fffef65ed1d in ns3::ObjectFactory::Create (this=0x7fffffffd638) at ../src/core/object-factory.cc:68 #4 0x00007fffefcfb63b in ns3::ObjectFactory::Create (this=0x7fffffffd638) at debug/ns3/object-factory.h:110 #5 0x00007fffefcf92f6 in ns3::YansWifiPhyHelper::Create (this=0x7fffffffd620, node=..., device=Cannot access memory at address 0x0 ) at ../src/helper/yans-wifi-helper.cc:233 #6 0x00007fffefd2a723 in ns3::PcapHelperForDevice::EnablePcap (this=0x78bac0, prefix= "mixed-wireless", nd=..., promiscuous=false, explicitFilename=false) at ../src/helper/trace-helper.cc:417 #7 0x00007fffefd2a964 in ns3::PcapHelperForDevice::EnablePcap (this=0x78bac0, prefix= "mixed-wireless", d=..., promiscuous=false) at ../src/helper/trace-helper.cc:433 #8 0x00007ffff0890e8d in _wrap_PyNs3PcapHelperForDevice_EnablePcap__2 (self=0x9687a0, args=0x968758, kwargs=0x0, return_exception=0x7fffffffd810) at debug/bindings/python/ns3_module_helper.cc:11952 #9 0x00007ffff089152e in _wrap_PyNs3PcapHelperForDevice_EnablePcap (self=0x9687a0, args=0x968758, kwargs=0x0) at debug/bindings/python/ns3_module_helper.cc:12027 #10 0x0000003136edcaba in call_function (f=, throwflag=) at Python/ceval.c:3706 Since this backtrace is impossible (see frames 5 and 6), this looks like some nasty multiple inheritance typecasting because of: class YansWifiPhyHelper : public WifiPhyHelper, public PcapHelperForDevice, public AsciiTraceHelperForDevice -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Thu Apr 15 03:46:34 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Thu, 15 Apr 2010 06:46:34 -0400 Subject: [Ns-bugs] [Bug 877] python bindings broken with multiple inheritance ? In-Reply-To: References: Message-ID: <20100415104634.B27B71834D3@deliverator5.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=877 --- Comment #1 from Gustavo J. A. M. Carneiro 2010-04-15 06:46:34 EDT --- I don't see anything wrong in the Python bindings. One thing the Python bindings do is this: ns3::YansWifiPhyHelper retval = ns3::YansWifiPhyHelper::Default(); [...] py_YansWifiPhyHelper->obj = new ns3::YansWifiPhyHelper(retval); This effectively requires the use a copy-constructor. Why? Because a stack-allocated return value is useless for the Python bindings, we need heap object instead. If there is something not being done right in the copy constructor, and I suspect so from the gdb session I had, then things might break. If so, the problem is in the wrapper for ns3::YansWifiPhyHelper::Default(), not in the method call on the instance. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Thu Apr 15 05:40:29 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Thu, 15 Apr 2010 08:40:29 -0400 Subject: [Ns-bugs] [Bug 877] python bindings broken with multiple inheritance ? In-Reply-To: References: Message-ID: <20100415124029.DE18320C0DB@deliverator6.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=877 --- Comment #2 from Gustavo J. A. M. Carneiro 2010-04-15 08:40:29 EDT --- There is something weird going on with the 'this' pointer when moving across virtual method calls from PcapHelperForDevice -> YansWifiPhyHelper (EnablePcapInternal). (gdb) f #6 0x00007ffff54c6043 in ns3::PcapHelperForDevice::EnablePcap (this=0xa13f50, prefix=..., nd=..., promiscuous=false, explicitFilename=false) at ../src/helper/trace-helper.cc:417 417 EnablePcapInternal (prefix, nd, promiscuous, explicitFilename); (gdb) down #5 0x00007ffff548f26e in ns3::YansWifiPhyHelper::Create (this=0x7fffffffd270, node=..., device=Cannot access memory at address 0x0 ) at ../src/helper/yans-wifi-helper.cc:233 233 Ptr phy = m_phy.Create (); (gdb) down #4 0x00007ffff5491681 in ns3::ObjectFactory::Create (this=0x7fffffffd288) at debug/ns3/object-factory.h:110 110 Ptr object = Create (); (gdb) Indeed, maybe there's something I am missing about MI and the bindings... I'll have to recheck this with more time... -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Thu Apr 15 05:49:14 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Thu, 15 Apr 2010 08:49:14 -0400 Subject: [Ns-bugs] [Bug 877] python bindings broken with multiple inheritance ? In-Reply-To: References: Message-ID: <20100415124914.C47205E40D2@deliverator4.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=877 --- Comment #3 from Gustavo J. A. M. Carneiro 2010-04-15 08:49:14 EDT --- (gdb) p py_YansWifiPhyHelper->obj $1 = (class ns3::YansWifiPhyHelper *) 0xa13f50 (gdb) p static_cast ($1) $2 = (ns3::PcapHelperForDevice *) 0xa13f58 OK, so this is what I missed. Typecasting changes the 'this' pointer address when we have MI :-/ -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Thu Apr 15 15:14:00 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Thu, 15 Apr 2010 18:14:00 -0400 Subject: [Ns-bugs] [Bug 856] DropTailQueue: uninitialized variable In-Reply-To: References: Message-ID: <20100415221400.6E5F75E4104@deliverator4.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=856 Craig Dowell changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |VERIFIED CC| |craigdo at ee.washington.edu Resolution| |FIXED --- Comment #1 from Craig Dowell 2010-04-15 18:14:00 EDT --- After extensive study and research, our blue-ribbon committee has voted that it is probably a good idea to initialiaize variables before use. Fixed changeset 1204777b0bcf -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Thu Apr 15 16:42:56 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Thu, 15 Apr 2010 19:42:56 -0400 Subject: [Ns-bugs] [Bug 869] suggested test framework enhancements In-Reply-To: References: Message-ID: <20100415234256.469C25E4152@deliverator4.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=869 --- Comment #4 from Craig Dowell 2010-04-15 19:42:53 EDT --- Added an "--assert" option to test runner. If you are in gdb, for example, you can; run --suite=global-variable --assert and if an error is detected, the test suite will break (segfault) at the NS_TEST_ASSERT that detected the error. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Thu Apr 15 22:48:38 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Fri, 16 Apr 2010 01:48:38 -0400 Subject: [Ns-bugs] [Bug 872] ns3::PcapFileWrapper::Write explodes stack In-Reply-To: References: Message-ID: <20100416054838.CFD445E414A@deliverator4.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=872 Mathieu Lacage changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #7 from Mathieu Lacage 2010-04-16 01:48:38 EDT --- changeset 9787dc9fdd84 -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Thu Apr 15 23:02:36 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Fri, 16 Apr 2010 02:02:36 -0400 Subject: [Ns-bugs] [Bug 878] New: ./waf --python-scan fails Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=878 Summary: ./waf --python-scan fails Product: ns-3 Version: pre-release Platform: All OS/Version: All Status: NEW Severity: normal Priority: P5 Component: python bindings AssignedTo: ns-bugs at isi.edu ReportedBy: mathieu.lacage at sophia.inria.fr Estimated Hours: 0.0 I have re-installed everything as outlined in http://www.nsnam.org/wiki/index.php/NS-3_Python_Bindings but I still get this --python-scan error: INFO gccxml cmd: /usr/bin/gccxml --gccxml-cxxflags '-m32' -I"." -I"/home/mlacage/code/ns-3-dev/build/debug/" "/home/mlacage/code/ns-3-dev/build/debug/bindings/python/everything.h" -fxml="/tmp/tmpOVjYZr.xml" Traceback (most recent call last): File "/home/mlacage/code/ns-3-dev/bindings/python/ns3modulescan.py", line 320, in ns3_module_scan(sys.argv[1], sys.argv[3], sys.argv[2], sys.argv[4]) File "/home/mlacage/code/ns-3-dev/bindings/python/ns3modulescan.py", line 302, in ns3_module_scan gccxml_options=gccxml_options) File "/home/mlacage/code/pybindgen/pybindgen/gccxmlparser.py", line 683, in parse_init self.declarations = parser.parse(header_files, self.gccxml_config) File "/usr/lib/python2.5/site-packages/pygccxml/parser/__init__.py", line 50, in parse answer = parser.read_files(files, compilation_mode) File "/usr/lib/python2.5/site-packages/pygccxml/parser/project_reader.py", line 225, in read_files return self.__parse_file_by_file(files) File "/usr/lib/python2.5/site-packages/pygccxml/parser/project_reader.py", line 250, in __parse_file_by_file decls = reader.read_file( header ) File "/usr/lib/python2.5/site-packages/pygccxml/parser/source_reader.py", line 197, in read_file return self.read_gccxml_file( source_file ) File "/usr/lib/python2.5/site-packages/pygccxml/parser/source_reader.py", line 224, in read_gccxml_file raise error pygccxml.parser.source_reader.gccxml_runtime_error_t: Error occured while running GCC-XML: In file included from /usr/include/features.h:359, from /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/32/bits/os_defines.h:44, from /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/x86_64-redhat-linux/32/bits/c++config.h:40, from /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/bits/stl_algobase.h:65, from /usr/lib/gcc/x86_64-redhat-linux/4.3.2/../../../../include/c++/4.3.2/vector:66, from /home/mlacage/code/ns-3-dev/build/debug/ns3/wifi-remote-station-manager.h:23, from /home/mlacage/code/ns-3-dev/build/debug/ns3/arf-wifi-manager.h:23, from /home/mlacage/code/ns-3-dev/build/debug/ns3/aarf-wifi-manager.h:23, from /home/mlacage/code/ns-3-dev/build/debug/bindings/python/everything.h:9: /usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or directory -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Thu Apr 15 23:28:38 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Fri, 16 Apr 2010 02:28:38 -0400 Subject: [Ns-bugs] [Bug 879] New: source address selection for AODV using DeferredRouteRequest Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=879 Summary: source address selection for AODV using DeferredRouteRequest Product: ns-3 Version: pre-release Platform: All OS/Version: All Status: NEW Severity: normal Priority: P5 Component: routing AssignedTo: ns-bugs at isi.edu ReportedBy: tomh at tomh.org Estimated Hours: 0.0 This problem was reported by Glenn Evans, although the subject line attributed it to OnOffApplication or Pcap changes. It seems to be really an AODV issue and is related to previously closed bug 772. The problem is that Tcp::Connect performs source address selection, and presently, the address returned for locally outbound packets is 102.102.102.102 (with destination to loopback interface). This source address is bound to the endpoint. This causes a deferred route request from RouteInput (which succeeds) but the source address of the Tcp SYN seems to not be rewritten: 3.001566 ARP, Request who-has 192.168.0.1 (ff:ff:ff:ff:ff:ff) tell 192.168.0.5, length 32 3.001847 ARP, Reply 192.168.0.1 is-at 00:00:00:00:00:01, length 32 3.001939 Acknowledgment RA:00:00:00:00:00:01 3.002101 IP 102.102.102.102.49153 > 192.168.0.1.5000: Flags [S], seq 0, win 65535, length 0 3.002117 Acknowledgment RA:00:00:00:00:00:05 3.002276 IP 192.168.0.1.654 > 192.168.0.255.654: aodv rreq 24 hops 0 id 0x00000001 dst 102.102.102.102 seq 0 src 192.168.0.1 seq 1 The above causes the destination 192.168.0.1 to initiate a RREQ for 102.102.102.102. Fixing this SYN source address in the Aodv deferred route request will not be sufficient, however, because there is no mechanism for AODV to call back up to Tcp and tell it to reset its endpoint source address to the one that is aligned with AODV's RREP. This may be alleviated by forcing the user originating packets on an AODV router to bind to a specific outbound interface, in which case passing the oif parameter to RouteOutput() could result in a correct source address being returned (even if the packet is still looped to the loopback address to find the right next hop). If we want to support the more general case where the user does not specify a locally bound interface for outbound packets, then something along the lines of a new flag in the Ipv4Route (m_deferred) could be added; in such a scenario, AODV passes a route back to the TCP but marks it as "deferred". TCP keeps this state, and when the connection SYN exchange completes, checks this flag and if set, calls into RouteOutput() again to learn the source address that was found by the AODV RREP. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Thu Apr 15 23:40:23 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Fri, 16 Apr 2010 02:40:23 -0400 Subject: [Ns-bugs] [Bug 877] python bindings broken with multiple inheritance ? In-Reply-To: References: Message-ID: <20100416064023.710C418359F@deliverator5.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=877 --- Comment #4 from Mathieu Lacage 2010-04-16 02:40:23 EDT --- Created an attachment (id=832) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=832) remove multiple inheritance Since we are very close to freeze/release, I feel that the best way to deal with this bug is to simply remove multiple inheritance which we don't really need here anyway so, this patch: - merges together the ascii/pcap methods in TraceHelperForDevice - merges together the ascii/pcap ipv4/ipv6 methods in TraceHelperForIpvx -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Fri Apr 16 00:02:31 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Fri, 16 Apr 2010 03:02:31 -0400 Subject: [Ns-bugs] [Bug 802] Minstrel algorithm causes segmentation fault In-Reply-To: References: Message-ID: <20100416070231.B8826480169@deliverator2.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=802 --- Comment #5 from Mathieu Lacage 2010-04-16 03:02:31 EDT --- Created an attachment (id=833) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=833) avoid assert This avoids the backtrace but we hit a crash later in minstrel itself which appears to be trying to access an element past the end of an array in FindRate line 576. ==22131== Invalid read of size 1 ==22131== at 0x5485610: ns3::HighPrecision::Compare(ns3::HighPrecision const&) const (high-precision-128.h:227) ==22131== by 0x54A9AEC: bool ns3::operator><1>(ns3::TimeUnit<1> const&, ns3::TimeUnit<1> const&) (nstime.h:257) ==22131== by 0x5A802EA: ns3::MinstrelWifiManager::FindRate(ns3::MinstrelWifiRemoteStation*) (minstrel-wifi-manager.cc:576) ==22131== by 0x5A81E01: ns3::MinstrelWifiManager::DoReportDataOk(ns3::WifiRemoteStation*, double, ns3::WifiMode, double) (minstrel-wifi-manager.cc:429) -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Fri Apr 16 00:07:50 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Fri, 16 Apr 2010 03:07:50 -0400 Subject: [Ns-bugs] [Bug 802] Minstrel algorithm causes segmentation fault In-Reply-To: References: Message-ID: <20100416070750.67AED183582@deliverator5.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=802 Mathieu Lacage changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mathieu.lacage at sophia.inria | |.fr --- Comment #6 from Mathieu Lacage 2010-04-16 03:07:48 EDT --- I did not test with onoe -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Fri Apr 16 00:43:13 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Fri, 16 Apr 2010 03:43:13 -0400 Subject: [Ns-bugs] [Bug 802] Minstrel algorithm causes segmentation fault In-Reply-To: References: Message-ID: <20100416074313.E194A5E41C4@deliverator4.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=802 --- Comment #7 from Mathieu Lacage 2010-04-16 03:43:13 EDT --- the later crash appears to come from some minstrel bugs. i.e., MinstrelWifiManager::InitSampleTable initializes the sample table on line 787: station->m_sampleTable[newIndex][col] = i+1; Note the '+1' above: it sets an index in the sample table equal to GetNSupported (station) which leads GetNextSample later to return this invalid index in the minstrelTable. Removing the '+1' or adding a (i+1)%GetNSupported(station) makes the code not crash for me. I guess that this is something for duy to look at now. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Fri Apr 16 02:50:30 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Fri, 16 Apr 2010 05:50:30 -0400 Subject: [Ns-bugs] [Bug 872] ns3::PcapFileWrapper::Write explodes stack In-Reply-To: References: Message-ID: <20100416095030.DEFCE1558EC@deliverator3.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=872 Alberto Blanc changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |alberto.blanc at gmail.com --- Comment #8 from Alberto Blanc 2010-04-16 05:50:30 EDT --- Maybe I did something wrong, but, after I updated my local copy of ns3-dev it does not compile anymore. It looks like this changeset brakes ns3tcp-interop-test-suite.cc: in that file at lines 117 and 122 there are calls to the function PcapFile::Open with parameters "r" and "w". I guess that now those should be replaced by std::ios_base::out and std::ios_base::in As this is clearly related to this bug I did not open a new one. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Fri Apr 16 03:30:35 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Fri, 16 Apr 2010 06:30:35 -0400 Subject: [Ns-bugs] [Bug 878] ./waf --python-scan fails In-Reply-To: References: Message-ID: <20100416103035.A77255E41C1@deliverator4.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=878 Gustavo J. A. M. Carneiro changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gjcarneiro at gmail.com --- Comment #1 from Gustavo J. A. M. Carneiro 2010-04-16 06:30:35 EDT --- Sounds like a system installation problem? Your system headers do not appear to support compilation with -m32 very well. -m32 is used as a flag to make a 64-bit system scan headers pretending to be a 32-bit system. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Fri Apr 16 04:43:27 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Fri, 16 Apr 2010 07:43:27 -0400 Subject: [Ns-bugs] [Bug 872] ns3::PcapFileWrapper::Write explodes stack In-Reply-To: References: Message-ID: <20100416114327.283772DEB03@deliverator1.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=872 Antti M?kel? changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zarhan at cc.hut.fi --- Comment #9 from Antti M?kel? 2010-04-16 07:43:26 EDT --- (In reply to comment #8) > Maybe I did something wrong, but, after I updated my local copy of ns3-dev it > does not compile anymore. It looks like this changeset brakes > ns3tcp-interop-test-suite.cc: in that file at lines 117 and 122 there are calls > to the function PcapFile::Open with parameters "r" and "w". I guess that now > those should be replaced by std::ios_base::out and std::ios_base::in > > As this is clearly related to this bug I did not open a new one. Can confirm these symptoms. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Fri Apr 16 05:00:27 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Fri, 16 Apr 2010 08:00:27 -0400 Subject: [Ns-bugs] [Bug 877] python bindings broken with multiple inheritance ? In-Reply-To: References: Message-ID: <20100416120027.7E6BE18357D@deliverator5.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=877 --- Comment #5 from Gustavo J. A. M. Carneiro 2010-04-16 08:00:27 EDT --- changeset: 6209:644530171fdd -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Fri Apr 16 05:00:45 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Fri, 16 Apr 2010 08:00:45 -0400 Subject: [Ns-bugs] [Bug 877] python bindings broken with multiple inheritance ? In-Reply-To: References: Message-ID: <20100416120046.00C782DD8EA@deliverator1.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=877 Gustavo J. A. M. Carneiro changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Fri Apr 16 05:53:22 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Fri, 16 Apr 2010 08:53:22 -0400 Subject: [Ns-bugs] [Bug 730] Enabling fragmentation at run-time breaks simulation In-Reply-To: References: Message-ID: <20100416125322.BDE8F5E414A@deliverator4.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=730 Christian changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|WORKSFORME | --- Comment #5 from Christian 2010-04-16 08:53:22 EDT --- (In reply to comment #4) > I ran the program with nNodes = 3 and it still seems to work correctly. > Closing the bug. Actually, with 3 nodes it seems to work correctly. However, could you please try and set nNodes = 2, 4, or 5? Using ns-3-dev (rev a6ee8748aee7) the script seems to break at 10 seconds (when nNodes=2 or nNodes=4) and at about 26 seconds (when nNodes=5). -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Fri Apr 16 07:24:04 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Fri, 16 Apr 2010 10:24:04 -0400 Subject: [Ns-bugs] [Bug 880] New: Node sending a packet to itself via 127.0.0.1 aborts Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=880 Summary: Node sending a packet to itself via 127.0.0.1 aborts Product: ns-3 Version: ns-3-dev Platform: All OS/Version: All Status: NEW Severity: major Priority: P3 Component: internet-stack AssignedTo: ns-bugs at isi.edu ReportedBy: gjcarneiro at gmail.com Estimated Hours: 0.0 This simple program included in a python unit test (utils/python-unit-tests.py, function testSocket): def testSocket(self): node = ns3.Node() internet = ns3.InternetStackHelper() internet.Install(node) self._received_packet = None def rx_callback(socket): assert self._received_packet is None self._received_packet = socket.Recv() sink = ns3.Socket.CreateSocket(node, ns3.TypeId.LookupByName("ns3::UdpSocketFactory")) sink.Bind(ns3.InetSocketAddress(ns3.Ipv4Address.GetAny(), 80)) sink.SetRecvCallback(rx_callback) source = ns3.Socket.CreateSocket(node, ns3.TypeId.LookupByName("ns3::UdpSocketFactory")) source.SendTo(ns3.Packet(19), 0, ns3.InetSocketAddress(ns3.Ipv4Address("127.0.0.1"), 80)) ## <<<<<<< crash here ns3.Simulator.Run() self.assert_(self._received_packet is not None) self.assertEqual(self._received_packet.GetSize(), 19) This aborts with: .......Received packet with erroneous context ; make sure the channels in use are correctly updating events context when transfering events from one node to another. Segmentation fault (core dumped) To reproduce, just run utils/python-unit-tests.py. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Fri Apr 16 08:41:15 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Fri, 16 Apr 2010 11:41:15 -0400 Subject: [Ns-bugs] [Bug 802] Minstrel algorithm causes segmentation fault In-Reply-To: References: Message-ID: <20100416154115.CB3C82DE244@deliverator1.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=802 --- Comment #8 from duy 2010-04-16 11:41:14 EDT --- thanks Mathieu, it seems like I didn't check for array out of bound for that case. I am looking into it now. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Fri Apr 16 09:41:41 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Fri, 16 Apr 2010 12:41:41 -0400 Subject: [Ns-bugs] [Bug 801] ns-3.7 and SVN not coexisting nicely In-Reply-To: References: Message-ID: <20100416164141.513A218010A@deliverator5.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=801 Josh Pelkey changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |jpelkey at gatech.edu Resolution| |FIXED --- Comment #4 from Josh Pelkey 2010-04-16 12:41:41 EDT --- tested proposed fix with latest ns-3-dev and svn. fixes problem, pushing. changeset 3f7f94c78f0a -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Fri Apr 16 10:26:32 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Fri, 16 Apr 2010 13:26:32 -0400 Subject: [Ns-bugs] [Bug 807] ns2-mobility-helper.cc: node id parsed wrong In-Reply-To: References: Message-ID: <20100416172632.36A245E40D2@deliverator4.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=807 Josh Pelkey changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |jpelkey at gatech.edu Resolution| |FIXED --- Comment #1 from Josh Pelkey 2010-04-16 13:26:31 EDT --- changeset 617ac18757e6 -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Fri Apr 16 10:55:39 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Fri, 16 Apr 2010 13:55:39 -0400 Subject: [Ns-bugs] [Bug 825] UDP-Client-server's packet loss counter not properly reset In-Reply-To: References: Message-ID: <20100416175539.B06A4155A71@deliverator3.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=825 Josh Pelkey changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |jpelkey at gatech.edu Resolution| |FIXED --- Comment #1 from Josh Pelkey 2010-04-16 13:55:39 EDT --- bug confirmed and proposed fix by author (Amine). pushing. changeset ce10a6aced1e -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Fri Apr 16 11:05:50 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Fri, 16 Apr 2010 14:05:50 -0400 Subject: [Ns-bugs] [Bug 805] WifiPhy PhyTxEnd trace not working In-Reply-To: References: Message-ID: <20100416180551.08EEA20C0A9@deliverator6.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=805 Nicola Baldo changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #3 from Nicola Baldo 2010-04-16 14:05:50 EDT --- changeset 6217 8f7571fea7cf -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. You are the assignee for the bug. From code at nsnam.ece.gatech.edu Fri Apr 16 11:08:18 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Fri, 16 Apr 2010 14:08:18 -0400 Subject: [Ns-bugs] [Bug 813] Nqos AP sends packet to non associated STA In-Reply-To: References: Message-ID: <20100416180819.065EC2DC251@deliverator1.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=813 Nicola Baldo changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #8 from Nicola Baldo 2010-04-16 14:08:17 EDT --- changeset 6220 393892be322a -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Fri Apr 16 14:37:49 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Fri, 16 Apr 2010 17:37:49 -0400 Subject: [Ns-bugs] [Bug 881] Reorganise to allow wider use of WifiInformationElement In-Reply-To: References: Message-ID: <20100416213749.186F0480192@deliverator2.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=881 Dean Armstrong changed: What |Removed |Added ---------------------------------------------------------------------------- URL| |http://codereview.appspot.c | |om/898045 --- Comment #1 from Dean Armstrong 2010-04-16 17:37:48 EDT --- At the following URL you'll find the sort of code I was thinking of: http://codereview.appspot.com/898045 The patch there splits the mesh-specific functionality out from WifiInformationElementVector, and places it in a derived class called MeshInformationElementVector. The WifiInformationElement class remains relatively unmodified, but is relocated with WifiInformationElementVector to the wifi module. WifiElementId is now typedef'd to be uint8_t with the Element IDs #defined, to allow the standard-defined ones (i.e., those in IEEE 802.11-2007) kept in the wifi module to be seperated from the pre-standard ones (i.e., for mesh) defined in the mesh module. I'm not sure I'm entirely comfortable with this approach; I really want some form of inheritance and I suspect there is a cleaner way to do this, but it is not obvious to me right now. While not strictly within the scope of this bug, there is code at... http://codereview.appspot.com/840046 ..., which builds on that in Issue 898045 to actually make use of the relocated classes in the wifi module, and thus may serve as some more context for discussion and/or thought on the general approach. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Fri Apr 16 14:21:21 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Fri, 16 Apr 2010 17:21:21 -0400 Subject: [Ns-bugs] [Bug 881] New: Reorganise to allow wider use of WifiInformationElement Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=881 Summary: Reorganise to allow wider use of WifiInformationElement Product: ns-3 Version: ns-3-dev Platform: All OS/Version: All Status: NEW Keywords: api Severity: enhancement Priority: P5 Component: wifi AssignedTo: ns-bugs at isi.edu ReportedBy: deanarm at gmail.com Estimated Hours: 0.0 As part of the mesh work, WifiInformationElement was created as a base class for IEs. While currently resident and only used in the mesh module, this and other related classes like WifiInformationElementVector obviously have significant potential for use in the wifi module, where they could ease (and/or tidy) implementation of further Wi-Fi 'features'. I'm working on such 'features' and so would like to open discussion on a reorganisation that would allow more general use of these objects. I'm therefore raising this bug as a place to hold this discussion and cite proposed code. Broadly speaking, what I am proposing initially is that the WifiInformationElement and WifiInformationElementVector classes be moved to the wifi module, with the mesh-specific deserialisation know-how extracted to a new subclass of WifiInformationElementVector, (perhaps called MeshInformationElementVector) in the mesh module. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Fri Apr 16 15:30:56 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Fri, 16 Apr 2010 18:30:56 -0400 Subject: [Ns-bugs] [Bug 880] Node sending a packet to itself via 127.0.0.1 aborts In-Reply-To: References: Message-ID: <20100416223056.D907339F75A@deliverator3.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=880 Tom Henderson changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |tomh at tomh.org Resolution| |FIXED --- Comment #1 from Tom Henderson 2010-04-16 18:30:56 EDT --- changeset: 7e8a5b802007 -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Fri Apr 16 15:44:22 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Fri, 16 Apr 2010 18:44:22 -0400 Subject: [Ns-bugs] [Bug 231] SocketAddressTag needs to be removed from a packet before forwarding the packet to the user In-Reply-To: References: Message-ID: <20100416224422.AC5942DD960@deliverator1.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=231 Tom Henderson changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO --- Comment #8 from Tom Henderson 2010-04-16 18:44:22 EDT --- I revisited this today and found that the attached patch has been added somewhere along the way. UdpEchoServer::HandleRead (Ptr socket) { Ptr packet; Address from; while (packet = socket->RecvFrom (from)) { if (InetSocketAddress::IsMatchingType (from)) { InetSocketAddress address = InetSocketAddress::ConvertFrom (from); NS_LOG_INFO ("Received " << packet->GetSize() << " bytes from " << address.GetIpv4()); packet->RemoveAllPacketTags (); packet->RemoveAllByteTags (); NS_LOG_LOGIC ("Echoing packet"); socket->SendTo (packet, 0, from); } } } Will mark fixed unless more info is provided. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Fri Apr 16 15:45:56 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Fri, 16 Apr 2010 18:45:56 -0400 Subject: [Ns-bugs] [Bug 521] Ipv4 global routing inefficient In-Reply-To: References: Message-ID: <20100416224556.83DF7155A97@deliverator3.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=521 --- Comment #5 from Tom Henderson 2010-04-16 18:45:55 EDT --- I think this should be marked down from P2 for this release as it is a performance optimization and workarounds exist (NixVector) for many scenarios. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Fri Apr 16 15:56:26 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Fri, 16 Apr 2010 18:56:26 -0400 Subject: [Ns-bugs] [Bug 867] Minor bug in Ipv4L3Protocol::Send() In-Reply-To: References: Message-ID: <20100416225626.9F86C5E4147@deliverator4.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=867 Tom Henderson changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |tomh at tomh.org Resolution| |FIXED --- Comment #1 from Tom Henderson 2010-04-16 18:56:26 EDT --- changeset: cdf770714461 thanks! -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Fri Apr 16 16:03:27 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Fri, 16 Apr 2010 19:03:27 -0400 Subject: [Ns-bugs] [Bug 869] suggested test framework enhancements In-Reply-To: References: Message-ID: <20100416230327.1978A183592@deliverator5.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=869 --- Comment #5 from Tom Henderson 2010-04-16 19:03:26 EDT --- Can you add this to test.py? utils/python-unit-tests.py -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Fri Apr 16 16:05:49 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Fri, 16 Apr 2010 19:05:49 -0400 Subject: [Ns-bugs] [Bug 862] NotifyInterfaceUp() Adds network route even when netmask is /32 In-Reply-To: References: Message-ID: <20100416230549.CE24A4801BE@deliverator2.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=862 Tom Henderson changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #4 from Tom Henderson 2010-04-16 19:05:49 EDT --- changeset: 22d9d9d3c563 -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Fri Apr 16 23:05:35 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Sat, 17 Apr 2010 02:05:35 -0400 Subject: [Ns-bugs] [Bug 878] ./waf --python-scan fails In-Reply-To: References: Message-ID: <20100417060535.C390A5E4126@deliverator4.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=878 --- Comment #2 from Mathieu Lacage 2010-04-17 02:05:35 EDT --- I get supposedly the same errors on a stock fc12 box. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Fri Apr 16 23:12:09 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Sat, 17 Apr 2010 02:12:09 -0400 Subject: [Ns-bugs] [Bug 872] ns3::PcapFileWrapper::Write explodes stack In-Reply-To: References: Message-ID: <20100417061209.2C0882DEC94@deliverator1.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=872 Mathieu Lacage changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | --- Comment #10 from Mathieu Lacage 2010-04-17 02:12:08 EDT --- Crap. Looks like I did not build with nsc enabled. Fix underway. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Fri Apr 16 23:17:55 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Sat, 17 Apr 2010 02:17:55 -0400 Subject: [Ns-bugs] [Bug 872] ns3::PcapFileWrapper::Write explodes stack In-Reply-To: References: Message-ID: <20100417061755.3B495155A97@deliverator3.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=872 Mathieu Lacage changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED CC| |gjcarneiro at gmail.com Resolution| |FIXED --- Comment #11 from Mathieu Lacage 2010-04-17 02:17:54 EDT --- gustavo fixed this in 6211:eb3a5837f84b thanks gustavo. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Fri Apr 16 23:36:15 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Sat, 17 Apr 2010 02:36:15 -0400 Subject: [Ns-bugs] [Bug 802] Minstrel algorithm causes segmentation fault In-Reply-To: References: Message-ID: <20100417063615.67A0D5E41C1@deliverator4.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=802 --- Comment #9 from duy 2010-04-17 02:36:14 EDT --- Onoe and Amrr works fine with Mathieu's patch. I agree that either removing the '+1' or adding a (i+1)%GetNSupported(station) should fix the segmentation fault. However, minstrel does not seem to produce correct results. I am away this weekend, but I will look into it next week and hopefully find a fix for it soon. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Sat Apr 17 00:37:57 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Sat, 17 Apr 2010 03:37:57 -0400 Subject: [Ns-bugs] [Bug 882] New: ./test.py reports 6 FAILs with --disable-python Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=882 Summary: ./test.py reports 6 FAILs with --disable-python Product: ns-3 Version: pre-release Platform: All OS/Version: All Status: NEW Severity: normal Priority: P5 Component: general AssignedTo: ns-bugs at isi.edu ReportedBy: mathieu.lacage at sophia.inria.fr Estimated Hours: 0.0 -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Sat Apr 17 00:38:24 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Sat, 17 Apr 2010 03:38:24 -0400 Subject: [Ns-bugs] [Bug 882] ./test.py reports 6 FAILs with --disable-python In-Reply-To: References: Message-ID: <20100417073824.5618439C05D@deliverator3.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=882 --- Comment #1 from Mathieu Lacage 2010-04-17 03:38:24 EDT --- how to reproduce: ./waf configure --disable-python ./test.py -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Sat Apr 17 02:51:21 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Sat, 17 Apr 2010 05:51:21 -0400 Subject: [Ns-bugs] [Bug 802] Minstrel algorithm causes segmentation fault In-Reply-To: References: Message-ID: <20100417095121.6A3AA5E4151@deliverator4.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=802 --- Comment #10 from Nicola Baldo 2010-04-17 05:51:20 EDT --- (In reply to comment #9) > Onoe and Amrr works fine with Mathieu's patch. I confirm this as well. I just pushed that patch (changeset: 6241:d9a65be745f0) > I agree that either removing the '+1' or adding a (i+1)%GetNSupported(station) > should fix the segmentation fault. > > However, minstrel does not seem to produce correct results. I am away this > weekend, but I will look into it next week and hopefully find a fix for it > soon. ok, let's wait until you have the chance to look into this issue. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Sat Apr 17 03:03:49 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Sat, 17 Apr 2010 06:03:49 -0400 Subject: [Ns-bugs] [Bug 841] Multicast transmission breaks with QoS Wifi In-Reply-To: References: Message-ID: <20100417100349.57C055E4166@deliverator4.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=841 Nicola Baldo changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #2 from Nicola Baldo 2010-04-17 06:03:49 EDT --- changeset: 6242:803b7efd0117 -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Sat Apr 17 03:32:29 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Sat, 17 Apr 2010 06:32:29 -0400 Subject: [Ns-bugs] [Bug 761] Wrong ACK/CTSTimeout values In-Reply-To: References: Message-ID: <20100417103230.189CA5E41C1@deliverator4.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=761 --- Comment #4 from Nicola Baldo 2010-04-17 06:32:26 EDT --- Both Kirill and Gary are right. The fact is that the standard says that the timeout duration is how much time you are allowed to wait for a RX-START indication. The mac-low code (to my understanding) does not any knowledge of RX-START, it only has knowledge of RX-END. So what mac-low does is to add the ACK duration to the timeout, in order to be able to rely only on the RX-END event. In other words, the mac-low implementation does not comply with the standard in this respect. So the patch by Kirill will not work, because it sets the timeout values as per the standard, but does not change the mac-low code accordingly. A proper patch would require significant effort and probably be invasive, so it needs to be designed and tested with care. I would be fine with it in principle, though. Any volounteers? -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Sat Apr 17 03:39:25 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Sat, 17 Apr 2010 06:39:25 -0400 Subject: [Ns-bugs] [Bug 761] Wrong ACK/CTSTimeout values In-Reply-To: References: Message-ID: <20100417103925.A07F52DEC81@deliverator1.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=761 Nicola Baldo changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P5 -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Sat Apr 17 09:45:02 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Sat, 17 Apr 2010 12:45:02 -0400 Subject: [Ns-bugs] [Bug 882] ./test.py reports 6 FAILs with --disable-python In-Reply-To: References: Message-ID: <20100417164502.57F282DEC81@deliverator1.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=882 Gustavo J. A. M. Carneiro changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |gjcarneiro at gmail.com Resolution| |FIXED --- Comment #2 from Gustavo J. A. M. Carneiro 2010-04-17 12:45:01 EDT --- 6243:a597d6d2da85 -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Sat Apr 17 10:03:59 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Sat, 17 Apr 2010 13:03:59 -0400 Subject: [Ns-bugs] [Bug 878] ./waf --python-scan fails In-Reply-To: References: Message-ID: <20100417170359.E36061550A8@deliverator3.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=878 --- Comment #3 from Gustavo J. A. M. Carneiro 2010-04-17 13:03:59 EDT --- Let's check if plain g++ has the same problem. First try to parse the header normally: g++ -I build/debug/ -I /usr/include/python2.6 build/debug/bindings/python/everything.h If it works, add -m32 and try again: g++ -m32 -I build/debug/ -I /usr/include/python2.6 build/debug/bindings/python/everything.h Do you reproduce the compiler error that GCC-XML reports? -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Sat Apr 17 10:13:15 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Sat, 17 Apr 2010 13:13:15 -0400 Subject: [Ns-bugs] [Bug 155] "std::ostream & os" parameters not Python friendly In-Reply-To: References: Message-ID: <20100417171315.1D9965E413D@deliverator4.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=155 Gustavo J. A. M. Carneiro changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #5 from Gustavo J. A. M. Carneiro 2010-04-17 13:13:14 EDT --- Since we no longer use std::ofstream, instead use reference counted OutputStreamWrapper, the bug is fixed. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Sat Apr 17 10:21:21 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Sat, 17 Apr 2010 13:21:21 -0400 Subject: [Ns-bugs] [Bug 848] append version number to libns3.so? In-Reply-To: References: Message-ID: <20100417172121.DB9EC39C14E@deliverator3.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=848 Gustavo J. A. M. Carneiro changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gjcarneiro at gmail.com --- Comment #1 from Gustavo J. A. M. Carneiro 2010-04-17 13:21:21 EDT --- FHS is only a valid concern for software components that are to be installed. Since it is not the case of ns-3, I don't see the point of this bug report. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Sun Apr 18 03:14:27 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Sun, 18 Apr 2010 06:14:27 -0400 Subject: [Ns-bugs] [Bug 883] New: Optimized build fails at perf-io.cc - debug build completes without error Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=883 Summary: Optimized build fails at perf-io.cc - debug build completes without error Product: ns-3 Version: pre-release Platform: All OS/Version: All Status: NEW Severity: normal Priority: P5 Component: build system AssignedTo: ns-bugs at isi.edu ReportedBy: zarhan at cc.hut.fi Estimated Hours: 0.0 At least after latest "hg pull && hg update", the optimized build fails at following: [ 947/1170] cxx: src/contrib/topology-read/topology-reader.cc -> build/optimized/src/contrib/topology-read/topology-reader_1.o [ 948/1170] cxx: src/contrib/topology-read/inet-topology-reader.cc -> build/optimized/src/contrib/topology-read/inet-topology-reader_1.o [ 949/1170] cxx: src/contrib/topology-read/orbis-topology-reader.cc -> build/optimized/src/contrib/topology-read/orbis-topology-reader_1.o [ 950/1170] cxx: src/test/perf/perf-io.cc -> build/optimized/src/test/perf/perf-io_3.o cc1plus: warnings being treated as errors ../src/test/perf/perf-io.cc: In function 'void PerfFile(FILE*, uint32_t, const char*, uint32_t)': ../src/test/perf/perf-io.cc:53: error: ignoring return value of 'size_t fwrite(const void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result Waf: Leaving directory `/home/zarhan/VirtISP/repos/ns-3-allinone/ns-3-dev/build' Build failed -> task failed (err #1): {task: cxx perf-io.cc -> perf-io_3.o} However, debug build builds just fine. I've run distclean between builds due to bug #855. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Sun Apr 18 11:44:01 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Sun, 18 Apr 2010 14:44:01 -0400 Subject: [Ns-bugs] [Bug 883] Optimized build fails at perf-io.cc - debug build completes without error In-Reply-To: References: Message-ID: <20100418184401.D6DFD2DD960@deliverator1.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=883 Josh Pelkey changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jpelkey at gatech.edu --- Comment #1 from Josh Pelkey 2010-04-18 14:44:01 EDT --- Mine fails here using optimized build: [ 968/1203] cxx: utils/test-runner.cc -> build/optimized/utils/test-runner_1.o cc1plus: warnings being treated as errors ../utils/test-runner.cc: In function ?std::string BaseDir()?: ../utils/test-runner.cc:110: error: ignoring return value of ?char* getcwd(char*, size_t)?, declared with attribute warn_unused_result -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Sun Apr 18 11:55:24 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Sun, 18 Apr 2010 14:55:24 -0400 Subject: [Ns-bugs] [Bug 878] ./waf --python-scan fails In-Reply-To: References: Message-ID: <20100418185524.A0C1620C107@deliverator6.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=878 Josh Pelkey changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jpelkey at gatech.edu --- Comment #4 from Josh Pelkey 2010-04-18 14:55:24 EDT --- python scan worked for me on my 64-bit machine, most recent ns-3-dev: a597d6d2da85 -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Sun Apr 18 13:49:02 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Sun, 18 Apr 2010 16:49:02 -0400 Subject: [Ns-bugs] [Bug 884] New: ./waf --doxygen-no-build fails Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=884 Summary: ./waf --doxygen-no-build fails Product: ns-3 Version: pre-release Platform: All OS/Version: All Status: NEW Severity: normal Priority: P5 Component: documentation AssignedTo: ns-bugs at isi.edu ReportedBy: tomh at tomh.org Estimated Hours: 0.0 confirmed on the Apr 17 version of ns-3-dev, reported by Pratibha Sundar http://mailman.isi.edu/pipermail/ns-developers/2010-April/007877.html -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Sun Apr 18 15:32:46 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Sun, 18 Apr 2010 18:32:46 -0400 Subject: [Ns-bugs] [Bug 855] waf dies badly when switching from debug to optimized build or vice versa In-Reply-To: References: Message-ID: <20100418223247.0A6655E4171@deliverator4.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=855 --- Comment #3 from Andrey Mazo 2010-04-18 18:32:46 EDT --- (In reply to comment #2) > So it must be working in coming waf-1.5.16. waf-1.5.16 released. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Sun Apr 18 22:25:40 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Mon, 19 Apr 2010 01:25:40 -0400 Subject: [Ns-bugs] [Bug 883] Optimized build fails at perf-io.cc - debug build completes without error In-Reply-To: References: Message-ID: <20100419052540.D696939C05C@deliverator3.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=883 Craig Dowell changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |craigdo at ee.washington.edu --- Comment #2 from Craig Dowell 2010-04-19 01:25:39 EDT --- I'm unable to reproduce this on Fedora 12 (gcc 4.4.3) or Ubuntu 8.04 (gcc 4.2.4). What systems/compilers are you using? Have you changd anything recently? I'm a bit surprised at this since perf-io.cc hasn't changed in almost three months and has been happily building since then on our build farm. I'm not sure what changed that could suddenly start flagging these instances. A fix is simple enough, but it would be good to know why your compilers suddenly started complaining. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Sun Apr 18 22:37:00 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Mon, 19 Apr 2010 01:37:00 -0400 Subject: [Ns-bugs] [Bug 883] Optimized build fails at perf-io.cc - debug build completes without error In-Reply-To: References: Message-ID: <20100419053700.A03522DEBCD@deliverator1.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=883 --- Comment #3 from Antti M?kel? 2010-04-19 01:37:00 EDT --- My gcc is 4.3.4, using Gentoo. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Mon Apr 19 00:22:00 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Mon, 19 Apr 2010 03:22:00 -0400 Subject: [Ns-bugs] [Bug 883] Optimized build fails at perf-io.cc - debug build completes without error In-Reply-To: References: Message-ID: <20100419072200.6C39D5E4171@deliverator4.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=883 --- Comment #4 from Antti M?kel? 2010-04-19 03:21:59 EDT --- (In reply to comment #3) > My gcc is 4.3.4, using Gentoo. Oh, and I have no previous reference really since this is first time I have been (doing an attempt in) running optimized build. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Mon Apr 19 06:23:32 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Mon, 19 Apr 2010 09:23:32 -0400 Subject: [Ns-bugs] [Bug 883] Optimized build fails at perf-io.cc - debug build completes without error In-Reply-To: References: Message-ID: <20100419132332.8877B5E40E2@deliverator4.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=883 suresh.lalith at gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |suresh.lalith at gmail.com --- Comment #5 from suresh.lalith at gmail.com 2010-04-19 09:23:31 EDT --- I've got the same error as Josh: [ 956/1151] cxx: utils/test-runner.cc -> build/optimized/utils/test-runner_1.o cc1plus: warnings being treated as errors ../utils/test-runner.cc: In function ?std::string BaseDir()?: ../utils/test-runner.cc:110: error: ignoring return value of ?char* getcwd(char*, size_t)?, declared with attribute warn_unused_result I'm on Ubuntu 9.10 with gcc/g++ 4.4.1. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Mon Apr 19 06:46:08 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Mon, 19 Apr 2010 09:46:08 -0400 Subject: [Ns-bugs] [Bug 883] Optimized build fails at perf-io.cc - debug build completes without error In-Reply-To: References: Message-ID: <20100419134608.07BDC182DA8@deliverator5.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=883 --- Comment #6 from suresh.lalith at gmail.com 2010-04-19 09:46:07 EDT --- Created an attachment (id=834) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=834) patch I know this is a silly hack, but it builds after this. Attaching the patch. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Mon Apr 19 07:34:28 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Mon, 19 Apr 2010 10:34:28 -0400 Subject: [Ns-bugs] [Bug 818] TCP Socket implementation does not set ACK flag on retransmits In-Reply-To: References: Message-ID: <20100419143428.758E139C0FB@deliverator3.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=818 Tom Henderson changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tomh at tomh.org --- Comment #13 from Tom Henderson 2010-04-19 10:34:26 EDT --- I think the main problem is this line (line 176) in the state machine: aT[FIN_WAIT_1][ACK_RX] = SA (FIN_WAIT_2, NEW_ACK); which says to transition from FIN_WAIT_1 to FIN_WAIT_2 upon receipt of an ACK. I agree with Josh that the problem is that the mere act of receiving an ACK (that the ack flag is turned on) is not sufficient to move to FIN_WAIT_2; the event to transition should be that my FIN was acked. So, one way to fix it is to work outside the L4 state machine to detect this (Josh's patch). However, it may be cleaner to introduce a new event in tcp-typedefs.h Events_t such as "FIN_ACKED" and detect this event in the TcpSocketImpl class, and fix the state machine in TcpL4Protocol so that the transitions from state FIN_WAIT_1 to FIN_WAIT_2 and from CLOSING to TIME_WAIT are driven by this event. I think that such a patch would be close to what Josh has already posted (although the above line 176 needs to be corrected to stay in FIN_WAIT_1). -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Mon Apr 19 08:42:40 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Mon, 19 Apr 2010 11:42:40 -0400 Subject: [Ns-bugs] [Bug 818] TCP Socket implementation does not set ACK flag on retransmits In-Reply-To: References: Message-ID: <20100419154240.295C048014D@deliverator2.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=818 --- Comment #14 from Josh Pelkey 2010-04-19 11:42:39 EDT --- Created an attachment (id=835) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=835) Fix by adding new event Here is what I've come up with given Tom's suggestions. I will still be thinking about this throughout the day though, and I welcome and comments on the patch. Note that for the test suite that was failing (tcp), the only change that was absolutely needed for the test to pass was the one to the LAST_ACK state. Some thoughts: Should we really be getting anything other than an ACK to a FIN in the LAST_ACK state? If so, should NO_ACT action be applied, as I am doing now? Same thought for CLOSING state. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Mon Apr 19 10:13:48 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Mon, 19 Apr 2010 13:13:48 -0400 Subject: [Ns-bugs] [Bug 883] Optimized build fails at perf-io.cc - debug build completes without error In-Reply-To: References: Message-ID: <20100419171348.472974801A6@deliverator2.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=883 --- Comment #7 from Craig Dowell 2010-04-19 13:13:47 EDT --- It turns out that this is due to library writers deciding what is best for us lowly users. At least on Ubuntu, -D_FORTIFY_SOURCE was turned on with version 8.10 (Karmic). This enabled library functions with attribute warn_unused_result. In Jaunty, they decided to turn off that attribute for fwrite (presumably due to the outcry). It seems that some of us have libraries with warn_unused_result and some not, some of us have FORTIFY_SOURCE on and some not. Unfortunately, the people assigning attributes have decided that they know best and there is no way to selectively turn this attribute off. You must either globally change FORTIFY_SOURCE or reduce your optimization level. So the error Antii observes (fwrite) goes away on the next library update, but the error Josh apparently won't go away. The better part of valor seems to be to just check the results and abort, even though we really don't care in one case, and the other case "can't happen." Should be fixed with changeset 3ccf4cea2480. Can one of you (Antii or Josh) please confirm and close if satisfied. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Mon Apr 19 10:48:32 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Mon, 19 Apr 2010 13:48:32 -0400 Subject: [Ns-bugs] [Bug 883] Optimized build fails at perf-io.cc - debug build completes without error In-Reply-To: References: Message-ID: <20100419174832.B6322155AB2@deliverator3.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=883 Josh Pelkey changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #8 from Josh Pelkey 2010-04-19 13:48:32 EDT --- fixed with changeset 3ccf4cea2480, thanks Craig! -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Mon Apr 19 11:07:55 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Mon, 19 Apr 2010 14:07:55 -0400 Subject: [Ns-bugs] [Bug 884] ./waf --doxygen-no-build fails In-Reply-To: References: Message-ID: <20100419180755.6F3F9180F98@deliverator5.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=884 Josh Pelkey changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jpelkey at gatech.edu --- Comment #1 from Josh Pelkey 2010-04-19 14:07:55 EDT --- Confirmed on my machine too. I have no idea how to go about fixing this. Who would like to take this one on? -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Mon Apr 19 11:31:08 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Mon, 19 Apr 2010 14:31:08 -0400 Subject: [Ns-bugs] [Bug 885] Error in Ascii tracing in Python examples In-Reply-To: References: Message-ID: <20100419183108.2619B5E41BE@deliverator4.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=885 --- Comment #1 from Kim H?jgaard-Hansen 2010-04-19 14:31:07 EDT --- oh i forgot to state: this bug is present in ns3-dev still. The patch is made with "hg diff" on a ns3-dev checkout -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Mon Apr 19 11:30:10 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Mon, 19 Apr 2010 14:30:10 -0400 Subject: [Ns-bugs] [Bug 885] New: Error in Ascii tracing in Python examples Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=885 Summary: Error in Ascii tracing in Python examples Product: ns-3 Version: pre-release Platform: All OS/Version: All Status: NEW Severity: normal Priority: P5 Component: examples AssignedTo: ns-bugs at isi.edu ReportedBy: kimrhh at gmail.com Estimated Hours: 0.0 Created an attachment (id=836) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=836) fix ascii tracing in python example scripts The ascii tracing Python API seems to have changed after the example python scripts was made, and is currently broken. I guess the reason it has gone undetected so far is that it is commented out in the examples, hence not run when they are executed in their default versions. Commenting in the ascii tracing in csma-bridge.py and running it: kimrhh at exherbo-work-laptop ~/Downloads/ns-allinone-3.7.1/ns-3.7.1 $ ./waf --pyrun examples/csma/csma-bridge.py Waf: Entering directory `/home/kimrhh/Downloads/ns-allinone-3.7.1/ns-3.7.1/build' Waf: Leaving directory `/home/kimrhh/Downloads/ns-allinone-3.7.1/ns-3.7.1/build' 'build' finished successfully (1.340s) File "examples/csma/csma-bridge.py", line 126 std.ofstream ascii ^ SyntaxError: invalid syntax Command ['/usr/bin/python', 'examples/csma/csma-bridge.py'] exited with code 1 a patch to fix the two examples with the broken syntax is attached. another thing is, would it be an idea to add ascii tracing to all the examples, and have it running per default? then regressions would be caught easier and a user try one randomly chosen (usually that's how you start) python script would not have to search a lot to get ascii tracing going. Just a thought, maybe that should go i another bug ? :) -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Mon Apr 19 14:10:49 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Mon, 19 Apr 2010 17:10:49 -0400 Subject: [Ns-bugs] [Bug 884] ./waf --doxygen-no-build fails In-Reply-To: References: Message-ID: <20100419211049.F2C4A20C078@deliverator6.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=884 Gustavo J. A. M. Carneiro changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gjcarneiro at gmail.com --- Comment #2 from Gustavo J. A. M. Carneiro 2010-04-19 17:10:49 EDT --- Hm.. what is the deadline for fixing this? Is tomorrow morning (UTC) ok? -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Mon Apr 19 14:27:53 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Mon, 19 Apr 2010 17:27:53 -0400 Subject: [Ns-bugs] [Bug 884] ./waf --doxygen-no-build fails In-Reply-To: References: Message-ID: <20100419212753.422A8180F98@deliverator5.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=884 --- Comment #3 from Josh Pelkey 2010-04-19 17:27:53 EDT --- (In reply to comment #2) > Hm.. what is the deadline for fixing this? Is tomorrow morning (UTC) ok? Yes, that is completely fine. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Mon Apr 19 14:47:12 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Mon, 19 Apr 2010 17:47:12 -0400 Subject: [Ns-bugs] [Bug 855] waf dies badly when switching from debug to optimized build or vice versa In-Reply-To: References: Message-ID: <20100419214712.660502DD791@deliverator1.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=855 --- Comment #4 from Andrey Mazo 2010-04-19 17:47:12 EDT --- (In reply to comment #3) > waf-1.5.16 released. Seems to be blocked by waf's issue 658 [1]. [1] http://code.google.com/p/waf/issues/detail?id=658 -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Mon Apr 19 15:35:39 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Mon, 19 Apr 2010 18:35:39 -0400 Subject: [Ns-bugs] [Bug 886] New: ./test.py hangs after flowmon/wifi-olsr-flowmon.py Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=886 Summary: ./test.py hangs after flowmon/wifi-olsr-flowmon.py Product: ns-3 Version: pre-release Platform: PC OS/Version: Linux Status: NEW Severity: minor Priority: P4 Component: test framework AssignedTo: ns-bugs at isi.edu ReportedBy: mazo at iitp.ru Estimated Hours: 0.0 Steps to reproduce 1) hg clone 2) ./waf configure -d release --disable-python (or optimized) 3) ./waf build 4) ./test.py 5) Hangs after flowmon/wifi-olsr-flowmon.py, no cpu usage, killable with SIGTERM tail: SKIP: Example csma/csma-bridge.py <-- may vary PASS: Example wimax/wimax-multicast <-- may vary SKIP: Example flowmon/wifi-olsr-flowmon.py ns-3-dev revision 3e65c7ef9bf7. gcc 4.3.4 python 2.6.4 32-bit kernel 2.6.33 with Con Kolivas patchset (BFS scheduler) Other machine (gcc 4.3.4, python 2.6.4, 64-bit, kernel 2.6.32) is ok. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Mon Apr 19 19:42:38 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Mon, 19 Apr 2010 22:42:38 -0400 Subject: [Ns-bugs] [Bug 886] ./test.py hangs after flowmon/wifi-olsr-flowmon.py In-Reply-To: References: Message-ID: <20100420024238.A566A20C0A7@deliverator6.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=886 Craig Dowell changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |craigdo at ee.washington.edu Resolution| |FIXED --- Comment #1 from Craig Dowell 2010-04-19 22:42:38 EDT --- Great bug. If the number of processors on your system is greater than the number of skipped tests, test.py works. Anyway, fixed in changeset 3aa30fa758f5 -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Mon Apr 19 23:10:22 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Tue, 20 Apr 2010 02:10:22 -0400 Subject: [Ns-bugs] [Bug 879] source address selection for AODV using DeferredRouteRequest In-Reply-To: References: Message-ID: <20100420061022.661961835BC@deliverator5.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=879 --- Comment #1 from Tom Henderson 2010-04-20 02:10:21 EDT --- Created an attachment (id=837) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=837) test case here is a test case, changing the example in src/routing/aodv.cc to use a TCP application instead of ICMP. ICMP and UDP do not seem to exhibit problems, but TCP does. I would be leery of using TCP with AODV until this is fixed. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Mon Apr 19 23:10:49 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Tue, 20 Apr 2010 02:10:49 -0400 Subject: [Ns-bugs] [Bug 879] source address selection for AODV using DeferredRouteRequest In-Reply-To: References: Message-ID: <20100420061049.4A9A718163C@deliverator5.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=879 Tom Henderson changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 |P2 --- Comment #2 from Tom Henderson 2010-04-20 02:10:49 EDT --- raising priority -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Mon Apr 19 23:11:40 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Tue, 20 Apr 2010 02:11:40 -0400 Subject: [Ns-bugs] [Bug 879] source address selection for AODV using DeferredRouteRequest In-Reply-To: References: Message-ID: <20100420061140.14FBC5E4148@deliverator4.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=879 Tom Henderson changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |critical -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Mon Apr 19 23:18:25 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Tue, 20 Apr 2010 02:18:25 -0400 Subject: [Ns-bugs] [Bug 818] TCP Socket implementation does not set ACK flag on retransmits In-Reply-To: References: Message-ID: <20100420061825.D061E20C0C6@deliverator6.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=818 --- Comment #15 from Tom Henderson 2010-04-20 02:18:24 EDT --- (In reply to comment #14) > Created an attachment (id=835) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=835) [details] > Fix by adding new event > > Here is what I've come up with given Tom's suggestions. I will still be > thinking about this throughout the day though, and I welcome and comments on > the patch. Note that for the test suite that was failing (tcp), the only > change that was absolutely needed for the test to pass was the one to the > LAST_ACK state. I'm OK with this patch as long as it passes tests for you. > > Some thoughts: Should we really be getting anything other than an ACK to a FIN > in the LAST_ACK state? If so, should NO_ACT action be applied, as I am doing > now? Same thought for CLOSING state. In general, IP networks can drop, reorder, and duplicate packets, so I would be liberal in assuming what could arrive. In LAST_ACK or CLOSING state, I imagine that retransmissions may still be needed in some data loss cases, but if you read through the peer's FIN, then you shouldn't get new data from the peer. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Tue Apr 20 03:33:20 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Tue, 20 Apr 2010 06:33:20 -0400 Subject: [Ns-bugs] [Bug 884] ./waf --doxygen-no-build fails In-Reply-To: References: Message-ID: <20100420103320.AE1FA1835C2@deliverator5.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=884 Gustavo J. A. M. Carneiro changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #4 from Gustavo J. A. M. Carneiro 2010-04-20 06:33:20 EDT --- The only problem I see is that --doxygen-no-build requires print-introspected-doxygen to have been built before, and so it can never work in a tree that has never been built before. changeset: 6254:e794047931fb tag: tip user: Gustavo J. A. M. Carneiro date: Tue Apr 20 11:31:54 2010 +0100 summary: Make --doxygen-no-build check if print-introspected-doxygen has been built, error out if not. Fixes #884 -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Tue Apr 20 03:52:33 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Tue, 20 Apr 2010 06:52:33 -0400 Subject: [Ns-bugs] [Bug 887] New: valgrind errors in ALL tests on glibc-2.10 Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=887 Summary: valgrind errors in ALL tests on glibc-2.10 Product: ns-3 Version: pre-release Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: P3 Component: general AssignedTo: ns-bugs at isi.edu ReportedBy: mazo at iitp.ru Estimated Hours: 0.0 ./test.py --grind summary: 0 of 126 tests passed (0 passed, 6 skipped, 0 failed, 0 crashed, 120 valgrind errors) 1) ns-3-dev revision 3aa30fa758f5 2) ./waf configure -d optimized --disable-python (debug/release are also affected) 3) ./test.py --grind Tested on following machines: *) gcc 4.3.4, glibc 2.10.1, valgrind 3.4.1, kernel 2.6.32, 64-bit *) gcc 4.3.4, glibc 2.10.1, valgrind 3.5.0, kernel 2.6.33, 32-bit *) gcc 4.4.1, glibc 2.10.1, valgrind 3.5.0, kernel 2.6.31, 32-bit o) gcc 4.3.4, glibc 2.9_p20081201, valgrind 3.4.1, kernel 2.6.31, 64-bit Tests pass successfully on o) machine only. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Tue Apr 20 04:59:24 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Tue, 20 Apr 2010 07:59:24 -0400 Subject: [Ns-bugs] [Bug 887] valgrind errors in ALL tests on glibc-2.10 In-Reply-To: References: Message-ID: <20100420115924.7986820C0C6@deliverator6.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=887 --- Comment #1 from Andrey Mazo 2010-04-20 07:59:24 EDT --- Created an attachment (id=838) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=838) ./test.py --grind --retain --verbose on on machine gcc 4.3.4, glibc 2.10.1, valgrind 3.4.1, kernel 2.6.32, 64-bit -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Tue Apr 20 09:46:56 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Tue, 20 Apr 2010 12:46:56 -0400 Subject: [Ns-bugs] [Bug 818] TCP Socket implementation does not set ACK flag on retransmits In-Reply-To: References: Message-ID: <20100420164656.BF8B14800C2@deliverator2.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=818 Josh Pelkey changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #16 from Josh Pelkey 2010-04-20 12:46:56 EDT --- changeset ca79ce283a19 Thanks all! -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Tue Apr 20 11:14:51 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Tue, 20 Apr 2010 14:14:51 -0400 Subject: [Ns-bugs] [Bug 885] Error in Ascii tracing in Python examples In-Reply-To: References: Message-ID: <20100420181451.C8CB21835D1@deliverator5.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=885 Josh Pelkey changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |jpelkey at gatech.edu Resolution| |FIXED --- Comment #2 from Josh Pelkey 2010-04-20 14:14:51 EDT --- I went ahead and submitted changes for these, but left them commented. If you would like to see tracing by default in all python examples, please file a p5 enh bug. Thanks! changeset: a02c44146209 -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Tue Apr 20 11:26:33 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Tue, 20 Apr 2010 14:26:33 -0400 Subject: [Ns-bugs] [Bug 887] valgrind errors in ALL tests on glibc-2.10 In-Reply-To: References: Message-ID: <20100420182633.52F6D18006E@deliverator5.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=887 Craig Dowell changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO CC| |craigdo at ee.washington.edu --- Comment #2 from Craig Dowell 2010-04-20 14:26:33 EDT --- What is valgrind complaining about? (i.e., ./test.py -v -g) I am running kernel 2.6.32, glibc 2.11.1, valgrind 3.5.0 with no problem. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Tue Apr 20 11:35:48 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Tue, 20 Apr 2010 14:35:48 -0400 Subject: [Ns-bugs] [Bug 887] valgrind errors in ALL tests on glibc-2.10 In-Reply-To: References: Message-ID: <20100420183548.77C7248018F@deliverator2.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=887 --- Comment #3 from Craig Dowell 2010-04-20 14:35:48 EDT --- Sorry, I didn't notice the attachment. You can always add the offending library errors to the suppressions file (testpy.supp). -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Tue Apr 20 11:57:25 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Tue, 20 Apr 2010 14:57:25 -0400 Subject: [Ns-bugs] [Bug 879] source address selection for AODV using DeferredRouteRequest In-Reply-To: References: Message-ID: <20100420185725.CA9A14800B4@deliverator2.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=879 Elena Buchatskaya changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sunnmy at iitp.ru --- Comment #3 from Elena Buchatskaya 2010-04-20 14:57:25 EDT --- (In reply to comment #0) > This problem was reported by Glenn Evans, although the subject line attributed > it to OnOffApplication or Pcap changes. It seems to be really an AODV issue > and is related to previously closed bug 772. AODV just takes source address from the header that was passed to RouteOutput() before. So the problem is that Tcp::Connect sets only destination address in this header, not source. Thus source address in this header equals default value from Ipv4Address constructor (102.102.102.102). Also at present time tcp socket passes to RouteOutput() null pointer to NetDevice ?and therefore AODV can't set correct source address. If route is not known and oif != 0 in RouteOutput, should AODV use oif to determine source address or simply take it from header? > Fixing this SYN source address in the Aodv deferred route request will not be > sufficient, however, because there is no mechanism for AODV to call back up to > Tcp and tell it to reset its endpoint source address to the one that is aligned > with AODV's RREP. AODV is a ?routing protocol and so it is responsible only for route discovery. > This may be alleviated by forcing the user originating packets on an AODV > router to bind to a specific outbound interface, in which case passing the oif > parameter to RouteOutput() could result in a correct source address being > returned (even if the packet is still looped to the loopback address to find > the right next hop). This would correctly work in case of one interface per device. I know a user who is interested in AODV simulation with multiple interfaces (http://groups.google.com/group/ns-3-users/browse_thread/thread/f88a6c5e5e41cca6). Generally speaking, TCP socket can't 'know' the interface from which the packet should be sent and AODV can't 'know' this before route discovery either. > If we want to support the more general case where the user does not specify a > locally bound interface for outbound packets, then something along the lines of > a new flag in the Ipv4Route (m_deferred) could be added; in such a scenario, > AODV passes a route back to the TCP but marks it as "deferred". TCP keeps this > state, and when the connection SYN exchange completes, checks this flag and if > set, calls into RouteOutput() again to learn the source address that was found > by the AODV RREP. Well, it looks like smart workaround. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Tue Apr 20 12:14:10 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Tue, 20 Apr 2010 15:14:10 -0400 Subject: [Ns-bugs] [Bug 888] New: Writing ascii trace to addtional tests fails Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=888 Summary: Writing ascii trace to addtional tests fails Product: ns-3 Version: ns-3-dev Platform: All OS/Version: All Status: NEW Severity: normal Priority: P5 Component: test framework AssignedTo: ns-bugs at isi.edu ReportedBy: jpelkey at gatech.edu CC: craigdo at ee.washington.edu Estimated Hours: 0.0 Created an attachment (id=839) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=839) possible fix For example, in src/test/ns3tcp/ns3tcp-loss-test-suite.cc, setting m_writeResults to true for the second test case (and leaving the first test case's m_writeResults false) I get this error: Error: attempting to enable the packet metadata subsystem too late in the simulation, which is not allowed. A common cause for this problem is to enable ASCII tracing after sending any packets. One way to fix this problem is to call ns3::PacketMetadata::Enable () near the beginning of the program, before any packets are sent. Segmentation fault I have resolved this by simply moving up the call to enable ascii to immediately after the point-to-point helper is created and used. Patch attached. Note: only the change in src/test/ns3tcp/ns3tcp-loss-test-suite.cc regarding the second test case is needed to fix the bug. The others are done for consistency. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Tue Apr 20 14:23:15 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Tue, 20 Apr 2010 17:23:15 -0400 Subject: [Ns-bugs] [Bug 802] Minstrel algorithm causes segmentation fault In-Reply-To: References: Message-ID: <20100420212315.6B1205E4183@deliverator4.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=802 --- Comment #11 from duy 2010-04-20 17:23:14 EDT --- Created an attachment (id=840) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=840) fixed index out of bound and switch minstrel to low latency Going back to the low latency vs high latency device. I am still not clear on the definition. To me, Minstrel seems to model a low latency device because it uses a multi-retry chain(sort out 4 rates ready to be used in case of failures) to combat the delay of the next data packet. The packets feedback are used to update the statistics table. Minstrel does not work properly if it is set to high latency. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Tue Apr 20 14:39:42 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Tue, 20 Apr 2010 17:39:42 -0400 Subject: [Ns-bugs] [Bug 802] Minstrel algorithm causes segmentation fault In-Reply-To: References: Message-ID: <20100420213942.39E5A2DEC16@deliverator1.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=802 duy changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #840 is|0 |1 obsolete| | --- Comment #12 from duy 2010-04-20 17:39:41 EDT --- Created an attachment (id=841) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=841) fixed index out of bound and switch minstrel to low latency removing "+1" instead. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Tue Apr 20 21:32:55 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Wed, 21 Apr 2010 00:32:55 -0400 Subject: [Ns-bugs] [Bug 888] Writing ascii trace to addtional tests fails In-Reply-To: References: Message-ID: <20100421043255.A7EF35E411D@deliverator4.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=888 Tom Henderson changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tomh at tomh.org --- Comment #1 from Tom Henderson 2010-04-21 00:32:55 EDT --- (In reply to comment #0) > Created an attachment (id=839) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=839) [details] > possible fix > > For example, in src/test/ns3tcp/ns3tcp-loss-test-suite.cc, setting > m_writeResults to true for the second test case (and leaving the first test > case's m_writeResults false) I get this error: > > Error: attempting to enable the packet metadata subsystem too late in the > simulation, which is not allowed. > A common cause for this problem is to enable ASCII tracing after sending any > packets. One way to fix this problem is to call ns3::PacketMetadata::Enable () > near the beginning of the program, before any packets are sent. > Segmentation fault > > I have resolved this by simply moving up the call to enable ascii to > immediately after the point-to-point helper is created and used. Patch > attached. Note: only the change in src/test/ns3tcp/ns3tcp-loss-test-suite.cc > regarding the second test case is needed to fix the bug. The others are done > for consistency. Are there packets getting created before Simulator::Run () is called? (I would like to know why your patch works) -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Tue Apr 20 23:55:46 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Wed, 21 Apr 2010 02:55:46 -0400 Subject: [Ns-bugs] [Bug 802] Minstrel algorithm causes segmentation fault In-Reply-To: References: Message-ID: <20100421065546.5C2F718131B@deliverator5.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=802 --- Comment #13 from Mathieu Lacage 2010-04-21 02:55:45 EDT --- nak. minstrel is high latency. See my original arf/aarf paper for a definition. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Wed Apr 21 03:20:59 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Wed, 21 Apr 2010 06:20:59 -0400 Subject: [Ns-bugs] [Bug 887] valgrind errors in ALL tests on glibc-2.10 In-Reply-To: References: Message-ID: <20100421102059.7C50948007C@deliverator2.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=887 Andrey Mazo changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mazo at iitp.ru --- Comment #4 from Andrey Mazo 2010-04-21 06:20:59 EDT --- (In reply to comment #3) > Sorry, I didn't notice the attachment. > > You can always add the offending library errors to the suppressions file > (testpy.supp). I've reinstalled valgrind and it seems to solve the bunch of invalid read errors. Looks like valgrind produces false errors in case, when glibc was updated after valgrind. Suppose to close the bug as WORKSFORME. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Wed Apr 21 04:16:27 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Wed, 21 Apr 2010 07:16:27 -0400 Subject: [Ns-bugs] [Bug 802] Minstrel algorithm causes segmentation fault In-Reply-To: References: Message-ID: <20100421111627.81294480100@deliverator2.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=802 --- Comment #14 from Nicola Baldo 2010-04-21 07:16:26 EDT --- (In reply to comment #13) > nak. minstrel is high latency. See my original arf/aarf paper for a definition. I guess you mean that the original minstrel in madwifi is high latency, right? (In reply to comment #11) > Minstrel does not work properly if it is set to > high latency. I get the impression that the minstrel implementation in ns-3 is low latency, in that you update statistics everytime DoReportDataOk and DoReportDataFailed are called. These updated stats are then used for selecting the rate for the next transmission attempt. Duy, would it be possible to change how stats are updated so that minstrel can be high latency as it is in the real world? Ideally, if it were possible to support both low and high latency by setting the corresponding attribute, it would be great. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Wed Apr 21 04:29:08 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Wed, 21 Apr 2010 07:29:08 -0400 Subject: [Ns-bugs] [Bug 802] Minstrel algorithm causes segmentation fault In-Reply-To: References: Message-ID: <20100421112908.939E91801A3@deliverator5.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=802 --- Comment #15 from Mathieu Lacage 2010-04-21 07:29:07 EDT --- (In reply to comment #14) > (In reply to comment #13) > > nak. minstrel is high latency. See my original arf/aarf paper for a definition. > > I guess you mean that the original minstrel in madwifi is high latency, right? Yes, the original minstrel algorithm, was designed to work on high latency hardware. > (In reply to comment #11) > > Minstrel does not work properly if it is set to > > high latency. > > I get the impression that the minstrel implementation in ns-3 is low latency, > in that you update statistics everytime DoReportDataOk and DoReportDataFailed > are called. These updated stats are then used for selecting the rate for the > next transmission attempt. > > Duy, would it be possible to change how stats are updated so that minstrel can > be high latency as it is in the real world? > > Ideally, if it were possible to support both low and high latency by setting > the corresponding attribute, it would be great. I did that at some point for amrr/onoe but it's really hard to get right so, I would advise against it. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Wed Apr 21 06:42:53 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Wed, 21 Apr 2010 09:42:53 -0400 Subject: [Ns-bugs] [Bug 802] Minstrel algorithm causes segmentation fault In-Reply-To: References: Message-ID: <20100421134253.EBD0C2DDA81@deliverator1.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=802 --- Comment #16 from Nicola Baldo 2010-04-21 09:42:52 EDT --- > I did that at some point for amrr/onoe but it's really hard to get right so, I > would advise against it. Ok, so I propose this solution for now: 1) apply duy's latest patch 2) update minstrel's doxygen documentation (or rather create it, since there is nothing currently) so that we clearly say that the implementation is low-latency unlike the one in madwifi. What do you think? -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Wed Apr 21 06:46:38 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Wed, 21 Apr 2010 09:46:38 -0400 Subject: [Ns-bugs] [Bug 802] Minstrel algorithm causes segmentation fault In-Reply-To: References: Message-ID: <20100421134638.479F320C13F@deliverator6.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=802 --- Comment #17 from Mathieu Lacage 2010-04-21 09:46:37 EDT --- (In reply to comment #16) > 2) update minstrel's doxygen documentation (or rather create it, since there is > nothing currently) so that we clearly say that the implementation is > low-latency unlike the one in madwifi. I don't care much about minstrel myself but I feel that to make the ns-3 model useful, it should model the original minstrel algorithm so, if we do the above, we should file a bug against ns-3 saying that we want to make our model high latency. It's your call though. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Wed Apr 21 07:48:12 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Wed, 21 Apr 2010 10:48:12 -0400 Subject: [Ns-bugs] [Bug 889] New: Minstrel implementation should be low latency Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=889 Summary: Minstrel implementation should be low latency Product: ns-3 Version: ns-3-dev Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: P5 Component: wifi AssignedTo: ns-bugs at isi.edu ReportedBy: nbaldo at cttc.es Estimated Hours: 0.0 (with reference to the definition of "low latency" and "high latency" given in this paper: "IEEE 802.11 Rate Adaptation: A Practical Approach", by M. Lacage, M.H. Manshaei, and T. Turletti) The original minstrel implementation in madwifi is high latency. However, the minstrel implementation in ns-3 is low latency: statistics are updated everytime DoReportDataOk and DoReportDataFailed are called, and these updated stats are then used for selecting the rate for the next transmission attempt. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Wed Apr 21 07:48:25 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Wed, 21 Apr 2010 10:48:25 -0400 Subject: [Ns-bugs] [Bug 889] Minstrel implementation should be high latency In-Reply-To: References: Message-ID: <20100421144825.A8666183525@deliverator5.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=889 Nicola Baldo changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Minstrel implementation |Minstrel implementation |should be low latency |should be high latency -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Wed Apr 21 07:51:25 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Wed, 21 Apr 2010 10:51:25 -0400 Subject: [Ns-bugs] [Bug 802] Minstrel algorithm causes segmentation fault In-Reply-To: References: Message-ID: <20100421145125.1780920C049@deliverator6.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=802 --- Comment #18 from Nicola Baldo 2010-04-21 10:51:24 EDT --- > I don't care much about minstrel myself but I feel that to make the ns-3 model > useful, it should model the original minstrel algorithm so, if we do the above, > we should file a bug against ns-3 saying that we want to make our model high > latency. It's your call though. ok now we have bug 889 to track that issue. As for the current bug, I'll close it as soon as we are allowed to push duy's patch (we should be in code freeze now). -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Wed Apr 21 08:22:54 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Wed, 21 Apr 2010 11:22:54 -0400 Subject: [Ns-bugs] [Bug 802] Minstrel algorithm causes segmentation fault In-Reply-To: References: Message-ID: <20100421152254.26AB42DDFBA@deliverator1.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=802 --- Comment #19 from duy 2010-04-21 11:22:53 EDT --- (In reply to comment #14) > (In reply to comment #13) > > nak. minstrel is high latency. See my original arf/aarf paper for a definition. > I guess you mean that the original minstrel in madwifi is high latency, right? > (In reply to comment #11) > > Minstrel does not work properly if it is set to > > high latency. > I get the impression that the minstrel implementation in ns-3 is low latency, > in that you update statistics everytime DoReportDataOk and DoReportDataFailed > are called. These updated stats are then used for selecting the rate for the > next transmission attempt. > Duy, would it be possible to change how stats are updated so that minstrel can > be high latency as it is in the real world? Yes, I will do this for the next release because it's a bit late to make major changes to minstrel implementation. > Ideally, if it were possible to support both low and high latency by setting > the corresponding attribute, it would be great. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Wed Apr 21 08:40:08 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Wed, 21 Apr 2010 11:40:08 -0400 Subject: [Ns-bugs] [Bug 730] Enabling fragmentation at run-time breaks simulation In-Reply-To: References: Message-ID: <20100421154008.2282220C121@deliverator6.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=730 Nicola Baldo changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #638 is|0 |1 obsolete| | --- Comment #6 from Nicola Baldo 2010-04-21 11:40:07 EDT --- Created an attachment (id=842) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=842) new sim program showing the bug -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Wed Apr 21 08:53:28 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Wed, 21 Apr 2010 11:53:28 -0400 Subject: [Ns-bugs] [Bug 802] Minstrel algorithm causes segmentation fault In-Reply-To: References: Message-ID: <20100421155328.2EA6A480119@deliverator2.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=802 --- Comment #20 from Nicola Baldo 2010-04-21 11:53:27 EDT --- (In reply to comment #19) > Yes, I will do this for the next release because it's a bit late to make major > changes to minstrel implementation. > Thank you for your commitment! Let's continue that discussion on bug 889 -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Wed Apr 21 09:52:48 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Wed, 21 Apr 2010 12:52:48 -0400 Subject: [Ns-bugs] [Bug 878] ./waf --python-scan fails In-Reply-To: References: Message-ID: <20100421165248.97B721559D8@deliverator3.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=878 Josh Pelkey changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID --- Comment #5 from Josh Pelkey 2010-04-21 12:52:48 EDT --- I am closing this invalid now. I haven't gotten it to fail yet. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Wed Apr 21 09:58:29 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Wed, 21 Apr 2010 12:58:29 -0400 Subject: [Ns-bugs] [Bug 855] waf dies badly when switching from debug to optimized build or vice versa In-Reply-To: References: Message-ID: <20100421165829.E5D0D20C12C@deliverator6.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=855 Josh Pelkey changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jpelkey at gatech.edu --- Comment #5 from Josh Pelkey 2010-04-21 12:58:29 EDT --- (In reply to comment #4) > (In reply to comment #3) > > waf-1.5.16 released. > > Seems to be blocked by waf's issue 658 [1]. > > [1] http://code.google.com/p/waf/issues/detail?id=658 This bug probably deserves a higher status and possibly a tutorial update if we can't fix it soon. The tutorial has a new user go through the process of reconfiguring for optimized and rebuilding. This will fail on them :( -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Wed Apr 21 12:47:05 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Wed, 21 Apr 2010 15:47:05 -0400 Subject: [Ns-bugs] [Bug 891] New: WiMAX device helper does not include propagation loss model by default Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=891 Summary: WiMAX device helper does not include propagation loss model by default Product: ns-3 Version: pre-release Platform: All OS/Version: All Status: NEW Severity: normal Priority: P5 Component: wimax AssignedTo: amine.ismail at sophia.inria.fr ReportedBy: tomh at tomh.org CC: ns-bugs at isi.edu, amine.ismail at sophia.inria.fr Estimated Hours: 0.0 WimaxHelper::Install () will create a SimpleOfdmWimaxChannel by default, but this channel will not have any propagation model associated with it. This is in contrast to the Wifi models which by default will use the LogDistance model. I think there should be a default added (please pick one) so that all variants of WimaxHelper::Install() that do not pass in the channel explicitly will create an Ofdm channel with a suitable default loss model. Having a default will IMO lead to less user surprise and will align with the Wifi default policy. (I am filing this bug because I just debugged a program that had mobility models that were going unused due to no loss model being present). It would be nice to update this before the ns-3.8 release since it is the first WiMAX release. (These helpers need doxygen, by the way). -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Wed Apr 21 13:41:47 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Wed, 21 Apr 2010 16:41:47 -0400 Subject: [Ns-bugs] [Bug 892] New: WaypointMobilityModel incompatible with MobilityHelper::Install Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=892 Summary: WaypointMobilityModel incompatible with MobilityHelper::Install Product: ns-3 Version: pre-release Platform: All OS/Version: All Status: NEW Severity: normal Priority: P5 Component: mobility models AssignedTo: ns-bugs at isi.edu ReportedBy: tomh at tomh.org Estimated Hours: 0.0 WaypointMobilityModel is documented as follows: * The initial position of each object corresponds to the position of * the first waypoint, and the initial velocity of each object is zero. * Upon reaching the last waypoint, object positions becomes static and * velocity is zero. However, if this model is installed with MobilityHelper, MobilityHelper will set the position via the initial PositionAllocator. Note also that SetPosition is also valid and is not the same as setting a waypoint: * Waypoints can be added at any time, and setting the current position * of an object will set its velocity to zero until the next waypoint time * (at which time the object jumps to the next waypoint), unless there are * no more waypoints in which case it will not change without user * intervention. If a user sets a Waypoint at time 0, and also the user (or helper) calls SetPosition at time 0, what should be the initial position? Note that ignoring SetPosition() is probably not going to work out well since there may be future GUIs or scripts that layout nodes at time 0, and since users are likely to use this model through MobilityHelper. I would suggest that we would want to disallow the setting of both Waypoint and SetPosition at time 0. Something like the following: - SetPosition at time 0 creates the first Waypoint (at time 0). But, if no other waypoints are explicitly created, it will sit at the initial position. - User can also create Waypoint at time 0 and avoid explicitly calling SetPosition() (i.e., do not use MobilityHelper::Install) - if user tries to create Waypoint at time 0 and also to SetPosition at time 0, program errors out - if neither SetPosition at time 0 nor a Waypoint at time 0 is created, then the time 0 position is assumed to be the origin -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Wed Apr 21 14:17:07 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Wed, 21 Apr 2010 17:17:07 -0400 Subject: [Ns-bugs] [Bug 893] New: Lazy CourseChange notification for WaypointMobilityModel Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=893 Summary: Lazy CourseChange notification for WaypointMobilityModel Product: ns-3 Version: pre-release Platform: All OS/Version: All Status: NEW Severity: normal Priority: P5 Component: mobility models AssignedTo: ns-bugs at isi.edu ReportedBy: tomh at tomh.org Estimated Hours: 0.0 The nature of the WaypointMobilityModel is that it only updates its position upon calls to GetPosition() or GetVelocity(). If for instance, a user specifies a waypoint at time t=10 (10,10,10), and another at time t=20 (20,20,20), but the GetPosition() is called at time t=12, the CourseChangeNotification will fire at time t=12 and display the position at time t=12, even though the model behaves as if the CourseChange really occurred at time t=10. I propose that CourseChange notifications should map to the actual waypoint times, and this can be accomplished by scheduling an Update() at time t whenever AddMobility() is called for a new waypoint at time t. Note that some of the logic of Update() will need to slightly change to accommodate this, since Updates are only processed if the Simulator now time is strictly greater than the time of the next waypoint; i.e. simply adding Simulator::Schedule (waypoint.time, &WaypointMobilityModel::Update, this) to the AddWaypoint method will not have any effect. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Wed Apr 21 14:26:55 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Wed, 21 Apr 2010 17:26:55 -0400 Subject: [Ns-bugs] [Bug 855] waf dies badly when switching from debug to optimized build or vice versa In-Reply-To: References: Message-ID: <20100421212656.00CE720C137@deliverator6.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=855 --- Comment #6 from Andrey Mazo 2010-04-21 17:26:55 EDT --- (In reply to comment #5) > This bug probably deserves a higher status and possibly a tutorial update if we > can't fix it soon. The tutorial has a new user go through the process of > reconfiguring for optimized and rebuilding. This will fail on them :( 1) Well, upgrading waf after RC1 isn't an option, I suppose. 2) Repacking current waf version with a little change isn't good too, though isn't so dangerous. 3) Adding some words to the documentation seems to be the safest way, though may add some complexity. I'd prefer option 3) with this bug to be a reminder to change documentation back after actial bug fix. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Wed Apr 21 18:56:41 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Wed, 21 Apr 2010 21:56:41 -0400 Subject: [Ns-bugs] [Bug 892] WaypointMobilityModel incompatible with MobilityHelper::Install In-Reply-To: References: Message-ID: <20100422015641.7827B20C13D@deliverator6.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=892 Tom Henderson changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |893 -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Wed Apr 21 18:56:41 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Wed, 21 Apr 2010 21:56:41 -0400 Subject: [Ns-bugs] [Bug 893] Lazy CourseChange notification for WaypointMobilityModel In-Reply-To: References: Message-ID: <20100422015641.3B68C5E4070@deliverator4.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=893 Tom Henderson changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |892 --- Comment #1 from Tom Henderson 2010-04-21 21:56:41 EDT --- marking depends on 892 because it would probably be easier to deal with both at the same time. I can produce a patch once 892 is decided. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Thu Apr 22 00:19:01 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Thu, 22 Apr 2010 03:19:01 -0400 Subject: [Ns-bugs] [Bug 730] Enabling fragmentation at run-time breaks simulation In-Reply-To: References: Message-ID: <20100422071901.7A3C42DC169@deliverator1.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=730 --- Comment #7 from Christian 2010-04-22 03:19:01 EDT --- The bug seems related to the TCP variable DelAckCount. Here's a matrix of tests I performed with different numbers of nodes and different DelAckCount values: +--------------+----+----+----+----+ | nNodes= | 2 | 3 | 4 | 5 | +--------------+----+----+----+----+ |DelAckCount=1 | 10 | - | 10 | 26 | +--------------+----+----+----+----+ |DelAckCount=2 | - | 10 | - | - | +--------------+----+----+----+----+ |DelAckCount=3 | 10 | - | - | - | +--------------+----+----+----+----+ |DelAckCount=5 | 10 | - | 10 | - | +--------------+----+----+----+----+ Numbers in the table stand for "the second in which the simulation breaks". No number means the simulation seems not to break. I further investigated the case in which DelAckCount=1 and nNodes=2. After fragmentation is enabled, when sending a TCP data packet, the sender seems to repeatedly enter the if-test at internet-stack/tcp-socket-impl.cc:416 (rev a6ee8748aee7), reported hereunder for convenience: if (p->GetSize() > GetTxAvailable ()) { m_errno = ERROR_MSGSIZE; return -1; } The sink stops sending new ACKs, thus preventing the source to send new packets (m_highestRxAck stays the same and, accordingly, GetTxAvailable ()). However, it is not clear to me why the sink stops sending ACKs. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Thu Apr 22 01:02:08 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Thu, 22 Apr 2010 04:02:08 -0400 Subject: [Ns-bugs] [Bug 855] waf dies badly when switching from debug to optimized build or vice versa In-Reply-To: References: Message-ID: <20100422080208.F0A7A480197@deliverator2.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=855 --- Comment #7 from Andrey Mazo 2010-04-22 04:02:08 EDT --- (In reply to comment #4) > Seems to be blocked by waf's issue 658 [1]. > > [1] http://code.google.com/p/waf/issues/detail?id=658 Fixed in waf changesets 7682 and 7683, so waiting for waf-1.5.17. Currently testing waf's revision 7685 -- looks good to me. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Thu Apr 22 02:32:48 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Thu, 22 Apr 2010 05:32:48 -0400 Subject: [Ns-bugs] [Bug 894] New: ./waf --run error message upon segfault Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=894 Summary: ./waf --run error message upon segfault Product: ns-3 Version: pre-release Platform: All OS/Version: All Status: NEW Severity: normal Priority: P5 Component: build system AssignedTo: ns-bugs at isi.edu ReportedBy: mathieu.lacage at sophia.inria.fr CC: gjcarneiro at gmail.com Estimated Hours: 0.0 The typical output of ./waf --run when a segfault happens is this: Command ['/home/muhr/Documents/cplus-ns3-workspace/MIMO_MESH_204/build/ debug/scratch/MIMO_MESH/MIMO_MESH'] exited with code -11 Could we make waf print something different such as: "Your program crashed: run it under a debugger to get more information. For example, with gdb, type \"./waf --command-template="gdb %s" --run YOURPROGRAM\"" Where YOURPROGRAM would be the argument the user specified to --run -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Thu Apr 22 02:39:16 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Thu, 22 Apr 2010 05:39:16 -0400 Subject: [Ns-bugs] [Bug 891] WiMAX device helper does not include propagation loss model by default In-Reply-To: References: Message-ID: <20100422093916.4446118005E@deliverator5.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=891 --- Comment #1 from Mohamed Amine ISMAIL 2010-04-22 05:39:16 EDT --- Created an attachment (id=843) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=843) patch to fix the bug This patch fixes the bug. It sets COST231 as the default propagation and loss model for SimpleOfdmWimaxChannel. It also provides new helper method to set the type of the propagation and loss model. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Thu Apr 22 02:40:03 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Thu, 22 Apr 2010 05:40:03 -0400 Subject: [Ns-bugs] [Bug 891] WiMAX device helper does not include propagation loss model by default In-Reply-To: References: Message-ID: <20100422094003.1A5D539C060@deliverator3.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=891 Mohamed Amine ISMAIL changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #2 from Mohamed Amine ISMAIL 2010-04-22 05:40:02 EDT --- Fixed in changeset 6265 -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Thu Apr 22 03:46:37 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Thu, 22 Apr 2010 06:46:37 -0400 Subject: [Ns-bugs] [Bug 730] Enabling fragmentation at run-time breaks simulation In-Reply-To: References: Message-ID: <20100422104637.D1FE7155A42@deliverator3.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=730 Nicola Baldo changed: What |Removed |Added ---------------------------------------------------------------------------- Component|wifi |internet-stack AssignedTo|nbaldo at cttc.es |ns-bugs at isi.edu --- Comment #8 from Nicola Baldo 2010-04-22 06:46:36 EDT --- Christian, thank you very much for your good work in identifying the cause of the problem. I am reassigning the bug to the internet-stack component, so that it can be addressed by the right people. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. You are the assignee for the bug. From code at nsnam.ece.gatech.edu Thu Apr 22 03:48:33 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Thu, 22 Apr 2010 06:48:33 -0400 Subject: [Ns-bugs] [Bug 761] ACK/CTS timeout implementation differs from standard In-Reply-To: References: Message-ID: <20100422104833.B7D9639C069@deliverator3.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=761 Nicola Baldo changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Wrong ACK/CTSTimeout values |ACK/CTS timeout | |implementation differs from | |standard -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Thu Apr 22 05:37:23 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Thu, 22 Apr 2010 08:37:23 -0400 Subject: [Ns-bugs] [Bug 825] UDP-Client-server's packet loss counter not properly reset In-Reply-To: References: Message-ID: <20100422123723.63DD72DCFA0@deliverator1.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=825 Mohamed Amine ISMAIL changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|ns-bugs at isi.edu |amine.ismail at sophia.inria.f | |r --- Comment #2 from Mohamed Amine ISMAIL 2010-04-22 08:37:22 EDT --- Created an attachment (id=844) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=844) patch to fix the bug This patch fixes the bug. It initializes the bits of m_receiveBitMap to 1 (0xFF) instead of 0. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Thu Apr 22 09:53:04 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Thu, 22 Apr 2010 12:53:04 -0400 Subject: [Ns-bugs] [Bug 802] Minstrel algorithm causes segmentation fault In-Reply-To: References: Message-ID: <20100422165304.F38C52DD64A@deliverator1.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=802 Nicola Baldo changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #21 from Nicola Baldo 2010-04-22 12:53:02 EDT --- changeset 6268:84e114d34b89 -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Thu Apr 22 11:18:07 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Thu, 22 Apr 2010 14:18:07 -0400 Subject: [Ns-bugs] [Bug 842] ns-3-dev crashes using block ack In-Reply-To: References: Message-ID: <20100422181808.14E1C20C0AE@deliverator6.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=842 --- Comment #3 from Mathieu Lacage 2010-04-22 14:18:07 EDT --- Maybe you are removing a header which is not here: did you consider calling Packet::EnableChecking ? -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Thu Apr 22 20:40:32 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Thu, 22 Apr 2010 23:40:32 -0400 Subject: [Ns-bugs] [Bug 894] ./waf --run error message upon segfault In-Reply-To: References: Message-ID: <20100423034032.4D0402DDAA7@deliverator1.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=894 --- Comment #1 from suresh.lalith at gmail.com 2010-04-22 23:40:31 EDT --- Created an attachment (id=845) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=845) Patch Attaching a patch. Here's what a segmentation fault now shows up as: nightstrike at irule:~/builds/ns3/new/ns-3-final$ ./waf --run "scratch/xyz --assocMethod1=1" Waf: Entering directory `/home/nightstrike/builds/ns3/new/ns-3-final/build' '/home/nightstrike/builds/ns3/new/ns-3-final/bindings/python/ns3/__init__.py' -> '/home/nightstrike/builds/ns3/new/ns-3-final/build/debug/bindings/python/ns3/__init__.py' Waf: Leaving directory `/home/nightstrike/builds/ns3/new/ns-3-final/build' 'build' finished successfully (0.789s) Your program crashed with exit code -11 (Segmentation fault). Run it under a debugger to get more information. For example, with gdb, type: ./waf --command-template="gdb %s" --run "scratch/xyz --assocMethod1=1" -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Thu Apr 22 22:48:38 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Fri, 23 Apr 2010 01:48:38 -0400 Subject: [Ns-bugs] [Bug 894] ./waf --run error message upon segfault In-Reply-To: References: Message-ID: <20100423054838.0BCBA20C153@deliverator6.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=894 Mathieu Lacage changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jpelkey at gatech.edu --- Comment #2 from Mathieu Lacage 2010-04-23 01:48:37 EDT --- gustavo, ok with you ? josh, can we push this in the release ? -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Fri Apr 23 03:52:46 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Fri, 23 Apr 2010 06:52:46 -0400 Subject: [Ns-bugs] [Bug 894] ./waf --run error message upon segfault In-Reply-To: References: Message-ID: <20100423105246.4E3701801A3@deliverator5.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=894 --- Comment #3 from Gustavo J. A. M. Carneiro 2010-04-23 06:52:45 EDT --- Created an attachment (id=846) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=846) patch This version of the patch works with any signal, not just sigsegv. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Fri Apr 23 06:51:34 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Fri, 23 Apr 2010 09:51:34 -0400 Subject: [Ns-bugs] [Bug 855] waf dies badly when switching from debug to optimized build or vice versa In-Reply-To: References: Message-ID: <20100423135134.51EB9480064@deliverator2.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=855 Gustavo J. A. M. Carneiro changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gjcarneiro at gmail.com --- Comment #8 from Gustavo J. A. M. Carneiro 2010-04-23 09:51:33 EDT --- waf 1.5.16 fixes the problem -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Fri Apr 23 07:47:19 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Fri, 23 Apr 2010 10:47:19 -0400 Subject: [Ns-bugs] [Bug 855] waf dies badly when switching from debug to optimized build or vice versa In-Reply-To: References: Message-ID: <20100423144720.E98A92DEC89@deliverator1.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=855 Gustavo J. A. M. Carneiro changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #9 from Gustavo J. A. M. Carneiro 2010-04-23 10:47:18 EDT --- changeset: 6274:3e8b3f2306c9 tag: tip user: Gustavo J. A. M. Carneiro date: Fri Apr 23 15:46:46 2010 +0100 summary: Upgrade to WAF 1.5.16. Fixes bug #855. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Fri Apr 23 07:51:27 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Fri, 23 Apr 2010 10:51:27 -0400 Subject: [Ns-bugs] [Bug 894] ./waf --run error message upon segfault In-Reply-To: References: Message-ID: <20100423145127.D3C404801C0@deliverator2.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=894 --- Comment #4 from Josh Pelkey 2010-04-23 10:51:27 EDT --- (In reply to comment #3) > Created an attachment (id=846) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=846) [details] > patch > > This version of the patch works with any signal, not just sigsegv. +1, support this for ns-3.8. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Fri Apr 23 07:55:47 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Fri, 23 Apr 2010 10:55:47 -0400 Subject: [Ns-bugs] [Bug 894] ./waf --run error message upon segfault In-Reply-To: References: Message-ID: <20100423145547.13A22480161@deliverator2.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=894 Gustavo J. A. M. Carneiro changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #5 from Gustavo J. A. M. Carneiro 2010-04-23 10:55:46 EDT --- changeset: 6275:77f833c7ddae tag: tip user: Gustavo J. A. M. Carneiro date: Fri Apr 23 15:55:15 2010 +0100 summary: Bug 894 - ./waf --run error message upon segfault -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Fri Apr 23 10:50:53 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Fri, 23 Apr 2010 13:50:53 -0400 Subject: [Ns-bugs] [Bug 888] Writing ascii trace to addtional tests fails In-Reply-To: References: Message-ID: <20100423175053.8947C480133@deliverator2.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=888 --- Comment #2 from Josh Pelkey 2010-04-23 13:50:53 EDT --- (In reply to comment #1) > Are there packets getting created before Simulator::Run () is called? (I would > like to know why your patch works) It doesn't work :) After looking at this more, simply moving the call EnableAsciiAll up stops the crash, but it doesn't actually write the file anymore. I will have to look some more. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Fri Apr 23 10:58:29 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Fri, 23 Apr 2010 13:58:29 -0400 Subject: [Ns-bugs] [Bug 888] Writing ascii trace to addtional tests fails In-Reply-To: References: Message-ID: <20100423175829.E77FA4800E9@deliverator2.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=888 --- Comment #3 from Josh Pelkey 2010-04-23 13:58:29 EDT --- (In reply to comment #2) > (In reply to comment #1) > > Are there packets getting created before Simulator::Run () is called? (I would > > like to know why your patch works) > > It doesn't work :) After looking at this more, simply moving the call > EnableAsciiAll up stops the crash, but it doesn't actually write the file > anymore. I will have to look some more. Ok, I should have moved it to just after the p2p link was installed. However, it still crashes. I'm guessing it doesn't like the packets that are sent from the first test case? -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Mon Apr 26 00:47:14 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Mon, 26 Apr 2010 03:47:14 -0400 Subject: [Ns-bugs] [Bug 854] Support DROP_QUEUE reason-code in Ipv4FlowProbe In-Reply-To: References: Message-ID: <20100426074714.96A662DD3AF@deliverator1.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=854 --- Comment #3 from wilson thong 2010-04-26 03:47:13 EDT --- Created an attachment (id=847) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=847) Support DROP_QUEUE reason-code in Ipv4FlowProbe 02 Comments from Gustavo are addressed. > You should rename ns3::FlowProbeTag to ns3::Ipv4FlowProbeTag. done. > There's an #include , which I am not sure if it is needed... removed. > In, Ipv4FlowProbe::QueueDropLogger, if the tag is not found maybe it should abort with an error message? Program now aborts if such a tag is not found. More over, program also aborts when Ipv4FlowProbe is trying to add such a tag but the tag is already there. Thanks for your comments, Wilson -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Mon Apr 26 00:48:28 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Mon, 26 Apr 2010 03:48:28 -0400 Subject: [Ns-bugs] [Bug 854] Support DROP_QUEUE reason-code in Ipv4FlowProbe In-Reply-To: References: Message-ID: <20100426074828.5B7E739CF10@deliverator3.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=854 --- Comment #4 from wilson thong 2010-04-26 03:48:27 EDT --- The patches should be pushed in the following order 1st: ``Support DROP_QUEUE reason-code in Ipv4FlowProbe'' 2nd: ``Support DROP_QUEUE reason-code in Ipv4FlowProbe 02'' Thanks, Wilson -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Mon Apr 26 05:54:46 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Mon, 26 Apr 2010 08:54:46 -0400 Subject: [Ns-bugs] [Bug 842] ns-3-dev crashes using block ack In-Reply-To: References: Message-ID: <20100426125446.5F764180DC3@deliverator5.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=842 --- Comment #4 from Mirko Banchi 2010-04-26 08:54:45 EDT --- Yes Mathieu is right. I tried to call Packet::EnableChecking and this shows the problem. I can also confirm what Nicola wrote: the problem is with LlcSnapHeader. In particular, with that value for the OnTime attribute (0.1) in WifiNetDevice::ForwardUp a llc header is removed but seems it's not there. This doesn't happen always but only in a particular point of the execution. This is very strange :( -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Mon Apr 26 07:02:40 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Mon, 26 Apr 2010 10:02:40 -0400 Subject: [Ns-bugs] [Bug 895] New: SimpleOfdmWimaxPhy SNR computation Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=895 Summary: SimpleOfdmWimaxPhy SNR computation Product: ns-3 Version: pre-release Platform: All OS/Version: All Status: NEW Severity: major Priority: P3 Component: wimax AssignedTo: amine.ismail at sophia.inria.fr ReportedBy: tomh at tomh.org CC: ns-bugs at isi.edu, amine.ismail at sophia.inria.fr Estimated Hours: 0.0 line 336 in simple-ofdm-wimax-phy.cc: double Nwb = -114 + m_noiseFigure + 10 * log (GetBandwidth () / 1000000000) / 2.303; leads to integer division before the log is taken, since GetBandwidth () returns an integer. The argument to log() needs to be turned into a floating point number, such as changing the divisor to 1000000000.0 -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Mon Apr 26 07:11:12 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Mon, 26 Apr 2010 10:11:12 -0400 Subject: [Ns-bugs] [Bug 895] SimpleOfdmWimaxPhy SNR computation In-Reply-To: References: Message-ID: <20100426141112.996775E4075@deliverator4.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=895 --- Comment #1 from Tom Henderson 2010-04-26 10:11:12 EDT --- (In reply to comment #0) > > The argument to log() needs to be turned into a floating point number, such as > changing the divisor to 1000000000.0 (more precisely, the division needs to be turned into floating point) -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Mon Apr 26 11:09:35 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Mon, 26 Apr 2010 14:09:35 -0400 Subject: [Ns-bugs] [Bug 842] ns-3-dev crashes using block ack In-Reply-To: References: Message-ID: <20100426180935.98ABD480161@deliverator2.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=842 --- Comment #5 from Mathieu Lacage 2010-04-26 14:09:35 EDT --- Hints: 1) is there a tx codepath which does not insert the llc header ? 2) is there a trace hook which removes it ? 3) is there a rx codepath which could remove the llc header twice ? -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Mon Apr 26 20:20:37 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Mon, 26 Apr 2010 23:20:37 -0400 Subject: [Ns-bugs] [Bug 896] New: Application traffic stops after changing channel with WifiPhy::SetChannelNumber(uint32_t number) Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=896 Summary: Application traffic stops after changing channel with WifiPhy::SetChannelNumber(uint32_t number) Product: ns-3 Version: ns-3-dev Platform: All OS/Version: Linux Status: NEW Keywords: bug Severity: normal Priority: P3 Component: wifi AssignedTo: ns-bugs at isi.edu ReportedBy: glenne.lists at gmail.com Estimated Hours: 0.0 Created an attachment (id=848) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=848) A sample testcase that shows this bug This bug presents itself as the OnOffApplication traffic "stopping" transmission after the AP and clients switch to another channel using the WifiPhy::SetChannelNumber function. Currently, I am using changeset:5933:2fc170de5400 (which I realize is not the most up-to-date but the newest has caused additional problems with my simulations) for my simulations. I am implementing an algorithm for channel-hopping to improve channel use in 802.11 networks, and ran into this bug when running basic simulations. The attach file is a basic demonstration of this bug, which appears in the PCAP file as if the OnOffApplication never restarts after the channel is switched; despite the fact that the clients and AP still communicate for the rest of the simulation. To run the simulation: "./waf --run "channelHopping hopping=0/1", where 0 is a non-hopping simulation and 1 is for the buggy simulation. The expected behavior if this bug was not present would be for the simulation to have a brief period of no application traffic while the AP and clients reconnected/associated, but then for normal operation to resume. Thank you for your help, Glenn Evans -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Tue Apr 27 00:14:51 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Tue, 27 Apr 2010 03:14:51 -0400 Subject: [Ns-bugs] [Bug 897] New: [PATCH] API and functionality for marking TOS bytes in packets Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=897 Summary: [PATCH] API and functionality for marking TOS bytes in packets Product: ns-3 Version: pre-release Platform: All OS/Version: All Status: NEW Severity: normal Priority: P5 Component: internet-stack AssignedTo: ns-bugs at isi.edu ReportedBy: zarhan at cc.hut.fi Estimated Hours: 0.0 Created an attachment (id=849) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=849) Marking API for Ipv4. See http://groups.google.com/group/ns-3-users/msg/5c4d148ad229470a Patch attached that allows you to perform packet marking for incoming packets, in similar style to class-maps in routers. The API requires you to specify incoming IP Prefix and intended marking pattern (TOS byte), and allows you to specify transport protocol, TCP/UDP src/dst ports, and incoming NetDevice. Example is a modified static-routing-example, where now the middle node also sets the packets to EF diffserv field. My intended usage is that this can be used for queuing purposes. I'm intending to modify PointToPointNetDevice so that it has a strict priority queue where packets marked with EF Diffserv codepoint are sent first, however, this also opens door to anyone who wishes to do other types of class-based queues (e.g. CBWFQ). -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Tue Apr 27 00:15:41 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Tue, 27 Apr 2010 03:15:41 -0400 Subject: [Ns-bugs] [Bug 897] [PATCH] API and functionality for marking TOS bytes in packets In-Reply-To: References: Message-ID: <20100427071541.4DCCC39C0EC@deliverator3.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=897 --- Comment #1 from Antti M?kel? 2010-04-27 03:15:41 EDT --- Created an attachment (id=850) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=850) Example code on how to use marking. Check the pcap outputs for the center node. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Tue Apr 27 19:46:37 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Tue, 27 Apr 2010 22:46:37 -0400 Subject: [Ns-bugs] [Bug 898] New: Wrong example for Time ns3::Now (void) Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=898 Summary: Wrong example for Time ns3::Now (void) Product: ns-3 Version: ns-3.7 Platform: All URL: http://www.nsnam.org/doxygen-release/index.html OS/Version: All Status: NEW Severity: trivial Priority: P5 Component: documentation AssignedTo: ns-bugs at isi.edu ReportedBy: zhangbo2050 at hotmail.com Estimated Hours: 0.0 The example given for this function is : It is typically used as shown below to schedule an event which expires at the absolute time "2 seconds": Simulator::Schedule (Seconds (2.0) - Now (), &my_function); Which, if I'm correct, should really be: Simulator::Schedule (Seconds (2.0) + Now (), &my_function); Probably just a typo, though. Zhang Bo -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Tue Apr 27 19:59:15 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Tue, 27 Apr 2010 22:59:15 -0400 Subject: [Ns-bugs] [Bug 898] Wrong example for Time ns3::Now (void) In-Reply-To: References: Message-ID: <20100428025915.584A72DC117@deliverator1.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=898 Craig Dowell changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |craigdo at ee.washington.edu --- Comment #1 from Craig Dowell 2010-04-27 22:59:15 EDT --- Unless I'm hallucinating: Simulator::Schedule (Seconds (2.0) + Now (), &my_function); If Now() is 0 seconds, this schedules an event for 2 + 0 = 2 seconds in the future; at absoulute 0 + 2 = 2 seconds. If Now() is 1 seconds, this schedules an event for 2 + 1 = 3 seconds in the future; at absoulte time 1 + 3 = 4 seconds. If Now() is 2 seconds, this schedules an event for 2 + 2 = 4 seconds in the future; at absolute time 2 + 4 = 6 seconds. However, in this case: Simulator::Schedule (Seconds (2.0) - Now (), &my_function); If Now() is 0 seconds, this schedules an event for 2 - 0 = 2 seconds in the future; at absolute time 0 + 2 = 2 seconds. If Now() is 1 seconds, this schedules an event for 2 - 1 = 1 seconds in the future; at absolute time 1 + 1 = 2 seconds. If Now() is 2 seconds, this schedules an event for 2 - 2 = 0 seconds in the future; at absolute time 2 + 0 = 2 seconds. It seems to me that the comment is correct. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Tue Apr 27 22:10:27 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Wed, 28 Apr 2010 01:10:27 -0400 Subject: [Ns-bugs] [Bug 888] Writing ascii trace to addtional tests fails In-Reply-To: References: Message-ID: <20100428051027.964655E41C9@deliverator4.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=888 --- Comment #4 from Tom Henderson 2010-04-28 01:10:27 EDT --- (In reply to comment #3) > (In reply to comment #2) > > (In reply to comment #1) > > > Are there packets getting created before Simulator::Run () is called? (I would > > > like to know why your patch works) > > > > It doesn't work :) After looking at this more, simply moving the call > > EnableAsciiAll up stops the crash, but it doesn't actually write the file > > anymore. I will have to look some more. > > Ok, I should have moved it to just after the p2p link was installed. However, > it still crashes. I'm guessing it doesn't like the packets that are sent from > the first test case? The problem is that test cases do not fully reset the simulator (no re-initialization of statics), and if test case 1 runs without metadata enabled, it is too late to enable it in later test cases. The below (tested) patch should be safe to apply now, and close out this bug. diff -r e2fe1c30eb3a src/test/ns3tcp/ns3tcp-loss-test-suite.cc --- a/src/test/ns3tcp/ns3tcp-loss-test-suite.cc Sun Apr 25 11:37:50 2010 -0400 +++ b/src/test/ns3tcp/ns3tcp-loss-test-suite.cc Tue Apr 27 22:07:49 2010 -0700 @@ -274,6 +274,7 @@ Ns3TcpLossTestSuite::Ns3TcpLossTestSuite () : TestSuite ("ns3-tcp-loss", SYSTEM) { + Packet::EnablePrinting (); // Enable packet metadata for all test cases AddTestCase (new Ns3TcpLossTestCase1); AddTestCase (new Ns3TcpLossTestCase2); } -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Wed Apr 28 05:19:48 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Wed, 28 Apr 2010 08:19:48 -0400 Subject: [Ns-bugs] [Bug 899] New: EmuNetDevice::SetPromiscReceiveCallback not implemented Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=899 Summary: EmuNetDevice::SetPromiscReceiveCallback not implemented Product: ns-3 Version: ns-3-dev Platform: All OS/Version: All Status: NEW Severity: major Priority: P5 Component: devices AssignedTo: ns-bugs at isi.edu ReportedBy: gjcarneiro at gmail.com Estimated Hours: 0.0 EmuNetDevice::SetPromiscReceiveCallback is not implemented: void EmuNetDevice::SetPromiscReceiveCallback (PromiscReceiveCallback cb) { NS_FATAL_ERROR ("EmuNetDevice::SetPromiscReceiveCallback(): Not implemented"); } The correct implementation is trivial, as ForwardUp already takes care to use m_promiscRxCallback if set. Change to: void EmuNetDevice::SetPromiscReceiveCallback (PromiscReceiveCallback cb) { m_promiscRxCallback = cb; } -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Wed Apr 28 06:03:04 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Wed, 28 Apr 2010 09:03:04 -0400 Subject: [Ns-bugs] [Bug 899] EmuNetDevice::SetPromiscReceiveCallback not implemented In-Reply-To: References: Message-ID: <20100428130304.38ECD5E41DD@deliverator4.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=899 --- Comment #1 from Gustavo J. A. M. Carneiro 2010-04-28 09:03:04 EDT --- Created an attachment (id=851) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=851) the patch -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Wed Apr 28 07:19:45 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Wed, 28 Apr 2010 10:19:45 -0400 Subject: [Ns-bugs] [Bug 888] Writing ascii trace to addtional tests fails In-Reply-To: References: Message-ID: <20100428141945.5E09C155617@deliverator3.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=888 Josh Pelkey changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #5 from Josh Pelkey 2010-04-28 10:19:45 EDT --- changeset 006a660a021a -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Wed Apr 28 07:19:21 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Wed, 28 Apr 2010 10:19:21 -0400 Subject: [Ns-bugs] [Bug 899] EmuNetDevice::SetPromiscReceiveCallback not implemented In-Reply-To: References: Message-ID: <20100428141921.7C9A25E4033@deliverator4.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=899 Josh Pelkey changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |jpelkey at gatech.edu Resolution| |FIXED --- Comment #2 from Josh Pelkey 2010-04-28 10:19:21 EDT --- changeset ba09ab600218 -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Wed Apr 28 23:45:17 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Thu, 29 Apr 2010 02:45:17 -0400 Subject: [Ns-bugs] [Bug 900] New: RawTestConfigLoad::Default does not load configurations Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=900 Summary: RawTestConfigLoad::Default does not load configurations Product: ns-3 Version: ns-3.7 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P3 Component: general AssignedTo: ns-bugs at isi.edu ReportedBy: quincy.tse at gmail.com Estimated Hours: 0.0 RawTestConfigLoad::Default() checks for type == "global" instead of "default" on line 123, hence defaults values are not loaded. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Wed Apr 28 23:55:01 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Thu, 29 Apr 2010 02:55:01 -0400 Subject: [Ns-bugs] [Bug 818] TCP Socket implementation does not set ACK flag on retransmits In-Reply-To: References: Message-ID: <20100429065501.266A45E415E@deliverator4.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=818 Antti M?kel? changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | --- Comment #17 from Antti M?kel? 2010-04-29 02:55:00 EDT --- Sorry, but I guess I have to reopen this :) I ran some tests, and it seems something is wrong still.. If I send stuff (basically using tcp-large-transfer), and Close() the socket, I send a FIN. If I get an explicit request to retransmit (three DupAcks), the FIN does NOT get re-transmitted at the end. Attaching a pcap file. I start transmitting at 30 seconds (Well, basically trying to do a simplified version of HTTP, I send a request to a server daemon specifying number of bytes, the server sends it back). At Packet 63 I do a StopApplication on the client side which explicitly calls Close and FIN and Last Ack finally get sent. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Wed Apr 28 23:55:47 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Thu, 29 Apr 2010 02:55:47 -0400 Subject: [Ns-bugs] [Bug 818] TCP Socket implementation does not set ACK flag on retransmits In-Reply-To: References: Message-ID: <20100429065547.9FA4A2DDC8D@deliverator1.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=818 --- Comment #18 from Antti M?kel? 2010-04-29 02:55:46 EDT --- Created an attachment (id=852) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=852) Packet capture which shows retransmit failing for FIN -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Thu Apr 29 00:15:24 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Thu, 29 Apr 2010 03:15:24 -0400 Subject: [Ns-bugs] [Bug 818] TCP Socket implementation does not set ACK flag on retransmits In-Reply-To: References: Message-ID: <20100429071524.49325155AC6@deliverator3.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=818 --- Comment #19 from Antti M?kel? 2010-04-29 03:15:23 EDT --- Soo...basically: If the recipient first sends three dupacks, and then, when sender starts sending again, the recipient after all decides that he has received everything and sends an ACK - it should in fact be a FIN,ACK even if senders FIN,ACK was NOT retransmitted. My "client" app has a CloseCallback which just says socket->Close() when peer closes (server has sent everything). Debugging a bit more, it does not get called at ALL. So I guess that's why client's FIN is only sent after app shuts down. So I guess we need to set needCloseNotify so that it is set when you ACK for the last bit of data and application actually gets a notification.. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Thu Apr 29 05:55:29 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Thu, 29 Apr 2010 08:55:29 -0400 Subject: [Ns-bugs] [Bug 896] Application traffic stops after changing channel with WifiPhy::SetChannelNumber(uint32_t number) In-Reply-To: References: Message-ID: <20100429125529.B3B912DE355@deliverator1.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=896 Glenn Evans changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |major -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Thu Apr 29 06:55:55 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Thu, 29 Apr 2010 09:55:55 -0400 Subject: [Ns-bugs] [Bug 901] New: Optimize Mac48Address < != and == Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=901 Summary: Optimize Mac48Address < != and == Product: ns-3 Version: ns-3-dev Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: P5 Component: node module AssignedTo: ns-bugs at isi.edu ReportedBy: gjcarneiro at gmail.com Estimated Hours: 0.0 Created an attachment (id=853) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=853) patch Mac48Address operators can be greatly optimized by always using memcmp and making them inline. Here's a micro-benchmark: gjc at dark-tower:ns-3-dev$ time ./build/optimized/utils/bench-mac48 1000000000 real 0m14.926s user 0m14.810s sys 0m0.020s gjc at dark-tower:ns-3-dev$ time ./build/optimized/utils/bench-mac48 1000000000 real 0m14.921s user 0m14.820s sys 0m0.030s gjc at dark-tower:ns-3-dev$ time ./build/optimized/utils/bench-mac48 1000000000 real 0m14.893s user 0m14.820s sys 0m0.010s ============== with the patch =========== gjc at dark-tower:ns-3-dev$ time ./build/optimized/utils/bench-mac48 1000000000 real 0m1.136s user 0m1.120s sys 0m0.000s gjc at dark-tower:ns-3-dev$ time ./build/optimized/utils/bench-mac48 1000000000 real 0m1.146s user 0m1.140s sys 0m0.000s gjc at dark-tower:ns-3-dev$ time ./build/optimized/utils/bench-mac48 1000000000 real 0m1.136s user 0m1.130s sys 0m0.000s -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Thu Apr 29 06:56:48 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Thu, 29 Apr 2010 09:56:48 -0400 Subject: [Ns-bugs] [Bug 901] Optimize Mac48Address < != and == In-Reply-To: References: Message-ID: <20100429135648.CEA0948012E@deliverator2.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=901 --- Comment #1 from Gustavo J. A. M. Carneiro 2010-04-29 09:56:48 EDT --- Created an attachment (id=854) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=854) benchmark -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Thu Apr 29 07:56:30 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Thu, 29 Apr 2010 10:56:30 -0400 Subject: [Ns-bugs] [Bug 818] TCP Socket implementation does not set ACK flag on retransmits In-Reply-To: References: Message-ID: <20100429145630.E6EC5155A9C@deliverator3.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=818 --- Comment #20 from Josh Pelkey 2010-04-29 10:56:29 EDT --- (In reply to comment #19) > Soo...basically: If the recipient first sends three dupacks, and then, when > sender starts sending again, the recipient after all decides that he has > received everything and sends an ACK - it should in fact be a FIN,ACK even if > senders FIN,ACK was NOT retransmitted. > > My "client" app has a CloseCallback which just says socket->Close() when peer > closes (server has sent everything). Debugging a bit more, it does not get > called at ALL. So I guess that's why client's FIN is only sent after app shuts > down. > > So I guess we need to set needCloseNotify so that it is set when you ACK for > the last bit of data and application actually gets a notification.. I don't have much time to look at this just yet, but it seems like this is different than the original bug. If "TCP socket implementation does not set ACK flag on retransmits" does not describe the issue, please close this one and open a new bug with a better description. I will have a look at this a bit later. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Thu Apr 29 09:52:43 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Thu, 29 Apr 2010 12:52:43 -0400 Subject: [Ns-bugs] [Bug 818] TCP Socket implementation does not set ACK flag on retransmits In-Reply-To: References: Message-ID: <20100429165243.C97EA2DD97E@deliverator1.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=818 Antti M?kel? changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |FIXED --- Comment #21 from Antti M?kel? 2010-04-29 12:52:42 EDT --- (In reply to comment #20) > I don't have much time to look at this just yet, but it seems like this is > different than the original bug. If "TCP socket implementation does not set > ACK flag on retransmits" does not describe the issue, please close this one and > open a new bug with a better description. I will have a look at this a bit > later. I was thinking this might have been a regression since I don't remember seeing anything like this before. Anyway, I'll create a new bug in the morning. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Thu Apr 29 10:28:51 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Thu, 29 Apr 2010 13:28:51 -0400 Subject: [Ns-bugs] [Bug 818] TCP Socket implementation does not set ACK flag on retransmits In-Reply-To: References: Message-ID: <20100429172851.E19472DE228@deliverator1.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=818 --- Comment #22 from Josh Pelkey 2010-04-29 13:28:51 EDT --- (In reply to comment #21) > (In reply to comment #20) > > I don't have much time to look at this just yet, but it seems like this is > > different than the original bug. If "TCP socket implementation does not set > > ACK flag on retransmits" does not describe the issue, please close this one and > > open a new bug with a better description. I will have a look at this a bit > > later. > > I was thinking this might have been a regression since I don't remember > seeing anything like this before. Anyway, I'll create a new bug in the morning. Here is how I understand what is happening based on your description and the pcap. Please let me know if I am incorrect. The initiator calls Close, sends a FIN, and enters FIN-WAIT-1. The responder sends some ACKs and a few DUPACKS, but does not yet ACK the FIN. It does, however, enter the CLOSE-WAIT state. It will sit here until its application is closed, which you do later in the simulation. The initiator eventually resends the missing packet (which wasn't the FIN originally). It does not set the FIN flag, as the FIN packet is already buffered. Finally, when the server closes, it will send its own FIN, and the connection will be torn down after going through the last few states. In all, this seems normal to me. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Thu Apr 29 10:36:39 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Thu, 29 Apr 2010 13:36:39 -0400 Subject: [Ns-bugs] [Bug 895] SimpleOfdmWimaxPhy SNR computation In-Reply-To: References: Message-ID: <20100429173639.B3AA3155AB2@deliverator3.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=895 Josh Pelkey changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jpelkey at gatech.edu --- Comment #2 from Josh Pelkey 2010-04-29 13:36:39 EDT --- (In reply to comment #1) > (In reply to comment #0) > > > > > The argument to log() needs to be turned into a floating point number, such as > > changing the divisor to 1000000000.0 > > (more precisely, the division needs to be turned into floating point) Amine, +1 on this one? I can only push a change for this as late as Saturday morning. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Thu Apr 29 11:17:22 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Thu, 29 Apr 2010 14:17:22 -0400 Subject: [Ns-bugs] [Bug 818] TCP Socket implementation does not set ACK flag on retransmits In-Reply-To: References: Message-ID: <20100429181722.925781556CA@deliverator3.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=818 --- Comment #23 from Antti M?kel? 2010-04-29 14:17:22 EDT --- (In reply to comment #22) > Here is how I understand what is happening based on your description and the > pcap. Please let me know if I am incorrect. The initiator calls Close, sends > a FIN, and enters FIN-WAIT-1. The responder sends some ACKs and a few DUPACKS, > but does not yet ACK the FIN. True so far. You see that client (responder in your terms) sends back dupacks with ACK around 44k in the dupack (total transfer is 50k) - thinking that packets have been lost on the way. The server (initiator in your terms) starts re-sending them packets, but before it gets to the end, the client sends a new ACK indicating that ALL data made it through after all. > It does, however, enter the CLOSE-WAIT state. I don't think it does. Shouldn't it call NotifyClose() anyway? I think NotifyClose() should be called at the same time as the responder sends that ACK indicating that everything has been transferred. > It will sit here until its application is closed, which you do later in the > simulation. Yes, and this happens because NotifyClose() never gets called and the application doesn't know that peer terminated session! What happens now Server (I don't have Wireshark on this computer so sequence numbers are from memory) sends following packets: Data (44k), Data(46k), Data(48k), Data (50k, FIN set) Client Ack(44k), Ack(44k), Ack(44k) Server notices three DupAcks, starts again with Data(44k) However, at this moment Client notices that subsequent packets, INCLUDING the FIN made it through after all, and sends Ack(50k) - However, NotifyClose() is NOT called at this point! So the application never finds out that peer has sent a FIN and closed the connection from their end! At this point the server stops sending any further data and just waits for FIN from the peer (as it should), however, the peer APPLICATION is not aware and never knows that server has closed... If a TCP session does NOT send the dupacks after server has sent FIN, the NotifyClose() gets called properly right after it has been received and acknowledged, so application can immediately say socket->Close() and terminate both ends. I can try taking a look at the code tomorrow myself but basically what happens is that if you receive a FIN-packet, NotifyClose() SHOULD be called when that FIN-packet gets acknowledged, no matter if there has been retransmissions on the way. The unfortunate thing for debugging this is that it pretty much requires congestion. Right now I get this to appear by having 30 tcp sessions at once - and only in one of them these symptoms appear. I'm not yet that familiar with gdb - how can I set a breakpoint that only triggers with a specific instance of class (in this case, just the single TcpSocketImpl where this issue occurs, not the 29 others). -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Thu Apr 29 22:38:18 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Fri, 30 Apr 2010 01:38:18 -0400 Subject: [Ns-bugs] [Bug 902] New: TCP socket does not properly notify application if there's a retransmit during FIN_WAIT Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=902 Summary: TCP socket does not properly notify application if there's a retransmit during FIN_WAIT Product: ns-3 Version: pre-release Platform: All OS/Version: All Status: NEW Severity: normal Priority: P5 Component: internet-stack AssignedTo: ns-bugs at isi.edu ReportedBy: zarhan at cc.hut.fi CC: jpelkey at gatech.edu Estimated Hours: 0.0 Created an attachment (id=855) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=855) TCPdump where retransmits occur and closing does not happen properly This may be a regression of bug #818. Attaching two packet captures: One where retransmission occurs, one where it does not. Packets in tcp-fin-retransmit.pcap: Server sends packets #48, #49, #51, #52 and #53. All contain data, #53 has FIN flag set. Client keeps ACKing data from the server until packet #58 occurs, where there are three acks with number 44441. Server restarts sending data (Packet #61). Client however, did receive all packets after all and acknowledges them (packet #62). AT THIS POINT, NofifyClose() should be called so that client-app would find out that peer has closed connection. It does not get called, so the connection only closes as the application is. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Thu Apr 29 22:38:46 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Fri, 30 Apr 2010 01:38:46 -0400 Subject: [Ns-bugs] [Bug 902] TCP socket does not properly notify application if there's a retransmit during FIN_WAIT In-Reply-To: References: Message-ID: <20100430053846.EB7D45E407B@deliverator4.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=902 --- Comment #1 from Antti M?kel? 2010-04-30 01:38:46 EDT --- Created an attachment (id=856) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=856) Packet capture where there are no retransmissions, closing happens properly. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Thu Apr 29 22:39:45 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Fri, 30 Apr 2010 01:39:45 -0400 Subject: [Ns-bugs] [Bug 818] TCP Socket implementation does not set ACK flag on retransmits In-Reply-To: References: Message-ID: <20100430053945.46BC920C04B@deliverator6.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=818 --- Comment #24 from Antti M?kel? 2010-04-30 01:39:44 EDT --- Created bug #902. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Thu Apr 29 23:41:28 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Fri, 30 Apr 2010 02:41:28 -0400 Subject: [Ns-bugs] [Bug 902] TCP socket does not properly notify application if there's a retransmit during FIN_WAIT In-Reply-To: References: Message-ID: <20100430064128.DEFFD20C0CB@deliverator6.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=902 --- Comment #2 from Antti M?kel? 2010-04-30 02:41:28 EDT --- Created an attachment (id=857) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=857) Pcap from recipient side Ok, looks like I had been looking at the packet capture from wrong end. This is from the recipient side. It has, as you can see, one less packet than the other side - packet with sequence number 44441 in fact DOES get lost on the way. All the other packets make it through. So, when the recipient sends three dupacks for that sequence and server responds with it, the entire transmission can then be acknowledged. NotifyClose() simply does not get called at this point. Trying to debug some more.. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Fri Apr 30 01:12:18 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Fri, 30 Apr 2010 04:12:18 -0400 Subject: [Ns-bugs] [Bug 902] TCP socket does not properly notify application if there's a retransmit during FIN_WAIT In-Reply-To: References: Message-ID: <20100430081218.9F76D180101@deliverator5.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=902 --- Comment #3 from Antti M?kel? 2010-04-30 04:12:18 EDT --- Ok, I think I have found the issue, took some gdbing.. Anyway, weird stuff: When the FIN is first received, execution goes through ProcessPacketAction's case PEER_CLOSE. Branch if (tcpHeader.GetSequenceNumber () != m_nextRxSequence) gets executed and NewRx gets called to take in the data in the FIN packet. At this point, m_state is ns3::CLOSE_WAIT (!) - shouldn't really be that yet, as we have missing data! Anyway, in NewRx the "Case 2" gets executed since there's stuff missing in between. (Debugging this even with breakpoint condition THIS= something is kinda hard as it appears that functions are shared between instances...) Anyway, here's what logs tell me: FIN is received: 31.1946s 31.1946 [node 33] TcpSocketImpl:ProcessPacketAction(): TcpSocketImpl 0x9c6b4d8 setting pendingClose rxseq 48641 nextRxSeq 44441 31.1946s 31.1946 [node 33] TcpSocketImpl:ProcessPacketAction(): TcpSocketImpl 0x9c6b4d8 setting pendingClose rxseq 48641 nextRxSeq 44441 31.1946s 31.1946 [node 33] TcpSocketImpl:NewRx(0x9c6b4d8, 0x9dc0e38, tcpHeader, 05-06-c0:a8:01:04:20:03) 31.1946s 31.1946 [node 33] TcpSocketImpl:NewRx(): TcpSocketImpl 0x9c6b4d8 NewRx, seq 48641 ack 9 p.size is 1360 31.1946s 31.1946 [node 33] TcpSocketImpl:NewRx(): Case 2, buffering 48641 This part is ok.. However, what happens when the new packet comes in: 32.0171s 32.0171 [node 33] TcpSocketImpl:NewRx(): Case 1, advanced nrxs to 45841 ..buffer gets emptied (since I have a HandleRead() type callback attached to NotifyDataRecv()) 32.0171s 32.0171 [node 33] TcpSocketImpl:RecvFrom(0x8f1c4d8, 4294967295, 0) 32.0171s 32.0171 [node 33] TcpSocketImpl:Recv() 32.0171s 32.0171 [node 33] TcpSocketImpl:Recv(): TCP 0x8f1c4d8 bufferedData.size() 4 time 32017102913ns 32.0171s 32.0171 [node 33] TcpSocketImpl:Recv(): TCP 0x8f1c4d8 bufferedData.size() 3 time 32017102913ns 32.0171s 32.0171 [node 33] TcpSocketImpl:Recv(): TCP 0x8f1c4d8 bufferedData.size() 2 time 32017102913ns 32.0171s 32.0171 [node 33] TcpSocketImpl:Recv(): TCP 0x8f1c4d8 bufferedData.size() 1 time 32017102913ns 32.0171s 32.0171 [node 33] TcpSocketImpl:RecvFrom(0x8f1c4d8, 4294967295, 0) 32.0171s 32.0171 [node 33] TcpSocketImpl:Recv() However, it seems that rxseq does NOT get set to 50001 so that PeerClose would actually complete: 32.0171s 32.0171 [node 33] TcpSocketImpl:NewRx(): TcpSocketImpl 0x8f1c4d8 adv rxseq by 1400 32.0171s 32.0171 [node 33] TcpSocketImpl:ProcessPacketAction(0x8f1c4d8, 12, 0x8f48430, 05-06-c0:a8:01:04:20:03) 32.0171s 32.0171 [node 33] TcpSocketImpl:ProcessPacketAction(): Got Peer Close 32.0171s 32.0171 [node 33] TcpSocketImpl:ProcessPacketAction(): TcpSocketImpl 0x8f1c4d8 setting pendingClose rxseq 44441 nextRxSeq 50001 An ACK for all traffic does get sent in the end: 32.0171s 32.0171 [node 33] TcpSocketImpl:NewRx(0x8f1c4d8, 0x8f48430, tcpHeader , 05-06-c0:a8:01:04:20:03) 32.0171s 32.0171 [node 33] TcpSocketImpl:NewRx(): TcpSocketImpl 0x8f1c4d8 NewRx, seq 44441 ack 9 p.size is 1400 32.0171s 32.0171 [node 33] TcpSocketImpl:NewRx(): TCP 0x8f1c4d8 got seq 44441 expected 50001 flags 32.0171s 32.0171 [node 33] TcpSocketImpl:SendEmptyPacket(0x8f1c4d8, 16) So, I think crux here is that what gets sent to ProcessPacketAction (PEER_CLOSE, p, tcpHeader, fromAddress, toAddress); is the ORIGINAL packet (with seq no 44441), when it SHOULD get the last contiguous packet out of the buffer, instead (with seq no 50001). After all, RxBufFinishInsert (tcpHeader.GetSequenceNumber ()); checks if stuff has been received, but it still sends the original onwards... Unfortunate thing is that I don't think *headers* are buffered! A simple modification I thought was that RxBufFinishInsert would return the last contiguous packet back - but it's just the payload. Also, just modifying tcpheader can't be done, it's a const (and would probably break other stuff). Only thing that comes to mind right now is that I should actually create a new variable "m_finseqnumber" that gets initialized when the FIN is first received. I'll try if I can come up with a patch... -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Fri Apr 30 01:37:17 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Fri, 30 Apr 2010 04:37:17 -0400 Subject: [Ns-bugs] [Bug 902] TCP socket does not properly notify application if there's a retransmit during FIN_WAIT In-Reply-To: References: Message-ID: <20100430083717.DA1EB2DE307@deliverator1.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=902 --- Comment #4 from Antti M?kel? 2010-04-30 04:37:17 EDT --- Created an attachment (id=858) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=858) Patch to fix the issue I think this patch fixes the issue. It adds a new variable m_finSequence that gets initialized when FIN packet is first received. When calling PEER_CLOSE again, the nextRxSequence is compared against THAT instead of header of whatever packet happened to arrive. Note that the line numbers in the patch are probably off as I have added some custom traces for my own purposes. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Fri Apr 30 01:50:07 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Fri, 30 Apr 2010 04:50:07 -0400 Subject: [Ns-bugs] [Bug 895] SimpleOfdmWimaxPhy SNR computation In-Reply-To: References: Message-ID: <20100430085007.678822DEBA0@deliverator1.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=895 --- Comment #3 from Mohamed Amine ISMAIL 2010-04-30 04:50:06 EDT --- +1 -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Fri Apr 30 08:55:12 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Fri, 30 Apr 2010 11:55:12 -0400 Subject: [Ns-bugs] [Bug 902] TCP socket does not properly notify application if there's a retransmit during FIN_WAIT In-Reply-To: References: Message-ID: <20100430155512.2436D39C1EC@deliverator3.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=902 --- Comment #5 from Josh Pelkey 2010-04-30 11:55:11 EDT --- Thank you very much for the detailed report! I think I now see this problem, and I agree with you. I'm curious, if the FIN packet comes out of order and m_pendingClose is set, will the current code work in any case ever? It seems like in NewRx, when ProcessPacketAction (PEER_CLOSE...) gets called, there is really no way that this could contain the packet with the correct sequence number for PEER_CLOSE to complete, unless somehow it was the FIN packet that is retransmitted which I don't think could happen given that it is already received successfully. I guess I'm just curious, because I would like to understand how the fix for bug 818 may have caused this. I'm also curious why RST is sent in the first packet capture with no retransmissions, but that is a bit off topic for this bug. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Fri Apr 30 10:16:05 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Fri, 30 Apr 2010 13:16:05 -0400 Subject: [Ns-bugs] [Bug 879] source address selection for AODV using DeferredRouteRequest In-Reply-To: References: Message-ID: <20100430171605.651335E4126@deliverator4.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=879 Josh Pelkey changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |jpelkey at gatech.edu Resolution| |FIXED --- Comment #4 from Josh Pelkey 2010-04-30 13:16:04 EDT --- changeset 533be42b3c7f -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Fri Apr 30 10:16:33 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Fri, 30 Apr 2010 13:16:33 -0400 Subject: [Ns-bugs] [Bug 879] source address selection for AODV using DeferredRouteRequest In-Reply-To: References: Message-ID: <20100430171633.845181813C3@deliverator5.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=879 Josh Pelkey changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | --- Comment #5 from Josh Pelkey 2010-04-30 13:16:32 EDT --- whoops, wrong bug. reopening :) -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Fri Apr 30 10:16:52 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Fri, 30 Apr 2010 13:16:52 -0400 Subject: [Ns-bugs] [Bug 895] SimpleOfdmWimaxPhy SNR computation In-Reply-To: References: Message-ID: <20100430171652.93D63180561@deliverator5.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=895 Josh Pelkey changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #4 from Josh Pelkey 2010-04-30 13:16:52 EDT --- changeset 533be42b3c7f -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. From code at nsnam.ece.gatech.edu Fri Apr 30 10:22:42 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Fri, 30 Apr 2010 13:22:42 -0400 Subject: [Ns-bugs] [Bug 879] source address selection for AODV using DeferredRouteRequest In-Reply-To: References: Message-ID: <20100430172242.EBE265E4180@deliverator4.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=879 Josh Pelkey changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEW -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Fri Apr 30 11:05:26 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Fri, 30 Apr 2010 14:05:26 -0400 Subject: [Ns-bugs] [Bug 903] New: Tap Bridge and Emu Net Devices Do Not Shut Down Properly Message-ID: http://www.nsnam.org/bugzilla/show_bug.cgi?id=903 Summary: Tap Bridge and Emu Net Devices Do Not Shut Down Properly Product: ns-3 Version: ns-3.7 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P5 Component: devices AssignedTo: ns-bugs at isi.edu ReportedBy: craigdo at ee.washington.edu Estimated Hours: 0.0 Created an attachment (id=859) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=859) Patch to Gracefully Shut Down Read Threads in Tap Bridge Tap Bridge and Emu NetDevices don't schedule a shutdown event to gracefully exit their read threads when the simulator is destroyed. This can result in segfaults when the simulator is destroyed, but the read threads are still running, and try to schedule a packet reception. This is not noticed in most scripts since the last line of main() is typically Simulator::Destroy() and the process exits before the bug manifests. Patch attached. Should probably be applied after ns-3.8 ships since nobody has noticed this for the past year or so. Similar treatment required for emu net device. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Fri Apr 30 12:49:16 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Fri, 30 Apr 2010 15:49:16 -0400 Subject: [Ns-bugs] [Bug 902] TCP socket does not properly notify application if there's a retransmit during FIN_WAIT In-Reply-To: References: Message-ID: <20100430194916.35EA45E4070@deliverator4.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=902 --- Comment #6 from Antti M?kel? 2010-04-30 15:49:15 EDT --- (In reply to comment #5) > received successfully. I guess I'm just curious, because I would like to > understand how the fix for bug 818 may have caused this. Now that I actually understand what happens I take back the idea that it might have been a regression - probably never was - I just didn't notice it before since the missing ACK flags were confusing things anyway. > I'm also curious why RST is sent in the first packet capture with no > retransmissions, but that is a bit off topic for this bug. Oh drat. That might be something else. I guess we have stumbled on yet another bug - this time at server end. I checked my entire pcap, and noticed that on my batch of 30 tcp streams, searching in wireshark with tcp.flags.reset == 1, I get about 3 flows that end up with RST. Something is going wrong in the sense that the client does not expect the last ACK from server in this scenario. Furthermore, in some cases the client sends a yet another ACK to the "last ack" (yet this doesn't result in an RST from server!). Yet in bulk of cases everything works. Sigh...time to file yet another bug I guess. However, this is not *so* critical as it does not affect closing - just that an extra packet (RST or extra ACK) gets sent - but hardly a correct operation. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Fri Apr 30 12:52:47 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Fri, 30 Apr 2010 15:52:47 -0400 Subject: [Ns-bugs] [Bug 902] TCP socket does not properly notify application if there's a retransmit during FIN_WAIT In-Reply-To: References: Message-ID: <20100430195247.293205E4148@deliverator4.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=902 --- Comment #7 from Antti M?kel? 2010-04-30 15:52:46 EDT --- Ok - take a quick look at "no retransmissions" pcap again. Note the acknowledgement number and sequence numbers on the last ack packet. It's 30001, when it should be 30002. Looks like sequence number is not increased properly when the FIN_WAIT_1 is entered and the first FIN gets sent. -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. From code at nsnam.ece.gatech.edu Fri Apr 30 12:57:26 2010 From: code at nsnam.ece.gatech.edu (code@nsnam.ece.gatech.edu) Date: Fri, 30 Apr 2010 15:57:26 -0400 Subject: [Ns-bugs] [Bug 902] TCP socket does not properly notify application if there's a retransmit during FIN_WAIT In-Reply-To: References: Message-ID: <20100430195726.547BC155AB2@deliverator3.gatech.edu> http://www.nsnam.org/bugzilla/show_bug.cgi?id=902 --- Comment #8 from Antti M?kel? 2010-04-30 15:57:25 EDT --- Created an attachment (id=860) --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=860) Packet capture post-patch. ...and yet another - looks like I'm now causing an RST even in the case that I supposedly fixed in my patch - attaching yet another capture. This shows that the server is yet again sending the last ack with WAY off sequence number (it retreats back to 44441). So I guess a more thorough patch is needed to handle the last ack in server end too... -- Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.