Bug 1905 - FATAL ERROR
FATAL ERROR
Status: RESOLVED INVALID
Product: ns-3
Classification: Unclassified
Component: dsr
ns-3.19
PC Linux
: P5 critical
Assigned To: Yufei Cheng
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-04-24 09:09 UTC by jopadev
Modified: 2014-04-28 17:47 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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$