Bugzilla – Bug 1905
FATAL ERROR
Last modified: 2014-04-28 17:47:38 UTC
msg="Log component "RreqTable" has already been registered once.", file=../src/core/model/log.cc, line=99 terminate called without an active exception
developed an add on to dsr and this is the run time error. kindly explain to me the reason why i experience this and how to fix it
In src/dsr/model/dsr-rreq-table.cc there's the following line: NS_LOG_COMPONENT_DEFINE ("RreqTable"); Is it present more than ONCE in your sources ?
Can't reproduce the bug. Not enough info to exclude an error in the user's developed code. Can't find any duplicate "RreqTable" log component. 23:45:01:~/Development/workspace/ns-3-dev pecos$ grep -r \"RreqTable src/ src//dsr/examples/dsr.cc: LogComponentEnable ("RreqTable", LOG_LEVEL_ALL); src//dsr/model/dsr-routing.cc: .AddAttribute ("RreqTable", "The request table to manage route requests.", src//dsr/model/dsr-rreq-table.cc:NS_LOG_COMPONENT_DEFINE ("RreqTable"); 23:45:03:~/Development/workspace/ns-3-dev pecos$ grep -r \"RreqTable examples/ 23:45:07:~/Development/workspace/ns-3-dev pecos$