Bugzilla – Bug 3006
config-store cannot read raw text config
Last modified: 2018-11-06 06:12:53 EST
Config-store cannot read raw text config due to the list of integers of ns3::PrioQueueDisc::Priomap We can reproduce the problem with the attached patch to first.cc. I also added some logs to raw-text-config.cc First, we save the config with: $ export NS_LOG=RawTextConfig $ ./waf --command-template="%s --ns3::ConfigStore::Filename=input-defaults.txt --ns3::ConfigStore::Mode=Save --ns3::ConfigStore::FileFormat=RawText" --run first Then, we try to load the config with: $ ./waf --command-template="%s --ns3::ConfigStore::Filename=input-defaults.txt --ns3::ConfigStore::Mode=Load --ns3::ConfigStore::FileFormat=RawText" --run first and we get: RawTextConfig:Default(): [DEBUG] type=default, name=ns3::PrioQueueDisc::Priomap, value="1 RawTextConfig:Strip(0x198c660, ""1") RawTextConfig:Strip(): [DEBUG] start=0, end=18446744073709551615, value.size()=2 assert failed. cond="end == value.size () - 1", file=../src/config-store/model/raw-text-config.cc, line=145 terminate called without an active exception