Hi,

I found the bug.  It was something about the way I throw an event in nox.cc.

Thanks.

Regards
KK

2009/1/13 Martin Casado <[email protected]>:
> Is this reproducible?  Do you have a core file we can poke around in?
>
> On Jan 13, 2009, at 2:07 PM, kk yap wrote:
>
>> Hi,
>>
>> I was running NOX without any external components invoked.  With more
>> than one switch connected to it, I have the following error.  A hint
>> as to where to narrow down the bug would be nice.  Thanks.
>>
>> Regards
>> KK
>>
>>
>> 00001|nox|DBG:Starting nox_core
>> (/home/lavi/openflowvms/noxcore/src/.libs/lt-nox_core)
>> 00002|pyrt|DBG:Loading a component description file
>> 'nox/coreapps/switch/meta.xml'.
>> 00003|pyrt|DBG:Loading a component description file
>> 'nox/coreapps/pyrt/meta.xml'.
>> 00004|pyrt|DBG:Loading a component description file
>> 'nox/coreapps/simple_c_py_app/meta.xml'.
>> 00005|pyrt|DBG:Loading a component description file
>> 'nox/coreapps/examples/meta.xml'.
>> 00006|pyrt|DBG:Loading a component description file
>> 'nox/coreapps/hub/meta.xml'.
>> 00007|pyrt|DBG:Loading a component description file
>> 'nox/coreapps/simple_c_app/meta.xml'.
>> 00008|pyrt|DBG:Loading a component description file
>> 'nox/netapps/topology/meta.xml'.
>> 00009|pyrt|DBG:Loading a component description file
>> 'nox/netapps/switchstats/meta.xml'.
>> 00010|pyrt|DBG:Loading a component description file
>> 'nox/netapps/flow_fetcher/meta.xml'.
>> 00011|pyrt|DBG:Loading a component description file
>> 'nox/netapps/authenticator/meta.xml'.
>> 00012|pyrt|DBG:Loading a component description file
>> 'nox/netapps/routing/meta.xml'.
>> 00013|pyrt|DBG:Loading a component description file
>> 'nox/netapps/bcast_resolve/meta.xml'.
>> 00014|pyrt|DBG:Loading a component description file
>> 'nox/netapps/bindings_storage/meta.xml'.
>> 00015|pyrt|DBG:Loading a component description file
>> 'nox/netapps/discovery/meta.xml'.
>> 00016|pyrt|DBG:Loading a component description file
>> 'nox/netapps/lavi/meta.xml'.
>> 00017|pyrt|DBG:Loading a component description file
>> 'nox/netapps/user_event_log/meta.xml'.
>> 00018|pyrt|DBG:Loading a component description file
>> 'nox/netapps/directory/meta.xml'.
>> 00019|pyrt|DBG:Loading a component description file
>> 'nox/netapps/storage/meta.xml'.
>> 00020|pyrt|DBG:Loading a component description file
>> 'nox/netapps/configuration/meta.xml'.
>> 00021|pyrt|DBG:Loading a component description file
>> 'nox/netapps/tests/meta.xml'.
>> 00022|pyrt|DBG:Loading a component description file
>> 'nox/uiapps/switchconfig/meta.xml'.
>> 00023|pyrt|DBG:Loading a component description file
>> 'nox/uiapps/miscws/meta.xml'.
>> 00024|pyrt|DBG:Loading a component description file
>> 'nox/uiapps/storagews/meta.xml'.
>> 00025|pyrt|DBG:Loading a component description file
>> 'nox/uiapps/coreui/meta.xml'.
>> 00026|pyrt|DBG:Loading a component description file
>> 'nox/uiapps/default_switch_approval/meta.xml'.
>> 00027|nox|DBG:Application installation report:
>> python:
>>        Current state: INSTALLED
>>        Required state: INSTALLED
>>        Dependencies:
>>
>> built-in DSO deployer:
>>        Current state: INSTALLED
>>        Required state: INSTALLED
>>        Dependencies:
>>
>> built-in event dispatcher:
>>        Current state: INSTALLED
>>        Required state: INSTALLED
>>        Dependencies:
>>
>> 00028|openflow|DBG:Passive tcp interface bound to port 2525
>> 00029|openflow|DBG:Passive tcp interface received connection
>> 00030|openflow|DBG:Passive tcp interface received connection
>> 00031|openflow|DBG:stream: negotiated OpenFlow version 0x97 (we
>> support versions 0x97 to 0x97 inclusive, peer no later than version
>> 0x97)
>> 00032|nox|DBG:Success
>> 00033|nox|DBG:Success
>> 00034|openflow|DBG:stream: negotiated OpenFlow version 0x97 (we
>> support versions 0x97 to 0x97 inclusive, peer no later than version
>> 0x97)
>> 00035|nox|DBG:Success
>> 00036|nox|DBG:Success
>> 00037|nox|DBG:No switch auth module registered, auto-approving switch
>> 00038|nox|DBG:Registering switch with DPID = 2320fff491
>> 00039|nox|DBG:No switch auth module registered, auto-approving switch
>> 00040|nox|DBG:Registering switch with DPID = 2320d919c9
>> /usr/include/c++/4.3/backward/auto_ptr.h:199: _Tp*
>> std::auto_ptr<_Tp>::operator->() const [with _Tp = vigil::Buffer]:
>> Assertion '_M_ptr != 0' failed.
>> Caught signal 6.
>>  0x7ff00105f36d   64 (vigil::fault_handler(int)+0x3d)
>>  0x7ff0005551d0
>> Aborted (core dumped)
>>
>> _______________________________________________
>> nox-dev mailing list
>> [email protected]
>> http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
>
>

_______________________________________________
nox-dev mailing list
[email protected]
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org

Reply via email to