[Xorp-hackers] ../ospf/vertex.hh:31 operator< ] Assertion (get_version() == other.get_version()) failed

Selçuk Cevher cevhers at gmail.com
Thu May 29 09:28:20 PDT 2008


Hi All,

I have a problem regarding ospf/vertex.hh which I use within the main file
of a process I created in xorp.

With pname be the process name, the problem appears when I call a member
function of xrl_pname_node class (inherited from target base class) right
after instantiating an object of xrl_pname_node and right before the while
loop (eventloop). Before making this call, I also define some variables
using Vertex and Node data structures.

In this case, when I run rtrmgr, I get the error message saying that :

[ 2008/05/29 08:00:04  FATAL xorp_pname:12240 pname ../ospf/vertex.hh:31
operator< ] Assertion (get_version() == other.get_version()) failed
[ 2008/05/29 08:00:04  ERROR xorp_rtrmgr:12239 RTRMGR module_manager.cc:757
done_cb ] Command "/home/scevher/xorp.deneme/pname/xorp_pname": terminated
with signal 6.
[ 2008/05/29 08:00:04  INFO xorp_rtrmgr:12239 RTRMGR module_manager.cc:294
module_exited ] Module abnormally killed: pname
Apparently, it did not like the overloaded operator < defined in Vertex
class (I do not use this overloaded operator explicitly by the way).

Any idea how to fix this ?

Thanks.
Selcuk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/xorp-hackers/attachments/20080529/60204cad/attachment.html 


More information about the Xorp-hackers mailing list