[Ns-bugs] [Bug 1094] Object::GetObject fails when ns-3 modules are dlopen'ed

code@nsnam.ece.gatech.edu code at nsnam.ece.gatech.edu
Tue Apr 5 22:50:43 PDT 2011


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

Tom Henderson <tomh at tomh.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tomh at tomh.org

--- Comment #3 from Tom Henderson <tomh at tomh.org> 2011-04-06 01:50:42 EDT ---
(In reply to comment #1)
> I checked in a version of your patch that uses static_cast instead of
> reinterpret_cast on the grounds that it cannot harm in any way. But, really, I
> am worried that if what you say is true, grep dynamic_cast in src/core/model
> shows a lot of serious potential problems.
> 
> Note: initial bug report waf for ubuntu 0804
> 

I observed this also on ubuntu 9.10 (ns-ubuntu-karmic machine in the UW
regression testbed).  Before the patch, I saw all six python examples failing. 
After applying the patch for this bug (changeset 00c8ea8e9e40), I see these
test results:

CRASH: Example examples/routing/simple-routing-ping6.py
PASS: Example examples/wireless/wifi-ap.py
CRASH: Example examples/wireless/mixed-wireless.py
PASS: Example examples/tutorial/first.py
CRASH: Example src/bridge/examples/csma-bridge.py
CRASH: Example src/flow-monitor/examples/wifi-olsr-flowmon.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.


More information about the Ns-bugs mailing list