[Ns-bugs] [Bug 1363] New: Ascii Trace could not created

code@nsnam.ece.gatech.edu code at nsnam.ece.gatech.edu
Thu Feb 16 09:01:39 PST 2012


https://www.nsnam.org/bugzilla/show_bug.cgi?id=1363

           Summary: Ascii Trace could not created
           Product: ns-3
           Version: ns-3.13
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P5
         Component: mesh
        AssignedTo: andreev at iitp.ru
        ReportedBy: ehsan.zahoor at yahoo.com
                CC: ns-bugs at isi.edu
   Estimated Hours: 0.0


Created attachment 1334
  --> https://www.nsnam.org/bugzilla/attachment.cgi?id=1334
This is same as mesh.cc except line number 152 and 201 are added

When i try to create Asciitrace file using AsciiTraceHelper as given in the
attached file it give following error:

>'build' finished successfully (10.530s)
>assert failed. cond="!m_metadataSkipped", msg="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.", file=../src >/network/model/packet-metadata.cc, line=59
>terminate called without an active exception
>Command ['/home/ehsan/Documents/NS-3/ns-allinone-3.13/ns-3.13/build/scratch >/mesh1'] terminated with signal SIGIOT. Run it under a debugger to get more >information (./waf --run <program> --command-template="gdb --args %s <args>").

But when I added ns3::PacketMetadata::Enable () at line 152 as given in
attached file, then it gives following error:

>'build' finished successfully (16.083s)
>msg="Information element 27 is not implemented", file=../src/wifi/model/wifi- >information-element-vector.cc, line=90
>terminate called without an active exception

For me its a very critical bug.

-- 
Configure bugmail: https://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the Ns-bugs mailing list