[Ns-bugs] [Bug 754] New: Occasional crashes in emulation mode (tap-bridge)

code@nsnam.ece.gatech.edu code at nsnam.ece.gatech.edu
Thu Nov 26 08:43:26 PST 2009


http://www.nsnam.org/bugzilla/show_bug.cgi?id=754

           Summary: Occasional crashes in emulation mode (tap-bridge)
           Product: ns-3
           Version: ns-3-dev
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: devices
        AssignedTo: ns-bugs at isi.edu
        ReportedBy: f1mauchl at hsr.ch
   Estimated Hours: 0.0


Created an attachment (id=682)
 --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=682)
patch

Setup:
Host with dual-core cpu,
virtual machine running in VirtualBox (1 virtual CPU, 1 network interface
connected to a tap device),
ns-3 in realtime-mode (emulation), connecting the virtual machine with the host
via 2x TapBridge,
virtual machine has constant traffic (audio stream)

After some time (occurred between 1 and 72 hours) ns-3 crashes. I suspect the
crash being caused somewhere in TapBridge::ReadThread. Maybe there's a problem
with the Ref and Unref methods executed concurrently, finally causing the
refcount to hit 0 and deleting the SimulatorImpl.

I'm currently testing the patch in a long 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.


More information about the Ns-bugs mailing list