Bug 1905

Summary: FATAL ERROR
Product: ns-3 Reporter: jopadev
Component: dsrAssignee: Yufei Cheng <michaelcheng1943>
Status: RESOLVED INVALID    
Severity: critical CC: ns-bugs, tommaso.pecorella
Priority: P5    
Version: ns-3.19   
Hardware: PC   
OS: Linux   

Description jopadev 2014-04-24 09:09:24 UTC
msg="Log component "RreqTable" has already been registered once.", file=../src/core/model/log.cc, line=99
terminate called without an active exception
Comment 1 jopadev 2014-04-24 09:11:35 UTC
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
Comment 2 Tommaso Pecorella 2014-04-24 09:19:19 UTC
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 ?
Comment 3 Tommaso Pecorella 2014-04-28 17:47:38 UTC
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$